(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4aff060a"],{"0137":function(t,e,n){"use strict";n("72cf")},"01f2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAuCAMAAABZAGpeAAAAAXNSR0IArs4c6QAAAPNQTFRFAAAA////mZmZkpKSjo6OoqKilZWVnZ2dkpKSl5eXnZ2dl5eXm5ubmJiYmZmZm5ubmJiYl5eXmZmZmJiYmpqamZmZmZmZmZmZm5ubmpqamJiYmZmZmJiYmpqamZmZmZmZmJiYmpqamZmZmJiYmpqamZmZmZmZmJiYmZmZmpqampqamZmZmZmZmZmZmJiYmJiYmZmZmZmZmZmZmZmZmpqamZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZqSw4YAAAAFB0Uk5TAAEFBwkLDA0OFhobHCUoKSosLS8wMjdBQmJjZ2hqbG5ydHiBg4WPkJGSl5iZo6Spqq2yvr/AwcXIzdPW2N7f4OTm5+nq6+7v8fL09fb4+vv0nRaSAAABVElEQVRIx+2Sy07bUBCGvzkXu7ZpURBJK7HgRfr+78GiEk0gLZXdcOLjmS4sQWxYmG2Vfzdn5pvrEV60ut3w465lqovbG7Z3v17s8OqSUBNtFo/FmiCvdigcBtBb9OCqzp/kIA+VAx9FIoCg4asfXap1hHJVnqbDcl1CvIzOjQ+DfC8QB5iF0jGkQSaA+dKjKYsAahzD9aRjX/OOXHUyw7EgtyoYvgkc/yqTCri6IHcDgrmLwDEY/Hx4Foxms2G/PcyAavON/bZDsE/XN1hwcNh1AOsrSLs3d7iE/GcH0DTggsCQDCANoHl+iKyTAAkGPvYA1t7TujcDt/e0Y5bowcJ4D4D08MRzmgPpsaMfX2X2NVJ6b6X596wiH9QZOANn4Az8F4DqslhVwAlovwzoFSQoxFW3CGgiaFD4Ist6cp9BQwHr9fKZCycfW5KEfYVbSJkqh3+wS4GvN4xI5AAAAABJRU5ErkJggg=="},"0428":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAblQTFRFAAAAgICAqqqqgICAmZmZqqqqoqKilZWVnZ2dkpKSmZmZn5+flpaWnJyclJSUmZmZnp6enZ2dl5eXm5ublZWVmZmZnJyclpaWmZmZnJycmJiYmpqam5ubmJiYmpqam5ubmpqamZmZm5ubmJiYmpqal5eXm5ubmJiYmpqamJiYmJiYmJiYmpqamJiYmJiYmZmZmpqamJiYmpqamJiYmpqamJiYmZmZmJiYmZmZmpqamJiYmZmZmpqamZmZmZmZmJiYmZmZmZmZmJiYmZmZmJiYmZmZmpqamZmZmZmZmpqamJiYmZmZmpqamZmZmZmZmZmZmpqamZmZmZmZmJiYmZmZmJiYmZmZmpqamJiYmZmZmZmZmpqamZmZmZmZmZmZmpqamJiYmpqamZmZmZmZmJiYmpqamZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZiPaj7AAAAJJ0Uk5TAAIDBAUGCwwNDg8QERITFBUaGxwdHh8iIyQlJikqKy4wMjM0NTtCQ0RFSEpMTU9QUVJTVFhZWlxfYmNkZWZnaGtsbXByc3R1dnl8fX6HjpGSk5Sam5+lpqmsrbCxsrS1uLq7vL2/wMLDxMXGx8jJys3O0NHT1NXZ2tvf4OHi4+bo6evv8PHy8/T19vf4+fr7/f54TBXvAAACn0lEQVRIx5WW518TQRCGR1EUJKGEUwFRAypYAaNgoUiEgAZNsCOiAjbSLCEURUQDEQj1+Yv9YELubu/gl/20OzNvMrP3zrsjYl7VrYMjiflkcj7xarC1WvZYFd5PGFaop2KX8MrASiYunUymM9uVoMsuvj8FsDzq97g1p1Nze/yjywBL/ZbhNSGAsNeQQkVnGCBao8ZfTQPRS6rjQhhY85jNHQA+61R9AB1q/HS9XXH100CX3tIMhA5nDkdUxKEw0Jw7H92G6P7/++KhhXGngiiIwZa2c4zDj8LM3g/Mqn9SOAff9EWdyB5uAnw9oCBqc5dStgk9Oc9jgAm1jl7YLBURkQBM6j3PAN6qiEkIiIiUrMM5g2cE4KUCaIB1h4h066rJrPcATxVEHLpFJAa3TZ59MYBHZkA7REUqIe1QLnEK4IHJ6kiDS9pgTC2w+DvAPZP1HbRJEO5b0Ef7A3DHaPRDUN7AFSvCHVsEuGGwNcFrmYLTlhR1b2BknIgbEjLPhmZN6rPbAOf1eW7wW5Isltq0wakUsHwwZyhdZGlPwF8zYK+UGs0pJfIt2u5aj9tdaxD8eX24NhjPixp5kM+5Bi6RKLRb0nvQgt6R/w0UN3k+7NpAJevQoLbokBLfmGlRCUBC73huIwKJjAhI2Sb05uxPbGTGtyMz4gNqs/ZbAF9UITuJ7mfjMJeVygFgpliV4596cdG2IFaQ+WQvfo05VDH+DFuVBpIQzsp9kZp/UQRoMj8oM2dsH5RZoNPiyeqzju8DlQ3SkgZil9Xwi1FgtUV1VIcAIl7DM17ZFQGIWo8QfUsAK2MDnjrN6dTqPANjqwBLfXbFuR7qRoe17OgQ2G3aKPd+NMwm2xN3y/caaKquB4enFlKphcRw8FqV4v4HD7hHqrWQwyAAAAAASUVORK5CYII="},"0ccb":function(t,e,n){var i=n("e330"),r=n("50c4"),o=n("577e"),a=n("1148"),s=n("1d80"),l=i(a),u=i("".slice),h=Math.ceil,c=function(t){return function(e,n,i){var a,c,p=o(s(e)),d=r(n),f=p.length,g=void 0===i?" ":o(i);return d<=f||""==g?p:(a=d-f,c=l(g,h(a/g.length)),c.length>a&&(c=u(c,0,a)),t?p+c:c+p)}};t.exports={start:c(!1),end:c(!0)}},1148:function(t,e,n){"use strict";var i=n("da84"),r=n("5926"),o=n("577e"),a=n("1d80"),s=i.RangeError;t.exports=function(t){var e=o(a(this)),n="",i=r(t);if(i<0||i==1/0)throw s("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},"14ed":function(t,e,n){},"165e":function(t,e,n){"use strict";(function(t){n("a9e3"),n("d81d");var i=n("2da4"),r=n("4fab"),o=n("76f3");e["a"]={name:"bm-marker",mixins:[Object(i["a"])("overlay")],props:{position:{},offset:{},icon:{},massClear:{type:Boolean,default:!0},dragging:{type:Boolean,default:!1},clicking:{type:Boolean,default:!0},raiseOnDrag:{type:Boolean,default:!1},draggingCursor:{type:String},rotation:{type:Number},shadow:{type:Object},title:{type:String},label:{type:Object},animation:{type:String},top:{type:Boolean,default:!1},zIndex:{type:Number,default:0}},watch:{"position.lng":function(t,e){var n=this.BMap,i=this.originInstance,r=this.position,a=this.renderByParent,s=this.$parent;t!==e&&t>=-180&&t<=180&&i.setPosition(Object(o["c"])(n,{lng:t,lat:r.lat})),a&&s.reload()},"position.lat":function(t,e){var n=this.BMap,i=this.originInstance,r=this.position,a=this.renderByParent,s=this.$parent;t!==e&&t>=-74&&t<=74&&i.setPosition(Object(o["c"])(n,{lng:r.lng,lat:t})),a&&s.reload()},"offset.width":function(t,e){var n=this.BMap,i=this.originInstance;t!==e&&i.setOffset(new n.Size(t,this.offset.height))},"offset.height":function(t,e){var n=this.BMap,i=this.originInstance;t!==e&&i.setOffset(new n.Size(this.offset.width,t))},icon:{deep:!0,handler:function(t){var e=this.BMap,n=this.originInstance,i=this.rotation;n&&n.setIcon(Object(o["a"])(e,t)),i&&n&&n.setRotation(i)}},massClear:function(t){t?this.originInstance.enableMassClear():this.originInstance.disableMassClear()},dragging:function(t){t?this.originInstance.enableDragging():this.originInstance.disableDragging()},clicking:function(){this.reload()},raiseOnDrag:function(){this.reload()},draggingCursor:function(t){this.originInstance.setDraggingCursor(t)},rotation:function(t){this.originInstance.setRotation(t)},shadow:function(t){this.originInstance.setShadow(t)},title:function(t){this.originInstance.setTitle(t)},label:function(t){this.reload()},animation:function(e){this.originInstance.setAnimation(t[e])},top:function(t){this.originInstance.setTop(t)},zIndex:function(t){this.originInstance.setZIndex(t)}},methods:{load:function(){var e=this.BMap,n=this.map,i=this.position,a=this.offset,s=this.icon,l=this.massClear,u=this.dragging,h=this.clicking,c=this.raiseOnDrag,p=this.draggingCursor,d=this.rotation,f=this.shadow,g=this.title,m=this.label,v=this.animation,y=this.top,_=this.renderByParent,x=this.$parent,A=this.zIndex,w=new e.Marker(new e.Point(i.lng,i.lat),{offset:a,icon:s&&Object(o["a"])(e,s),enableMassClear:l,enableDragging:u,enableClicking:h,raiseOnDrag:c,draggingCursor:p,rotation:d,shadow:f,title:g});this.originInstance=w,m&&w&&w.setLabel(Object(o["b"])(e,m)),w.setTop(y),w.setZIndex(A),r["a"].call(this,w),_?x.reload():n.addOverlay(w),w.setAnimation(t[v])}}}}).call(this,n("c8ba"))},"252d":function(t,e,n){t.exports=n.p+"img/home_image_jinribaom@2x.30440c29.png"},"26fc":function(t,e,n){t.exports=n.p+"img/home_image_banner@2x.9c119bad.png"},"2f0e":function(t,e,n){t.exports=n.p+"img/home_icon_science@2x.719a529b.png"},3139:function(t,e,n){"use strict";n("14ed")},3572:function(t,e,n){t.exports=n.p+"img/home_icon_signup@2x.2006e8e3.png"},"493e":function(t,e,n){t.exports=n.p+"img/home_icon_technicaldepartment@2x.0f962f0f.png"},"4d90":function(t,e,n){"use strict";var i=n("23e7"),r=n("0ccb").start,o=n("9a0c");i({target:"String",proto:!0,forced:o},{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},"536b":function(t,e,n){"use strict";n("b75c")},5938:function(t,e){t.exports="data:image/png;base64,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"},"60b0":function(t,e,n){t.exports=n.p+"img/home_image_xuejiaren@2x.cd34154d.png"},"64cb":function(t,e,n){t.exports=n.p+"img/home_icon_wtechnicaldepartment@2x.31165151.png"},"6d95":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAwCAMAAABOmSgnAAAAAXNSR0IArs4c6QAAAtlQTFRFAAAA////gICAqqqqgICAmZmZqqqqkpKSn5+fjo6OmZmZoqKilZWVnZ2dkpKSmZmZn5+flpaWnJyclJSUmZmZnp6el5eXm5ublZWVmZmZnZ2dl5eXm5ublZWVmZmZnJycl5eXm5ublpaWmZmZnJycmJiYmpqalpaWmZmZm5ubmJiYmpqal5eXm5ubmJiYmpqal5eXm5ubmJiYmpqal5eXmZmZm5ubmJiYl5eXmZmZm5ubmJiYl5eXmZmZm5ubmJiYmpqamJiYmZmZmpqamJiYmpqamJiYmZmZmpqamJiYmpqamJiYmZmZmpqampqamJiYmZmZmpqamJiYmJiYmZmZmpqamJiYmpqamJiYmZmZmpqamJiYmpqamJiYmZmZmpqamZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmJiYmZmZmpqamZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ79kugwAAAPJ0Uk5TAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLi8wMTM0NTY3ODk7PD0+QEFCQ0RFRkdISUpLTE1OT1BRU1RVVldZWltcXV5fYGFiY2RlZ2hpamtsbW5vcHJzdHV2d3h5ent8fX5/gIGCg4eIiYqLjI2Oj5CRkpOUlZaXmJmam5ydn6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tTV1tfY2drb3N3e3+Dh4uPk5ebn6Onq6+zt7u/w8fLz9PX29/j5+vv8/f5I7aZNAAAET0lEQVQYGX3BjUOMBxwH8O9z7u5x103vb9Qk0Sq1pLxukqUWsWXNrCSMtCEjKcsQbfPS67YmL5lthbUJ2SqdbDHWaUJGenfXpbd7efr9BXue06jE54MBYoX7oi155bUN2s7muitFez/0s5JiuPFBcQd+rdPREy1VeYnhniyGGD0lrvhhV0+vTm8wGg16va63u70ydZY5g2fsQ9OrjEQNpd/u2Z6QkLgz+3QtEdV+t3wi/sdYv3tMQz0NF3dHThsnZ8DaeoclFtV1Ele6zlWMJ8Yu/aGddOe2BHnYSGDCmLvOXHW8lXrK4z0YCGShJzXU8H20K4awDsu4xfX/vsoWPNbvqw5qy1pgzWAoRUCKinoLQ8wBvLpVRa0FCxQYIJOL8MQo3313qCljmggIukCGM5E2EIhecfEPDpntbiWBgJ2b00a3VtsBnzTQ/U2OEIg8V2cWnjt/Jm/zTDkE5u9UkCFjDvCNtqc4EAKpX1IVmdzeP38MBJMPaLnSeKBKX5vsBoFn2m09kbqNI2o8NlcCnkV0he7fHKC1vyTcHADjGPsX9f2Zk5KUfkFNzameUgCsf/bjnlKAo3xfBoA46KiGq4qfZGXpGFHUrf8t2go8h6QO+gcgOuQMHhtbw939zB08m9jL1L5rHHjStRpqBYj22YAn29BKyoUSCHzzibJdIIhRkxYg2msBnmxjG1WGiiHwOUyUMwGCmEekBoj2O4DHxqr67yS/Bp59TCU92u0EnmSdmhoAA+VNAU8SXKDWKePGAxZLfurqK1tpBZ59koZuAM3cz8FyACKXNTeIq9gTt277KQ017/RhAUheP9jZXQJc7ru23hk8kffBBwYyatr7iOsoDJaAZ76kuPteFnBYq8n1g0A2O1XJkaA2M9wGAqdt9bqyDUBSMykXMhCIPOKOlFdfvVyUPEsOE58jBmNeCBBRQy2b7GAyaqzPnLfDAqe6yGAiX3KFOpNcgRmnuvUFgSxG4rWryXD9fQUwYevfdHeHC0agWKE0Nh6aLgEUs4+R8ew8Fs9zO6ilyghbBoBlQgvd2z4Zz7Fedol6syfB5K1Ctf7SchmGe/NEh065UgGTCR9do64sLymGEDlue0iNn/uKYSL2+tpI1esnYgi7984SlS5gMUD2QYXu8fnFYgwWkN9Cqm1OeMot4RZ1fenF4BnnjfXUecBfiqck04920M1PnfHUmKhyTl8RYYZBbKMu9lN5pCUGyN84qaeaRHcMJnLacp+0xxcpYMJM33efurN8pRjKP7eJGjOnsuAxTptV1PXLYhbDmM0v6CdVoid4DstKOKqMssNzLGOUemP1GmuADS16RKodrhiBx6br/XQ6zIwNyOiixvRZLEYg9U6vJ/XR+TPSHpDmRJACIxodlNtCrblf3KTe4khbvIBZyI+dpGnjuMpVNngh66VndET0x8dueAmLFZc4qktxZfAyTmvLru70xsuNmpaWs8gMw/wHVevpm167sU8AAAAASUVORK5CYII="},"72cf":function(t,e,n){},"7abe":function(t,e,n){"use strict";n.r(e);var i={};n.r(i),n.d(i,"updateProps",(function(){return $u})),n.d(i,"initProps",(function(){return th})),n.d(i,"removeElement",(function(){return nh})),n.d(i,"removeElementWithFadeOut",(function(){return rh})),n.d(i,"isElementRemoved",(function(){return eh})),n.d(i,"extendShape",(function(){return my})),n.d(i,"extendPath",(function(){return yy})),n.d(i,"registerShape",(function(){return _y})),n.d(i,"getShapeClass",(function(){return xy})),n.d(i,"makePath",(function(){return Ay})),n.d(i,"makeImage",(function(){return wy})),n.d(i,"mergePath",(function(){return Sy})),n.d(i,"resizePath",(function(){return My})),n.d(i,"subPixelOptimizeLine",(function(){return Cy})),n.d(i,"subPixelOptimizeRect",(function(){return Ty})),n.d(i,"subPixelOptimize",(function(){return Iy})),n.d(i,"getTransform",(function(){return ky})),n.d(i,"applyTransform",(function(){return Dy})),n.d(i,"transformDirection",(function(){return Ly})),n.d(i,"groupTransition",(function(){return Py})),n.d(i,"clipPointsByRect",(function(){return Oy})),n.d(i,"clipRectByRect",(function(){return Ry})),n.d(i,"createIcon",(function(){return By})),n.d(i,"linePolygonIntersect",(function(){return Ny})),n.d(i,"lineLineIntersect",(function(){return Ey})),n.d(i,"setTooltipConfig",(function(){return Hy})),n.d(i,"Group",(function(){return Ar})),n.d(i,"Image",(function(){return ml})),n.d(i,"Text",(function(){return El})),n.d(i,"Circle",(function(){return Gm})),n.d(i,"Ellipse",(function(){return fv})),n.d(i,"Sector",(function(){return Lv})),n.d(i,"Ring",(function(){return Pv})),n.d(i,"Polygon",(function(){return Vv})),n.d(i,"Polyline",(function(){return Yv})),n.d(i,"Rect",(function(){return Ml})),n.d(i,"Line",(function(){return Fm})),n.d(i,"BezierCurve",(function(){return jv})),n.d(i,"Arc",(function(){return Xg})),n.d(i,"IncrementalDisplayable",(function(){return py})),n.d(i,"CompoundPath",(function(){return Qv})),n.d(i,"LinearGradient",(function(){return ey})),n.d(i,"RadialGradient",(function(){return iy})),n.d(i,"BoundingRect",(function(){return ji})),n.d(i,"OrientedBoundingRect",(function(){return uy})),n.d(i,"Point",(function(){return Ei})),n.d(i,"Path",(function(){return ll}));var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"home"},[i("my-swiper",{attrs:{bannerList:t.bannerList,pagination:!1}}),i("div",{staticClass:"home-evaluate"},[i("div",{staticClass:"home-title"},[t._v("驾培行业服务综合评价")]),t.homeEvaluate?i("div",{staticClass:"evaluate"},[i("div",{staticClass:"eva-total"},[i("p",{staticClass:"total-title"},[t._v("评价总数")]),i("div",{staticClass:"total-info"},[i("p",{staticClass:"info-num"},[t._v(t._s(t.homeEvaluate.total))]),i("p",{staticClass:"info-name"},[t._v("条")])])]),i("div",{staticClass:"eva-total eva-center"},[i("p",{staticClass:"total-title"},[t._v("收到差评数")]),i("div",{staticClass:"total-info"},[i("p",{staticClass:"info-num"},[t._v(t._s(t.homeEvaluate.badComment))]),i("p",{staticClass:"info-name"},[t._v("条")])])]),i("div",{staticClass:"eva-total eva-center"},[i("p",{staticClass:"total-title"},[t._v("差评整改率")]),i("div",{staticClass:"total-info"},[i("p",{staticClass:"info-num"},[t._v(t._s(t.homeEvaluate.badCommentRate?t.homeEvaluate.badCommentRate.toFixed(0):0))]),i("p",{staticClass:"info-name"},[t._v("%")])])]),i("div",{staticClass:"eva-average"},[i("p",{staticClass:"total-title"},[t._v("平均分")]),i("div",{staticClass:"total-info"},[i("p",{staticClass:"info-num"},[t._v(t._s(t.homeEvaluate.avgScore?t.homeEvaluate.avgScore.toFixed(2):0))]),i("p",{staticClass:"info-name"},[t._v("分")])])])]):t._e()]),i("div",{staticClass:"zlxc-container",staticStyle:{overflow:"visible"}},[t.censusListDate?i("div",{staticClass:"home-layout"},[t._m(0),i("div",{staticClass:"home-module"},[i("div",{staticClass:"module-left"},[i("dstributiond-map",{attrs:{sanData:t.sanData}})],1),i("div",{staticClass:"module-right"},[i("div",{staticClass:"right-top"},[i("p",{staticClass:"top-title"},[t._v("驾培实时数据")]),i("ul",{staticClass:"top-list"},[i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-name"},[t._v("驾校")]),i("p",{staticClass:"li-num"},[t._v(t._s(t.censusListDate.schoolTotal)+"家")])]),i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-name"},[t._v("教练员")]),i("p",{staticClass:"li-num"},[t._v(t._s(t.censusListDate.coachTotal)+"人")])]),i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-name"},[t._v("教练车")]),i("p",{staticClass:"li-num"},[t._v(t._s(t.censusListDate.carTotal)+"辆")])])])]),i("div",{staticClass:"right-bottom"},[i("ul",{staticClass:"bottom-list"},[i("li",{staticClass:"list-li"},[i("div",{staticClass:"li-img-cistern",attrs:{title:t.censusListDate.studentTotal+"人"}},[i("img",{staticClass:"li-img",attrs:{src:n("60b0")}}),i("p",{staticClass:"li-num"},[t._v(t._s(t.censusListDate.studentTotal>9999?(t.censusListDate.studentTotal/1e4).toFixed(2)+"万":t.censusListDate.studentTotal)),i("span",[t._v("人")])])]),i("p",{staticClass:"li-name"},[t._v("学驾人")])]),i("li",{staticClass:"list-li"},[i("div",{staticClass:"li-img-cistern",attrs:{title:t.censusListDate.studentTodayTotal+"人"}},[i("img",{staticClass:"li-img",attrs:{src:n("252d")}}),i("p",{staticClass:"li-num"},[t._v(t._s(t.censusListDate.studentTodayTotal)),i("span",[t._v("人")])])]),i("p",{staticClass:"li-name"},[t._v("今日报名")])]),i("li",{staticClass:"list-li"},[i("div",{staticClass:"li-img-cistern",attrs:{title:t.censusListDate.studentTrainingTotal+"人"}},[i("img",{staticClass:"li-img",attrs:{src:n("f9b0")}}),i("p",{staticClass:"li-num"},[t._v(t._s(t.censusListDate.studentTrainingTotal)),i("span",[t._v("人")])])]),i("p",{staticClass:"li-name"},[t._v("今日培训")])])])])])])]):t._e(),t.swiperSchoolList.length?i("div",{staticClass:"home-layout"},[i("div",{staticClass:"home-link"},[i("p",{staticClass:"title-main"},[t._v("驾校风采")]),i("router-link",{staticClass:"title-link",attrs:{tag:"div",to:"/recruitment/driveschool"}},[i("p",{staticClass:"link-text"},[t._v("查看更多")]),i("img",{staticClass:"link-img",attrs:{src:n("0428")}})])],1),i("swiperSchool",{key:"2",attrs:{swiperSchoolList:t.swiperSchoolList}})],1):t._e(),t.swiperCoachlList.length?i("div",{staticClass:"home-layout"},[i("div",{staticClass:"home-link"},[i("p",{staticClass:"title-main"},[t._v("明星教练")]),i("router-link",{staticClass:"title-link",attrs:{tag:"div",to:"/recruitment/instructor"}},[i("p",{staticClass:"link-text"},[t._v("查看更多")]),i("img",{staticClass:"link-img",attrs:{src:n("0428")}})])],1),i("swiperCoach",{key:"1",attrs:{swiperCoachlList:t.swiperCoachlList}})],1):t._e(),i("div",{staticClass:"home-layout"},[i("div",{staticClass:"home-link"},[i("p",{staticClass:"title-main"},[t._v("行业动态")]),i("router-link",{staticClass:"title-link",attrs:{tag:"div",to:"/about"}},[i("p",{staticClass:"link-text"},[t._v("查看更多")]),i("img",{staticClass:"link-img",attrs:{src:n("0428")}})])],1),i("div",{staticClass:"home-module"},[t.dataSheetList.length>0?i("div",{staticClass:"module-center"},[i("ul",{staticClass:"about-list"},t._l(t.dataSheetList,(function(e){return i("li",{key:e.id,staticClass:"list-li1",on:{click:function(n){return t.tapJumpDetail(e.id)}}},[i("div",{staticClass:"li-time"},[i("div",{staticClass:"year"},[t._v(t._s(e.year))]),i("div",{staticClass:"date"},[t._v(t._s(e.day))])]),i("div",{staticClass:"li-info"},[i("div",{staticClass:"title oneRowTxt"},[t._v(t._s(e.title))])])])})),0)]):t._e()])]),t._m(1),t.hospitalListData.length>0?i("div",{staticClass:"home-layout"},[i("div",{staticClass:"home-link"},[i("p",{staticClass:"title-main"},[t._v("体检网点")]),i("router-link",{staticClass:"title-link",attrs:{tag:"div",to:"/hmap"}},[i("p",{staticClass:"link-text"},[t._v("查看更多")]),i("img",{staticClass:"link-img",attrs:{src:n("0428")}})])],1),i("div",{staticClass:"home-module"},[i("div",{staticClass:"home-adress"},t._l(t.hospitalListData,(function(e){return i("div",{key:e.hospitalId,staticClass:"adress"},[t._m(2,!0),i("div",{class:["adress-ins",{action:t.map.center.lng==e.lng}],on:{click:function(n){return t.tapClickHospital(e)}}},[i("div",{staticClass:"ins-title"},[t._v(t._s(e.hospitalName))]),i("p",{staticClass:"ins-adress"},[i("img",{staticClass:"icon-img",attrs:{src:n("6d95")}}),i("span",[t._v(t._s(e.address))])]),i("div",{staticClass:"ins-orther"},[i("div",{staticClass:"date"},[i("img",{staticClass:"icon-img",attrs:{src:n("01f2")}}),i("span",[t._v(t._s(e.time))])]),i("div",{staticClass:"phone"},[i("img",{staticClass:"icon-img",attrs:{src:n("fe57")}}),i("span",[t._v(t._s(e.phone))])])])])])})),0),i("div",{staticClass:"home-map"},[i("baidu-map",{staticClass:"map",style:{width:t.map.width,height:t.map.height},attrs:{ak:"kwCrzOkUIYBl1YV7Q0MPGqWLn4oW2Cje",zoom:t.map.zoom,center:{lng:t.map.center.lng,lat:t.map.center.lat},"scroll-wheel-zoom":!0},on:{ready:t.handler}},[120.219375416!=t.map.center.lng?i("bm-marker",{attrs:{position:{lng:t.map.center.lng,lat:t.map.center.lat},dragging:!0,animation:"BMAP_ANIMATION_BOUNCE"},on:{click:function(e){return t.lookDetail(t.map.center)}}},[i("bm-label",{attrs:{content:t.mapLabel,position:{lng:116.404,lat:39.915},labelStyle:{color:"#333",fontSize:"18px",padding:"2px 8px",borderRadius:"8px"},title:"Hover me",offset:{width:0,height:30}}})],1):t._e()],1)],1)])]):t._e()])],1)},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home-title"},[n("p",{staticClass:"title-main"},[t._v("洛阳市驾培机构分布图")]),n("p",{staticClass:"title-sub"},[t._v("汇集洛阳市所有驾校")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"home-layout"},[i("div",{staticClass:"home-title"},[i("p",{staticClass:"title-main"},[t._v("学车流程")])]),i("div",{staticClass:"home-module"},[i("div",{staticClass:"module-center"},[i("ul",{staticClass:"drive-list"},[i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-info"},[i("img",{staticClass:"info-img",attrs:{src:n("c0e6")}}),i("img",{staticClass:"dis-info-img",attrs:{src:n("89e0")}})]),i("p",{staticClass:"li-name"},[t._v("找驾校")])]),i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-info"},[i("img",{staticClass:"info-img",attrs:{src:n("bded")}}),i("img",{staticClass:"dis-info-img",attrs:{src:n("f3b0")}})]),i("p",{staticClass:"li-name"},[t._v("体检")])]),i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-info"},[i("img",{staticClass:"info-img",attrs:{src:n("8ecf")}}),i("img",{staticClass:"dis-info-img",attrs:{src:n("8409")}})]),i("p",{staticClass:"li-name"},[t._v("面签")])]),i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-info"},[i("img",{staticClass:"info-img",attrs:{src:n("8cf8")}}),i("img",{staticClass:"dis-info-img",attrs:{src:n("3572")}})]),i("p",{staticClass:"li-name"},[t._v("报名缴费")])]),i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-info"},[i("img",{staticClass:"info-img",attrs:{src:n("b2c2")}}),i("img",{staticClass:"dis-info-img",attrs:{src:n("2f0e")}})]),i("p",{staticClass:"li-name"},[t._v("理科")])]),i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-info"},[i("img",{staticClass:"info-img",attrs:{src:n("64cb")}}),i("img",{staticClass:"dis-info-img",attrs:{src:n("493e")}})]),i("p",{staticClass:"li-name"},[t._v("术科")])]),i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-info"},[i("img",{staticClass:"info-img",attrs:{src:n("b2c2")}}),i("img",{staticClass:"dis-info-img",attrs:{src:n("2f0e")}})]),i("p",{staticClass:"li-name"},[t._v("科目四")])]),i("li",{staticClass:"list-li"},[i("p",{staticClass:"li-info"},[i("img",{staticClass:"info-img",attrs:{src:n("b34f")}}),i("img",{staticClass:"dis-info-img",attrs:{src:n("9331")}})]),i("p",{staticClass:"li-name"},[t._v("发证")])])])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"adress-icon"},[i("img",{staticClass:"icon-img",attrs:{src:n("5938")}})])}],a=(n("d81d"),n("d3b7"),n("b0c0"),n("159b"),n("4d90"),n("25f0"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"distribution-map"},[n("div",{staticClass:"dismap-container"},[n("div",{ref:"dismapchart",staticClass:"dismap"})])])}),s=[],l=(n("99af"),function(t,e){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},l(t,e)});function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;function h(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r18),a&&(n.weChat=!0),e.canvasSupported=!!document.createElement("canvas").getContext,e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(d.wxa=!0,d.canvasSupported=!0,d.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?(d.worker=!0,d.canvasSupported=!0):"undefined"===typeof navigator?(d.node=!0,d.canvasSupported=!0,d.svgSupported=!0):f(navigator.userAgent,d);var g=d,m={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},v={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},y=Object.prototype.toString,_=Array.prototype,x=_.forEach,A=_.filter,w=_.slice,b=_.map,S=function(){}.constructor,M=S?S.prototype:null,C="__proto__",T={};var I=2311;function k(){return I++}function D(){for(var t=[],e=0;e>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function $t(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?qt(s,a):qt(a,s))}function te(t){return"CANVAS"===t.nodeName.toUpperCase()}var ee="undefined"!==typeof window&&!!window.addEventListener,ne=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ie=[];function re(t,e,n,i){return n=n||{},i||!g.canvasSupported?oe(t,e,n):g.browser.firefox&&g.browser.version<"39"&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):oe(t,e,n),n}function oe(t,e,n){if(g.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(te(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(Qt(ie,t,i,r))return n.zrX=ie[0],void(n.zrY=ie[1])}n.zrX=n.zrY=0}function ae(t){return t||window.event}function se(t,e,n){if(e=ae(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var o="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];o&&re(t,o,e,n)}else{re(t,e,e,n);var a=le(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&ne.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function le(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;var r=0!==i?Math.abs(i):Math.abs(n),o=i>0?-1:i<0?1:n>0?-1:1;return 3*r*o}function ue(t,e,n,i){ee?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)}function he(t,e,n,i){ee?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)}var ce=ee?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function pe(t){return 2===t.which||3===t.which}var de=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&i&&i.length>1){var o=fe(i)/fe(r);!isFinite(o)&&(o=1),e.pinchScale=o;var a=ge(i);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},ve="silent";function ye(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:_e}}function _e(){ce(this.event)}var xe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return u(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Yt),Ae=function(){function t(t,e){this.x=t,this.y=e}return t}(),we=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],be=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._hovered=new Ae(0,0),o.storage=e,o.painter=n,o.painterRoot=r,i=i||new xe,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new Ht(o),o}return u(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(V(we,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Me(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=i?new Ae(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Ae(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,o=ye(e,t,n);while(i)if(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){for(var i=this.storage.getDisplayList(),r=new Ae(t,e),o=i.length-1;o>=0;o--){var a=void 0;if(i[o]!==n&&!i[o].ignore&&(a=Se(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),a!==ve)){r.target=i[o];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new de);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new Ae;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(Yt);function Se(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var i=t,r=void 0,o=!1;while(i){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1;i.silent&&(r=!0)}var s=i.__hostTarget;i=s||i.parent}return!r||ve}return!1}function Me(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}V(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){be.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Me(this,r,o);if("mouseup"===t&&a||(n=this.findHover(r,o),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||zt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var Ce=be,Te=32,Ie=7;function ke(t){var e=0;while(t>=Te)e|=1&t,t>>=1;return t+e}function De(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r=0)r++;return r-e}function Le(t,e,n){n--;while(e>>1,r(a,t[o])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=a}}function ze(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){s=i-r;while(l0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(ls&&(l=s);var u=a;a=r-l,l=r-u}a++;while(a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function Pe(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){s=r+1;while(ls&&(l=s);var u=a;a=r-l,l=r-u}else{s=i-r;while(l=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Oe(t,e){var n,i,r=Ie,o=0,a=0;o=t.length;var s=[];function l(t,e){n[a]=t,i[a]=e,a+=1}function u(){while(a>1){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;c(t)}}function h(){while(a>1){var t=a-2;t>0&&i[t-1]=Ie||d>=Ie);if(f)break;g<0&&(g=0),g+=2}if(r=g,r<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=s[h--],1===--a){v=!0;break}if(m=a-ze(t[u],s,0,a,a-1,e),0!==m){for(c-=m,h-=m,a-=m,d=c+1,p=h+1,l=0;l=Ie||m>=Ie);if(v)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===a){for(c-=i,u-=i,d=c+1,p=u+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=s[h]}else{if(0===a)throw new Error;for(p=c-(a-1),l=0;l=0;l--)t[d+l]=t[p+l];t[c]=s[h]}else for(p=c-(a-1),l=0;ls&&(l=s),Ze(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}var Be=1,Ne=2,Ee=4,Fe=!1;function Ve(){Fe||(Fe=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function He(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Ge,Ye=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=He}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(Ve(),u.z=0),isNaN(u.z2)&&(Ve(),u.z2=0),isNaN(u.zlevel)&&(Ve(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),We=Ye;Ge="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var Ue=Ge,qe={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-qe.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*qe.bounceIn(2*t):.5*qe.bounceOut(2*t-1)+.5}},Je=qe,je=function(){function t(t){this._initialized=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}return t.prototype.step=function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),!this._paused){var n=(t-this._startTime-this._pausedTime)/this._life;n<0&&(n=0),n=Math.min(n,1);var i=this.easing,r="string"===typeof i?Je[i]:i,o="function"===typeof r?r(n):n;if(this.onframe&&this.onframe(o),1===n){if(!this.loop)return!0;this._restart(t),this.onrestart&&this.onrestart()}return!1}this._pausedTime+=e},t.prototype._restart=function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t}(),Xe=je,Qe=function(){function t(t){this.value=t}return t}(),Ke=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Qe(t);return this.insertEntry(e),e},t.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++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),$e=function(){function t(t){this._list=new Ke,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Qe(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),tn=$e,en={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 nn(t){return t=Math.round(t),t<0?0:t>255?255:t}function rn(t){return t=Math.round(t),t<0?0:t>360?360:t}function on(t){return t<0?0:t>1?1:t}function an(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?nn(parseFloat(e)/100*255):nn(parseInt(e,10))}function sn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?on(parseFloat(e)/100):on(parseFloat(e))}function ln(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function un(t,e,n){return t+(e-t)*n}function hn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function cn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var pn=new tn(20),dn=null;function fn(t,e){dn&&cn(dn,e),dn=pn.put(t,dn||e.slice())}function gn(t,e){if(t){e=e||[];var n=pn.get(t);if(n)return cn(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in en)return cn(e,en[i]),fn(t,e),e;var r=i.length;if("#"!==i.charAt(0)){var o=i.indexOf("("),a=i.indexOf(")");if(-1!==o&&a+1===r){var s=i.substr(0,o),l=i.substr(o+1,a-(o+1)).split(","),u=1;switch(s){case"rgba":if(4!==l.length)return 3===l.length?hn(e,+l[0],+l[1],+l[2],1):hn(e,0,0,0,1);u=sn(l.pop());case"rgb":return 3!==l.length?void hn(e,0,0,0,1):(hn(e,an(l[0]),an(l[1]),an(l[2]),u),fn(t,e),e);case"hsla":return 4!==l.length?void hn(e,0,0,0,1):(l[3]=sn(l[3]),mn(l,e),fn(t,e),e);case"hsl":return 3!==l.length?void hn(e,0,0,0,1):(mn(l,e),fn(t,e),e);default:return}}hn(e,0,0,0,1)}else{if(4===r||5===r){var h=parseInt(i.slice(1,4),16);return h>=0&&h<=4095?(hn(e,(3840&h)>>4|(3840&h)>>8,240&h|(240&h)>>4,15&h|(15&h)<<4,5===r?parseInt(i.slice(4),16)/15:1),fn(t,e),e):void hn(e,0,0,0,1)}if(7===r||9===r){h=parseInt(i.slice(1,7),16);return h>=0&&h<=16777215?(hn(e,(16711680&h)>>16,(65280&h)>>8,255&h,9===r?parseInt(i.slice(7),16)/255:1),fn(t,e),e):void hn(e,0,0,0,1)}}}}function mn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=sn(t[1]),r=sn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return e=e||[],hn(e,nn(255*ln(a,o,n+1/3)),nn(255*ln(a,o,n)),nn(255*ln(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function vn(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}function yn(t,e){var n=gn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return bn(n,4===n.length?"rgba":"rgb")}}function _n(t){var e=gn(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function xn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=nn(un(a[0],s[0],l)),n[1]=nn(un(a[1],s[1],l)),n[2]=nn(un(a[2],s[2],l)),n[3]=on(un(a[3],s[3],l)),n}}function An(t,e,n,i){var r=gn(t);if(t)return r=vn(r),null!=e&&(r[0]=rn(e)),null!=n&&(r[1]=sn(n)),null!=i&&(r[2]=sn(i)),bn(mn(r),"rgba")}function wn(t,e){var n=gn(t);if(n&&null!=e)return n[3]=on(e),bn(n,"rgba")}function bn(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function Sn(t,e){var n=gn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var Mn=Array.prototype.slice;function Cn(t,e,n){return(e-t)*n+t}function Tn(t,e,n){return n>.5?e:t}function In(t,e,n,i){for(var r=e.length,o=0;oa;if(s)i.length=a;else for(var l=o;l=2&&this.interpolable&&this.maxTime>0},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var n=this.keyframes,i=n.length;if(this.interpolable)if(F(e)){var r=En(e);if(i>0&&this.arrDim!==r)return void(this.interpolable=!1);if(1===r&&"number"!==typeof e[0]||2===r&&"number"!==typeof e[0][0])return void(this.interpolable=!1);if(i>0){var o=n[i-1];this._isAllValueEqual&&(1===r&&zn(e,o.value)||(this._isAllValueEqual=!1))}this.arrDim=r}else{if(this.arrDim>0)return void(this.interpolable=!1);if("string"===typeof e){var a=gn(e);a?(e=a,this.isValueColor=!0):this.interpolable=!1}else if("number"!==typeof e||isNaN(e))return void(this.interpolable=!1);if(this._isAllValueEqual&&i>0){o=n[i-1];(this.isValueColor&&!zn(o.value,e)||o.value!==e)&&(this._isAllValueEqual=!1)}}var s={time:t,value:e,percent:0};return this.keyframes.push(s),s},t.prototype.prepare=function(t){var e=this.keyframes;this._needsSort&&e.sort((function(t,e){return t.time-e.time}));for(var n=this.arrDim,i=e.length,r=e[i-1],o=0;o0&&o!==i-1&&Zn(e[o].value,r.value,n);if(t&&this.needsAnimate()&&t.needsAnimate()&&n===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;var a=e[0].value;for(o=0;o=0;n--)if(o[n].percent<=e)break;n=Math.min(n,a-2)}else{for(n=this._lastFrame;ne)break;n=Math.min(n-1,a-2)}var c=o[n+1],p=o[n];if(p&&c){this._lastFrame=n,this._lastFramePercent=e;var d=c.percent-p.percent;if(0!==d){var f=(e-p.percent)/d,g=i?this._additiveValue:u?Fn:t[s];if((l>0||u)&&!g&&(g=this._additiveValue=[]),this.useSpline){var m=o[n][r],v=o[0===n?n:n-1][r],y=o[n>a-2?a-1:n+1][r],_=o[n>a-3?a-1:n+2][r];if(l>0)1===l?On(g,v,m,y,_,f,f*f,f*f*f):Rn(g,v,m,y,_,f,f*f,f*f*f);else if(u)On(g,v,m,y,_,f,f*f,f*f*f),i||(t[s]=Nn(g));else{var x=void 0;x=this.interpolable?Pn(v,m,y,_,f,f*f,f*f*f):y,i?this._additiveValue=x:t[s]=x}}else if(l>0)1===l?In(g,p[r],c[r],f):kn(g,p[r],c[r],f);else if(u)In(g,p[r],c[r],f),i||(t[s]=Nn(g));else{x=void 0;x=this.interpolable?Cn(p[r],c[r],f):Tn(p[r],c[r],f),i?this._additiveValue=x:t[s]=x}i&&this._addToTarget(t)}}}},t.prototype._addToTarget=function(t){var e=this.arrDim,n=this.propName,i=this._additiveValue;0===e?this.isValueColor?(gn(t[n],Fn),Dn(Fn,Fn,i,1),t[n]=Nn(Fn)):t[n]=t[n]+i:1===e?Dn(t[n],t[n],i,1):2===e&&Ln(t[n],t[n],i,1)},t}(),Hn=function(){function t(t,e,n){this._tracks={},this._trackKeys=[],this._delay=0,this._maxTime=0,this._paused=!1,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?D("Can' use additive animation on looped animation."):this._additiveAnimators=n}return t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e){return this.whenWithKeys(t,e,W(e))},t.prototype.whenWithKeys=function(t,e,n){for(var i=this._tracks,r=0;r0)){this._started=1;for(var n=this,i=[],r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(r.getAdditiveTrack())}}}},t}(),Gn=Hn,Yn=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n.onframe=e.onframe||function(){},n}return u(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._clipsHead?(this._clipsTail.next=t,t.prev=this._clipsTail,t.next=null,this._clipsTail=t):this._clipsHead=this._clipsTail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._clipsHead=n,n?n.prev=e:this._clipsTail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=(new Date).getTime()-this._pausedTime,n=e-this._time,i=this._clipsHead;while(i){var r=i.next,o=i.step(e,n);o?(i.ondestroy&&i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(Ue(e),!t._paused&&t.update())}this._running=!0,Ue(e)},e.prototype.start=function(){this._running||(this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._clipsHead;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._clipsHead=this._clipsTail=null},e.prototype.isFinished=function(){return null==this._clipsHead},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Gn(t,e.loop);return this.addAnimator(n),n},e}(Yt),Wn=Yn,Un=300,qn=g.domSupported,Jn=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=H(t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),jn={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Xn=!1;function Qn(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Kn(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function $n(t){t&&(t.zrByTouch=!0)}function ti(t,e){return se(t.dom,new ni(t,e),!0)}function ei(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}var ni=function(){function t(t,e){this.stopPropagation=wt,this.stopImmediatePropagation=wt,this.preventDefault=wt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),ii={mousedown:function(t){t=se(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=se(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=se(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=se(this.dom,t);var e=t.toElement||t.relatedTarget;ei(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Xn=!0,t=se(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Xn||(t=se(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=se(this.dom,t),$n(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),ii.mousemove.call(this,t),ii.mousedown.call(this,t)},touchmove:function(t){t=se(this.dom,t),$n(t),this.handler.processGesture(t,"change"),ii.mousemove.call(this,t)},touchend:function(t){t=se(this.dom,t),$n(t),this.handler.processGesture(t,"end"),ii.mouseup.call(this,t),+new Date-+this.__lastTouchMomentTi||t<-Ti}var ki,Di,Li=[],Zi=[],zi=yi(),Pi=Math.abs,Oi=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return Ii(this.rotation)||Ii(this.x)||Ii(this.y)||Ii(this.scaleX-1)||Ii(this.scaleY-1)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||yi(),e?this.getLocalTransform(n):Ci(n),t&&(e?Ai(n,t,n):xi(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&Ci(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Li);var n=Li[0]<0?-1:1,i=Li[1]<0?-1:1,r=((Li[0]-n)*e+n)/Li[0]||0,o=((Li[1]-i)*e+i)/Li[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||yi(),Mi(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(Ai(Zi,t.invTransform,e),e=Zi);var n=this.originX,i=this.originY;(n||i)&&(zi[4]=n,zi[5]=i,Ai(Zi,e,zi),Zi[4]-=n,Zi[5]-=i,e=Zi),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Bt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Bt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Pi(t[0]-1)>1e-10&&Pi(t[3]-1)>1e-10?Math.sqrt(Pi(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){for(var e=this,n=0;nf&&(f=_,gf&&(f=x,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Hi.x=Yi.x=n.x,Hi.y=Wi.y=n.y,Gi.x=Wi.x=n.x+n.width,Gi.y=Yi.y=n.y+n.height,Hi.transform(i),Wi.transform(i),Gi.transform(i),Yi.transform(i),e.x=Fi(Hi.x,Gi.x,Yi.x,Wi.x),e.y=Fi(Hi.y,Gi.y,Yi.y,Wi.y);var l=Vi(Hi.x,Gi.x,Yi.x,Wi.x),u=Vi(Hi.y,Gi.y,Yi.y,Wi.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),ji=Ji,Xi={},Qi="12px sans-serif";function Ki(t,e){return ki||(ki=R().getContext("2d")),Di!==e&&(Di=ki.font=e||Qi),ki.measureText(t)}var $i={measureText:Ki};function tr(t,e){e=e||Qi;var n=Xi[e];n||(n=Xi[e]=new tn(500));var i=n.get(t);return null==i&&(i=$i.measureText(t,e).width,n.put(t,i)),i}function er(t,e,n,i){var r=tr(t,e),o=or(e),a=ir(0,r,n),s=rr(0,o,i),l=new ji(a,s,r,o);return l}function nr(t,e,n,i){var r=((t||"")+"").split("\n"),o=r.length;if(1===o)return er(r[0],e,n,i);for(var a=new ji(0,0,0,0),s=0;s=0?parseFloat(t)/100*e:parseFloat(t):t}function sr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=ar(i[0],n.width),u+=ar(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var lr="__zr_normal__",ur=["x","y","scaleX","scaleY","originX","originY","rotation","ignore"],hr={x:!0,y:!0,scaleX:!0,scaleY:!0,originX:!0,originY:!0,rotation:!0,ignore:!1},cr={},pr=new ji(0,0,0,0),dr=function(){function t(t){this.id=k(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=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]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=pr;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(cr,n,u):sr(cr,n,u),r.x=cr.x,r.y=cr.y,o=cr.align,a=cr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=ar(h[0],u.width),p=ar(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,v=void 0,y=void 0;f&&this.canBeInsideText()?(m=n.insideFill,v=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(m),y=!0)):(m=n.outsideFill,v=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(m),y=!0)),m=m||"#000",m===g.fill&&v===g.stroke&&y===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=m,g.stroke=v,g.autoStroke=y,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=Be,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?mi:gi},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&gn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,bn(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},P(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(tt(t))for(var n=t,i=W(n),r=0;r0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(lr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===lr,o=this.hasState();if(o||!r){var a=this.currentStates,s=this.stateTransition;if(!(B(a,t)>=0)||!e&&1!==a.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||r){r||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var h=this._textContent,c=this._textGuide;return h&&h.useState(t,e,n,u),c&&c.useState(t,e,n,u),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Be),l}D("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Be)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=B(i,t),o=B(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o8)&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),t}();function fr(t,e,n,i,r){n=n||{};var o=[];yr(t,"",t,e,n,i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,h=function(){s=!0,a--,a<=0&&(s?l&&l():u&&u())},c=function(){a--,a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){for(var _=t.animators,x=[],A=0;A<_.length;A++)_[A].targetName===e&&x.push(_[A]);if(!d&&x.length)for(A=0;A=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=B(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=B(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.addHover=function(t){},t.prototype.removeHover=function(t){},t.prototype.clearHover=function(){},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.pathToImage=function(t,e){if(this.painter.pathToImage)return this.painter.pathToImage(t,e)},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Pr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?Zr(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function Or(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),Lr),t=(+t).toFixed(e),n?t:+t}function Rr(t){return t.sort((function(t,e){return t-e})),t}function Br(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return Nr(t)}function Nr(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function Er(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function Fr(t,e){var n=Math.max(Br(t),Br(e)),i=t+e;return n>Lr?i:Or(i,n)}function Vr(t){var e=2*Math.PI;return(t%e+e)%e}function Hr(t){return t>-Dr&&t=10&&e++,e}function qr(t,e){var n,i=Ur(t),r=Math.pow(10,i),o=t/r;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t}function Jr(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&B(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var Qo=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Ko=Xo(Qo),$o=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Ko(this,t,e)},t}(),ta=new tn(50);function ea(t){if("string"===typeof t){var e=ta.get(t);return e&&e.image}return t}function na(t,e,n,i,r){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=ta.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?(e=o.image,!ra(e)&&o.pending.push(a)):(e=new Image,e.onload=e.onerror=ia,ta.put(t,e.__cachedImgObj={image:e,pending:[a]}),e.src=e.__zrImageSrc=t),e}return t}return e}function ia(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=tr(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function la(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=tr(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?ua(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,s),o=tr(t,i)}return""===t&&(t=e.placeholder),t}function ua(t,e,n,i){for(var r=0,o=0,a=t.length;op&&u){var d=Math.floor(p/l);n=n.slice(0,d)}var f=p,g=h;if(r&&(f+=r[0]+r[2],null!=g&&(g+=r[1]+r[3])),t&&a&&null!=g)for(var m=sa(h,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v=0;vl&&ga(n,t.substring(l,u),e,s),ga(n,i[2],e,s,i[1]),l=oa.lastIndex}lo){A>0?(y.tokens=y.tokens.slice(0,A),m(y,x,_),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var I=b.width,k=null==I||"auto"===I;if("string"===typeof I&&"%"===I.charAt(I.length-1))w.percentWidth=I,h.push(w),w.contentWidth=tr(w.text,C);else{if(k){var D=b.backgroundColor,L=D&&D.image;L&&(L=ea(L),ra(L)&&(w.width=Math.max(w.width,L.width*T/L.height)))}var Z=f&&null!=r?r-x:null;null!=Z&&Z0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=_a(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var m=0;m=33&&e<=255}var va=G(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function ya(t){return!ma(t)||!!va[t]}function _a(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",u=0,h=u),o.push(s),a.push(h-u),l+=p,u+=d,s="",h=u):(l&&(s+=l,h+=u,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var xa="__zr_style_"+Math.round(10*Math.random()),Aa={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},wa={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Aa[xa]=!0;var ba=["z","z2","invisible"],Sa=["invisible"],Ma=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype._init=function(e){for(var n=W(e),i=0;i-Za&&tZa||t<-Za}function Va(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Ha(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function Ga(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(Ea(h)&&Ea(c))if(Ea(s))o[0]=0;else{var f=-l/s;f>=0&&f<=1&&(o[d++]=f)}else{var g=c*c-4*h*p;if(Ea(g)){var m=c/h,v=(f=-s/a+m,-m/2);f>=0&&f<=1&&(o[d++]=f),v>=0&&v<=1&&(o[d++]=v)}else if(g>0){var y=La(g),_=h*s+1.5*a*(-c+y),x=h*s+1.5*a*(-c-y);_=_<0?-Da(-_,Oa):Da(_,Oa),x=x<0?-Da(-x,Oa):Da(x,Oa);f=(-s-(_+x))/(3*a);f>=0&&f<=1&&(o[d++]=f)}else{var A=(2*h*s-3*a*c)/(2*La(h*h*h)),w=Math.acos(A)/3,b=La(h),S=Math.cos(w),M=(f=(-s-2*b*S)/(3*a),v=(-s+b*(S+Pa*Math.sin(w)))/(3*a),(-s+b*(S-Pa*Math.sin(w)))/(3*a));f>=0&&f<=1&&(o[d++]=f),v>=0&&v<=1&&(o[d++]=v),M>=0&&M<=1&&(o[d++]=M)}}return d}function Ya(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Ea(a)){if(Fa(o)){var u=-s/o;u>=0&&u<=1&&(r[l++]=u)}}else{var h=o*o-4*a*s;if(Ea(h))r[0]=-o/(2*a);else if(h>0){var c=La(h),p=(u=(-o+c)/(2*a),(-o-c)/(2*a));u>=0&&u<=1&&(r[l++]=u),p>=0&&p<=1&&(r[l++]=p)}}return l}function Wa(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function Ua(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,m=.005,v=1/0;Ra[0]=l,Ra[1]=u;for(var y=0;y<1;y+=.05)Ba[0]=Va(t,n,r,a,y),Ba[1]=Va(e,i,o,s,y),f=Ot(Ra,Ba),f=0&&f=0&&u<=1&&(r[l++]=u)}}else{var h=a*a-4*o*s;if(Ea(h)){u=-a/(2*o);u>=0&&u<=1&&(r[l++]=u)}else if(h>0){var c=La(h),p=(u=(-a+c)/(2*o),(-a-c)/(2*o));u>=0&&u<=1&&(r[l++]=u),p>=0&&p<=1&&(r[l++]=p)}}return l}function Qa(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Ka(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function $a(t,e,n,i,r,o,a,s,l){var u,h=.005,c=1/0;Ra[0]=a,Ra[1]=s;for(var p=0;p<1;p+=.05){Ba[0]=Ja(t,n,r,p),Ba[1]=Ja(e,i,o,p);var d=Ot(Ra,Ba);d=0&&d1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(as[0]=rs(r)*n+t,as[1]=is(r)*i+e,ss[0]=rs(o)*n+t,ss[1]=is(o)*i+e,u(s,as,ss),h(l,as,ss),r%=os,r<0&&(r+=os),o%=os,o<0&&(o+=os),r>o&&!a?o+=os:rr&&(ls[0]=rs(d)*n+t,ls[1]=is(d)*i+e,u(s,ls,s),h(l,ls,l))}var ms={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},vs=[],ys=[],_s=[],xs=[],As=[],ws=[],bs=Math.min,Ss=Math.max,Ms=Math.cos,Cs=Math.sin,Ts=Math.sqrt,Is=Math.abs,ks=Math.PI,Ds=2*ks,Ls="undefined"!==typeof Float32Array,Zs=[];function zs(t){var e=Math.round(t/ks*1e8)/1e8;return e%2*ks}function Ps(t,e){var n=zs(t[0]);n<0&&(n+=Ds);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=Ds?r=n+Ds:e&&n-r>=Ds?r=n-Ds:!e&&n>r?r=n+(Ds-zs(n-r)):e&&n0&&(this._ux=Is(n/di/t)||0,this._uy=Is(n/di/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(ms.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=Is(t-this._xi),i=Is(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(ms.L,t,e),this._ctx&&r&&(this._needsDash?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(ms.C,t,e,n,i,r,o),this._ctx&&(this._needsDash?this._dashedBezierTo(t,e,n,i,r,o):this._ctx.bezierCurveTo(t,e,n,i,r,o)),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(ms.Q,t,e,n,i),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),Zs[0]=i,Zs[1]=r,Ps(Zs,o),i=Zs[0],r=Zs[1];var a=r-i;return this.addData(ms.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=Ms(r)*n+t,this._yi=Cs(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(ms.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(ms.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.setLineDash=function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e0&&d<=t||h<0&&d>=t||0===h&&(c>0&&f<=e||c<0&&f>=e))i=this._dashIdx,n=o[i],d+=h*n,f+=c*n,this._dashIdx=(i+1)%g,h>0&&dl||c>0&&fu||a[i%2?"moveTo":"lineTo"](h>=0?bs(d,t):Ss(d,t),c>=0?bs(f,e):Ss(f,e));h=d-t,c=f-e,this._dashOffset=-Ts(h*h+c*c)},t.prototype._dashedBezierTo=function(t,e,n,i,r,o){var a,s,l,u,h,c=this._ctx,p=this._dashSum,d=this._dashOffset,f=this._lineDash,g=this._xi,m=this._yi,v=0,y=this._dashIdx,_=f.length,x=0;for(d<0&&(d=p+d),d%=p,a=0;a<1;a+=.1)s=Va(g,t,n,r,a+.1)-Va(g,t,n,r,a),l=Va(m,e,i,o,a+.1)-Va(m,e,i,o,a),v+=Ts(s*s+l*l);for(;y<_;y++)if(x+=f[y],x>d)break;a=(x-d)/v;while(a<=1)u=Va(g,t,n,r,a),h=Va(m,e,i,o,a),y%2?c.moveTo(u,h):c.lineTo(u,h),a+=f[y]/v,y=(y+1)%_;y%2!==0&&c.lineTo(r,o),s=r-u,l=o-h,this._dashOffset=-Ts(s*s+l*l)},t.prototype._dashedQuadraticTo=function(t,e,n,i){var r=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,o)},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Ls&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){_s[0]=_s[1]=As[0]=As[1]=Number.MAX_VALUE,xs[0]=xs[1]=ws[0]=ws[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||Is(y)>i||c===e-1)&&(f=Math.sqrt(v*v+y*y),r=g,o=m);break;case ms.C:var _=t[c++],x=t[c++],A=(g=t[c++],m=t[c++],t[c++]),w=t[c++];f=qa(r,o,_,x,g,m,A,w,10),r=A,o=w;break;case ms.Q:_=t[c++],x=t[c++],g=t[c++],m=t[c++];f=ts(r,o,_,x,g,m,10),r=g,o=m;break;case ms.A:var b=t[c++],S=t[c++],M=t[c++],C=t[c++],T=t[c++],I=t[c++],k=I+T;c+=1;t[c++];d&&(a=Ms(T)*M+b,s=Cs(T)*C+S),f=Ss(M,C)*bs(Ds,Math.abs(I)),r=Ms(k)*M+b,o=Cs(k)*C+S;break;case ms.R:a=r=t[c++],s=o=t[c++];var D=t[c++],L=t[c++];f=2*D+2*L;break;case ms.Z:v=a-r,y=s-o;f=Math.sqrt(v*v+y*y),r=a,o=s;break}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p,d=this.data,f=this._ux,g=this._uy,m=this._len,v=e<1,y=0,_=0,x=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,h=e*u,h))t:for(var A=0;A0&&(t.lineTo(c,p),x=0),w){case ms.M:n=r=d[A++],i=o=d[A++],t.moveTo(r,o);break;case ms.L:a=d[A++],s=d[A++];var S=Is(a-r),M=Is(s-o);if(S>f||M>g){if(v){var C=l[_++];if(y+C>h){var T=(h-y)/C;t.lineTo(r*(1-T)+a*T,o*(1-T)+s*T);break t}y+=C}t.lineTo(a,s),r=a,o=s,x=0}else{var I=S*S+M*M;I>x&&(c=a,p=s,x=I)}break;case ms.C:var k=d[A++],D=d[A++],L=d[A++],Z=d[A++],z=d[A++],P=d[A++];if(v){C=l[_++];if(y+C>h){T=(h-y)/C;Wa(r,k,L,z,T,vs),Wa(o,D,Z,P,T,ys),t.bezierCurveTo(vs[1],ys[1],vs[2],ys[2],vs[3],ys[3]);break t}y+=C}t.bezierCurveTo(k,D,L,Z,z,P),r=z,o=P;break;case ms.Q:k=d[A++],D=d[A++],L=d[A++],Z=d[A++];if(v){C=l[_++];if(y+C>h){T=(h-y)/C;Ka(r,k,L,T,vs),Ka(o,D,Z,T,ys),t.quadraticCurveTo(vs[1],ys[1],vs[2],ys[2]);break t}y+=C}t.quadraticCurveTo(k,D,L,Z),r=L,o=Z;break;case ms.A:var O=d[A++],R=d[A++],B=d[A++],N=d[A++],E=d[A++],F=d[A++],V=d[A++],H=!d[A++],G=B>N?B:N,Y=Is(B-N)>.001,W=E+F,U=!1;if(v){C=l[_++];y+C>h&&(W=E+F*(h-y)/C,U=!0),y+=C}if(Y&&t.ellipse?t.ellipse(O,R,B,N,V,E,W,H):t.arc(O,R,G,E,W,H),U)break t;b&&(n=Ms(E)*B+O,i=Cs(E)*N+R),r=Ms(W)*B+O,o=Cs(W)*N+R;break;case ms.R:n=r=d[A],i=o=d[A+1],a=d[A++],s=d[A++];var q=d[A++],J=d[A++];if(v){C=l[_++];if(y+C>h){var j=h-y;t.moveTo(a,s),t.lineTo(a+bs(j,q),s),j-=q,j>0&&t.lineTo(a+q,s+bs(j,J)),j-=J,j>0&&t.lineTo(a+Ss(q-j,0),s+J),j-=q,j>0&&t.lineTo(a,s+Ss(J-j,0));break t}y+=C}t.rect(a,s,q,J);break;case ms.Z:if(v){C=l[_++];if(y+C>h){T=(h-y)/C;t.lineTo(r*(1-T)+n*T,o*(1-T)+i*T);break t}y+=C}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=ms,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._needsDash=!1,e._dashOffset=0,e._dashIdx=0,e._dashSum=0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),Rs=Os;function Bs(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,u=t;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=Hs);var p=Math.atan2(l,s);return p<0&&(p+=Hs),p>=i&&p<=r||p+Hs>=i&&p+Hs<=r}function Ys(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var Ws=Rs.CMD,Us=2*Math.PI,qs=1e-4;function Js(t,e){return Math.abs(t-e)e&&u>i&&u>o&&u>s||u1&&Qs(),d=Va(e,i,o,s,Xs[0]),p>1&&(f=Va(e,i,o,s,Xs[1]))),2===p?me&&s>i&&s>o||s=0&&u<=1){for(var h=0,c=Ja(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);js[0]=-l,js[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Us-1e-4){i=0,r=Us;var h=o?1:-1;return a>=js[0]+t&&a<=js[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=Us,r+=Us);for(var p=0,d=0;d<2;d++){var f=js[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=Us+g),(g>=i&&g<=r||g+Us>=i&&g+Us<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function el(t,e,n,i,r){for(var o,a,s=t.data,l=t.len(),u=0,h=0,c=0,p=0,d=0,f=0;f1&&(n||(u+=Ys(h,c,p,d,i,r))),m&&(h=s[f],c=s[f+1],p=h,d=c),g){case Ws.M:p=s[f++],d=s[f++],h=p,c=d;break;case Ws.L:if(n){if(Bs(h,c,s[f],s[f+1],e,i,r))return!0}else u+=Ys(h,c,s[f],s[f+1],i,r)||0;h=s[f++],c=s[f++];break;case Ws.C:if(n){if(Ns(h,c,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=Ks(h,c,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],i,r)||0;h=s[f++],c=s[f++];break;case Ws.Q:if(n){if(Es(h,c,s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=$s(h,c,s[f++],s[f++],s[f],s[f+1],i,r)||0;h=s[f++],c=s[f++];break;case Ws.A:var v=s[f++],y=s[f++],_=s[f++],x=s[f++],A=s[f++],w=s[f++];f+=1;var b=!!(1-s[f++]);o=Math.cos(A)*_+v,a=Math.sin(A)*x+y,m?(p=o,d=a):u+=Ys(h,c,o,a,i,r);var S=(i-v)*x/_+v;if(n){if(Gs(v,y,x,A,A+w,b,e,S,r))return!0}else u+=tl(v,y,x,A,A+w,b,S,r);h=Math.cos(A+w)*_+v,c=Math.sin(A+w)*x+y;break;case Ws.R:p=h=s[f++],d=c=s[f++];var M=s[f++],C=s[f++];if(o=p+M,a=d+C,n){if(Bs(p,d,o,d,e,i,r)||Bs(o,d,o,a,e,i,r)||Bs(o,a,p,a,e,i,r)||Bs(p,a,p,d,e,i,r))return!0}else u+=Ys(o,d,o,a,i,r),u+=Ys(p,a,p,d,i,r);break;case Ws.Z:if(n){if(Bs(h,c,p,d,e,i,r))return!0}else u+=Ys(h,c,p,d,i,r);h=p,c=d;break}}return n||Js(c,d)||(u+=Ys(h,c,p,d,i,r)||0),0!==u}function nl(t,e,n){return el(t,0,!1,e,n)}function il(t,e,n,i){return el(t,e,!0,n,i)}var rl=O({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Aa),ol={style:O({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},wa.style)},al=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],sl=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?gi:e>.2?vi:mi}if(t)return mi}return gi},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Q(e)){var n=this.__zr,i=!(!n||!n.isDarkMode()),r=Sn(t,0)0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&Ee)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),il(o,a/s,t,e)))return!0}if(this.hasFill())return nl(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Ee,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"===typeof t?n[t]=e:P(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Ee)},e.prototype.createStyle=function(t){return xt(rl,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=P({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=P({},i.shape),P(s,n.shape)):(s=P({},r?this.shape:i.shape),P(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=P({},this.shape);for(var u={},h=W(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return xt(ul,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=nr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(ka);hl.prototype.type="tspan";var cl=hl,pl=O({x:0,y:0},Aa),dl={style:O({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},wa.style)};function fl(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var gl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.createStyle=function(t){return xt(pl,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i=fl(e.image)?e.image:this.__image;if(!i)return 0;var r="width"===t?"height":"width",o=e[r];return null==o?i[t]:i[t]/i[r]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return dl},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ji(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(ka);gl.prototype.type="image";var ml=gl;function vl(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"===typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(a=n+i,n*=u/a,i*=u/a),r+o>u&&(a=r+o,r*=u/a,o*=u/a),i+r>h&&(a=i+r,i*=h/a,r*=h/a),n+o>h&&(a=n+o,n*=h/a,o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}var yl=Math.round;function _l(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(yl(2*i)===yl(2*r)&&(t.x1=t.x2=Al(i,s,!0)),yl(2*o)===yl(2*a)&&(t.y1=t.y2=Al(o,s,!0)),t):t}}function xl(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Al(i,s,!0),t.y=Al(r,s,!0),t.width=Math.max(Al(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Al(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Al(t,e,n){if(!e)return t;var i=yl(2*t);return(i+yl(e))%2===0?i/2:(i+(n?1:-1))/2}var wl=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),bl={},Sl=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new wl},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=xl(bl,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?vl(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(ll);Sl.prototype.type="rect";var Ml=Sl,Cl={fill:"#000"},Tl=2,Il={style:O({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},wa.style)},kl=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Cl,n.attr(e),n}return u(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e0,M=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=r.calculatedLineHeight,T=0;T=0&&(I=x[T],"right"===I.align))this._placeToken(I,t,w,g,C,"right",v),b-=I.width,C-=I.width,T--;M+=(i-(M-f)-(m-C)-b)/2;while(S<=T)I=x[S],this._placeToken(I,t,w,g,M+I.width/2,"center",v),M+=I.width,S++;g+=w}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2);var h=!t.isLineHolder&&Nl(s);h&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var c=!!s.backgroundColor,p=t.textPadding;p&&(r=Rl(r,o,p),u-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(cl),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,m=!1,v=0,y=Ol("fill"in s?s.fill:"fill"in e?e.fill:(m=!0,g.fill)),_=Pl("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||g.autoStroke&&!m?null:(v=Tl,g.stroke)),x=s.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=u,x&&(f.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,f.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||Qi,f.opacity=ut(s.opacity,e.opacity,1),_&&(f.lineWidth=ut(s.lineWidth,e.lineWidth,v),f.lineDash=lt(s.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=_),y&&(f.fill=y);var A=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new ji(ir(f.x,A,f.textAlign),rr(f.y,w,f.textBaseline),A,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l=t.backgroundColor,u=t.borderWidth,h=t.borderColor,c=l&&l.image,p=l&&!c,d=t.borderRadius,f=this;if(p||t.lineHeight||u&&h){a=this._getOrCreateChild(Ml),a.useStyle(a.createStyle()),a.style.fill=null;var g=a.shape;g.x=n,g.y=i,g.width=r,g.height=o,g.r=d,a.dirtyShape()}if(p){var m=a.style;m.fill=l||null,m.fillOpacity=lt(t.fillOpacity,1)}else if(c){s=this._getOrCreateChild(ml),s.onload=function(){f.dirtyStyle()};var v=s.style;v.image=l.image,v.x=n,v.y=i,v.width=r,v.height=o}if(u&&h){m=a.style;m.lineWidth=u,m.stroke=h,m.strokeOpacity=lt(t.strokeOpacity,1),m.lineDash=t.borderDash,m.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var y=(a||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=ut(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";if(t.fontSize||t.fontFamily||t.fontWeight){var n="";n="string"!==typeof t.fontSize||-1===t.fontSize.indexOf("px")&&-1===t.fontSize.indexOf("rem")&&-1===t.fontSize.indexOf("em")?isNaN(+t.fontSize)?"12px":t.fontSize+"px":t.fontSize,e=[t.fontStyle,t.fontWeight,n,t.fontFamily||"sans-serif"].join(" ")}return e&&dt(e)||t.textFont||t.font},e}(ka),Dl={left:!0,right:1,center:1},Ll={top:1,bottom:1,middle:1};function Zl(t){return zl(t),V(t.rich,zl),t}function zl(t){if(t){t.font=kl.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||Dl[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||Ll[n]?n:"top";var i=t.padding;i&&(t.padding=ct(t.padding))}}function Pl(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function Ol(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function Rl(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function Bl(t){var e=t.text;return null!=e&&(e+=""),e}function Nl(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var El=kl,Fl=Mo(),Vl=function(t,e,n,i){if(i){var r=Fl(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,"group"===i.type&&i.traverse((function(i){var r=Fl(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e}))}},Hl=1,Gl={},Yl=Mo(),Wl=0,Ul=1,ql=2,Jl=["emphasis","blur","select"],jl=["normal","emphasis","blur","select"],Xl=10,Ql=9,Kl="highlight",$l="downplay",tu="select",eu="unselect",nu="toggleSelect";function iu(t){return null!=t&&"none"!==t}var ru=new tn(100);function ou(t){if("string"!==typeof t)return t;var e=ru.get(t);return e||(e=yn(t,-.1),ru.put(t,e)),e}function au(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function su(t){au(t,"emphasis",ql)}function lu(t){t.hoverState===ql&&au(t,"normal",Wl)}function uu(t){au(t,"blur",Ul)}function hu(t){t.hoverState===Ul&&au(t,"normal",Wl)}function cu(t){t.selected=!0}function pu(t){t.selected=!1}function du(t,e,n){e(t,n)}function fu(t,e,n){du(t,e,n),t.isGroup&&t.traverse((function(t){du(t,e,n)}))}function gu(t,e){switch(e){case"emphasis":t.hoverState=ql;break;case"normal":t.hoverState=Wl;break;case"blur":t.hoverState=Ul;break;case"select":t.selected=!0}}function mu(t,e,n,i){for(var r=t.style,o={},a=0;a=0,o=!1;if(t instanceof ll){var a=Yl(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(iu(s)||iu(l)){i=i||{};var u=i.style||{};"inherit"===u.fill?(o=!0,i=P({},i),u=P({},u),u.fill=s):!iu(u.fill)&&iu(s)?(o=!0,i=P({},i),u=P({},u),u.fill=ou(s)):!iu(u.stroke)&&iu(l)&&(o||(i=P({},i),u=P({},u)),u.stroke=ou(l)),i.style=u}}if(i&&null==i.z2){o||(i=P({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:Xl)}return i}function yu(t,e,n){if(n&&null==n.z2){n=P({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:Ql)}return n}function _u(t,e,n){var i=B(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:mu(t,["opacity"],e,{opacity:1});n=n||{};var a=n.style||{};return null==a.opacity&&(n=P({},n),a=P({opacity:i?r:.1*o.opacity},a),n.style=a),n}function xu(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return vu(this,t,e,n);if("blur"===t)return _u(this,t,n);if("select"===t)return yu(this,t,n)}return n}function Au(t){t.stateProxy=xu;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=xu),n&&(n.stateProxy=xu)}function wu(t,e){!Du(t,e)&&!t.__highByOuter&&fu(t,su)}function bu(t,e){!Du(t,e)&&!t.__highByOuter&&fu(t,lu)}function Su(t,e){t.__highByOuter|=1<<(e||0),fu(t,su)}function Mu(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&fu(t,lu)}function Cu(t){fu(t,uu)}function Tu(t){fu(t,hu)}function Iu(t){fu(t,cu)}function ku(t){fu(t,pu)}function Du(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Lu(t){var e=t.getModel();e.eachComponent((function(e,n){var i="series"===e?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n);i.group.traverse((function(t){hu(t)}))}))}function Zu(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Vu(t,e,n){Gu(t,!0),fu(t,Au),Hu(t,e,n)}function Hu(t,e,n){var i=Fl(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}function Gu(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function Yu(t){return!(!t||!t.__highDownDispatcher)}function Wu(t,e,n){var i=Fl(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}function Uu(t){var e=Gl[t];return null==e&&Hl<=32&&(e=Gl[t]=Hl++),e}function qu(t){var e=t.type;return e===tu||e===eu||e===nu}function Ju(t){var e=t.type;return e===Kl||e===$l}function ju(t){var e=Yl(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}var Xu=Mo();function Qu(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s=e&&e.isAnimationEnabled(),l="update"===t;if(s){var u=void 0,h=void 0,c=void 0;i?(u=lt(i.duration,200),h=lt(i.easing,"cubicOut"),c=0):(u=e.getShallow(l?"animationDurationUpdate":"animationDuration"),h=e.getShallow(l?"animationEasingUpdate":"animationEasing"),c=e.getShallow(l?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(u=o.duration),null!=o.easing&&(h=o.easing),null!=o.delay&&(c=o.delay)),"function"===typeof c&&(c=c(n,r)),"function"===typeof u&&(u=u(n));var p={duration:u||0,delay:c,easing:h};return p}return null}function Ku(t,e,n,i,r,o,a){var s,l=!1;"function"===typeof r?(a=o,o=r,r=null):tt(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="remove"===t;u||e.stopAnimation("remove");var h=Qu(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(h&&h.duration>0){var c=h.duration,p=h.delay,d=h.easing,f={duration:c,delay:p||0,easing:d,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,f):e.animateTo(n,f)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function $u(t,e,n,i,r,o){Ku("update",t,e,n,i,r,o)}function th(t,e,n,i,r,o){Ku("init",t,e,n,i,r,o)}function eh(t){if(!t.__zr)return!0;for(var e=0;e=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,r){if(t.length){var o=n(e),a=o.graph,s=o.noEntryList,l={};V(t,(function(t){l[t]=!0}));while(s.length){var u=s.pop(),h=a[u],c=!!l[u];c&&(i.call(r,u,h.originalDeps.slice()),delete l[u]),V(h.successor,c?d:p)}V(l,(function(){var t="";throw new Error(t)}))}function p(t){a[t].entryCount--,0===a[t].entryCount&&s.push(t)}function d(t){l[t]=!0,p(t)}}}function Nh(t,e){return Z(Z({},t,!0),e,!0)}var Eh={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"}},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:". "}}}},Fh={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:"旭日图"}},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:""}}}},Vh="ZH",Hh="EN",Gh=Hh,Yh={},Wh={},Uh=g.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(Vh)>-1?Vh:Gh}():Gh;function qh(t,e){t=t.toUpperCase(),Wh[t]=new zh(e),Yh[t]=e}function Jh(t){if(Q(t)){var e=Yh[t.toUpperCase()]||{};return t===Vh||t===Hh?L(e):Z(L(e),L(Yh[Gh]),!1)}return Z(L(t),L(Yh[Gh]),!1)}function jh(t){return Wh[t]}function Xh(){return Wh[Gh]}qh(Hh,Eh),qh(Vh,Fh);var Qh=1e3,Kh=60*Qh,$h=60*Kh,tc=24*$h,ec=365*tc,nc={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}"},ic="{yyyy}-{MM}-{dd}",rc={year:"{yyyy}",month:"{yyyy}-{MM}",day:ic,hour:ic+" "+nc.hour,minute:ic+" "+nc.minute,second:ic+" "+nc.second,millisecond:nc.none},oc=["year","month","day","hour","minute","second","millisecond"],ac=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function sc(t,e){return t+="","0000".substr(0,e-t.length)+t}function lc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function uc(t){return t===lc(t)}function hc(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function cc(t,e,n,i){var r=Yr(t),o=r[gc(n)](),a=r[mc(n)]()+1,s=Math.floor((a-1)/4)+1,l=r[vc(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[yc(n)](),c=(h-1)%12+1,p=r[_c(n)](),d=r[xc(n)](),f=r[Ac(n)](),g=i instanceof zh?i:jh(i||Uh)||Xh(),m=g.getModel("time"),v=m.get("month"),y=m.get("monthAbbr"),_=m.get("dayOfWeek"),x=m.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,o%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,y[a-1]).replace(/{MM}/g,sc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,sc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,sc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,sc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,sc(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,sc(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,sc(f,3)).replace(/{S}/g,f+"")}function pc(t,e,n,i,r){var o=null;if("string"===typeof n)o=n;else if("function"===typeof n)o=n(t.value,e,{level:t.level});else{var a=P({},nc);if(t.level>0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(j(o)){var c=null==t.level?0:t.level>=0?t.level:o.length+t.level;c=Math.min(c,o.length-1),o=o[c]}}return cc(new Date(t.value),o,r,i)}function dc(t,e){var n=Yr(t),i=n[mc(e)]()+1,r=n[vc(e)](),o=n[yc(e)](),a=n[_c(e)](),s=n[xc(e)](),l=n[Ac(e)](),u=0===l,h=u&&0===s,c=h&&0===a,p=c&&0===o,d=p&&1===r,f=d&&1===i;return f?"year":d?"month":p?"day":c?"hour":h?"minute":u?"second":"millisecond"}function fc(t,e,n){var i="number"===typeof t?Yr(t):t;switch(e=e||dc(t,n),e){case"year":return i[gc(n)]();case"half-year":return i[mc(n)]()>=6?1:0;case"quarter":return Math.floor((i[mc(n)]()+1)/4);case"month":return i[mc(n)]();case"day":return i[vc(n)]();case"half-day":return i[yc(n)]()/24;case"hour":return i[yc(n)]();case"minute":return i[_c(n)]();case"second":return i[xc(n)]();case"millisecond":return i[Ac(n)]()}}function gc(t){return t?"getUTCFullYear":"getFullYear"}function mc(t){return t?"getUTCMonth":"getMonth"}function vc(t){return t?"getUTCDate":"getDate"}function yc(t){return t?"getUTCHours":"getHours"}function _c(t){return t?"getUTCMinutes":"getMinutes"}function xc(t){return t?"getUTCSeconds":"getSeconds"}function Ac(t){return t?"getUTCMilliseconds":"getMilliseconds"}function wc(t){return t?"setUTCFullYear":"setFullYear"}function bc(t){return t?"setUTCMonth":"setMonth"}function Sc(t){return t?"setUTCDate":"setDate"}function Mc(t){return t?"setUTCHours":"setHours"}function Cc(t){return t?"setUTCMinutes":"setMinutes"}function Tc(t){return t?"setUTCSeconds":"setSeconds"}function Ic(t){return t?"setUTCMilliseconds":"setMilliseconds"}function kc(t){if(!Xr(t))return Q(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Dc(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Lc=ct,Zc=/([&<>"'])/g,zc={"&":"&","<":"<",">":">",'"':""","'":"'"};function Pc(t){return null==t?"":(t+"").replace(Zc,(function(t,e){return zc[e]}))}function Oc(t,e,n){var i="{yyyy}-{MM}-{dd} {hh}:{mm}:{ss}";function r(t){return t&&dt(t)?t:"-"}function o(t){return!(null==t||isNaN(t)||!isFinite(t))}var a="time"===e,s=t instanceof Date;if(a||s){var l=a?Yr(t):t;if(!isNaN(+l))return cc(l,i,n);if(s)return"-"}if("ordinal"===e)return K(t)?r(t):$(t)&&o(t)?t+"":"-";var u=jr(t);return o(u)?kc(u):K(t)?r(t):"boolean"===typeof t?t+"":"-"}var Rc=["a","b","c","d","e","f","g"],Bc=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Nc(t,e,n){j(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'';var a=n.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function Fc(t,e){return e=e||"transparent",Q(t)?t:tt(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Vc(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Hc=V,Gc=["left","right","top","bottom","width","height"],Yc=[["width","left","right"],["height","top","bottom"]];function Wc(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);h=o+g,h>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var m=p.height+(f?-f.y+p.y:0);c=a+m,c>r||l.newline?(o+=s+n,a=0,c=m,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var Uc=Wc;J(Wc,"vertical"),J(Wc,"horizontal");function qc(t,e,n){n=Lc(n||0);var i=e.width,r=e.height,o=Pr(t.left,i),a=Pr(t.top,r),s=Pr(t.right,i),l=Pr(t.bottom,r),u=Pr(t.width,i),h=Pr(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p;break}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c;break}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new ji(o+n[3],a+n[0],u,h);return f.margin=n,f}function Jc(t,e,n,i,r){var o=!r||!r.hv||r.hv[0],a=!r||!r.hv||r.hv[1],s=r&&r.boundingMode||"all";if(o||a){var l;if("raw"===s)l="group"===t.type?new ji(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var u=t.getLocalTransform();l=l.clone(),l.applyTransform(u)}var h=qc(O({width:l.width,height:l.height},e),n,i),c=o?h.x-l.x:0,p=a?h.y-l.y:0;"raw"===s?(t.x=c,t.y=p):(t.x+=c,t.y+=p),t.markRedraw()}}function jc(t){var e=t.layoutMode||t.constructor.layoutMode;return tt(e)?e:e?{type:e}:null}function Xc(t,e,n){var i=n&&n.ignoreSize;!j(i)&&(i=[i,i]);var r=a(Yc[0],0),o=a(Yc[1],1);function a(n,r){var o={},a=0,u={},h=0,c=2;if(Hc(n,(function(e){u[e]=t[e]})),Hc(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(h!==c&&a){if(a>=c)return o;for(var p=0;p=0;a--)o=Z(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Lo(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(zh);function ep(t){var e=[];return V(tp.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=H(e,(function(t){return Eo(t).main})),"dataset"!==t&&B(e,"dataset")<=0&&e.unshift("dataset"),e}Yo(tp,zh),jo(tp),Rh(tp),Bh(tp,ep);var np=tp,ip="";"undefined"!==typeof navigator&&(ip=navigator.platform||"");var rp="rgba(0, 0, 0, 0.2)",op={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:rp,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:rp,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:rp,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:rp,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:rp,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:rp,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:ip.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},ap=yt(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),sp="original",lp="arrayRows",up="objectRows",hp="keyedColumns",cp="typedArray",pp="unknown",dp="column",fp="row",gp={Must:1,Might:2,Not:3},mp=Mo();function vp(t){mp(t).datasetMap=yt()}function yp(t,e,n){var i={},r=xp(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=mp(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;t=t.slice(),V(t,(function(e,n){var r=tt(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}function Dp(t,e,n,i,r,o,a){o=o||t;var s=e(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&i?kp(i,a):n;if(h=h||n,h&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}function Lp(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var Zp,zp,Pp;"undefined"!==typeof console&&console.warn&&console.log;function Op(t){0}function Rp(t){throw new Error(t)}var Bp="\0_ec_inner",Np=1;var Ep=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new zh(i),this._locale=new zh(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=Yp(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Yp(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Pp(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&V(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=yt(),s=e&&e.replaceMergeMainTypeMap;function l(e){var o=Cp(this,e,no(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=so(a,o,l);Ao(u,e,np),n[e]=null,i.set(e,null),r.set(e,0);var h=[],c=[],p=0;V(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=np.getClass(e,t.keyInfo.subType,!o);if(!a)return;if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=P({componentIndex:n},t.keyInfo);i=new a(r,this,this,s),P(i,s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(h.push(i.option),c.push(i),p++):(h.push(void 0),c.push(void 0))}),this),n[e]=h,i.set(e,c),r.set(e,p),"series"===e&&Zp(this)}vp(this),V(t,(function(t,e){null!=t&&(np.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?L(t):Z(n[e],t,!0))})),s&&s.each((function(t,e){np.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),np.topologicalTravel(o,np.getAllClassMainTypes(),l,this),this._seriesIndices||Zp(this)},e.prototype.getOption=function(){var t=L(this.option);return V(t,(function(e,n){if(np.hasClass(n)){for(var i=no(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!_o(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[Bp],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e}function id(t,e){return t.join(",")===e.join(",")}var rd=$p,od=V,ad=tt,sd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ld(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=sd.length;n=0;f--){var g=t[f];if(s||(c=g.data.rawIndexOf(g.stackedByDimension,h)),c>=0){var m=g.data.getByRawIndex(g.stackResultDimension,c);if(p>=0&&m>0||p<=0&&m<0){p=Fr(p,m),d=m;break}}}return i[0]=p,i[1]=d,i}))}))}var Ld,Zd,zd,Pd,Od,Rd=function(){function t(t){this.data=t.data||(t.sourceFormat===hp?{}:[]),this.sourceFormat=t.sourceFormat||pp,this.seriesLayoutBy=t.seriesLayoutBy||dp,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""}))}},t.prototype.getRawValue=function(t,e){return of(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function lf(t){var e,n;return tt(t)?t.type&&(n=t):e=t,{markupText:e,markupFragment:n}}function uf(t){return new hf(t)}var hf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},ff=(function(){function t(t,e){if("number"!==typeof e){var n="";0,Rp(n)}this._opFn=df[t],this._rvalFloat=jr(e)}t.prototype.evaluate=function(t){return"number"===typeof t?this._opFn(t,this._rvalFloat):this._opFn(jr(t),this._rvalFloat)}}(),function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=typeof t,i=typeof e,r="number"===n?t:jr(t),o="number"===i?e:jr(e),a=isNaN(r),s=isNaN(o);if(a&&(r=this._incomparable),s&&(o=this._incomparable),a&&s){var l="string"===n,u="string"===i;l&&(r=u?t:0),u&&(o=l?e:0)}return ro?-this._resultLT:0},t}());(function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=jr(e)}t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=jr(t)===this._rvalFloat)}return this._isEQ?e:!e}})();var gf=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return pf(t,e)},t}();function mf(t,e){var n=new gf,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex,a="";t.seriesLayoutBy!==dp&&Rp(a);var s=[],l={},u=t.dimensionsDefine;if(u)V(u,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(s.push(i),null!=n){var r="";At(l,n)&&Rp(r),l[n]=i}}));else for(var h=0;h65535?If:kf}function Pf(){return[1/0,-1/0]}function Of(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function Rf(t,e,n,i,r){var o=Zf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=H(o,(function(t){return t.property})),u=0;um[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,r=i[t],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,h=this.count();u=0&&s<0)&&(a=d,s=p,l=0),p===s&&(o[l++]=u))}return o.length=l,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=h&&v<=c||isNaN(v))&&(s[l++]=f),f++}d=!0}else if(2===r){g=p[i[0]];var y=p[i[1]],_=t[i[1]][0],x=t[i[1]][1];for(m=0;m=h&&v<=c||isNaN(v))&&(A>=_&&A<=x||isNaN(A))&&(s[l++]=f),f++}d=!0}}if(!d)if(1===r)for(m=0;m=h&&v<=c||isNaN(v))&&(s[l++]=w)}else for(m=0;mt[M][1])&&(b=!1)}b&&(s[l++]=e.getRawIndex(m))}return lm[1]&&(m[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks,s=a[t],l=this.count(),u=0,h=Math.floor(1/e),c=this.getRawIndex(0),p=new(zf(this._rawCount))(Math.ceil(l/h)+2);p[u++]=c;for(var d=1;dn&&(n=i,r=_))}p[u++]=r,c=r}return p[u++]=this.getRawIndex(l-1),o._count=u,o._indices=p,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=Pf(),c=new(zf(this._rawCount))(Math.ceil(u/s)),p=0,d=0;du-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=m),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();rs&&(s=h)}return i=[a,s],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return pf(t[i],this._dimensions[i])}Cf={arrayRows:t,objectRows:function(t,e,n,i){return pf(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return pf(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),Nf=Bf,Ef=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Vf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),l=u.getSource(),a=l.data,s=l.sourceFormat,e=[u._getVersionSign()]}else a=o.get("data",!0),s=nt(a)?cp:sp,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=lt(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=lt(h.sourceHeader,c.sourceHeader)||null,f=lt(h.dimensions,c.dimensions),g=p!==c.seriesLayoutBy||!!d!==!!c.sourceHeader||f;t=g?[Nd(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var m=n;if(r){var v=this._applyTransform(i);t=v.sourceList,e=v.upstreamSignList}else{var y=m.get("source",!0);t=[Nd(y,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&Hf(o)}var a=[],s=[];return V(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||Hf(n),a.push(e),s.push(t._getVersionSign())})),i?e=bf(i,a,{datasetIndex:n.componentIndex}):null!=r&&(e=[Fd(a[0])]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e1||e>0&&!t.noHeader,i=0;V(t.blocks,(function(t){Jf(t).planLayout(t);var e=t.__gapLevelBetweenSubBlocks;e>=i&&(i=e+(!n||e&&("section"!==t.type||t.noHeader)?0:1))})),t.__gapLevelBetweenSubBlocks=i},build:function(t,e,n,i){var r=e.noHeader,o=Kf(e),a=Xf(t,e,r?n:o.html,i);if(r)return a;var s=Oc(e.header,"ordinal",t.useUTC),l=Yf(i,t.renderMode).nameStyle;return"richText"===t.renderMode?ng(t,s,l)+o.richText+a:$f('
'+Pc(s)+"
"+a,n)}},nameValue:{planLayout:function(t){t.__gapLevelBetweenSubBlocks=0},build:function(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=e.value,h=t.useUTC;if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":Oc(l,"ordinal",h),d=e.valueType,f=a?[]:j(u)?H(u,(function(t,e){return Oc(t,j(d)?d[e]:d,h)})):[Oc(u,j(d)?d[0]:d,h)],g=!s||!o,m=!s&&o,v=Yf(i,r),y=v.nameStyle,_=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":ng(t,p,y))+(a?"":ig(t,f,g,m,_)):$f((s?"":c)+(o?"":tg(p,!s,y))+(a?"":eg(f,g,m,_)),n)}}}};function Xf(t,e,n,i){var r=[],o=e.blocks||[];pt(!o||j(o)),o=o||[];var a=t.orderMode;if(e.sortBlocks&&a){o=o.slice();var s={valueAsc:"asc",valueDesc:"desc"};if(At(s,a)){var l=new ff(s[a],null);o.sort((function(t,e){return l.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===a&&o.reverse()}var u=Kf(e);if(V(o,(function(e,n){var o=Jf(e).build(t,e,n>0?u.html:0,i);null!=o&&r.push(o)})),r.length)return"richText"===t.renderMode?r.join(u.richText):$f(r.join(""),n)}function Qf(t,e,n,i,r,o){if(t){var a=Jf(t);a.planLayout(t);var s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e};return a.build(s,t,0,o)}}function Kf(t){var e=t.__gapLevelBetweenSubBlocks;return{html:Wf[e],richText:Uf[e]}}function $f(t,e){var n='
',i="margin: "+e+"px 0 0";return'
'+t+n+"
"}function tg(t,e,n){var i=e?"margin-left:2px":"";return''+Pc(t)+""}function eg(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return''+H(t,(function(t){return Pc(t)})).join("  ")+""}function ng(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function ig(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(e.join(" "),o)}function rg(t,e){var n=t.getData().getItemVisual(e,"style"),i=n[t.visualDrawType];return Fc(i)}function og(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var ag=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Qr()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=Ec({color:e,type:t,renderMode:n,markerId:i});return Q(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};j(e)?V(e,(function(t){return P(n,t)})):P(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function sg(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=j(c),d=rg(o,a);if(h>1||p&&!h){var f=lg(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=of(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var m=yo(o),v=m&&o.name||"",y=l.getName(a),_=s?v:y;return qf("section",{header:v,noHeader:s||!m,sortParam:r,blocks:[qf("nameValue",{markerType:"item",markerColor:d,name:_,noName:!dt(_),value:e,valueType:n})].concat(i||[])})}function lg(t,e,n,i,r){var o=e.getData(),a=G(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(qf("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?V(i,(function(t){h(of(o,n,t),t)})):V(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}var ug=Mo();function hg(t,e){return t.getName(e)||t.getId(e)}var cg="__universalTransitionEnabled",pg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return u(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=uf({count:gg,reset:mg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=ug(this).sourceManager=new Ef(this);i.prepareSource();var r=this.getInitialData(t,n);yg(r,this),this.dataTask.context.data=r,ug(this).dataBeforeProcessed=r,dg(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=jc(this),i=n?Qc(t):{},r=this.subType;np.hasClass(r)&&(r+="Series"),Z(t,e.getTheme().get(this.subType)),Z(t,this.getDefaultOption()),io(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Xc(t,i,n)},e.prototype.mergeOption=function(t,e){t=Z(this.option,t,!0),this.fillDataTextStyle(t.data);var n=jc(this);n&&Xc(this.option,t,n);var i=ug(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);yg(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,ug(this).dataBeforeProcessed=r,dg(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!nt(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(t=!1),!!t},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=Ip.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n)for(var i=this.getData(e),r=0;r=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e),r=hg(i,t);return n[r]||!1},e.prototype.isUniversalTransitionEnabled=function(){if(this[cg])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option.selectedMode,o=e.length;if(r&&o)if("multiple"===r)for(var a=this.option.selectedMap||(this.option.selectedMap={}),s=0;s0&&this._innerSelect(t,e)}},e.registerClass=function(t){return np.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(np);function dg(t){var e=t.name;yo(t)||(t.name=fg(t)||e)}function fg(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return V(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function gg(t){return t.model.getRawData().count()}function mg(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),vg}function vg(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function yg(t,e){V(_t(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,J(_g,e))}))}function _g(t,e){var n=xg(t);return n&&n.setOutputEnd((e||this).count()),e}function xg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}E(pg,sf),E(pg,Ip),Yo(pg,np);var Ag=pg,wg=function(){function t(){this.group=new Ar,this.uid=Oh("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.blurSeries=function(t,e){},t}();Ho(wg),jo(wg);var bg=wg;function Sg(){var t=Mo();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}var Mg=Mo(),Cg=Sg(),Tg=function(){function t(){this.group=new Ar,this.uid=Oh("viewChart"),this.renderTask=uf({plan:Dg,reset:Lg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){kg(t.getData(),i,"emphasis")},t.prototype.downplay=function(t,e,n,i){kg(t.getData(),i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.markUpdateMethod=function(t,e){Mg(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function Ig(t,e,n){t&&("emphasis"===e?Su:Mu)(t,n)}function kg(t,e,n){var i=So(t,e),r=e&&null!=e.highlightKey?Uu(e.highlightKey):null;null!=i?V(no(i),(function(e){Ig(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Ig(t,n,r)}))}function Dg(t){return Cg(t.model)}function Lg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Mg(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),Zg[l]}Ho(Tg,["dispose"]),jo(Tg);var Zg={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},zg=Tg,Pg="\0__throttleOriginMethod",Og="\0__throttleRate",Rg="\0__throttleType";function Bg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function Ng(t,e,n,i){var r=t[e];if(r){var o=r[Pg]||r,a=r[Rg],s=r[Og];if(s!==n||a!==i){if(null==n||!i)return t[e]=o;r=t[e]=Bg(o,n,"debounce"===i),r[Pg]=o,r[Rg]=i,r[Og]=n}return r}}var Eg=Mo(),Fg={itemStyle:Xo(kh,!0),lineStyle:Xo(Ch,!0)},Vg={lineStyle:"stroke",itemStyle:"fill"};function Hg(t,e){var n=t.visualStyleMapper||Fg[e];return n||(console.warn("Unkown style type '"+e+"'."),Fg.itemStyle)}function Gg(t,e){var n=t.visualDrawType||Vg[e];return n||(console.warn("Unkown style type '"+e+"'."),"fill")}var Yg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=Hg(t,i),a=o(r),s=r.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=Gg(t,i),u=a[l],h=X(u)?u:null,c="auto"===a.fill||"auto"===a.stroke;if(!a[l]||h||c){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[l]||(a[l]=p,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||"function"===typeof a.fill?p:a.fill,a.stroke="auto"===a.stroke||"function"===typeof a.stroke?p:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",l),!e.isSeriesFiltered(t)&&h)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=P({},a);r[l]=h(i),e.setItemVisual(n,"style",r)}}}},Wg=new zh,Ug={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Hg(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Wg.option=n[i];var a=r(Wg),s=t.ensureUniqueItemVisual(e,"style");P(s,a),Wg.option.decal&&(t.setItemVisual(e,"decal",Wg.option.decal),Wg.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},qg={performRawSeries:!0,overallReset:function(t){var e=yt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Eg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Eg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Gg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t],l=r.getItemVisual(a,"colorFromPalette");if(l){var u=r.ensureUniqueItemVisual(a,"style"),h=n.getName(t)||t+"",c=n.count();u[s]=e.getColorFromPalette(h,o,c)}}))}}))}},Jg=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),jg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Jg},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(ll);jg.prototype.type="arc";var Xg=jg,Qg=Math.PI;function Kg(t,e){e=e||{},O(e,{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 n=new Ar,i=new Ml({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new El({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Ml({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&(r=new Xg({shape:{startAngle:-Qg/2,endAngle:-Qg/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),r.animateShape(!0).when(1e3,{endAngle:3*Qg/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Qg/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var $g=function(){function t(t,e,n,i){this._stageTaskMap=yt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=yt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;V(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";pt(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}V(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=yt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||uf({plan:rm,reset:om,count:lm}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||uf({reset:tm});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=yt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1,p="";function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,uf({reset:em,onDirty:im})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}pt(!t.createOnAllSeries,p),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(h=!1,V(n.getSeries(),d)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return X(t)&&(t={overallReset:t,seriesType:um(t)}),t.uid=Oh("stageHandler"),e&&(t.visualType=e),t},t}();function tm(t){t.overallReset(t.ecModel,t.api,t.payload)}function em(t){return t.overallProgress&&nm}function nm(){this.agent.dirty(),this.getDownstream().dirty()}function im(){this.agent&&this.agent.dirty()}function rm(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function om(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=no(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?H(e,(function(t,e){return sm(e)})):am}var am=sm(0);function sm(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Sm={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){var i=t.get("symbol"),r=t.get("symbolSize"),o=t.get("symbolKeepAspect"),a=t.get("symbolRotate"),s=t.get("symbolOffset"),l=X(i),u=X(r),h=X(a),c=X(s),p=l||u||h||c,d=!l&&i?i:t.defaultSymbol,f=u?null:r,g=h?null:a,m=c?null:s;if(n.setVisual({legendIcon:t.legendIcon||d,symbol:d,symbolSize:f,symbolKeepAspect:o,symbolRotate:g,symbolOffset:m}),!e.isSeriesFiltered(t))return{dataEach:p?v:null}}function v(e,n){var o=t.getRawValue(n),p=t.getDataParams(n);l&&e.setItemVisual(n,"symbol",i(o,p)),u&&e.setItemVisual(n,"symbolSize",r(o,p)),h&&e.setItemVisual(n,"symbolRotate",a(o,p)),c&&e.setItemVisual(n,"symbolOffset",s(o,p))}}},Mm={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t)){var n=t.getData();return{dataEach:n.hasItemOption?i:null}}function i(t,e){var n=t.getItemModel(e),i=n.getShallow("symbol",!0),r=n.getShallow("symbolSize",!0),o=n.getShallow("symbolRotate",!0),a=n.getShallow("symbolOffset",!0),s=n.getShallow("symbolKeepAspect",!0);null!=i&&t.setItemVisual(e,"symbol",i),null!=r&&t.setItemVisual(e,"symbolSize",r),null!=o&&t.setItemVisual(e,"symbolRotate",o),null!=a&&t.setItemVisual(e,"symbolOffset",a),null!=s&&t.setItemVisual(e,"symbolKeepAspect",s)}}};function Cm(t,e,n){switch(n){case"color":var i=t.getItemVisual(e,"style");return i[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:0}}function Tm(t,e){switch(e){case"color":var n=t.getVisual("style");return n[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:0}}function Im(t,e,n,i){switch(n){case"color":var r=t.ensureUniqueItemVisual(e,"style");r[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i);break;default:0}}function km(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}V([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,i,r){e=P({},e),r.dispatchAction(P(e,{type:t[1],seriesIndex:n(i,e)}))}))}))}function Dm(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,i=r.selected,a=0;a1&&(a*=jm(f),s*=jm(f));var g=(r===o?-1:1)*jm((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,m=g*a*d/s,v=g*-s*p/a,y=(t+n)/2+Qm(c)*m-Xm(c)*v,_=(e+i)/2+Xm(c)*m+Qm(c)*v,x=ev([1,0],[(p-m)/a,(d-v)/s]),A=[(p-m)/a,(d-v)/s],w=[(-1*p-m)/a,(-1*d-v)/s],b=ev(A,w);if(tv(A,w)<=-1&&(b=Km),tv(A,w)>=1&&(b=0),b<0){var S=Math.round(b/Km*1e6)/1e6;b=2*Km+S%2*Km}h.addData(u,y,_,a,s,x,b,c,o)}var iv=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,rv=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function ov(t){var e=new Rs;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=Rs.CMD,l=t.match(iv);if(!l)return e;for(var u=0;uD*D+L*L&&(S=C,M=T),{cx:S,cy:M,x01:-h,y01:-c,x11:S*(r/A-1),y11:M*(r/A-1)}}function Iv(t,e){var n=bv(e.r,0),i=bv(e.r0||0,0),r=n>0,o=i>0;if(r||o){if(r||(n=i,i=0),i>n){var a=n;n=i,i=a}var s,l=!!e.clockwise,u=e.startAngle,h=e.endAngle;if(u===h)s=0;else{var c=[u,h];Ps(c,!l),s=Av(c[0]-c[1])}var p=e.cx,d=e.cy,f=e.cornerRadius||0,g=e.innerCornerRadius||0;if(n>Mv)if(s>mv-Mv)t.moveTo(p+n*yv(u),d+n*vv(u)),t.arc(p,d,n,u,h,!l),i>Mv&&(t.moveTo(p+i*yv(h),d+i*vv(h)),t.arc(p,d,i,h,u,l));else{var m=Av(n-i)/2,v=Sv(m,f),y=Sv(m,g),_=y,x=v,A=n*yv(u),w=n*vv(u),b=i*yv(h),S=i*vv(h),M=void 0,C=void 0,T=void 0,I=void 0;if((v>Mv||y>Mv)&&(M=n*yv(h),C=n*vv(h),T=i*yv(u),I=i*vv(u),sMv)if(x>Mv){var R=Tv(T,I,A,w,n,x,l),B=Tv(M,C,b,S,n,x,l);t.moveTo(p+R.cx+R.x01,d+R.cy+R.y01),xMv&&s>Mv)if(_>Mv){R=Tv(b,S,M,C,i,-_,l),B=Tv(A,w,T,I,i,-_,l);t.lineTo(p+R.cx+R.x01,d+R.cy+R.y01),_n-2?n-1:l+1],d=t[l>n-3?n-1:l+2]);var f=u*u,g=u*f;i.push([Ov(h[0],c[0],p[0],d[0],u,f,g),Ov(h[1],c[1],p[1],d[1],u,f,g)])}return i}function Bv(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;p=2){if(i&&"spline"!==i){var o=Bv(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],h=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{"spline"===i&&(r=Rv(r,n)),t.moveTo(r[0][0],r[0][1]);s=1;for(var c=r.length;soy[1]){if(a=!1,r)return a;var u=Math.abs(oy[0]-ry[1]),h=Math.abs(ry[0]-oy[1]);Math.min(u,h)>i.len()&&(uMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Zy(t){return!t.isGroup}function zy(t){return null!=t.shape}function Py(t,e,n){if(t&&e){var i=r(t);e.traverse((function(t){if(Zy(t)&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),$u(t,r,n,Fl(t).dataIndex)}}}))}function r(t){var e={};return t.traverse((function(t){Zy(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return zy(t)&&(e.shape=P({},t.shape)),e}}function Oy(t,e){return H(t,(function(t){var n=t[0];n=dy(n,e.x),n=fy(n,e.x+e.width);var i=t[1];return i=dy(i,e.y),i=fy(i,e.y+e.height),[n,i]}))}function Ry(t,e){var n=dy(t.x,e.x),i=fy(t.x+t.width,e.x+e.width),r=dy(t.y,e.y),o=fy(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function By(t,e,n){var i=P({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),O(r,n),new ml(i)):Ay(t.replace("path://",""),i,n,"center")}function Ny(t,e,n,i,r){for(var o=0,a=r[r.length-1];o1)return!1;var m=Fy(d,f,h,c)/p;return!(m<0||m>1)}function Fy(t,e,n,i){return t*i-n*e}function Vy(t){return t<=1e-6&&t>=-1e-6}function Hy(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=Q(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&V(W(l),(function(t){At(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Fl(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:O({content:i,formatterParams:s},r)}}_y("circle",Gm),_y("ellipse",fv),_y("sector",Lv),_y("ring",Pv),_y("polygon",Vv),_y("polyline",Yv),_y("rect",Ml),_y("line",Fm),_y("bezierCurve",jv),_y("arc",Xg);var Gy=ll.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),Yy=ll.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),Wy=ll.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),h=Math.cos(u)*a,c=Math.sin(u),p=Math.cos(u),d=.6*a,f=.7*a;t.moveTo(n-h,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*d,l+s+p*d,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-h+c*d,l+s+p*d,n-h,l+s),t.closePath()}}),Uy=ll.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),qy={line:Fm,rect:Ml,roundRect:Ml,square:Ml,circle:Gm,diamond:Yy,pin:Wy,arrow:Uy,triangle:Gy},Jy={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},jy={};V(qy,(function(t,e){jy[e]=new t}));var Xy=ll.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=sr(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=jy[i];r||(i="rect",r=jy[i]),Jy[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function Qy(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function Ky(t,e,n,i,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),s=0===t.indexOf("image://")?wy(t.slice(8),new ji(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?Ay(t.slice(7),{},new ji(e,n,i,r),a?"center":"cover"):new Xy({shape:{symbolType:t,x:e,y:n,width:i,height:r}}),s.__isEmptyBrush=l,s.setColor=Qy,o&&s.setColor(o),s}function $y(t){return j(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function t_(t,e){if(null!=t)return j(t)||(t=[t,t]),[Pr(t[0],e[0])||0,Pr(lt(t[1],t[0]),e[1])||0]}function e_(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=t.createLinearGradient(i,o,r,a);return s}function n_(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(a=a*i+n.x,s=s*r+n.y,l*=o);var u=t.createRadialGradient(a,s,0,a,s,l);return u}function i_(t,e,n){for(var i="radial"===e.type?n_(t,e,n):e_(t,e,n),r=e.colorStops,o=0;o0?(e=e||1,"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:$(t)?[t]:j(t)?t:null):null}var a_=new Rs(!0);function s_(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function l_(t){return"string"===typeof t&&"none"!==t}function u_(t){var e=t.fill;return null!=e&&"none"!==e}function h_(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function c_(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function p_(t,e,n){var i=na(e.image,e.__image,n);if(ra(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"===typeof DOMMatrix&&r.setTransform){var o=new DOMMatrix;o.rotateSelf(0,0,(e.rotation||0)/Math.PI*180),o.scaleSelf(e.scaleX||1,e.scaleY||1),o.translateSelf(e.x||0,e.y||0),r.setTransform(o)}return r}}function d_(t,e,n,i){var r=s_(n),o=u_(n),a=n.strokePercent,s=a<1,l=!e.path;e.silent&&!s||!l||e.createPathProxy();var u=e.path||a_;if(!i){var h=n.fill,c=n.stroke,p=o&&!!h.colorStops,d=r&&!!c.colorStops,f=o&&!!h.image,g=r&&!!c.image,m=void 0,v=void 0,y=void 0,_=void 0,x=void 0;(p||d)&&(x=e.getBoundingRect()),p&&(m=e.__dirty?i_(t,h,x):e.__canvasFillGradient,e.__canvasFillGradient=m),d&&(v=e.__dirty?i_(t,c,x):e.__canvasStrokeGradient,e.__canvasStrokeGradient=v),f&&(y=e.__dirty||!e.__canvasFillPattern?p_(t,h,e):e.__canvasFillPattern,e.__canvasFillPattern=y),g&&(_=e.__dirty||!e.__canvasStrokePattern?p_(t,c,e):e.__canvasStrokePattern,e.__canvasStrokePattern=y),p?t.fillStyle=m:f&&(y?t.fillStyle=y:o=!1),d?t.strokeStyle=v:g&&(_?t.strokeStyle=_:r=!1)}var A=n.lineDash&&n.lineWidth>0&&o_(n.lineDash,n.lineWidth),w=n.lineDashOffset,b=!!t.setLineDash,S=e.getGlobalScale();if(u.setScale(S[0],S[1],e.segmentIgnoreThreshold),A){var M=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;M&&1!==M&&(A=H(A,(function(t){return t/M})),w/=M)}var C=!0;(l||e.__dirty&Ee||A&&!b&&r)&&(u.setDPR(t.dpr),s?u.setContext(null):(u.setContext(t),C=!1),u.reset(),A&&!b&&(u.setLineDash(A),u.setLineDashOffset(w)),e.buildPath(u,e.shape,i),u.toStatic(),e.pathUpdated()),C&&u.rebuildPath(t,s?a:1),A&&b&&(t.setLineDash(A),t.lineDashOffset=w),i||(n.strokeFirst?(r&&c_(t,n),o&&h_(t,n)):(o&&h_(t,n),r&&c_(t,n))),A&&b&&t.setLineDash([])}function f_(t,e,n){var i=e.__image=na(n.image,e.__image,e,e.onload);if(i&&ra(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,h=n.sy||0;t.drawImage(i,u,h,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){u=n.sx,h=n.sy;var c=a-u,p=s-h;t.drawImage(i,u,h,c,p,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}function g_(t,e,n){var i=n.text;if(null!=i&&(i+=""),i){t.font=n.font||Qi,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var r=void 0;if(t.setLineDash){var o=n.lineDash&&n.lineWidth>0&&o_(n.lineDash,n.lineWidth),a=n.lineDashOffset;if(o){var s=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;s&&1!==s&&(o=H(o,(function(t){return t/s})),a/=s),t.setLineDash(o),t.lineDashOffset=a,r=!0}}n.strokeFirst?(s_(n)&&t.strokeText(i,n.x,n.y),u_(n)&&t.fillText(i,n.x,n.y)):(u_(n)&&t.fillText(i,n.x,n.y),s_(n)&&t.strokeText(i,n.x,n.y)),r&&t.setLineDash([])}}var m_=["shadowBlur","shadowOffsetX","shadowOffsetY"],v_=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function y_(t,e,n,i,r){var o=!1;if(!i&&(n=n||{},e===n))return!1;if(i||e.opacity!==n.opacity){o||(k_(t,r),o=!0);var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Aa.opacity:a}(i||e.blend!==n.blend)&&(o||(k_(t,r),o=!0),t.globalCompositeOperation=e.blend||Aa.blend);for(var s=0;s=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=gx(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;i=new Ar,i.add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Ml({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=P_[s];if(u&&At(P_,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=Q_[s];if(p&&At(Q_,s)){var d=p.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=d)}}if(a&&a.isGroup){var g=t.firstChild;while(g)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling}},t.prototype._parseText=function(t,e){var n=new cl({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});tx(e,n),nx(t,n,this._defsUsePending,!1,!1),ix(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=function(){P_={g:function(t,e){var n=new Ar;return tx(e,n),nx(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Ml;return tx(e,n),nx(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Gm;return tx(e,n),nx(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Fm;return tx(e,n),nx(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new fv;return tx(e,n),nx(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=ex(i));var r=new Vv({shape:{points:n||[]},silent:!0});return tx(e,r),nx(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=ex(i));var r=new Yv({shape:{points:n||[]},silent:!0});return tx(e,r),nx(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new ml;return tx(e,n),nx(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Ar;return tx(e,a),nx(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Ar;return tx(e,a),nx(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=t.getAttribute("d")||"",i=uv(n);return tx(e,i),nx(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),t}(),Q_={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new ey(e,n,i,r);return K_(t,o),$_(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new iy(e,n,i);return K_(t,r),$_(t,r),r}};function K_(t,e){var n=t.getAttribute("gradientUnits");"userSpaceOnUse"===n&&(e.global=!0)}function $_(t,e){var n=t.firstChild;while(n){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};dx(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function tx(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),O(e.__inheritedStyle,t.__inheritedStyle))}function ex(t){for(var e=lx(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=lx(a);switch(r=r||yi(),s){case"translate":wi(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Si(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":bi(r,r,-parseFloat(l[0])*hx);break;case"skewX":var u=Math.tan(parseFloat(l[0])*hx);Ai(r,[1,0,u,1,0,0],r);break;case"skewY":var h=Math.tan(parseFloat(l[0])*hx);Ai(r,[1,h,0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5]);break}}e.setLocalTransform(r)}}var px=/([^\s:;]+)\s*:\s*([^:;]+)/g;function dx(t,e,n){var i=t.getAttribute("style");if(i){var r;px.lastIndex=0;while(null!=(r=px.exec(i))){var o=r[1],a=At(U_,o)?U_[o]:null;a&&(e[a]=r[2]);var s=At(J_,o)?J_[o]:null;s&&(n[s]=r[2])}}}function fx(t,e,n){for(var i=0;i>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function Lx(t,e){return t=kx(t),H(Y(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];if("Polygon"===i.type){var o=i.coordinates;r.push({type:"polygon",exterior:o[0],interiors:o.slice(1)})}if("MultiPolygon"===i.type){o=i.coordinates;V(o,(function(t){t[0]&&r.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}))}var a=new bx(n[e||"name"],r,n.cp);return a.properties=n,a}))}for(var Zx=[126,25],zx="南海诸岛",Px=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],Ox=0;Ox0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.setOption=function(t,e,n){if(this._disposed)QA(this.id);else{var i,r,o;if(tt(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[mA]=!0,!this._model||e){var a=new rd(this._api),s=this._theme,l=this._model=new Wp;l.scheduler=this._scheduler,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},ew);var u={seriesTransition:o,optionChanged:!0};n?(this[vA]={silent:i,updateParams:u},this[mA]=!1,this.getZr().wakeUp()):(TA(this),DA.update.call(this,null,u),this._zr.flush(),this[vA]=null,this[mA]=!1,PA.call(this,i),OA.call(this,i))}},e.prototype.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Kx&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){if(g.canvasSupported)return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.getSvgDataURL=function(){if(g.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return V(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;V(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return V(i,(function(t){t.group.ignore=!1})),o}QA(this.id)},e.prototype.getConnectedDataURL=function(t){if(this._disposed)QA(this.id);else if(g.canvasSupported){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(aw[n]){var a=o,s=o,l=-o,u=-o,h=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();V(ow,(function(o,c){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.getRenderedCanvas(L(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),h.push({dom:p,left:d.left,top:d.top})}})),a*=c,s*=c,l*=c,u*=c;var p=l-a,d=u-s,f=R(),m=Ir(f,{renderer:e?"svg":"canvas"});if(m.resize({width:p,height:d}),e){var v="";return V(h,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),m.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new Ml({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),V(h,(function(t){var e=new ml({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});m.add(e)})),m.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},e.prototype.convertToPixel=function(t,e){return LA(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return LA(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=To(i,t);return V(r,(function(t,i){i.indexOf("Models")>=0&&V(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n}QA(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=To(n,t,{defaultMainType:"series"}),r=i.seriesModel;var o=r.getData(),a=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?o.indexOfRawIndex(i.dataIndex):null;return null!=a?Cm(o,a,e):Tm(o,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;V(XA,(function(e){var n=function(n){var i,r=t.getModel(),o=n.target,a="globalout"===e;if(a?i={}:o&&Zm(o,(function(t){var e=Fl(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return i=P({},e.eventData),!0}),!0),i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&t["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:u,view:h},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),V($A,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),V(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),Lm(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?QA(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)QA(this.id);else{this._disposed=!0,Zo(this.getDom(),lw,"");var t=this,e=t._api,n=t._model;V(t._componentsViews,(function(t){t.dispose(n,e)})),V(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete ow[t.id]}},e.prototype.resize=function(t){if(this._disposed)QA(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[vA]&&(null==i&&(i=this[vA].silent),n=!0,this[vA]=null),this[mA]=!0,n&&TA(this),DA.update.call(this,{type:"resize",animation:P({duration:0},t&&t.animation)}),this[mA]=!1,PA.call(this,i),OA.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)QA(this.id);else if(tt(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),rw[t]){var n=rw[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?QA(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=P({},t);return e.type=$A[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)QA(this.id);else if(tt(e)||(e={silent:!!e}),KA[t.type]&&this._model)if(this[mA])this._pendingActions.push(t);else{var n=e.silent;zA.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&g.browser.weChat&&this._throttledZrFlush(),PA.call(this,n),OA.call(this,n)}},e.prototype.updateLabelLayout=function(){Qx.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)QA(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);0,i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){for(var e=[],n=t.currentStates,i=0;ie.get("hoverLayerThreshold")&&!g.node&&!g.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function n(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||(t.style.blend=n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.style.blend=n}))}))}function i(t,e){t.preventAutoZ||r(e.group,t.get("z")||0,t.get("zlevel")||0,-1/0)}function r(t,e,n,i){var o=t.getTextContent(),a=t.getTextGuideLine(),s=t.isGroup;if(s)for(var l=t.childrenRef(),u=0;u0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.group.traverse((function(e){if(e.states&&e.states.emphasis){if(eh(e))return;if(e instanceof ll&&ju(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(r){e.stateTransition=a;var i=e.getTextContent(),o=e.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&t(e)}}))}TA=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),IA(t,!0),IA(t,!1),e.plan()},IA=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l=0)){Aw.push(n);var o=fm.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function bw(t,e){rw[t]=e}function Sw(t,e,n){jx.registerMap(t,e,n)}var Mw=wf;xw(sA,Yg),xw(hA,Ug),xw(hA,qg),xw(sA,Sm),xw(hA,Mm),xw(fA,Y_),pw(Id),dw(eA,kd),bw("default",Kg),vw({type:Kl,event:Kl,update:Kl},wt),vw({type:$l,event:$l,update:$l},wt),vw({type:tu,event:tu,update:tu},wt),vw({type:eu,event:eu,update:eu},wt),vw({type:nu,event:nu,update:nu},wt),cw("light",mm),cw("dark",wm);var Cw=[],Tw={registerPreprocessor:pw,registerProcessor:dw,registerPostInit:fw,registerPostUpdate:gw,registerUpdateLifecycle:mw,registerAction:vw,registerCoordinateSystem:yw,registerLayout:_w,registerVisual:xw,registerTransform:Mw,registerLoading:bw,registerMap:Sw,PRIORITY:gA,ComponentModel:np,ComponentView:bg,SeriesModel:Ag,ChartView:zg,registerComponentModel:function(t){np.registerClass(t)},registerComponentView:function(t){bg.registerClass(t)},registerSeriesModel:function(t){Ag.registerClass(t)},registerChartView:function(t){zg.registerClass(t)},registerSubTypeDefaulter:function(t,e){np.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){kr(t,e)}};function Iw(t){j(t)?V(t,(function(t){Iw(t)})):B(Cw,t)>=0||(Cw.push(t),X(t)&&(t={install:t}),t.install(Tw))}var kw=2*Math.PI,Dw=Rs.CMD,Lw=["top","right","bottom","left"];function Zw(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0);break}}function zw(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s);a/=u,s/=u;var h=a*n+t,c=s*n+e;if(Math.abs(i-r)%kw<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=Vs(r),r=Vs(p)}else i=Vs(i),r=Vs(r);i>r&&(r+=kw);var d=Math.atan2(s,a);if(d<0&&(d+=kw),d>=i&&d<=r||d+kw>=i&&d+kw<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,m=n*Math.cos(r)+t,v=n*Math.sin(r)+e,y=(f-a)*(f-a)+(g-s)*(g-s),_=(m-a)*(m-a)+(v-s)*(v-s);return y<_?(l[0]=f,l[1]=g,Math.sqrt(y)):(l[0]=m,l[1]=v,Math.sqrt(_))}function Pw(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,h=n-t,c=i-e,p=Math.sqrt(h*h+c*c);h/=p,c/=p;var d=l*h+u*c,f=d/p;s&&(f=Math.min(Math.max(f,0),1)),f*=p;var g=a[0]=t+f*h,m=a[1]=e+f*c;return Math.sqrt((g-r)*(g-r)+(m-o)*(m-o))}function Ow(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=a[0]=Math.min(Math.max(r,t),s),h=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(h-o)*(h-o))}var Rw=[];function Bw(t,e,n){var i=Ow(e.x,e.y,e.width,e.height,t.x,t.y,Rw);return n.set(Rw[0],Rw[1]),i}function Nw(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,u=1/0,h=e.data,c=t.x,p=t.y,d=0;d0){e=e/180*Math.PI,Ew.fromArray(t[0]),Fw.fromArray(t[1]),Vw.fromArray(t[2]),Ei.sub(Hw,Ew,Fw),Ei.sub(Gw,Vw,Fw);var n=Hw.len(),i=Gw.len();if(!(n<.001||i<.001)){Hw.scale(1/n),Gw.scale(1/i);var r=Hw.dot(Gw),o=Math.cos(e);if(o1&&Ei.copy(Uw,Vw),Uw.toArray(t[1])}}}}function Jw(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function jw(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=zt(i[0],i[1]),o=zt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Rt([],i[1],i[0],a/r),l=Rt([],i[1],i[2],a/o),u=Rt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&w(-c/a,0,a);var m,v,y=t[0],_=t[a-1];return x(),m<0&&b(-m,.8),v<0&&b(v,.8),x(),A(m,v,1),A(v,m,-1),x(),m<0&&S(-m),v<0&&S(v),u}function x(){m=y.rect[e]-i,v=r-_.rect[e]-_.rect[n]}function A(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function w(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--){p=o[l-1]*c;w(-p,l,a)}}}function S(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?w(n,0,i+1):w(-n,a-i-1,a),t-=n,t<=0)return}}function tb(t,e,n,i){return $w(t,"x","width",e,n,i)}function eb(t,e,n,i){return $w(t,"y","height",e,n,i)}function nb(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new ji(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(r.oldLayoutSelect),B(h,"emphasis")>=0&&n.attr(r.oldLayoutEmphasis)),$u(n,l,e,s)}else if(n.attr(l),!xh(n).valueAnimation){var c=lt(n.style.opacity,1);n.style.opacity=0,th(n,{style:{opacity:c}},e,s)}if(r.oldLayout=l,n.states.select){var p=r.oldLayoutSelect={};ub(p,l,hb),ub(p,n.states.select,hb)}if(n.states.emphasis){var d=r.oldLayoutEmphasis={};ub(d,l,hb),ub(d,n.states.emphasis,hb)}Ah(n,s,u,e,e)}if(i&&!i.ignore&&!i.invisible){r=lb(i),o=r.oldLayout;var f={points:i.shape.points};o?(i.attr({shape:o}),$u(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,th(i,{style:{strokePercent:1}},e)),r.oldLayout=f}},t}(),pb=cb,db=Mo();function fb(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=db(e).labelManager;i||(i=db(e).labelManager=new pb),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=db(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}function gb(){return!1}function mb(t,e,n){var i=R(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}Iw(fb);var vb=function(t){function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,i=i||di,"string"===typeof e?r=mb(e,n,i):tt(e)&&(r=e,e=r.id),o.id=e,o.dom=r;var a=r.style;return a&&(r.onselectstart=gb,a.webkitUserSelect="none",a.userSelect="none",a.webkitTapHighlightColor="rgba(0,0,0,0)",a["-webkit-touch-callout"]="none",a.padding="0",a.margin="0",a.borderWidth="0"),o.domBack=null,o.ctxBack=null,o.painter=n,o.config=null,o.dpr=i,o}return u(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=mb("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new ji(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){var e=new ji(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,u=0;u=a)}}for(var h=this.__startIndex;h15)break}}n.prevElClipPaths&&c.restore()};if(d)if(0===d.length)s=l.__endIndex;else for(var x=p.dpr,A=0;A0&&t>i[0]){for(s=0;st)break;a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}else D("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?Ab:0),this._needsManuallyCompositing),u.__builtin__||D("ZLevel "+l+" has been used by unkown layer "+u.id),u!==a&&(u.__used=!0,u.__startIndex!==o&&(u.__dirty=!0),u.__startIndex=o,u.incremental?u.__drawIndex=-1:u.__drawIndex=o,e(o),a=u),i.__dirty&Be&&!i.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=o))}e(o),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,V(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?Z(n[t],e,!0):n[t]=e;for(var i=0;i3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;Nb(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(n){var u=Math.abs(i),h=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);Nb(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:h,originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!Ob(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;Nb(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(Yt);function Nb(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(ce(i.event),Eb(t,e,n,i,r))}function Eb(t,e,n,i,r){r.isAvailableBehavior=q(Fb,null,n,i),t.trigger(e,r)}function Fb(t,e,n){var i=n[t];return!t||i&&(!Q(i)||e.event[i+"Key"])}var Vb=Bb;function Hb(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function Gb(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var Yb={axisPointer:1,tooltip:1,brush:1};function Wb(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!Yb.hasOwnProperty(i.mainType)&&r&&r.model!==n}var Ub=["rect","circle","line","ellipse","polygon","polyline","path"],qb=yt(Ub),Jb=yt(Ub.concat(["g"])),jb=yt(Ub.concat(["g"])),Xb=Mo();function Qb(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}var Kb=function(){function t(t){var e=new Ar;this.uid=Oh("ec_map_draw"),this._controller=new Vb(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new Ar),e.add(this._svgGroup=new Ar)}return t.prototype.draw=function(t,e,n,i,r){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){a||e.getHostGeoModel()!==t||(a=e.getData())}));var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,h=s.getTransformInfo(),c=h.raw,p=h.roam,d=!l.childAt(0)||r;d?(u.x=p.x,u.y=p.y,u.scaleX=p.scaleX,u.scaleY=p.scaleY,u.dirty()):$u(u,p,t);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,g={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(g):"geoSVG"===s.resourceType&&this._buildSVG(g),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=yt(),n=yt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=function(t){return[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]};i.removeAll(),V(t.geo.regions,(function(r){var l=r.name,u=e.get(l),h=n.get(l)||{},c=h.dataIdx,p=h.regionModel;u||(u=e.set(l,new Ar),i.add(u),c=a?a.indexOfName(l):null,p=t.isGeo?o.getRegionModel(l):a?a.getItemModel(c):null,n.set(l,{dataIdx:c,regionModel:p}));var d=new Qv({segmentIgnoreThreshold:1,shape:{paths:[]}});u.add(d),V(r.geometries,(function(t){if("polygon"===t.type){for(var e=[],n=0;n=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;uh(e,hh(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&(Xb(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function eS(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):Fl(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function nS(t,e,n,i,r){t.data||Hy({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function iS(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return Vu(e,a,o.get("blurScope")),t.isGeo&&Wu(e,r,n),a}var rS=Kb,oS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id){o=this._mapDraw;o&&r.add(o.group)}else if(t.needsDrawMap){var o=this._mapDraw||new rS(n);r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),(function(e,n){if(!isNaN(e)){var o=i.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new Gm({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Xl+1)});if(!s){var u=t.mainSeries.getData(),h=i.getName(n),c=u.indexOfName(h),p=i.getItemModel(n),d=p.getModel("label"),f=u.getItemGraphicEl(c);uh(l,hh(p),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(c,n)}}}),l.disableLabelAnimation=!0,d.get("position")||l.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){gu(l,t)}}r.add(l)}}}))},e.type="map",e}(zg),aS=oS,sS=function(){function t(t){this.otherDims={},null!=t&&P(this,t)}return t}(),lS=sS,uS=Mo(),hS={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},cS=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=fS(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return lt(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=Ud(this.source),n=!gS(t),i="",r=[],o=0,a=0;o30}function mS(t,e){Bd(t)||(t=Ed(t)),e=e||{};var n=e.coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=yt(),o=[],a=yS(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&gS(a),l=i===t.dimensionsDefine,u=l?fS(t):dS(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=yt(h),p=new Df(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}function yS(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return V(e,(function(t){var e;tt(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function _S(t,e,n){var i=e.data;if(n||i.hasOwnProperty(t)){var r=0;while(i.hasOwnProperty(t+r))r++;t+=r}return e.set(t,!0),t}function xS(t){return null==t?0:t.length||1}function AS(t){return t}var wS=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||AS,this._newKeyGetter=i||AS,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList,a=i.getSource().sourceFormat,s=a===sp;if(s&&!i.pure)for(var l=[],u=t;u0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),j(r)?r=r.slice():RS(r)&&(r=P({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,RS(e)?P(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){if(RS(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?P(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Vl(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){V(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:BS(this.dimensions,this._getDimInfo,this),this.hostModel)),zS(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(ht(arguments)))})},t.internalField=function(){kS=function(t){var e=t._invertedIndicesMap;V(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new NS(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}}}(),t}(),YS=GS;function WS(t,e,n){e=j(e)&&{coordDimensions:e}||P({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=mS(i,e).dimensions,o=new YS(r,t);return o.initData(i,n),o}var US=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.getCenter())}},n}return u(e,t),e.prototype.getInitialData=function(t){for(var e=WS(this,{coordDimensions:["value"],encodeDefaulter:J(_p,this)}),n=yt(),i=[],r=0,o=e.count();r-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Ag),qS=US;function JS(t,e){var n={};return V(t,(function(t){t.each(t.mapDimension("value"),(function(e,i){var r="ec-"+t.getName(i);n[r]=n[r]||[],isNaN(e)||n[r].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(i,r){for(var o,a="ec-"+t[0].getName(r),s=0,l=1/0,u=-1/0,h=n[a].length,c=0;c1?(s.width=a,s.height=a/d):(s.height=a,s.width=a*d),s.y=o[1]-s.height/2,s.x=o[0]-s.width/2;else{var g=t.getBoxLayoutParams();g.aspect=d,s=qc(g,{width:c,height:p})}this.setViewRect(s.x,s.y,s.width,s.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function sM(t,e){V(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var lM=function(){function t(){this.dimensions=nM}return t.prototype.create=function(t,e){var n=[];t.eachComponent("geo",(function(t,i){var r=t.get("map"),o=new oM(r+i,r,{nameMap:t.get("nameMap"),nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale")});o.zoomLimit=t.get("scaleLimit"),n.push(o),t.coordinateSystem=o,o.model=t,o.resize=aM,o.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var i=t.get("geoIndex")||0;t.coordinateSystem=n[i]}}));var i={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}})),V(i,(function(t,i){var r=H(t,(function(t){return t.get("nameMap")})),o=new oM(i,i,{nameMap:z(r),nameProperty:t[0].get("nameProperty"),aspectScale:t[0].get("aspectScale")});o.zoomLimit=st.apply(null,H(t,(function(t){return t.get("scaleLimit")}))),n.push(o),o.resize=aM,o.resize(t[0],e),V(t,(function(t){t.coordinateSystem=o,sM(o,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=yt(),a=0;a=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(np),xM=_M;function AM(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=qc(i,o,r);Uc(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Jc(t,i,o,r)}function wM(t,e){var n=Lc(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Ml({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1}),t}var bM=J,SM=V,MM=Ar,CM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return u(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new MM),this.group.add(this._selectorGroup=new MM),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=qc(l,u,h),p=this.layoutInner(t,r,c,i,a,s),d=qc(O({width:p.width,height:p.height},l),u,h);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=wM(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=yt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),SM(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new MM;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a)){if(p){var d=p.getData(),f=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),m=d.getVisual("style"),v=this._createItem(p,a,o,r,e,t,f,m,g,u);v.on("click",bM(kM,a,null,i,h)).on("mouseover",bM(LM,p.name,null,i,h)).on("mouseout",bM(ZM,p.name,null,i,h)),l.set(a,!0)}else n.eachRawSeries((function(n){if(!l.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var c=s.indexOfName(a),p=s.getItemVisual(c,"style"),d=s.getItemVisual(c,"legendIcon"),f=gn(p.fill);f&&0===f[3]&&(f[3]=.2,p.fill=bn(f,"rgba"));var g=this._createItem(n,a,o,r,e,t,{},p,d,u);g.on("click",bM(kM,null,a,i,h)).on("mouseover",bM(LM,null,a,i,h)).on("mouseout",bM(ZM,null,a,i,h)),l.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();SM(t,(function(t){var i=t.type,r=new El({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);uh(r,{normal:a,emphasis:s},{defaultText:t.title}),Vu(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u){var h=t.visualDrawType,c=r.get("itemWidth"),p=r.get("itemHeight"),d=r.isSelected(e),f=i.get("symbolRotate"),g=i.get("symbolKeepAspect"),m=i.get("icon");l=m||l||"roundRect";var v=TM(l,i,a,s,h,d),y=new MM,_=i.getModel("textStyle");if("function"!==typeof t.getLegendIcon||m&&"inherit"!==m){var x="inherit"===m&&t.getData().getVisual("symbol")?"inherit"===f?t.getData().getVisual("symbolRotate"):f:0;y.add(IM({itemWidth:c,itemHeight:p,icon:l,iconRotate:x,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:g}))}else y.add(t.getLegendIcon({itemWidth:c,itemHeight:p,icon:l,iconRotate:f,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:g}));var A="left"===o?c+5:-5,w=o,b=r.get("formatter"),S=e;"string"===typeof b&&b?S=b.replace("{name}",null!=e?e:""):"function"===typeof b&&(S=b(e));var M=i.get("inactiveColor");y.add(new El({style:ch(_,{text:S,x:A,y:p/2,fill:d?_.getTextColor():M,align:w,verticalAlign:"middle"})}));var C=new Ml({shape:y.getBoundingRect(),invisible:!0}),T=i.getModel("tooltip");return T.get("show")&&Hy({el:C,componentModel:r,itemName:e,itemTooltipOption:T.option}),y.add(C),y.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(y),Vu(y),y.__legendDataIndex=n,y},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Uc(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Uc("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",m=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+p+h[f],v[g]=Math.max(l[g],h[g]),v[m]=Math.min(0,h[m]+c[1-d]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(bg);function TM(t,e,n,i,r,o){function a(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),SM(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var s=e.getModel("itemStyle"),l=s.getItemStyle(),u=0===t.lastIndexOf("empty",0)?"fill":"stroke";l.decal=i.decal,"inherit"===l.fill&&(l.fill=i[r]),"inherit"===l.stroke&&(l.stroke=i[u]),"inherit"===l.opacity&&(l.opacity=("fill"===r?i:n).opacity),a(l,i);var h=e.getModel("lineStyle"),c=h.getLineStyle();if(a(c,n),"auto"===l.fill&&(l.fill=i.fill),"auto"===l.stroke&&(l.stroke=i.fill),"auto"===c.stroke&&(c.stroke=i.fill),!o){var p=e.get("inactiveBorderWidth"),d=l[u];l.lineWidth="auto"===p?i.lineWidth>0&&d?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),c.stroke=h.get("inactiveColor"),c.lineWidth=h.get("inactiveWidth")}return{itemStyle:l,lineStyle:c}}function IM(t){var e=t.icon||"roundRect",n=Ky(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function kM(t,e,n,i){ZM(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),LM(t,e,n,i)}function DM(t){var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;while(in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],m=[-p.x,-p.y],v=lt(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var y=t.get("pageButtonPosition",!0);"end"===y?m[i]+=n[r]-p[r]:g[i]+=p[r]+v}m[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(m);var _={x:0,y:0};if(_[r]=d?n[r]:c[r],_[o]=Math.max(c[o],p[o]),_[a]=Math.min(0,p[a]+m[1-i]),u.__rectSize=n[r],d){var x={x:0,y:0};x[r]=Math.max(n[r]-p[r]-v,0),x[o]=_[o],u.setClipPath(new Ml({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var A=this._getPageInfo(t);return null!=A.pageIndex&&$u(l,{x:A.contentPosition[0],y:A.contentPosition[1]},d?t:null),this._updatePageInfoView(t,A),_},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;V(["pagePrev","pageNext"],(function(i){var r=i+"DataIndex",o=null!=e[r],a=n.childOfName(i);a&&(a.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",Q(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=HM[r],a=GM[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=y(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,m=d,v=null;f<=h;++f)v=y(l[f]),(!v&&m.e>g.s+i||v&&!_(v,g.s))&&(g=m.i>g.i?m:v,g&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount)),m=v;for(f=s-1,g=d,m=d,v=null;f>=-1;--f)v=y(l[f]),v&&_(m,v.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,n,i=this.getContentGroup();return i.eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n},e.type="legend.scroll",e}(zM),WM=YM;function UM(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}function qM(t){Iw(BM),t.registerComponentModel(FM),t.registerComponentView(WM),UM(t)}function JM(t){Iw(BM),Iw(qM)}function jM(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return XM(n,t,e),n.seriesInvolved&&KM(n,t),n}function XM(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];V(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=oC(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model,h=u.getModel("tooltip",i);if(V(n.getAxes(),J(f,!1,null)),n.getTooltipAxes&&i&&h.get("show")){var c="axis"===h.get("trigger"),p="cross"===h.get(["axisPointer","type"]),d=n.getTooltipAxes(h.get(["axisPointer","axis"]));(c||p)&&V(d.baseAxes,J(f,!p||"cross",c)),p&&V(d.otherAxes,J(f,"cross",!1))}}function f(i,s,u){var c=u.model.getModel("axisPointer",r),p=c.get("show");if(p&&("auto"!==p||i||rC(c))){null==s&&(s=c.get("triggerTooltip")),c=i?QM(u,h,r,e,i,s):c;var d=c.get("snap"),f=oC(u.model),g=s||d||"category"===u.type,m=t.axesInfo[f]={key:f,axis:u,coordSys:n,axisPointerModel:c,triggerTooltip:s,involveSeries:g,snap:d,useHandle:rC(c),seriesModels:[],linkGroup:null};l[f]=m,t.seriesInvolved=t.seriesInvolved||g;var v=$M(o,u);if(null!=v){var y=a[v]||(a[v]={axesInfo:{}});y.axesInfo[f]=m,y.mapper=o[v].mapper,m.linkGroup=y}}}}))}function QM(t,e,n,i,r,o){var a=e.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],l={};V(s,(function(t){l[t]=L(a.get(t))})),l.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(l.type="line");var u=l.label||(l.label={});if(null==u.show&&(u.show=!1),"cross"===r){var h=a.get(["label","show"]);if(u.show=null==h||h,!o){var c=l.lineStyle=a.get("crossStyle");c&&O(u,c.textStyle)}}return t.model.getModel("axisPointer",new zh(l,n,i))}function KM(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&V(t.coordSysAxesInfo[oC(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}function $M(t,e){for(var n=e.model,i=e.dim,r=0;r=0||t===e}function eC(t){var e=nC(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=rC(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),aa)return!0;if(o){var s=nC(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,r){var o=e.pointer;if(o){var a=uC(t).pointerEl=new i[o.type](hC(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=uC(t).labelEl=new El(hC(e.label));t.add(r),gC(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=uC(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=uC(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),gC(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=By(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ce(t.event)},onmousedown:cC(this._onHandleDragMove,this,0,0),drift:cC(this._onHandleDragMove,this),ondragend:cC(this._onHandleDragEnd,this)}),i.add(r)),vC(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");j(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Ng(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){dC(this._axisPointerModel,!e&&this._moveAnimation,this._handle,mC(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(mC(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(mC(i)),uC(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},t}();function dC(t,e,n,i){fC(uC(n).lastProp,i)||(uC(n).lastProp=i,e?$u(n,i,t):(n.stopAnimation(),n.attr(i)))}function fC(t,e){if(tt(t)&&tt(e)){var n=!0;return V(e,(function(e,i){n=n&&fC(t[i],e)})),!!n}return t===e}function gC(t,e){t[e.get(["label","show"])?"show":"hide"]()}function mC(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function vC(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var yC=pC,_C=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();jo(_C);var xC=_C,AC=0,wC=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++AC}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&H(i,bC);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!==typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=yt(this.categories))},t}();function bC(t){return tt(t)&&null!=t.value?t.value:t+""}var SC=wC,MC=Or;function CC(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=qr(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=TC(a),l=r.niceTickExtent=[MC(Math.ceil(t[0]/a)*a,s),MC(Math.floor(t[1]/a)*a,s)];return kC(l,t),r}function TC(t){return Br(t)+2}function IC(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function kC(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),IC(t,0,e),IC(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function DC(t,e){return t>=e[0]&&t<=e[1]}function LC(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function ZC(t,e){return t*(e[1]-e[0])+e[0]}var zC=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new SC({})),j(i)&&(i=new SC({categories:H(i,(function(t){return tt(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return u(e,t),e.prototype.parse=function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),DC(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),LC(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(ZC(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.niceTicks=function(){},e.prototype.niceExtent=function(){},e.type="ordinal",e}(xC);xC.registerClass(zC);var PC=zC,OC=Or,RC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return u(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return DC(t,this._extent)},e.prototype.normalize=function(t){return LC(t,this._extent)},e.prototype.scale=function(t){return ZC(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=TC(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]a)return[]}var l=o.length?o[o.length-1].value:i[1];return n[1]>l&&(t?o.push({value:OC(l+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&c0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}function jC(t){var e=JC(t),n=[];return V(t,(function(t){var i,r=t.coordinateSystem,o=r.getBaseAxis(),a=o.getExtent();if("category"===o.type)i=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,l=e[s],u=Math.abs(a[1]-a[0]),h=o.scale.getExtent(),c=Math.abs(h[1]-h[0]);i=l?u/c*l:u}else{var p=t.getData();i=Math.abs(a[1]-a[0])/p.count()}var d=Pr(t.get("barWidth"),i),f=Pr(t.get("barMaxWidth"),i),g=Pr(t.get("barMinWidth")||1,i),m=t.get("barGap"),v=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:d,barMaxWidth:f,barMinWidth:g,barGap:m,barCategoryGap:v,axisKey:UC(o),stackId:WC(t)})})),XC(n)}function XC(t){var e={};V(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return V(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=W(i).length;o=Math.max(35-4*a,15)+"%"}var s=Pr(o,r),l=Pr(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),V(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;V(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;V(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function QC(t,e,n){if(t&&e){var i=t[UC(e)];return null!=i&&null!=n?i[WC(n)]:i}}Sg();function KC(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function $C(t){return t.pipelineContext&&t.pipelineContext.large}function tT(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}var eT=function(t,e,n,i){while(n>>1;t[r][1]n&&(this._approxInterval=n);var o=iT.length,a=Math.min(eT(iT,this._approxInterval,0,o),o-1);this._interval=iT[a][1],this._minLevelUnit=iT[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return"number"===typeof t?t:+Yr(t)},e.prototype.contain=function(t){return DC(this.parse(t),this._extent)},e.prototype.normalize=function(t){return LC(this.parse(t),this._extent)},e.prototype.scale=function(t){return ZC(t,this._extent)},e.type="time",e}(BC),iT=[["second",Qh],["minute",Kh],["hour",$h],["quarter-day",6*$h],["half-day",12*$h],["day",1.2*tc],["half-week",3.5*tc],["week",7*tc],["month",31*tc],["quarter",95*tc],["half-year",ec/2],["year",ec]];function rT(t,e,n,i){var r=Yr(e),o=Yr(n),a=function(t){return fc(r,t,i)===fc(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},h=function(){return u()&&a("hour")},c=function(){return h()&&a("minute")},p=function(){return c()&&a("second")},d=function(){return p()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return h();case"minute":return c();case"second":return p();case"millisecond":return d()}}function oT(t,e){return t/=tc,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function aT(t){var e=30*tc;return t/=e,t>6?6:t>3?3:t>2?2:1}function sT(t){return t/=$h,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function lT(t,e){return t/=e?Kh:Qh,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function uT(t){return qr(t,!0)}function hT(t,e,n){var i=new Date(t);switch(lc(e)){case"year":case"month":i[bc(n)](0);case"day":i[Sc(n)](1);case"hour":i[Mc(n)](0);case"minute":i[Cc(n)](0);case"second":i[Tc(n)](0),i[Ic(n)](0)}return i.getTime()}function cT(t,e,n,i){var r=1e4,o=ac,a=0;function s(t,e,n,r,o,a,s){var l=new Date(e),u=e,h=l[r]();while(u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&y<=i[1]&&c++)}var _=(i[1]-i[0])/e;if(c>1.5*_&&p>_/1.5)break;if(u.push(m),c>_||t===o[d])break}h=[]}}}var x=Y(H(u,(function(t){return Y(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),A=[],w=x.length-1;for(d=0;d0)i*=10;var o=[Or(vT(e[0]/i)*i),Or(mT(e[1]/i)*i)];this._interval=i,this._niceExtent=o}},e.prototype.niceExtent=function(t){fT.niceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=_T(t)/_T(this.base),DC(t,this._extent)},e.prototype.normalize=function(t){return t=_T(t)/_T(this.base),LC(t,this._extent)},e.prototype.scale=function(t){return t=ZC(t,this._extent),yT(this.base,t)},e.type="log",e}(xC),AT=xT.prototype;function wT(t,e){return gT(t,Br(e))}AT.getMinorTicks=fT.getMinorTicks,AT.getLabel=fT.getLabel,xC.registerClass(xT);var bT=xT,ST=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[CT[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=MT[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),MT={min:"_determinedMin",max:"_determinedMax"},CT={min:"_dataMin",max:"_dataMax"};function TT(t,e,n){var i=t.rawExtentInfo;return i||(i=new ST(t,e,n),t.rawExtentInfo=i,i)}function IT(t,e){return null==e?null:at(e)?NaN:t.parse(e)}function kT(t,e){var n=t.type,i=TT(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=qC("bar",a),l=!1;if(V(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=jC(s),h=DT(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function DT(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=QC(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;V(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;V(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=1-(s+l)/o,p=h/c-h;return e+=p*(l/u),t-=p*(s/u),{min:t,max:e}}function LT(t,e){var n=e,i=kT(t,n),r=i.extent,o=n.get("splitNumber");t instanceof bT&&(t.base=n.get("logBase"));var a=t.type;t.setExtent(r[0],r[1]),t.niceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:"interval"===a||"time"===a?n.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?n.get("maxInterval"):null});var s=n.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function ZT(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new PC({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new pT({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(xC.getClass(e)||BC)}}function zT(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function PT(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,i){return t.scale.getFormattedLabel(n,i,e)}}(e):"string"===typeof e?function(e){return function(n){var i=t.scale.getLabel(n),r=e.replace("{value}",null!=i?i:"");return r}}(e):"function"===typeof e?function(e){return function(i,r){return null!=n&&(r=i.value-n),e(OT(t,i),r,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function OT(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function RT(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();n instanceof PC?r=n.count():(i=n.getTicks(),r=i.length);var a,s=t.getLabelModel(),l=PT(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;ht[1]&&(t[1]=i[1])}))}var HT=Math.PI,GT=function(){function t(t,e){this.group=new Ar,this.opt=e,this.axisModel=t,O(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Ar({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!YT[t]},t.prototype.add=function(t){YT[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=Vr(e-t);return Hr(o)?(r=n>0?"top":"bottom",i="center"):Hr(o-HT)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),YT={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0];a&&(Bt(s,s,a),Bt(l,l,a));var u=P({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Fm({subPixelOptimize:!0,shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});h.anid="line",n.add(h);var c=e.get(["axisLine","symbol"]);if(null!=c){var p=e.get(["axisLine","symbolSize"]);"string"===typeof c&&(c=[c,c]),"string"!==typeof p&&"number"!==typeof p||(p=[p,p]);var d=t_(e.get(["axisLine","symbolOffset"])||0,p),f=p[0],g=p[1];V([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==c[i]&&null!=c[i]){var r=Ky(c[i],-f/2,-g/2,f,g,u.stroke,!0),o=e.r+e.offset;r.attr({rotation:e.rotate,x:s[0]+o*Math.cos(t.rotation),y:s[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=QT(n,i,e,t),o=$T(n,i,e,t);if(UT(e,o,r),KT(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var a=Kw(H(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));nb(a)}},axisName:function(t,e,n,i){var r=st(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),h=e.get("nameGap")||0,c=e.axis.getExtent(),p=c[0]>c[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,jT(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*HT/180),jT(s)?o=GT.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=WT(t.rotation,s,f||0,c),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),m=e.get("nameTruncate",!0)||{},v=m.ellipsis,y=st(t.nameTruncateMaxWidth,m.maxWidth,a),_=new El({x:d[0],y:d[1],rotation:o.rotation,silent:GT.isLabelSilent(e),style:ch(u,{text:r,font:g,overflow:"truncate",width:y,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Hy({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=GT.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,Fl(_).eventData=x}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function WT(t,e,n,i){var r,o,a=Vr(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return Hr(a-HT/2)?(o=l?"bottom":"top",r="center"):Hr(a-1.5*HT)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*HT&&a>HT/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}function UT(t,e,n){if(!ET(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],p=n[n.length-2];!1===i?(qT(o),qT(u)):JT(o,a)&&(i?(qT(a),qT(h)):(qT(o),qT(u))),!1===r?(qT(s),qT(c)):JT(l,s)&&(r?(qT(l),qT(p)):(qT(s),qT(c)))}}function qT(t){t&&(t.ignore=!0)}function JT(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=_i([]);return bi(r,r,-t.rotation),n.applyTransform(Ai([],r,t.getLocalTransform())),i.applyTransform(Ai([],r,e.getLocalTransform())),n.intersect(i)}}function jT(t){return"middle"===t||"center"===t}function XT(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){TI("axisPointer",e)},e.prototype.dispose=function(t,e){TI("axisPointer",e)},e.type="axisPointer",e}(bg),kI=II;function DI(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=So(o,t);if(null==a||a<0||j(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u),c=h.dim,p=u.dim,d="x"===c||"radius"===c?1:0,f=o.mapDimension(p),g=[];g[d]=o.get(f,a),g[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(g)||[]}else i=l.dataToPoint(o.getValues(H(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var m=s.getBoundingRect().clone();m.applyTransform(s.transform),i=[m.x+m.width/2,m.y+m.height/2]}return{point:i,el:s}}var LI=Mo();function ZI(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||q(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){HI(r)&&(r=DI({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=HI(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||HI(r),p={},d={},f={list:[],map:{}},g={showPointer:J(OI,d),showTooltip:J(RI,f)};V(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);V(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=FI(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&zI(t,a,g,!1,p)}}))}));var m={};return V(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&V(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,VI(e),VI(t)))),m[t.key]=o}}))})),V(m,(function(t,e){zI(h[e],t,g,!0,p)})),BI(d,h,p),NI(f,r,t,a),EI(h,a,n),p}}function zI(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=PI(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&P(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function PI(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return V(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null),!h.length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),V(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}function OI(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function RI(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=oC(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function BI(t,e,n){var i=n.axesInfo=[];V(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function NI(t,e,n,i){if(!HI(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}function EI(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=LI(i)[r]||{},a=LI(i)[r]={};V(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&V(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];V(o,(function(t,e){!a[e]&&l.push(t)})),V(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function FI(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function VI(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function HI(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function GI(t){lC.registerAxisPointerClass("CartesianAxisPointer",mI),t.registerComponentModel(yI),t.registerComponentView(kI),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!j(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=jM(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},ZI)}var YI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(np),WI=YI;function UI(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function qI(t){if(g.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(l+="top:50%",u+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(l+="left:50%",u+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var h=o*Math.PI/180,c=s+r,p=c*Math.abs(Math.cos(h))+c*Math.abs(Math.sin(h)),d=Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-c)/2))/100;l+=";"+a+":-"+d+"px";var f=e+" solid "+r+"px;",g=["position:absolute;width:"+s+"px;height:"+s+"px;",l+";"+u+";","border-bottom:"+f,"border-right:"+f,"background-color:"+i+";"];return'
'}function ik(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=g.transformSupported?","+$I+i:",left"+i+",top"+i),KI+":"+r}function rk(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!g.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=g.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+$I+":"+a+";":[["top",0],["left",0],[JI,a]]}function ok(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+a+"px "+s+"px "+o+"px "+r),V(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function ak(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),h=t.getModel("textStyle"),c=og(t,"html"),p=l+"px "+u+"px "+a+"px "+s;return i.push("box-shadow:"+p),e&&r&&i.push(ik(r,n)),o&&(g.canvasSupported?i.push("background-color:"+o):(i.push("background-color:#"+_n(o)),i.push("filter:alpha(opacity=70)"))),V(["width","color","radius"],(function(e){var n="border-"+e,r=Dc(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(ok(h)),null!=c&&i.push("padding:"+Lc(c).join("px ")+"px"),i.join(";")+";"}function sk(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&Xt(t,a,document.body,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var lk=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,g.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;sk(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(i):t.appendChild(i),this._container=t;var a=this;i.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=r.handler,n=r.painter.getViewportRoot();se(n,t,!0),e.dispatch("mousemove",t)}},i.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){var e=this._container,n=QI(e,"position"),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative");var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=tk+ak(t,!this._firstShow,this._longHide)+rk(r[0],r[1],!0)+"border-color:"+Fc(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(Q(r)&&"item"===n.get("trigger")&&!UI(n)&&(a=nk(n,i,r)),Q(t))o.innerHTML=t+a;else if(t){o.innerHTML="",j(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===t&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!g.node){var r=Ak(i,n);this._ticket="";var o=i.dataByCoordSys,a=Ck(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=yk;l.x=i.x,l.y=i.y,l.update(),Fl(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=DI(i,e),h=u.point[0],c=u.point[1];null!=h&&null!=c&&this._tryShow({offsetX:h,offsetY:c,target:u.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Ak(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s){var l=s.getData(),u=xk([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var o,a;this._lastDataByCoordSys=null,Zm(n,(function(t){return null!=Fl(t).dataIndex?(o=t,!0):null!=Fl(t).tooltipConfig?(a=t,!0):void 0}),!0),o?this._showSeriesItemTooltip(t,o,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=q(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=xk([e.tooltipOption],i),a=this._renderMode,s=[],l=qf("section",{blocks:[],noHeader:!0}),u=[],h=new ag;mk(t,(function(t){mk(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var r=rI(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),o=qf("section",{header:r,noHeader:!dt(r),sortBlocks:!0,blocks:[]});l.blocks.push(o),V(t.seriesDataIndices,(function(l){var c=n.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,d=c.getDataParams(p);if(!(d.dataIndex<0)){d.axisDim=t.axisDim,d.axisIndex=t.axisIndex,d.axisType=t.axisType,d.axisId=t.axisId,d.axisValue=OT(e.axis,{value:i}),d.axisValueLabel=r,d.marker=h.makeTooltipMarker("item",Fc(d.color),a);var f=lf(c.formatTooltip(p,!0,null));f.markupFragment&&o.blocks.push(f.markupFragment),f.markupText&&u.push(f.markupText),s.push(d)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=Qf(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=Fl(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=xk([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),m=new ag;g.marker=m.makeTooltipMarker("item",Fc(g.color),c);var v=lf(s.formatTooltip(l,!1,u)),y=d.get("order"),_=v.markupFragment?Qf(v.markupFragment,m,c,y,i.get("useUTC"),d.get("textStyle")):v.markupText,x="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,_,g,x,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=Fl(e),r=i.tooltipConfig,o=r.option||{};if(Q(o)){var a=o;o={content:a,formatter:a}}var s=[o],l=this._ecModel.getComponent(i.componentMainType,i.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=xk(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",d=new ag;this._showOrMove(h,(function(){var n=L(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,d)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")),d=p.color;if(h)if(Q(h)){var f=t.ecModel.get("useUTC"),g=j(n)?n[0]:n,m=g&&g.axisType&&g.axisType.indexOf("time")>=0;c=h,m&&(c=cc(g.axisValue,c,f)),c=Nc(c,n,!0)}else if(X(h)){var v=gk((function(e,i){e===this._ticket&&(u.setContent(i,l,t,d,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,v)}else c=h;u.setContent(c,l,t,d,a),u.show(t,d),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||j(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:j(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._doUpdatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),X(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),j(e))n=vk(e[0],s),i=vk(e[1],l);else if(tt(e)){var d=e;d.width=u[0],d.height=u[1];var f=qc(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(Q(e)&&a){var g=Sk(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=wk(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=Mk(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=Mk(c)?u[1]/2:"bottom"===c?u[1]:0),UI(t)){g=bk(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&mk(n,(function(n,o){var a=n.dataByAxis||[],s=t[o]||{},l=s.dataByAxis||[];r=r&&a.length===l.length,r&&mk(a,(function(t,n){var o=l[n]||{},a=t.seriesDataIndices||[],s=o.seriesDataIndices||[];r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===s.length,r&&mk(a,(function(t,e){var n=s[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&V(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){g.node||(this._tooltipContent.dispose(),TI("itemTooltip",e))},e.type="tooltip",e}(bg);function xk(t,e,n){var i,r=e.ecModel;n?(i=new zh(n,r,r),i=new zh(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof zh&&(a=a.get("tooltip",!0)),Q(a)&&(a={formatter:a}),a&&(i=new zh(a,i,r)))}return i}function Ak(t,e){return t.dispatchAction||q(e.dispatchAction,e)}function wk(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}function bk(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function Sk(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}function Mk(t){return"center"===t||"middle"===t}function Ck(t,e,n){var i=Io(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var o=Lo(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(e){var n=Fl(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}var Tk=_k;function Ik(t){Iw(GI),t.registerComponentModel(WI),t.registerComponentView(Tk),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))}Iw(Ik),Iw(mM);var kk=["x","y","radius","angle","single"],Dk=["cartesian2d","polar","singleAxis"];function Lk(t){var e=t.get("coordinateSystem");return B(Dk,e)>=0}function Zk(t){return t+"Axis"}function zk(t,e){var n,i=yt(),r=[],o=yt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&l(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),u(t)}function l(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}function u(t){t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}var Pk=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),Ok=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return u(e,t),e.prototype.init=function(t,e,n){var i=Rk(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=Rk(t);Z(this.option,t,!0),Z(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;V([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=yt(),n=this._fillSpecifiedTargetAxis(e);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return V(kk,(function(n){var i=this.getReferringComponents(Zk(n),Do);if(i.specified){e=!0;var r=new Pk;V(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x",o=n.findComponents({mainType:r+"Axis"});a(o,r)}if(i){o=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});a(o,"single")}function a(e,n){var r=e[0];if(r){var o=new Pk;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",ko).models[0];a&&V(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",ko).models[0]&&o.add(t.componentIndex)}))}}}i&&V(kk,(function(e){if(i){var r=n.findComponents({mainType:Zk(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new Pk;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");V([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(Zk(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){V(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(Zk(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;V([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;V(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;io&&(e[1-i]=e[i]+u.sign*o),e}function Wk(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function Uk(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var qk=V,Jk=Rr,jk=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(Lk(e)){var n=Zk(this._dimName),i=e.getReferringComponents(n,ko).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return L(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel(),r=i.axis.scale,o=this._dataZoomModel.getRangePropMode(),a=[0,100],s=[],l=[];qk(["start","end"],(function(i,u){var h=t[i],c=t[i+"Value"];"percent"===o[u]?(null==h&&(h=a[u]),c=r.parse(zr(h,a,n))):(e=!0,c=null==c?n[u]:r.parse(c),h=zr(c,n,a)),l[u]=c,s[u]=h})),Jk(l),Jk(s);var u=this._minMaxSpan;function h(t,e,n,i,o){var a=o?"Span":"ValueSpan";Yk(0,t,n,"all",u["min"+a],u["max"+a]);for(var s=0;s<2;s++)e[s]=zr(t[s],n,i,!0),o&&(e[s]=r.parse(e[s]))}return e?h(l,s,n,a,!1):h(s,l,a,n,!0),{valueWindow:l,percentWindow:s}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=Xk(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&qk(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var s=e.getStore(),l=H(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,a=0;ao[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else qk(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return a(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));qk(i,(function(t){e.setApproximateExtent(o,t)}))}}))}function a(t){return t>=o[0]&&t<=o[1]}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;qk(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=zr(n[0]+o,n,[0,100],!0):null!=r&&(o=zr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=Er(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();function Xk(t,e,n){var i=[1/0,-1/0];qk(n,(function(t){VT(i,t.getData(),e)}));var r=t.getAxisModel(),o=TT(r.axis.scale,r,i).calculate();return[o.min,o.max]}var Qk=jk,Kk={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(Zk(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new Qk(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=yt();return V(n,(function(t){V(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}},$k=Kk;function tD(t){t.registerAction("dataZoom",(function(t,e){var n=zk(e,t);V(n,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var eD=!1;function nD(t){eD||(eD=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,$k),tD(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function iD(t){t.registerComponentModel(Ek),t.registerComponentView(Gk),nD(t)}var rD=function(){function t(){}return t}(),oD={};function aD(t,e){oD[t]=e}function sD(t){return oD[t]}var lD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;V(this.option.feature,(function(t,n){var i=sD(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),Z(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(np),uD=lD,hD=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a=t.get("feature")||{},s=this._features||(this._features={}),l=[];V(a,(function(t,e){l.push(e)})),new bS(this._featureNames||[],l).add(u).update(u).remove(J(u,null)).execute(),this._featureNames=l,AM(r,t,n),r.add(wM(r.getBoundingRect(),t)),r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.states.emphasis;if(l&&!X(l)&&e){var u=l.style||(l.style={}),h=nr(e,El.makeFont(u)),c=t.x+r.x,p=t.y+r.y+o,d=!1;p+h.height>n.getHeight()&&(a.position="top",d=!0);var f=d?-5-h.height:o+8;c+h.width/2>n.getWidth()?(a.position=["100%",f],u.align="right"):c-h.width/2<0&&(a.position=[0,f],u.align="left")}}))}function u(r,o){var u,c=l[r],p=l[o],d=a[c],f=new zh(d,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===c&&(d.title=i.newTitle),c&&!p){if(cD(c))u={onclick:f.option.onclick,featureName:c};else{var g=sD(c);if(!g)return;u=new g}s[c]=u}else if(u=s[p],!u)return;u.uid=Oh("toolbox-feature"),u.model=f,u.ecModel=e,u.api=n;var m=u instanceof rD;c||!p?!f.get("show")||m&&u.unusable?m&&u.remove&&u.remove(e,n):(h(f,u,c),f.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Su:Mu)(i[t])},u instanceof rD&&u.render&&u.render(f,e,n,i)):m&&u.dispose&&u.dispose(e,n)}function h(i,a,s){var l,u,h=i.getModel("iconStyle"),c=i.getModel(["emphasis","iconStyle"]),p=a instanceof rD&&a.getIcons?a.getIcons():i.get("icon"),d=i.get("title")||{};"string"===typeof p?(l={},l[s]=p):l=p,"string"===typeof d?(u={},u[s]=d):u=d;var f=i.iconPaths={};V(l,(function(s,l){var p=By(s,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(h.getItemStyle());var d=p.ensureState("emphasis");d.style=c.getItemStyle();var g=new El({style:{text:u[l],align:c.get("textAlign"),borderRadius:c.get("textBorderRadius"),padding:c.get("textPadding"),fill:null},ignore:!0});p.setTextContent(g),Hy({el:p,componentModel:t,itemName:l,formatterParamsExtra:{title:u[l]}}),p.__title=u[l],p.on("mouseover",(function(){var e=c.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";g.setStyle({fill:c.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:c.get("textBackgroundColor")}),p.setTextConfig({position:c.get("textPosition")||n}),g.ignore=!t.get("showTitle"),Su(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",l])&&Mu(this),g.hide()})),("emphasis"===i.get(["iconStatus",l])?Su:Mu)(p),r.add(p),p.on("click",q(a.onclick,a,e,n,l)),f[l]=p}))}},e.prototype.updateView=function(t,e,n,i){V(this._features,(function(t){t instanceof rD&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){V(this._features,(function(n){n instanceof rD&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){V(this._features,(function(n){n instanceof rD&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(bg);function cD(t){return 0===t.indexOf("my")}var pD=hD,dD=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!==typeof MouseEvent||!g.browser.newEdge&&(g.browser.ie||g.browser.edge))if(window.navigator.msSaveOrOpenBlob||r){var s=a.split(","),l=s[0].indexOf("base64")>-1,u=r?decodeURIComponent(s[1]):s[1];l&&(u=window.atob(u));var h=i+"."+o;if(window.navigator.msSaveOrOpenBlob){var c=u.length,p=new Uint8Array(c);while(c--)p[c]=u.charCodeAt(c);var d=new Blob([p]);window.navigator.msSaveOrOpenBlob(d,h)}else{var f=document.createElement("iframe");document.body.appendChild(f);var m=f.contentWindow,v=m.document;v.open("image/svg+xml","replace"),v.write(u),v.close(),m.focus(),v.execCommand("SaveAs",!0,h),document.body.removeChild(f)}}else{var y=n.get("lang"),_='',x=window.open();x.document.write(_),x.document.title=i}else{var A=document.createElement("a");A.download=i+"."+o,A.target="_blank",A.href=a;var w=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});A.dispatchEvent(w)}},e.getDefaultOption=function(t){var e={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return e},e}(rD);dD.prototype.unusable=!g.canvasSupported;var fD=dD,gD="__ec_magicType_stack__",mD=[["line","bar"],["stack"]],vD=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return V(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){var e={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return e},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(yD[n]){var o,a={series:[]},s=function(t){var e=t.subType,r=t.id,o=yD[n](e,r,t,i);o&&(O(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim,h=u+"Axis",c=t.getReferringComponents(h,ko).models[0],p=c.componentIndex;a[h]=a[h]||[];for(var d=0;d<=p;d++)a[h][p]=a[h][p]||{};a[h][p].boundaryGap="bar"===n}}};V(mD,(function(t){B(t,n)>=0&&V(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},s);var l=n;"stack"===n&&(o=Z({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(l="tiled")),e.dispatchAction({type:"changeMagicType",currentType:l,newOption:a,newTitle:o,featureName:"magicType"})}},e}(rD),yD={line:function(t,e,n,i){if("bar"===t)return Z({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return Z({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===gD;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),Z({id:e,stack:r?"":gD},i.get(["option","stack"])||{},!0)}};vw({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var _D=vD,xD=new Array(60).join("-"),AD="\t";function wD(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function bD(t){var e=[];return V(t,(function(t,n){var i=t.categoryAxis,r=t.valueAxis,o=r.dim,a=[" "].concat(H(t.series,(function(t){return t.name}))),s=[i.model.getCategories()];V(t.series,(function(t){var e=t.getRawData();s.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var l=[a.join(AD)],u=0;u=0)return!0}var ID=new RegExp("["+AD+"]+","g");function kD(t){for(var e=t.split(/\n+/g),n=CD(e.shift()).split(ID),i=[],r=H(n,(function(t){return{name:t,data:[]}})),o=0;o=0;r--){var o=n[r];if(o[i])break}if(r<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var s=a.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}})),n.push(e)}function ND(t){var e=VD(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return OD(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n],t){i[n]=t;break}})),i}function ED(t){RD(t).snapshots=null}function FD(t){return VD(t).length}function VD(t){var e=RD(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var HD=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.onclick=function(t,e){ED(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var e={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])};return e},e}(rD);vw({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var GD=HD,YD=!0,WD=Math.min,UD=Math.max,qD=Math.pow,JD=1e4,jD=6,XD=6,QD="globalPan",KD={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},$D={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},tL={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},eL=0,nL=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new Ar,n._uid="brushController_"+eL++,V(PL,(function(t,e){this._handlers[e]=q(t,this)}),n),n}return u(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||zb(e,QD,this._uid),V(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=Z(L(tL),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;Pb(t,QD,this._uid),V(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};V(t,(function(t){e[t.panelId]=L(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=H(t,(function(t){return Z(L(tL),t,!0)}));var e="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,o=this._creatingCover;return new bS(n,t,s,a).add(l).update(l).remove(u).execute(),this;function a(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function s(t,e){return a(t.__brushOption,e)}function l(e,a){var s=t[e];if(null!=a&&n[a]===o)i[e]=n[a];else{var l=i[e]=null!=a?(n[a].__brushOption=s,n[a]):rL(r,iL(r,s));sL(r,l)}}function u(t){n[t]!==o&&r.group.remove(n[t])}},e.prototype.unmount=function(){return this.enableBrush(!1),cL(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(Yt);function iL(t,e){var n=BL[e.brushType].createCover(t,e);return n.__brushOption=e,aL(n,e),t.group.add(n),n}function rL(t,e){var n=lL(e);return n.endCreating&&(n.endCreating(t,e),aL(e,e.__brushOption)),e}function oL(t,e){var n=e.__brushOption;lL(e).updateCoverShape(t,e,n.range,n)}function aL(t,e){var n=e.z;null==n&&(n=JD),t.traverse((function(t){t.z=n,t.z2=n}))}function sL(t,e){lL(e).updateCommon(t,e),oL(t,e)}function lL(t){return BL[t.__brushOption.brushType]}function uL(t,e,n){var i,r=t._panels;if(!r)return YD;var o=t._transform;return V(r,(function(t){t.isTargetByCursor(e,n,o)&&(i=t)})),i}function hL(t,e){var n=t._panels;if(!n)return YD;var i=e.__brushOption.panelId;return null!=i?n[i]:YD}function cL(t){var e=t._covers,n=e.length;return V(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function pL(t,e){var n=H(t._covers,(function(t){var e=t.__brushOption,n=L(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function dL(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1],a=qD(r*r+o*o,.5);return a>jD}function fL(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function gL(t,e,n,i){var r=new Ar;return r.add(new Ml({name:"main",style:_L(n),silent:!0,draggable:!0,cursor:"move",drift:J(SL,t,e,r,["n","s","w","e"]),ondragend:J(pL,e,{isEnd:!0})})),V(i,(function(n){r.add(new Ml({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:J(SL,t,e,r,n),ondragend:J(pL,e,{isEnd:!0})}))})),r}function mL(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=UD(r,XD),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,h=n[0][1],c=n[1][1],p=h-o+r/2,d=c-o+r/2,f=h-a,g=c-s,m=f+r,v=g+r;yL(t,e,"main",a,s,f,g),i.transformable&&(yL(t,e,"w",l,u,o,v),yL(t,e,"e",p,u,o,v),yL(t,e,"n",l,u,m,o),yL(t,e,"s",l,d,m,o),yL(t,e,"nw",l,u,o,o),yL(t,e,"ne",p,u,o,o),yL(t,e,"sw",l,d,o,o),yL(t,e,"se",p,d,o,o))}function vL(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(_L(n)),r.attr({silent:!i,cursor:i?"move":"default"}),V([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),o=1===n.length?wL(t,n[0]):bL(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?$D[o]+"-resize":null})}))}function yL(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(IL(TL(t,e,[[i,r],[i+o,r+a]])))}function _L(t){return O({strokeNoScale:!0},t.brushStyle)}function xL(t,e,n,i){var r=[WD(t,n),WD(e,i)],o=[UD(t,n),UD(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function AL(t){return ky(t.group)}function wL(t,e){var n={w:"left",e:"right",n:"top",s:"bottom"},i={left:"w",right:"e",top:"n",bottom:"s"},r=Ly(n[e],AL(t));return i[r]}function bL(t,e){var n=[wL(t,e[0]),wL(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function SL(t,e,n,i,r,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=CL(e,r,o);V(i,(function(t){var e=KD[t];s[e[0]][e[1]]+=l[e[0]]})),a.range=t.fromRectRange(xL(s[0][0],s[1][0],s[0][1],s[1][1])),sL(e,n),pL(e,{isEnd:!1})}function ML(t,e,n,i){var r=e.__brushOption.range,o=CL(t,n,i);V(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),sL(t,e),pL(t,{isEnd:!1})}function CL(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function TL(t,e,n){var i=hL(t,e);return i&&i!==YD?i.clipPath(n,t._transform):L(n)}function IL(t){var e=WD(t[0][0],t[1][0]),n=WD(t[0][1],t[1][1]),i=UD(t[0][0],t[1][0]),r=UD(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}function kL(t,e,n){if(t._brushType&&!RL(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=uL(t,e,n);if(!t._dragging)for(var a=0;ai.getWidth()||n<0||n>i.getHeight()}var BL={lineX:NL(0),lineY:NL(1),rect:{createCover:function(t,e){function n(t){return t}return gL({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=fL(t);return xL(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){mL(t,e,n,i)},updateCommon:vL,contain:LL},polygon:{createCover:function(t,e){var n=new Ar;return n.add(new Yv({name:"main",style:_L(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new Vv({name:"main",draggable:!0,drift:J(ML,t,e),ondragend:J(pL,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:TL(t,e,n)})},updateCommon:vL,contain:LL}};function NL(t){return{createCover:function(e,n){return gL({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=fL(e),i=WD(n[0][t],n[1][t]),r=UD(n[0][t],n[1][t]);return[i,r]},updateCoverShape:function(e,n,i,r){var o,a=hL(e,n);if(a!==YD&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),mL(e,n,l,r)},updateCommon:vL,contain:LL}}var EL=nL;function FL(t){return t=GL(t),function(e){return Oy(e,t)}}function VL(t,e){return t=GL(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function HL(t,e,n){var i=GL(t);return function(t,r){return i.contain(r[0],r[1])&&!Wb(t,e,n)}}function GL(t){return ji.create(t)}var YL=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],WL=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=qL(e,t);V(JL,(function(t,e){(!n||!n.include||B(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=QL[t.brushType](0,n,e);t.__rangeOffset={offset:$L[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){V(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&V(i.coordSyses,(function(i){var r=QL[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){V(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=QL[t.brushType](0,n.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?$L[t.brushType](i.values,r.offset,eZ(i.xyMinMax,r.xyMinMax)):i.values}}),this)},t.prototype.makePanelOpts=function(t,e){return H(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:FL(i),isTargetByCursor:HL(i,t,n.coordSysModel),getLinearBrushOtherExtent:VL(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&B(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=qL(e,t),r=0;rt[1]&&t.reverse(),t}function qL(t,e){return To(t,e,{includeMainTypes:YL})}var JL={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=yt(),a={},s={};(n||i||r)&&(V(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),V(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),V(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];V(r.getCartesians(),(function(t,e){(B(n,t.getAxis("x").model)>=0||B(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:XL.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){V(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:XL.geo})}))}},jL=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],XL={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(ky(t)),e}},QL={lineX:J(KL,0),lineY:J(KL,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[UL([r[0],o[0]]),UL([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]],o=H(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o}));return{values:o,xyMinMax:r}}};function KL(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=UL(H([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var $L={lineX:J(tZ,0),lineY:J(tZ,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return H(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function tZ(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function eZ(t,e){var n=nZ(t),i=nZ(e),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function nZ(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var iZ=WL,rZ=V,oZ=xo("toolbox-dataZoom_"),aZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new EL(n.getZr()),this._brushController.on("brush",q(this._onBrush,this)).mount()),hZ(t,e,this,i,n),uZ(t,e)},e.prototype.onclick=function(t,e,n){sZ[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]);var r=new iZ(lZ(this.model),i,{include:["grid"]});r.matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(o("x",n,e[0]),o("y",n,e[1])):o({lineX:"x",lineY:"y"}[i],n,e)}})),BD(i,n),this._dispatchZoomAction(n)}function o(t,e,r){var o=e.getAxis(t),s=o.model,l=a(t,s,i),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(r=Yk(0,r.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:r[0],endValue:r[1]})}function a(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var r=n.getAxisModel(t,e.componentIndex);r&&(i=n)})),i}},e.prototype._dispatchZoomAction=function(t){var e=[];rZ(t,(function(t,n){e.push(L(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){var e={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return e},e}(rD),sZ={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(ND(this.ecModel))}};function lZ(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function uZ(t,e){t.setIconStatus("back",FD(e)>1?"emphasis":"normal")}function hZ(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new iZ(lZ(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}Mp("dataZoom",(function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=lZ(i),a=To(t,o);return rZ(a.xAxisModels,(function(t){return s(t,"xAxis","xAxisIndex")})),rZ(a.yAxisModels,(function(t){return s(t,"yAxis","yAxisIndex")})),r}function s(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:oZ+e+o};a[n]=o,r.push(a)}}));var cZ=aZ;function pZ(t){t.registerComponentModel(uD),t.registerComponentView(pD),aD("saveAsImage",fD),aD("magicType",_D),aD("dataView",PD),aD("dataZoom",cZ),aD("restore",GD),Iw(iD)}Iw(pZ);var dZ={get:function(t,e,n){var i=L((fZ[t]||{})[e]);return n&&j(i)?i[i.length-1]:i}},fZ={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},gZ=dZ,mZ=V,vZ=tt,yZ=-1,_Z=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=L(e);this.type=i,this.mappingMethod=n,this._normalizeData=LZ[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(wZ(r),xZ(r)):"category"===n?r.categories?AZ(r):wZ(r,!0):(pt("linear"!==n||r.dataExtent),wZ(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return q(this._normalizeData,this)},t.listVisualTypes=function(){return W(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){tt(t)?V(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=j(e)?[]:tt(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&mZ(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(j(t))t=t.slice();else{if(!vZ(t))return[];var e=[];mZ(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}function wZ(t,e){var n=t.visual,i=[];tt(n)?mZ(n,(function(t){i.push(t)})):null!=n&&i.push(n);var r={color:1,symbol:1};e||1!==i.length||r.hasOwnProperty(t.type)||(i[1]=i[0]),DZ(t,i)}function bZ(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:IZ([0,1])}}function SZ(t){var e=this.option.visual;return e[Math.round(zr(t,[0,1],[0,e.length-1],!0))]||{}}function MZ(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function CZ(t){var e=this.option.visual;return e[this.option.loop&&t!==yZ?t%e.length:t]}function TZ(){return this.option.visual[0]}function IZ(t){return{linear:function(e){return zr(e,t,this.option.visual,!0)},category:CZ,piecewise:function(e,n){var i=kZ.call(this,n);return null==i&&(i=zr(e,t,this.option.visual,!0)),i},fixed:TZ}}function kZ(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=_Z.findPieceIndex(t,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function DZ(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=H(e,(function(t){return gn(t)}))),e}var LZ={linear:function(t){return zr(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=_Z.findPieceIndex(t,e,!0);if(null!=n)return zr(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?yZ:e},fixed:wt};function ZZ(t,e,n){return t?e<=n:e"],j(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return Q(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):X(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=GZ([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});Z(i,n),Z(r,n);var o=this.isCategory();function a(n){VZ(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}function s(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},HZ(i,(function(t,e){if(zZ.isValidType(e)){var n=gZ.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function l(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol(),a=r||"roundRect";HZ(this.stateList,(function(r){var s=this.itemSize,l=t[r];l||(l=t[r]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&L(e)||(o?a:[a])),null==l.symbolSize&&(l.symbolSize=n&&L(n)||(o?s[0]:[s[0],s[0]])),l.symbol=EZ(l.symbol,(function(t){return"none"===t?a:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;FZ(u,(function(t){t>h&&(h=t)})),l.symbolSize=EZ(u,(function(t){return YZ(t,[0,h],[0,s[0]],!0)}))}}),this)}a.call(this,i),a.call(this,r),s.call(this,i,"inRange","outOfRange"),l.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(np),UZ=WZ,qZ=[20,140],JZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=qZ[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=qZ[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):j(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),V(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=Rr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=jZ(this,"outOfRange",this.getExtent()),n=jZ(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:o/n})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Ar("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();iz([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var h=nz(t[l],[0,a[1]],s,!0),c=this.getControllerVisual(h,"symbolSize");u.scaleX=u.scaleY=c/a[0],u.x=a[0]-c/2;var p=Dy(n.handleLabelPoints[l],ky(u,this.group));o[l].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h={convertOpacityToAlpha:!0},c=this.getControllerVisual(t,"color",h),p=this.getControllerVisual(t,"symbolSize"),d=nz(t,o,s,!0),f=a[0]-p/2,g={x:u.x,y:u.y};u.y=d,u.x=f;var m=Dy(l.indicatorLabelPoint,ky(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",l.mainGroup),_=this._orient,x="horizontal"===_;v.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:x?y:"middle",align:x?"center":y});var A={x:f,y:d,style:{fill:c}},w={style:{x:m[0],y:m[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=g.x,u.y=g.y,u.animateTo(A,b),v.animateTo(w,b)}else u.attr(A),v.attr(w);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var M=0;Mr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||cz(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=bo(h,c);this._dispatchHighDown("downplay",ez(p[0],n)),this._dispatchHighDown("highlight",ez(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=Fl(e).dataIndex){var i=Fl(e),r=this.ecModel.getSeriesByIndex(i.seriesIndex);if(n.isTargetSeries(r)){var o=r.getData(i.dataType),a=o.getStore().get(n.getDataDimensionIndex(o),i.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function vz(t,e,n,i){for(var r=e.targetVisuals[i],o=zZ.prepareVisualTypes(r),a={color:Tm(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(fz,gz),V(mz,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(_z))}function bz(t){t.registerComponentModel(XZ),t.registerComponentView(dz),wz(t)}var Sz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return u(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],Mz[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=L(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=H(this._pieceList,(function(t){return t=L(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=zZ.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}V(e.pieces,(function(t){V(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),V(n,(function(t,n){var i=!1;V(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&V(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=gZ.get(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,V(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;V(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=L(t)},e.prototype.getValueState=function(t){var e=zZ.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){var o=zZ.findPieceIndex(e,n);o===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),o=r[r.length-1].interval[1],o!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return V(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Nh(UZ.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(UZ),Mz={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;var o=(i[1]-i[0])/r;while(+o.toFixed(n)!==o&&n<5)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function Cz(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var Tz=Sz,Iz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=st(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,h,a),V(l.viewPieceList,(function(i){var l=i.piece,u=new Ar;u.onclick=q(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var c=e.getRepresentValue(l);if(this._createItemSymbol(u,c,[0,0,s[0],s[1]]),h){var p=this.visualMapModel.getValueState(c);u.add(new El({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),Uc(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:ez(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return tz(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Ar,a=this.visualMapModel.textStyleModel;o.add(new El({style:{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e,font:a.getFont(),fill:a.getTextColor()}})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=H(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(Ky(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=L(n.selected),r=e.getSelectedMapKey(t);"single"===n.selectedMode?(i[r]=!0,V(i,(function(t,e){i[e]=e===r}))):i[r]=!i[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})},e.type="visualMap.piecewise",e}(KZ),kz=Iz;function Dz(t){t.registerComponentModel(Tz),t.registerComponentView(kz),wz(t)}function Lz(t){Iw(bz),Iw(Dz)}Iw(Lz);var Zz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return u(e,t),e.type="title",e.defaultOption={zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(np),zz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=lt(t.get("textBaseline"),t.get("textVerticalAlign")),l=new El({style:ch(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new El({style:ch(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){Vc(p,"_"+t.get("target"))})),d&&c.on("click",(function(){Vc(d,"_"+t.get("subtarget"))})),Fl(l).eventData=Fl(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=g.width,m.height=g.height;var v=qc(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||(a=t.get("left")||t.get("right"),"middle"===a&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||(s=t.get("top")||t.get("bottom"),"center"===s&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),c.setStyle(y),g=i.getBoundingRect();var _=v.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var A=new Ml({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g.height+_[0]+_[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(A)}},e.type="title",e}(bg);function Pz(t){t.registerComponentModel(Zz),t.registerComponentView(zz)}Iw(Pz);var Oz=function(){function t(t){this.coordSysDims=[],this.axisMap=yt(),this.categoryAxisMap=yt(),this.coordSysName=t}return t}();function Rz(t){var e=t.get("coordinateSystem"),n=new Oz(e),i=Bz[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var Bz={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",ko).models[0],o=t.getReferringComponents("yAxis",ko).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Nz(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Nz(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",ko).models[0];e.coordSysDims=["single"],n.set("single",r),Nz(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",ko).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Nz(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Nz(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();V(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Nz(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Nz(t){return"category"===t.get("type")}function Ez(t,e){var n,i=t.get("coordinateSystem"),r=Qp.get(i);return e&&e.coordSysDims&&(n=H(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=TS(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function Fz(t,e,n){var i,r;return n&&V(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}function Vz(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=Ed(t)):(i=r.getSource(),o=i.sourceFormat===sp);var a=Rz(e),s=Ez(e,a),l=n.useEncodeDefaulter,u=X(l)?l:l?J(yp,s,e):null,h={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o},c=mS(i,h),p=Fz(c.dimensions,n.createInvertedIndices,a),d=o?null:r.getSharedDataStore(c),f=NC(e,{schema:c,store:d}),g=new YS(c,e);g.setCalculationInfo(f);var m=null!=p&&Hz(i)?function(t,e,n,i){return i===p?n:this.defaultDimValueGetter(t,e,n,i)}:null;return g.hasItemOption=!1,g.initData(o?i:d,null,m),g}function Hz(t){if(t.sourceFormat===sp){var e=Gz(t.data||[]);return null!=e&&!j(oo(e))}}function Gz(t){var e=0;while(e=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},e}(ll),oP=function(){function t(){this.group=new Ar}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t,e){this.group.removeAll();var n=new rP({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},t.prototype.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e)}))}},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new py({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new rP,this._incremental.addDisplayable(i,!0)):(i=new rP({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("points")}),this._setCommon(i,e,!!this._incremental,n)},t.prototype._setCommon=function(t,e,n,i){var r=e.hostModel;i=i||{};var o=e.getVisual("symbolSize");t.setShape("size",o instanceof Array?o:[o,o]),t.softClipShape=i.clipShape||null,t.symbolProxy=Ky(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var a=t.shape.size[0]=0&&(u.dataIndex=n+(t.startIndex||0))}))}},t.prototype.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),aP=oP,sP="undefined"!==typeof Float32Array,lP=sP?Float32Array:Array;function uP(t){return j(t)?sP?new Float32Array(t):t:new lP(t)}function hP(t,e){return{seriesType:t,plan:Sg(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(i){var a=H(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");FC(n,a[0])&&(a[0]=l),FC(n,a[1])&&(a[1]=l);var u=n.getStore(),h=n.getDimensionIndex(a[0]),c=n.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&uP(n*s),a=[],l=[],p=t.start,d=0;p1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=hP("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext,r=i.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new aP:new eP,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(zg),pP=cP,dP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(np),fP=dP,gP=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}(),mP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ko).models[0]},e.type="cartesian2dAxis",e}(np);E(mP,gP);var vP={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},yP=Z({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},vP),_P=Z({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},vP),xP=Z({scale:!0,splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},_P),AP=O({scale:!0,logBase:10},_P),wP={category:yP,value:_P,time:xP,log:AP},bP={value:1,category:1,time:1,log:1};function SP(t,e,n,i){V(bP,(function(r,o){var a=Z(Z({},wP[o],!0),i,!0),s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return u(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=jc(this),i=n?Qc(t):{},r=e.getTheme();Z(t,r.get(o+"Axis")),Z(t,this.getDefaultOption()),t.type=MP(t),n&&Xc(t,i,n)},n.prototype.optionUpdated=function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=SC.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+o,n.defaultOption=a,n}(n);t.registerComponentModel(s)})),t.registerSubTypeDefaulter(e+"Axis",MP)}function MP(t){return t.type||(t.data?"category":"value")}var CP=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return H(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Y(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),TP=CP,IP=["x","y"];function kP(t){return"interval"===t.type||"time"===t.type}var DP=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=IP,e}return u(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(kP(t)&&kP(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=Mi([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Bt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Bt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-i;return new ji(n,i,r,o)},e}(TP),LP=DP,ZP=Mo();function zP(t){return"category"===t.type?OP(t):NP(t)}function PP(t,e){return"category"===t.type?BP(t,e):{ticks:H(t.scale.getTicks(),(function(t){return t.value}))}}function OP(t){var e=t.getLabelModel(),n=RP(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function RP(t,e){var n,i,r=EP(t,"labels"),o=NT(e),a=FP(r,o);return a||(X(o)?n=UP(t,o):(i="auto"===o?HP(t):o,n=WP(t,i)),VP(r,o,{labels:n,labelCategoryInterval:i}))}function BP(t,e){var n,i,r=EP(t,"ticks"),o=NT(e),a=FP(r,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(n=[]),X(o))n=UP(t,o,!0);else if("auto"===o){var s=RP(t,t.getLabelModel());i=s.labelCategoryInterval,n=H(s.labels,(function(t){return t.tickValue}))}else i=o,n=WP(t,i,!0);return VP(r,o,{ticks:n,tickCategoryInterval:i})}function NP(t){var e=t.scale.getTicks(),n=PT(t);return{labels:H(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}function EP(t,e){return ZP(t)[e]||(ZP(t)[e]=[])}function FP(t,e){for(var n=0;n40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f=0,g=0,m=nr(n({value:l}),e.font,"center","top");f=1.3*m.width,g=1.3*m.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var v=p/h,y=d/c;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(v,y))),x=ZP(t.model),A=t.getExtent(),w=x.lastAutoInterval,b=x.lastTickCount;return null!=w&&null!=b&&Math.abs(w-_)<=1&&Math.abs(b-a)<=1&&w>_&&x.axisExtent0===A[0]&&x.axisExtent1===A[1]?_=w:(x.lastTickCount=a,x.lastAutoInterval=_,x.axisExtent0=A[0],x.axisExtent1=A[1]),_}function YP(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function WP(t,e,n){var i=PT(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],h=r.count();0!==u&&l>1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=ET(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function UP(t,e,n){var i=t.scale,r=PT(t),o=[];return V(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var qP=[0,1],JP=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return Er(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&(n=n.slice(),jP(n,i.count())),zr(t,qP,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),jP(n,i.count()));var r=zr(t,n,qP,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=PP(this,e),i=n.ticks,r=H(i,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),o=e.get("alignWithLabel");return XP(this,r,o,t.clamp),r},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=H(n,(function(t){return H(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},t.prototype.getViewLabels=function(){return zP(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return GP(this)},t}();function jP(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function XP(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[0]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;V(e,(function(t){t.coord-=u/2}));var h=t.scale.getExtent();a=1+h[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var c=s[0]>s[1];p(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&p(s[0],e[0].coord)&&e.unshift({coord:s[0]}),p(s[1],o.coord)&&(i?o.coord=s[1]:e.pop()),i&&p(o.coord,s[1])&&e.push({coord:s[1]})}function p(t,e){return t=Or(t),e=Or(e),c?t>e:te[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(QP),$P=KP,tO=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=IP,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),V(n.x,(function(t){LT(t.scale,t.model)})),V(n.y,(function(t){LT(t.scale,t.model)}));var i={};V(n.x,(function(t){nO(n,"y",t,i)})),V(n.y,(function(t){nO(n,"x",t,i)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=qc(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){V(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),rO(t,e?o.x:o.y)}))}s(),r&&(V(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=RT(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}})),s()),V(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}tt(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i=-180&&i<=180&&this.originInstance.setCenter(Object(qO["c"])(n,{lng:i,lat:this.center.lat}))},"position.lat":function(t,e){var n=this.BMap,i=t;t.toString()!==e.toString()&&i>=-74&&i<=74&&this.originInstance.setCenter(Object(qO["c"])(n,{lng:this.center.lng,lat:i}))},labelStyle:{handler:function(t){this.originInstance.setStyle(t)},deep:!0},zIndex:function(t){this.originInstance.setZIndex(t)},massClear:function(t){t?this.originInstance.enableMassClear():this.originInstance.disableMassClear()}},methods:{load:function(){var t=this.BMap,e=this.map,n=this.content,i=this.title,r=this.offset,o=this.position,a=this.labelStyle,s=this.zIndex,l=this.massClear,u=this.$parent,h=new t.Label(n,{offset:Object(qO["d"])(t,r),position:Object(qO["c"])(t,o),enableMassClear:l});this.originInstance=h;try{u.originInstance.setLabel(h)}catch(c){e.addOverlay(h)}i&&h.setTitle(i),a&&h.setStyle(a),s&&h.setZIndex(s),tR["a"].call(this,h)}}},nR=eR,iR=Object(MO["a"])(nR,xO,AO,!1,null,null,null),rR=iR.exports,oR=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}]},[t._t("default")],2)},aR=[],sR=n("7b51"),lR=sR["a"],uR=Object(MO["a"])(lR,oR,aR,!1,null,null,null),hR=uR.exports,cR=n("1825"),pR=(n("cf45"),{name:"Home",components:{DstributiondMap:TO,BaiduMap:HO["a"],BmMarkerClusterer:KO,BmMarker:$O["a"],BmLabel:rR,BmInfoWindow:hR,swiperSchool:PO,swiperCoach:VO},created:function(){var t=this;this.getQueryQueryList(),this.getQueryTrainingSchoolList(),this.queryIndexCollectList(),this.censusListRequest=setInterval((function(){t.queryIndexCollectList()}),3e5),this.geyQueryIndexSchoolGroupList(),this.getQuerySimpleIndustryDynamics(),this.getQueryHomeEvaluate(),this.censusListRequest=setInterval((function(){t.getQueryHomeEvaluate()}),3e5)},beforeDestroy:function(){clearInterval(this.censusListRequest),this.censusListRequest=null},data:function(){return{homeEvaluate:null,sanData:null,censusListDate:null,dataSheetList:[],bannerList:[{to:"/",img:n("26fc"),mobileImg:n("26fc"),info:""}],swiperSchoolList:[],swiperCoachlList:[],score:4.5,map:{center:{lng:112.45404,lat:34.619682},zoom:12,width:"100%",height:"100%"},mapLabel:"",markers:[],hospitalListData:[]}},methods:{getQueryQueryList:function(){var t=this;Object(cR["A"])({pageIndex:1,pageSize:50}).then((function(e){e.data.length>0?t.swiperCoachlList=e.data:t.showMessage("未找到结果","error")}))},getQueryTrainingSchoolList:function(){var t=this;Object(cR["B"])({pageIndex:1,pagesize:50}).then((function(e){e.data.length>0?t.swiperSchoolList=e.data:t.showMessage("未找到结果","error")}))},queryIndexCollectList:function(){var t=this;Object(cR["q"])({}).then((function(e){t.censusListDate=e.data}))},getQueryHomeEvaluate:function(){var t=this;Object(cR["p"])({}).then((function(e){t.homeEvaluate=e.data}))},geyQueryIndexSchoolGroupList:function(){var t=this;Object(cR["s"])({}).then((function(e){var n=[{name:"老城区",LngAndLat:[112.477298,34.682945],num:0},{name:"西工区",LngAndLat:[112.443232,34.667847],num:0},{name:"瀍河回族区",LngAndLat:[112.491625,34.684738],num:0},{name:"涧西区",LngAndLat:[112.399243,34.654251],num:0},{name:"孟津区",LngAndLat:[112.443892,34.826485],num:0},{name:"洛龙区",LngAndLat:[112.456634,34.618557],num:0},{name:"新安县",LngAndLat:[112.141403,34.728679],num:0},{name:"栾川县",LngAndLat:[111.618386,33.783195],num:0},{name:"嵩县",LngAndLat:[112.087765,34.131563],num:0},{name:"汝阳县",LngAndLat:[112.473789,34.15323],num:0},{name:"宜阳县",LngAndLat:[112.179989,34.516478],num:0},{name:"洛宁县",LngAndLat:[111.655399,34.387179],num:0},{name:"伊川县",LngAndLat:[112.429384,34.423416],num:0},{name:"偃师区",LngAndLat:[112.787739,34.723042],num:0}];e.data.map((function(t){n.forEach((function(e){e.name===t.districtName&&(e.num=t.schoolTotal)}))})),t.sanData=n}))},getQuerySimpleIndustryDynamics:function(){var t=this;Object(cR["x"])({isPublish:1,pageIndex:1,pageSize:3,type:1}).then((function(e){e.data.list.length>0&&(e.data.list.forEach((function(t){var e=new Date(t.updateTime),n=e.getFullYear(),i=e.getMonth()+1,r=e.getDate();t.year=n,t.day=i.toString().padStart(2,"0")+"/"+r.toString().padStart(2,"0")})),t.dataSheetList=e.data.list)}))},geyQueryGetHospitalList:function(){var t=this;Object(cR["h"])({pageIndex:1,pageSize:2}).then((function(e){t.hospitalListData=e.data;var n=[];e.data.forEach((function(t){var e={lng:t.lng,lat:t.lat};n.push(e)})),t.markers=n}))},tapClickHospital:function(t){this.map.center={lng:t.lng,lat:t.lat},this.mapLabel=t.hospitalName},lookDetail:function(t){var e=this.hospitalListData,n="";e.forEach((function(e){e.lat==t.lat&&(n=e.hospitalName)})),window.open("https://api.map.baidu.com/geocoder?address="+n+"&output=html&src=我的位置","_blank")},handler:function(t){t.BMap;var e=t.map;e.disableScrollWheelZoom()},tapJumpDetail:function(t){this.$router.push({name:"Details",query:{id:t,type:"about"}})},tabJumpDownload:function(){this.$router.push({name:"DownloadPage",query:{}})}}}),dR=pR,fR=(n("fe4f"),Object(MO["a"])(dR,r,o,!1,null,"54439377",null));e["default"]=fR.exports},"7b51":function(t,e,n){"use strict";(function(t){n("a9e3"),n("d81d"),n("d3b7");var i=n("2da4"),r=n("4fab"),o=n("76f3");e["a"]={name:"bm-info-window",mixins:[Object(i["a"])("overlay")],props:{show:{type:Boolean},position:{type:Object},title:{type:String},width:{type:Number},height:{type:Number},maxWidth:{type:Number},offset:{type:Object},maximize:{type:Boolean},autoPan:{type:Boolean},closeOnClick:{type:Boolean,default:!0},message:{type:String}},watch:{show:function(t){t?this.openInfoWindow():this.closeInfoWindow()},"position.lng":function(t,e){this.reload()},"position.lat":function(t,e){this.reload()},"offset.width":function(t,e){this.reload()},"offset.height":function(t){this.reload()},maxWidth:function(){this.reload()},width:function(t){this.originInstance.setWidth(t)},height:function(t){this.originInstance.setHeight(t)},title:function(t){this.originInstance.setTitle(t)},maximize:function(t){t?this.originInstance.enableMaximize():this.originInstance.disableMaximize()},autoPan:function(t){t?this.originInstance.enableAutoPan():this.originInstance.disableAutoPan()},closeOnClick:function(t){t?this.originInstance.enableCloseOnClick():this.originInstance.disableCloseOnClick()}},methods:{redraw:function(){this.originInstance.redraw()},load:function(){var t=this.BMap,e=this.map,n=this.show,i=this.title,a=this.width,s=this.height,l=this.maxWidth,u=this.offset,h=this.autoPan,c=this.closeOnClick,p=this.message,d=this.maximize,f=this.bindObserver,g=this.$parent,m=this.$el,v=new t.InfoWindow(m,{width:a,height:s,title:i,maxWidth:l,offset:Object(o["d"])(t,u),enableAutoPan:h,enableCloseOnClick:c,enableMessage:"undefined"===typeof p,message:p});d?v.enableMaximize():v.disableMaximize(),r["a"].call(this,v),this.originInstance=v,v.redraw(),[].forEach.call(m.querySelectorAll("img"),(function(t){t.onload=function(){return v.redraw()}})),f(),this.$container=g.originInstance&&g.originInstance.openInfoWindow?g.originInstance:e,n&&this.openInfoWindow()},bindObserver:function(){var e=t.MutationObserver;if(e){var n=this.$el,i=this.originInstance;this.observer=new e((function(t){return i.redraw()})),this.observer.observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0})}},openInfoWindow:function(){var t=this.BMap,e=this.$container,n=this.position,i=this.originInstance;e.openInfoWindow(i,Object(o["c"])(t,n))},closeInfoWindow:function(){this.$container.closeInfoWindow(this.originInstance)}}}}).call(this,n("c8ba"))},8409:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABuCAMAAADmp0YAAAAAAXNSR0IArs4c6QAAApdQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Hd5msgAAAN10Uk5TAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmq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"},"880c":function(t,e,n){},"89e0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABuCAMAAADmp0YAAAAAAXNSR0IArs4c6QAAAp1QTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////0twjGgAAAN90Uk5TAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOk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"},"8cf8":function(t,e,n){t.exports=n.p+"img/home_icon_wsignup@2x.2f2d0628.png"},"8ecf":function(t,e){t.exports="data:image/png;base64,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"},"8fdf":function(t){t.exports=JSON.parse('{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":410302,"name":"老城区","center":[112.477298,34.682945],"centroid":[112.443754,34.714619],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":0,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.465795,34.664851],[112.469174,34.666882],[112.472719,34.666673],[112.478645,34.66739],[112.488265,34.666852],[112.491754,34.668107],[112.49661,34.667644],[112.497404,34.670975],[112.498973,34.672005],[112.496961,34.674156],[112.491348,34.678427],[112.489188,34.681443],[112.488597,34.687745],[112.485292,34.689492],[112.47619,34.688492],[112.474177,34.689208],[112.47342,34.691373],[112.476799,34.694658],[112.482892,34.699466],[112.487803,34.70608],[112.487489,34.707901],[112.483058,34.711558],[112.48256,34.714603],[112.488098,34.72238],[112.488505,34.725007],[112.487858,34.731141],[112.485791,34.731932],[112.477205,34.737737],[112.469488,34.740573],[112.462305,34.741901],[112.44964,34.739856],[112.445042,34.740021],[112.43282,34.746362],[112.421225,34.751063],[112.406473,34.754673],[112.400842,34.757971],[112.398035,34.75812],[112.394398,34.756658],[112.393844,34.755121],[112.395487,34.750511],[112.39545,34.745437],[112.39414,34.742065],[112.390059,34.737305],[112.389967,34.733186],[112.39353,34.724932],[112.392773,34.720783],[112.394121,34.716708],[112.395063,34.70811],[112.396466,34.706945],[112.396632,34.702706],[112.410738,34.702467],[112.410646,34.70696],[112.418345,34.706871],[112.418603,34.704587],[112.420893,34.704572],[112.421816,34.706916],[112.427835,34.706751],[112.427724,34.701123],[112.429847,34.692344],[112.429903,34.686909],[112.446113,34.686147],[112.455271,34.686595],[112.465795,34.664851]]]]}},{"type":"Feature","properties":{"adcode":410303,"name":"西工区","center":[112.443232,34.667847],"centroid":[112.382406,34.695224],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":1,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.303707,34.734051],[112.299756,34.730589],[112.296728,34.729544],[112.291466,34.730141],[112.290118,34.729082],[112.290044,34.722216],[112.291281,34.718589],[112.296599,34.718141],[112.299387,34.71732],[112.307935,34.711603],[112.310299,34.709274],[112.311757,34.704437],[112.311,34.700018],[112.31196,34.696077],[112.313566,34.693434],[112.320342,34.693942],[112.325291,34.690985],[112.329057,34.690269],[112.330977,34.691448],[112.329334,34.694494],[112.330405,34.695465],[112.336368,34.697286],[112.337698,34.692792],[112.335704,34.686984],[112.339489,34.686685],[112.344252,34.68985],[112.346394,34.692239],[112.350659,34.691164],[112.352321,34.685595],[112.353761,34.684176],[112.355884,34.684385],[112.358949,34.689074],[112.362291,34.687596],[112.369104,34.687282],[112.370931,34.688223],[112.370562,34.690851],[112.377301,34.693225],[112.380846,34.692523],[112.379757,34.688984],[112.383265,34.686103],[112.388194,34.684953],[112.394767,34.686894],[112.397463,34.688671],[112.39942,34.688327],[112.405162,34.684027],[112.405365,34.681727],[112.410018,34.679607],[112.413286,34.676515],[112.414431,34.672513],[112.418289,34.672886],[112.42104,34.670183],[112.423256,34.669377],[112.421133,34.666001],[112.419379,34.665523],[112.417551,34.666912],[112.417662,34.664254],[112.420191,34.661864],[112.417514,34.657472],[112.418105,34.655456],[112.418585,34.647777],[112.423201,34.644371],[112.426598,34.640472],[112.44567,34.652468],[112.450009,34.654634],[112.455253,34.659056],[112.465795,34.664851],[112.455271,34.686595],[112.446113,34.686147],[112.429903,34.686909],[112.429847,34.692344],[112.427724,34.701123],[112.427835,34.706751],[112.421816,34.706916],[112.420893,34.704572],[112.418603,34.704587],[112.418345,34.706871],[112.410646,34.70696],[112.410738,34.702467],[112.396632,34.702706],[112.396466,34.706945],[112.395063,34.70811],[112.394121,34.716708],[112.392773,34.720783],[112.387382,34.719111],[112.383302,34.719037],[112.379443,34.720828],[112.377227,34.725738],[112.376895,34.732828],[112.375086,34.733529],[112.372021,34.731843],[112.360721,34.731544],[112.362383,34.728037],[112.357638,34.726768],[112.349939,34.721156],[112.347317,34.720813],[112.343384,34.7225],[112.337975,34.720171],[112.328799,34.719962],[112.324146,34.721231],[112.320029,34.723843],[112.315745,34.728932],[112.311591,34.732708],[112.307677,34.734171],[112.303707,34.734051]]]]}},{"type":"Feature","properties":{"adcode":410304,"name":"瀍河回族区","center":[112.491625,34.684738],"centroid":[112.509132,34.706651],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":2,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.498973,34.672005],[112.501392,34.672408],[112.505269,34.670766],[112.508593,34.670332],[112.512765,34.670736],[112.517399,34.675037],[112.525745,34.684266],[112.528514,34.685893],[112.537654,34.688955],[112.541328,34.688477],[112.540441,34.696226],[112.539167,34.702795],[112.53769,34.704184],[112.537967,34.706139],[112.530065,34.705139],[112.52881,34.706602],[112.524028,34.705871],[112.526686,34.714215],[112.533462,34.720246],[112.538023,34.723201],[112.536084,34.724141],[112.534441,34.732425],[112.532115,34.735171],[112.522089,34.73817],[112.499878,34.741677],[112.494911,34.740379],[112.489871,34.731589],[112.487858,34.731141],[112.488505,34.725007],[112.488098,34.72238],[112.48256,34.714603],[112.483058,34.711558],[112.487489,34.707901],[112.487803,34.70608],[112.482892,34.699466],[112.476799,34.694658],[112.47342,34.691373],[112.474177,34.689208],[112.47619,34.688492],[112.485292,34.689492],[112.488597,34.687745],[112.489188,34.681443],[112.491348,34.678427],[112.496961,34.674156],[112.498973,34.672005]]]]}},{"type":"Feature","properties":{"adcode":410305,"name":"涧西区","center":[112.399243,34.654251],"centroid":[112.341616,34.626593],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":3,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.276049,34.627771],[112.27544,34.624618],[112.272375,34.620942],[112.271618,34.617116],[112.274775,34.610226],[112.275514,34.606251],[112.272523,34.596191],[112.271618,34.588776],[112.268996,34.584276],[112.266744,34.578639],[112.266079,34.575425],[112.266301,34.571298],[112.26811,34.565571],[112.267944,34.564045],[112.273631,34.558617],[112.274074,34.555566],[112.276308,34.55567],[112.280591,34.546203],[112.282198,34.545679],[112.283435,34.547474],[112.286167,34.547773],[112.289084,34.545395],[112.292519,34.545111],[112.295916,34.546786],[112.298187,34.550421],[112.302322,34.552694],[112.30463,34.554938],[112.304021,34.558153],[112.306624,34.560486],[112.310409,34.561712],[112.315653,34.560247],[112.319235,34.562026],[112.321413,34.566064],[112.327672,34.569339],[112.329814,34.566782],[112.333451,34.566453],[112.338178,34.56895],[112.347779,34.575634],[112.349717,34.58003],[112.351822,34.580867],[112.362771,34.589075],[112.377707,34.597656],[112.384908,34.602544],[112.387991,34.603456],[112.393641,34.609374],[112.395783,34.61069],[112.399475,34.610899],[112.401617,34.612872],[112.407359,34.614307],[112.413027,34.616429],[112.416074,34.620344],[112.413544,34.623751],[112.414615,34.625933],[112.423311,34.636826],[112.426598,34.640472],[112.423201,34.644371],[112.418585,34.647777],[112.418105,34.655456],[112.417514,34.657472],[112.420191,34.661864],[112.417662,34.664254],[112.417551,34.666912],[112.419379,34.665523],[112.421133,34.666001],[112.423256,34.669377],[112.42104,34.670183],[112.418289,34.672886],[112.414431,34.672513],[112.413286,34.676515],[112.410018,34.679607],[112.405365,34.681727],[112.405162,34.684027],[112.39942,34.688327],[112.397463,34.688671],[112.394767,34.686894],[112.388194,34.684953],[112.383265,34.686103],[112.379757,34.688984],[112.380846,34.692523],[112.377301,34.693225],[112.370562,34.690851],[112.370931,34.688223],[112.369104,34.687282],[112.362291,34.687596],[112.358949,34.689074],[112.355884,34.684385],[112.353761,34.684176],[112.352321,34.685595],[112.350659,34.691164],[112.346394,34.692239],[112.344252,34.68985],[112.339489,34.686685],[112.335704,34.686984],[112.337698,34.692792],[112.336368,34.697286],[112.330405,34.695465],[112.329334,34.694494],[112.330977,34.691448],[112.329057,34.690269],[112.325291,34.690985],[112.320342,34.693942],[112.313566,34.693434],[112.313603,34.685819],[112.315893,34.685864],[112.31593,34.681951],[112.315099,34.673215],[112.312145,34.667928],[112.307418,34.66282],[112.302304,34.658906],[112.298741,34.656949],[112.298593,34.654739],[112.301215,34.649122],[112.300532,34.64594],[112.298556,34.643758],[112.29346,34.639889],[112.289214,34.637483],[112.286758,34.633733],[112.284782,34.63209],[112.276049,34.627771]]]]}},{"type":"Feature","properties":{"adcode":410306,"name":"孟津区","center":[112.443892,34.826485],"centroid":[112.485027,34.832578],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":4,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.392773,34.720783],[112.39353,34.724932],[112.389967,34.733186],[112.390059,34.737305],[112.39414,34.742065],[112.39545,34.745437],[112.395487,34.750511],[112.393844,34.755121],[112.394398,34.756658],[112.398035,34.75812],[112.400842,34.757971],[112.406473,34.754673],[112.421225,34.751063],[112.43282,34.746362],[112.445042,34.740021],[112.44964,34.739856],[112.462305,34.741901],[112.469488,34.740573],[112.477205,34.737737],[112.485791,34.731932],[112.487858,34.731141],[112.489871,34.731589],[112.494911,34.740379],[112.499878,34.741677],[112.522089,34.73817],[112.532115,34.735171],[112.534441,34.732425],[112.536084,34.724141],[112.538023,34.723201],[112.539204,34.723126],[112.545426,34.725649],[112.565459,34.744661],[112.567988,34.744318],[112.572697,34.741767],[112.573343,34.738454],[112.570352,34.735797],[112.569927,34.734007],[112.571681,34.733141],[112.577035,34.73332],[112.583737,34.732604],[112.60497,34.734096],[112.607629,34.733827],[112.612725,34.730082],[112.617267,34.721843],[112.633994,34.726231],[112.637299,34.727888],[112.642893,34.73229],[112.64402,34.733902],[112.642284,34.737155],[112.642487,34.739662],[112.64762,34.746721],[112.651719,34.747676],[112.664181,34.747765],[112.668077,34.755837],[112.66924,34.759731],[112.669296,34.764759],[112.668576,34.767906],[112.665843,34.772367],[112.662944,34.778288],[112.661929,34.784403],[112.656667,34.789564],[112.655282,34.791771],[112.655134,34.794291],[112.656261,34.796722],[112.659307,34.800182],[112.665677,34.802403],[112.677032,34.801971],[112.683383,34.803939],[112.691267,34.803537],[112.695015,34.802836],[112.700055,34.800778],[112.718851,34.798526],[112.732606,34.797602],[112.735634,34.796483],[112.742373,34.792576],[112.745493,34.787923],[112.745493,34.786044],[112.742927,34.783419],[112.745364,34.779989],[112.748502,34.780063],[112.754743,34.781346],[112.759156,34.77714],[112.768258,34.772426],[112.770658,34.769159],[112.779797,34.767757],[112.783453,34.768771],[112.791171,34.776334],[112.792666,34.779407],[112.793719,34.783688],[112.79551,34.786521],[112.80151,34.792263],[112.806883,34.796811],[112.810132,34.798467],[112.811665,34.80804],[112.814102,34.811484],[112.816945,34.813407],[112.827303,34.819192],[112.822373,34.825707],[112.813382,34.832892],[112.799848,34.836245],[112.787829,34.837602],[112.780924,34.837482],[112.773298,34.835873],[112.762959,34.831252],[112.753284,34.828584],[112.745271,34.828479],[112.736889,34.829657],[112.722137,34.828822],[112.711299,34.835053],[112.696732,34.840612],[112.693482,34.843653],[112.67609,34.853176],[112.656648,34.859628],[112.642764,34.856588],[112.638185,34.854189],[112.636801,34.86088],[112.635674,34.873023],[112.63584,34.880398],[112.636357,34.882662],[112.640825,34.885865],[112.642339,34.889857],[112.642136,34.89571],[112.638185,34.896977],[112.638167,34.906776],[112.638628,34.914133],[112.638444,34.919359],[112.637281,34.920268],[112.623507,34.919896],[112.618208,34.920312],[112.604398,34.92271],[112.592009,34.925509],[112.585381,34.926521],[112.580691,34.93005],[112.579325,34.9334],[112.578162,34.944103],[112.577035,34.946142],[112.572087,34.948241],[112.571496,34.949983],[112.571386,34.956949],[112.569225,34.958615],[112.563853,34.949685],[112.560566,34.947333],[112.557335,34.946202],[112.555193,34.94129],[112.553883,34.939771],[112.549747,34.938342],[112.543839,34.938298],[112.538484,34.935395],[112.532816,34.931613],[112.527887,34.93203],[112.525671,34.933802],[112.519412,34.940352],[112.517067,34.941111],[112.512636,34.93864],[112.5097,34.939191],[112.506635,34.942272],[112.505177,34.942466],[112.50154,34.935335],[112.499435,34.925822],[112.497681,34.925032],[112.496942,34.921712],[112.501632,34.922278],[112.50898,34.920089],[112.511473,34.920819],[112.515996,34.929231],[112.519947,34.930541],[112.525708,34.930452],[112.527406,34.929142],[112.532059,34.920804],[112.536232,34.918526],[112.537284,34.916024],[112.534478,34.912822],[112.534533,34.910559],[112.536121,34.908861],[112.535733,34.906523],[112.528625,34.911542],[112.526908,34.911884],[112.524526,34.910484],[112.526576,34.908117],[112.531154,34.904885],[112.534681,34.903098],[112.533278,34.896753],[112.536343,34.895502],[112.534201,34.893759],[112.523769,34.893491],[112.521092,34.892776],[112.518341,34.893655],[112.515424,34.896023],[112.508076,34.8986],[112.505638,34.898808],[112.499878,34.896366],[112.496555,34.895696],[112.493785,34.896723],[112.489594,34.90286],[112.479384,34.908325],[112.462509,34.915682],[112.453277,34.918392],[112.445116,34.919613],[112.433226,34.920982],[112.422407,34.921087],[112.411218,34.918853],[112.403316,34.91857],[112.390982,34.918555],[112.388748,34.919598],[112.384982,34.924556],[112.37732,34.92734],[112.369214,34.929841],[112.364359,34.930243],[112.36026,34.931434],[112.353798,34.934903],[112.345877,34.938312],[112.340597,34.940054],[112.334522,34.941453],[112.321192,34.941379],[112.309874,34.942868],[112.301104,34.945458],[112.293312,34.950489],[112.281884,34.960223],[112.276825,34.95997],[112.270178,34.955698],[112.265415,34.946366],[112.267999,34.943612],[112.268775,34.94001],[112.267501,34.938521],[112.262442,34.935469],[112.258325,34.93136],[112.248355,34.925434],[112.244773,34.924467],[112.244256,34.921712],[112.24577,34.919568],[112.251789,34.913716],[112.251032,34.910678],[112.248613,34.909889],[112.240877,34.910276],[112.228304,34.905242],[112.226624,34.903604],[112.224796,34.899002],[112.222543,34.895845],[112.215047,34.890065],[112.214087,34.885165],[112.216358,34.883496],[112.223245,34.880993],[112.23063,34.876882],[112.236778,34.871459],[112.239197,34.870133],[112.250256,34.868658],[112.261408,34.86386],[112.270234,34.860343],[112.274314,34.858093],[112.279428,34.853012],[112.294863,34.845367],[112.303652,34.838481],[112.306329,34.834725],[112.303356,34.828077],[112.301972,34.821532],[112.299424,34.817358],[112.299073,34.813452],[112.302433,34.810053],[112.307584,34.806101],[112.315265,34.798765],[112.32145,34.795067],[112.322835,34.79198],[112.322946,34.788982],[112.321598,34.785433],[112.312699,34.781107],[112.308711,34.776454],[112.306532,34.769607],[112.303947,34.769264],[112.299054,34.773262],[112.295491,34.778363],[112.293719,34.779869],[112.289749,34.78069],[112.286186,34.780183],[112.284579,34.778989],[112.278819,34.786849],[112.273612,34.78591],[112.270861,34.780212],[112.274092,34.773634],[112.278579,34.770069],[112.281293,34.767011],[112.284819,34.75988],[112.285946,34.759164],[112.293146,34.758985],[112.297282,34.758209],[112.302987,34.755986],[112.306255,34.750391],[112.305849,34.747362],[112.303596,34.741513],[112.303707,34.734051],[112.307677,34.734171],[112.311591,34.732708],[112.315745,34.728932],[112.320029,34.723843],[112.324146,34.721231],[112.328799,34.719962],[112.337975,34.720171],[112.343384,34.7225],[112.347317,34.720813],[112.349939,34.721156],[112.357638,34.726768],[112.362383,34.728037],[112.360721,34.731544],[112.372021,34.731843],[112.375086,34.733529],[112.376895,34.732828],[112.377227,34.725738],[112.379443,34.720828],[112.383302,34.719037],[112.387382,34.719111],[112.392773,34.720783]]]]}},{"type":"Feature","properties":{"adcode":410311,"name":"洛龙区","center":[112.456634,34.618557],"centroid":[112.543998,34.601485],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":5,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.498973,34.672005],[112.497404,34.670975],[112.49661,34.667644],[112.491754,34.668107],[112.488265,34.666852],[112.478645,34.66739],[112.472719,34.666673],[112.469174,34.666882],[112.465795,34.664851],[112.455253,34.659056],[112.450009,34.654634],[112.44567,34.652468],[112.426598,34.640472],[112.423311,34.636826],[112.414615,34.625933],[112.413544,34.623751],[112.416074,34.620344],[112.413027,34.616429],[112.407359,34.614307],[112.401617,34.612872],[112.399475,34.610899],[112.395783,34.61069],[112.393641,34.609374],[112.387991,34.603456],[112.384908,34.602544],[112.377707,34.597656],[112.362771,34.589075],[112.351822,34.580867],[112.349717,34.58003],[112.347779,34.575634],[112.338178,34.56895],[112.333451,34.566453],[112.329814,34.566782],[112.331753,34.560725],[112.330719,34.55763],[112.331919,34.55576],[112.336202,34.556403],[112.336313,34.549822],[112.343255,34.5506],[112.344345,34.54182],[112.350068,34.542269],[112.350419,34.538395],[112.352598,34.534221],[112.352745,34.531453],[112.354352,34.529583],[112.354573,34.523943],[112.359374,34.523075],[112.371153,34.516103],[112.375473,34.515953],[112.378077,34.513948],[112.380883,34.514606],[112.381474,34.516582],[112.380625,34.5214],[112.386902,34.518811],[112.397204,34.520053],[112.4023,34.523749],[112.40291,34.532351],[112.409039,34.53814],[112.417089,34.542045],[112.423016,34.543765],[112.427484,34.543346],[112.435774,34.5436],[112.441516,34.545829],[112.445375,34.539442],[112.453572,34.534849],[112.462804,34.531812],[112.462287,34.530361],[112.467531,34.529239],[112.468564,34.531513],[112.476928,34.528581],[112.474214,34.524871],[112.477131,34.519724],[112.478553,34.52137],[112.484074,34.521594],[112.484849,34.523674],[112.488855,34.523195],[112.490443,34.520771],[112.492456,34.520951],[112.492511,34.523868],[112.496259,34.523599],[112.496795,34.525679],[112.502887,34.52309],[112.506155,34.523449],[112.507134,34.522297],[112.515996,34.527983],[112.516476,34.525888],[112.51908,34.52116],[112.522883,34.51905],[112.544319,34.516671],[112.550227,34.514636],[112.556781,34.516641],[112.567361,34.516417],[112.58202,34.519739],[112.585898,34.519933],[112.589018,34.517001],[112.592969,34.514562],[112.599837,34.511629],[112.605062,34.510536],[112.614109,34.510477],[112.62227,34.508441],[112.62696,34.510836],[112.641158,34.501034],[112.649245,34.494419],[112.661227,34.488507],[112.671216,34.490617],[112.677604,34.493161],[112.688165,34.494808],[112.69832,34.492293],[112.700886,34.497636],[112.699963,34.501707],[112.697637,34.505329],[112.699557,34.506915],[112.695753,34.511853],[112.693833,34.516821],[112.69435,34.519948],[112.692873,34.52496],[112.686356,34.530301],[112.685488,34.533593],[112.686485,34.539412],[112.679709,34.541356],[112.67825,34.54378],[112.675592,34.543854],[112.674262,34.546008],[112.670514,34.544857],[112.669591,34.551901],[112.67081,34.562819],[112.668502,34.570715],[112.669942,34.578968],[112.672231,34.58296],[112.674761,34.590316],[112.683217,34.590226],[112.678786,34.598343],[112.674502,34.598657],[112.669609,34.600376],[112.665012,34.600332],[112.666637,34.604816],[112.678306,34.611751],[112.682054,34.613216],[112.686522,34.613305],[112.68798,34.614904],[112.685894,34.618581],[112.682681,34.62142],[112.682478,34.623303],[112.686909,34.627442],[112.691433,34.628698],[112.703674,34.633449],[112.703674,34.635182],[112.699224,34.640606],[112.695587,34.643639],[112.690473,34.646761],[112.689864,34.65087],[112.683974,34.653036],[112.680041,34.65562],[112.678878,34.657487],[112.673764,34.658548],[112.665751,34.662297],[112.660876,34.662148],[112.659381,34.660549],[112.654673,34.660086],[112.6517,34.663447],[112.647288,34.665912],[112.645607,34.665852],[112.642469,34.663522],[112.640401,34.663477],[112.640345,34.667286],[112.641195,34.672274],[112.642598,34.672782],[112.642579,34.677994],[112.643817,34.677456],[112.644887,34.679622],[112.648414,34.679801],[112.648469,34.682504],[112.650352,34.681757],[112.652051,34.684445],[112.654599,34.685864],[112.656999,34.685729],[112.65855,34.688223],[112.657295,34.688536],[112.657165,34.694584],[112.660212,34.695599],[112.659362,34.697167],[112.659787,34.705184],[112.639293,34.703452],[112.62912,34.706483],[112.625095,34.706841],[112.622288,34.705527],[112.618024,34.706318],[112.618134,34.711708],[112.617267,34.721843],[112.612725,34.730082],[112.607629,34.733827],[112.60497,34.734096],[112.583737,34.732604],[112.577035,34.73332],[112.571681,34.733141],[112.569927,34.734007],[112.570352,34.735797],[112.573343,34.738454],[112.572697,34.741767],[112.567988,34.744318],[112.565459,34.744661],[112.545426,34.725649],[112.539204,34.723126],[112.538023,34.723201],[112.533462,34.720246],[112.526686,34.714215],[112.524028,34.705871],[112.52881,34.706602],[112.530065,34.705139],[112.537967,34.706139],[112.53769,34.704184],[112.539167,34.702795],[112.540441,34.696226],[112.541328,34.688477],[112.537654,34.688955],[112.528514,34.685893],[112.525745,34.684266],[112.517399,34.675037],[112.512765,34.670736],[112.508593,34.670332],[112.505269,34.670766],[112.501392,34.672408],[112.498973,34.672005]]]]}},{"type":"Feature","properties":{"adcode":410323,"name":"新安县","center":[112.141403,34.728679],"centroid":[112.121678,34.831563],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":6,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.270178,34.955698],[112.267298,34.953525],[112.262054,34.947795],[112.258103,34.942228],[112.253303,34.940114],[112.247819,34.940754],[112.242723,34.943939],[112.226864,34.956606],[112.212038,34.965015],[112.201625,34.967827],[112.192688,34.969464],[112.187703,34.973006],[112.184768,34.977708],[112.177752,34.991649],[112.169905,35.002419],[112.165104,35.006941],[112.158088,35.012132],[112.151423,35.015404],[112.137964,35.01826],[112.12587,35.021219],[112.113999,35.025785],[112.10822,35.02922],[112.102994,35.029309],[112.100114,35.028298],[112.093504,35.029889],[112.083959,35.030261],[112.079879,35.029012],[112.067305,35.028536],[112.060363,35.027792],[112.057797,35.02803],[112.050319,35.031153],[112.04803,35.030737],[112.044596,35.027882],[112.042417,35.027837],[112.036232,35.030707],[112.035069,35.033844],[112.038226,35.03997],[112.039241,35.046334],[112.037247,35.051418],[112.033905,35.054555],[112.029936,35.055848],[112.025172,35.059252],[112.022108,35.064038],[112.02244,35.066521],[112.021184,35.067977],[112.016679,35.068958],[112.012414,35.06826],[112.008833,35.065525],[112.005989,35.065391],[111.995336,35.068364],[111.990037,35.069315],[111.982818,35.068319],[111.977925,35.06716],[111.973346,35.070236],[111.963746,35.066446],[111.959979,35.06444],[111.958687,35.062909],[111.958207,35.059148],[111.958557,35.048623],[111.955511,35.044847],[111.939485,35.03658],[111.938673,35.034588],[111.940187,35.030588],[111.951726,35.021903],[111.967032,35.01417],[111.982246,35.008161],[111.991902,35.005008],[111.991311,35.002999],[111.97811,34.997168],[111.978885,34.994535],[111.981821,34.991649],[111.981009,34.990072],[111.975987,34.990578],[111.967217,34.989908],[111.960865,34.988019],[111.957616,34.986249],[111.956785,34.981651],[111.961142,34.975699],[111.965444,34.972887],[111.968971,34.97183],[111.978239,34.972158],[111.983243,34.970461],[111.984775,34.966935],[111.984701,34.963824],[111.981895,34.960639],[111.96862,34.953957],[111.95084,34.947765],[111.943953,34.947586],[111.937953,34.948628],[111.934001,34.947676],[111.927133,34.940858],[111.921723,34.934025],[111.918954,34.932432],[111.914837,34.931256],[111.906141,34.929618],[111.897223,34.925732],[111.890059,34.920327],[111.883966,34.911974],[111.883486,34.909516],[111.885,34.904215],[111.883597,34.898451],[111.883246,34.894221],[111.885831,34.891272],[111.890816,34.89154],[111.894527,34.890602],[111.898737,34.885894],[111.901377,34.885477],[111.907082,34.88588],[111.919896,34.884718],[111.92237,34.883928],[111.931878,34.875809],[111.936586,34.87347],[111.941941,34.869775],[111.949824,34.863368],[111.951117,34.859703],[111.948532,34.854338],[111.948938,34.852282],[111.952003,34.851402],[111.957948,34.851179],[111.965961,34.85249],[111.981396,34.857617],[111.988006,34.857527],[111.99024,34.856126],[111.99072,34.853772],[111.985237,34.849525],[111.982873,34.846157],[111.982763,34.843698],[111.984055,34.839927],[111.985994,34.837885],[111.99384,34.834695],[111.996555,34.82912],[112.001318,34.825483],[112.014464,34.817969],[112.019006,34.813989],[112.020704,34.811335],[112.020243,34.808457],[112.014168,34.806847],[112.012821,34.80379],[112.013928,34.800674],[112.016347,34.797095],[112.023381,34.794276],[112.025394,34.793918],[112.028163,34.791681],[112.030397,34.792159],[112.030545,34.789474],[112.031967,34.787103],[112.032225,34.781704],[112.030951,34.78069],[112.031154,34.777513],[112.032355,34.774962],[112.029271,34.775663],[112.026003,34.774485],[112.023529,34.770591],[112.017455,34.76992],[112.01919,34.766847],[112.019357,34.762581],[112.014981,34.753166],[112.013098,34.751137],[112.011067,34.750645],[112.003164,34.751645],[111.99781,34.75069],[111.997533,34.74769],[112.000506,34.745005],[111.997718,34.742065],[111.999656,34.73908],[111.99541,34.740304],[111.994727,34.737499],[112.004678,34.733753],[112.012322,34.731977],[112.012913,34.729559],[112.014999,34.7285],[112.01487,34.724261],[112.011934,34.723141],[112.010734,34.720723],[112.002149,34.718171],[112.001817,34.717007],[111.997607,34.717141],[112.000616,34.71541],[111.999712,34.714365],[111.996591,34.714454],[111.998585,34.712932],[111.996555,34.711543],[111.994284,34.705796],[111.996481,34.699809],[111.995945,34.696689],[112.00154,34.692762],[112.015572,34.687521],[112.021757,34.684475],[112.029308,34.678621],[112.032373,34.676695],[112.03625,34.676784],[112.043562,34.68004],[112.047457,34.680458],[112.057003,34.677979],[112.062043,34.674425],[112.065034,34.673424],[112.070001,34.674932],[112.072807,34.67441],[112.073675,34.667883],[112.075355,34.662222],[112.078494,34.656979],[112.079103,34.65435],[112.077109,34.651049],[112.073435,34.647598],[112.072272,34.642533],[112.073066,34.64092],[112.075835,34.639321],[112.07794,34.634047],[112.079232,34.633434],[112.083774,34.63448],[112.084974,34.636258],[112.087615,34.637543],[112.086525,34.638798],[112.080377,34.639754],[112.078882,34.64092],[112.079491,34.643773],[112.083368,34.644192],[112.083608,34.646687],[112.089886,34.645551],[112.091252,34.644401],[112.091344,34.641727],[112.097086,34.63844],[112.102607,34.639919],[112.109235,34.640576],[112.112448,34.640203],[112.11566,34.637304],[112.120904,34.627413],[112.126,34.619537],[112.128991,34.616234],[112.135268,34.611317],[112.13885,34.607402],[112.141546,34.603052],[112.149355,34.602783],[112.153583,34.603784],[112.157701,34.605623],[112.160803,34.608911],[112.160766,34.618177],[112.161781,34.619522],[112.167597,34.620524],[112.172988,34.622466],[112.178896,34.620195],[112.182737,34.62012],[112.188073,34.622885],[112.194055,34.62287],[112.203545,34.624842],[112.205428,34.625664],[112.206166,34.628055],[112.205336,34.633016],[112.210136,34.632926],[112.224223,34.631821],[112.243757,34.628967],[112.249776,34.628996],[112.267243,34.626635],[112.272708,34.62683],[112.276049,34.627771],[112.284782,34.63209],[112.286758,34.633733],[112.289214,34.637483],[112.29346,34.639889],[112.298556,34.643758],[112.300532,34.64594],[112.301215,34.649122],[112.298593,34.654739],[112.298741,34.656949],[112.302304,34.658906],[112.307418,34.66282],[112.312145,34.667928],[112.315099,34.673215],[112.31593,34.681951],[112.315893,34.685864],[112.313603,34.685819],[112.313566,34.693434],[112.31196,34.696077],[112.311,34.700018],[112.311757,34.704437],[112.310299,34.709274],[112.307935,34.711603],[112.299387,34.71732],[112.296599,34.718141],[112.291281,34.718589],[112.290044,34.722216],[112.290118,34.729082],[112.291466,34.730141],[112.296728,34.729544],[112.299756,34.730589],[112.303707,34.734051],[112.303596,34.741513],[112.305849,34.747362],[112.306255,34.750391],[112.302987,34.755986],[112.297282,34.758209],[112.293146,34.758985],[112.285946,34.759164],[112.284819,34.75988],[112.281293,34.767011],[112.278579,34.770069],[112.274092,34.773634],[112.270861,34.780212],[112.273612,34.78591],[112.278819,34.786849],[112.284579,34.778989],[112.286186,34.780183],[112.289749,34.78069],[112.293719,34.779869],[112.295491,34.778363],[112.299054,34.773262],[112.303947,34.769264],[112.306532,34.769607],[112.308711,34.776454],[112.312699,34.781107],[112.321598,34.785433],[112.322946,34.788982],[112.322835,34.79198],[112.32145,34.795067],[112.315265,34.798765],[112.307584,34.806101],[112.302433,34.810053],[112.299073,34.813452],[112.299424,34.817358],[112.301972,34.821532],[112.303356,34.828077],[112.306329,34.834725],[112.303652,34.838481],[112.294863,34.845367],[112.279428,34.853012],[112.274314,34.858093],[112.270234,34.860343],[112.261408,34.86386],[112.250256,34.868658],[112.239197,34.870133],[112.236778,34.871459],[112.23063,34.876882],[112.223245,34.880993],[112.216358,34.883496],[112.214087,34.885165],[112.215047,34.890065],[112.222543,34.895845],[112.224796,34.899002],[112.226624,34.903604],[112.228304,34.905242],[112.240877,34.910276],[112.248613,34.909889],[112.251032,34.910678],[112.251789,34.913716],[112.24577,34.919568],[112.244256,34.921712],[112.244773,34.924467],[112.248355,34.925434],[112.258325,34.93136],[112.262442,34.935469],[112.267501,34.938521],[112.268775,34.94001],[112.267999,34.943612],[112.265415,34.946366],[112.270178,34.955698]]],[[[112.02881,34.778974],[112.030287,34.782345],[112.026391,34.784329],[112.02268,34.784523],[112.018452,34.785671],[112.018249,34.78236],[112.02015,34.778124],[112.021166,34.777542],[112.025671,34.77893],[112.02881,34.778974]]]]}},{"type":"Feature","properties":{"adcode":410324,"name":"栾川县","center":[111.618386,33.783195],"centroid":[111.610455,33.9081],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":7,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.367165,34.09248],[111.365577,34.091246],[111.359983,34.089006],[111.356862,34.087066],[111.354333,34.084479],[111.351434,34.077801],[111.349902,34.071573],[111.347742,34.067211],[111.344068,34.063029],[111.342904,34.060562],[111.342074,34.056033],[111.342018,34.042792],[111.342314,34.037917],[111.343477,34.034501],[111.349976,34.027789],[111.352727,34.022386],[111.355145,34.015161],[111.355607,34.004443],[111.353613,33.996268],[111.357324,33.989869],[111.357509,33.986767],[111.356032,33.984524],[111.350899,33.980955],[111.344123,33.973365],[111.341298,33.971603],[111.33299,33.968877],[111.328743,33.966633],[111.324792,33.963049],[111.321099,33.957641],[111.317554,33.954162],[111.31196,33.949839],[111.30884,33.946299],[111.305941,33.941357],[111.304649,33.93179],[111.303356,33.928204],[111.299811,33.926788],[111.2901,33.926652],[111.285576,33.927406],[111.283989,33.928521],[111.283748,33.931549],[111.282216,33.934834],[111.276806,33.935542],[111.270104,33.932242],[111.26198,33.929771],[111.259396,33.929831],[111.249629,33.933975],[111.242927,33.934156],[111.239991,33.933161],[111.232181,33.927225],[111.230058,33.924769],[111.227196,33.917656],[111.226624,33.913105],[111.231479,33.907152],[111.234784,33.901741],[111.235781,33.897611],[111.234489,33.894883],[111.227787,33.889954],[111.227196,33.888522],[111.223983,33.889396],[111.218223,33.887647],[111.212795,33.884074],[111.208087,33.885959],[111.209194,33.888265],[111.207994,33.891672],[111.204671,33.890617],[111.203028,33.887783],[111.203692,33.883441],[111.208124,33.878964],[111.216044,33.876536],[111.219441,33.872767],[111.218555,33.868364],[111.216395,33.865152],[111.219515,33.862348],[111.22919,33.858337],[111.23207,33.856798],[111.23436,33.854159],[111.240286,33.842456],[111.246102,33.837026],[111.259931,33.825395],[111.261574,33.822861],[111.261334,33.814834],[111.260633,33.810429],[111.260836,33.796757],[111.267593,33.785484],[111.270824,33.781695],[111.275717,33.779341],[111.283416,33.780412],[111.288549,33.779703],[111.29178,33.777771],[111.295491,33.776548],[111.301565,33.775929],[111.304206,33.774993],[111.307381,33.772005],[111.312329,33.766193],[111.315043,33.764094],[111.318348,33.763098],[111.322466,33.762977],[111.325955,33.763868],[111.332122,33.767234],[111.336221,33.768306],[111.340504,33.767642],[111.346172,33.765121],[111.348369,33.764834],[111.361681,33.766042],[111.379295,33.77042],[111.390041,33.77125],[111.398903,33.76817],[111.411144,33.761437],[111.423385,33.753118],[111.434205,33.747743],[111.446907,33.743983],[111.462324,33.740933],[111.469783,33.738033],[111.475617,33.732823],[111.484517,33.72648],[111.495484,33.725665],[111.507152,33.732189],[111.51607,33.74051],[111.523972,33.742866],[111.531431,33.740178],[111.541401,33.733397],[111.553735,33.734424],[111.567711,33.735013],[111.580137,33.730558],[111.591455,33.727704],[111.605432,33.729909],[111.619464,33.730075],[111.632203,33.726087],[111.645238,33.720514],[111.665178,33.695558],[111.673561,33.686507],[111.684989,33.677471],[111.697581,33.682669],[111.709914,33.686704],[111.71898,33.68888],[111.728618,33.688064],[111.740803,33.681778],[111.767889,33.671048],[111.778099,33.666106],[111.803726,33.657612],[111.809431,33.657158],[111.822743,33.668917],[111.830239,33.675023],[111.839156,33.685223],[111.846172,33.695452],[111.853687,33.704079],[111.857896,33.709759],[111.862106,33.717055],[111.859318,33.730165],[111.855275,33.734802],[111.84933,33.740389],[111.842572,33.746203],[111.842387,33.752635],[111.852136,33.762147],[111.858229,33.766419],[111.866593,33.775492],[111.872685,33.778843],[111.882009,33.778737],[111.89209,33.774707],[111.901913,33.770238],[111.912012,33.766676],[111.919674,33.764985],[111.938506,33.772578],[111.950064,33.773831],[111.958004,33.770993],[111.970762,33.775688],[111.974177,33.781846],[111.978295,33.797633],[111.979882,33.809554],[111.980436,33.826527],[111.987766,33.834024],[111.994671,33.840314],[112.023695,33.849363],[112.035696,33.857085],[112.037192,33.868425],[112.029973,33.880426],[112.025892,33.885054],[112.015996,33.891054],[112.006045,33.894355],[112.000875,33.897264],[111.991403,33.904168],[111.984129,33.911146],[111.97342,33.924467],[111.967752,33.926652],[111.958742,33.923865],[111.952889,33.924663],[111.94807,33.92837],[111.943251,33.928716],[111.937528,33.927375],[111.933688,33.927888],[111.931952,33.929033],[111.925287,33.936521],[111.919988,33.940242],[111.912695,33.942126],[111.906288,33.944641],[111.898054,33.946751],[111.894269,33.947142],[111.886108,33.946299],[111.875824,33.942457],[111.873812,33.939037],[111.868993,33.935843],[111.859115,33.932152],[111.85677,33.928551],[111.853133,33.927933],[111.852099,33.929078],[111.851194,33.935602],[111.848259,33.935436],[111.842849,33.933884],[111.841815,33.93292],[111.842572,33.928732],[111.842314,33.925688],[111.839636,33.924678],[111.836479,33.925417],[111.835039,33.927481],[111.834744,33.933041],[111.836184,33.93738],[111.834744,33.939911],[111.830885,33.940935],[111.824515,33.940137],[111.818348,33.939911],[111.815265,33.937109],[111.813363,33.933101],[111.810003,33.930299],[111.806034,33.930871],[111.800458,33.934939],[111.795233,33.940257],[111.794679,33.941809],[111.79599,33.944039],[111.800716,33.944777],[111.802285,33.948227],[111.803172,33.952746],[111.809191,33.956813],[111.812883,33.960985],[111.814102,33.9646],[111.813345,33.969977],[111.815727,33.975187],[111.816465,33.978184],[111.8098,33.988409],[111.796008,34.002576],[111.791965,34.008824],[111.78746,34.019887],[111.785909,34.04514],[111.782235,34.05665],[111.775311,34.072566],[111.771526,34.077876],[111.768553,34.081125],[111.760651,34.086945],[111.753303,34.093668],[111.748225,34.104284],[111.745234,34.10866],[111.744496,34.11532],[111.744607,34.121289],[111.743314,34.127723],[111.739308,34.137629],[111.732569,34.147789],[111.729375,34.158143],[111.72378,34.171726],[111.717244,34.178201],[111.708973,34.179659],[111.702695,34.185983],[111.698006,34.184331],[111.693058,34.181747],[111.682681,34.17132],[111.666231,34.160803],[111.655781,34.155182],[111.648617,34.151666],[111.638961,34.149938],[111.633957,34.152177],[111.623138,34.154115],[111.612374,34.152147],[111.601554,34.155243],[111.590126,34.161539],[111.584568,34.162621],[111.579343,34.161659],[111.569724,34.158819],[111.560178,34.152297],[111.547937,34.143024],[111.543562,34.140469],[111.533185,34.135795],[111.524655,34.134352],[111.511436,34.134697],[111.502333,34.135765],[111.494856,34.138215],[111.486566,34.139748],[111.460718,34.136291],[111.450563,34.133675],[111.446759,34.13112],[111.442181,34.12419],[111.437639,34.11544],[111.427576,34.107998],[111.418234,34.104901],[111.404479,34.101758],[111.39017,34.098134],[111.377726,34.097502],[111.367165,34.09248]]]]}},{"type":"Feature","properties":{"adcode":410325,"name":"嵩县","center":[112.087765,34.131563],"centroid":[112.042694,34.006312],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":8,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.822429,34.27125],[111.820896,34.269434],[111.816816,34.257292],[111.811923,34.251409],[111.80559,34.249652],[111.800421,34.245554],[111.797947,34.245104],[111.78818,34.246545],[111.779077,34.24635],[111.771858,34.247971],[111.767796,34.249517],[111.765858,34.248767],[111.763162,34.244203],[111.75971,34.23377],[111.755075,34.229821],[111.746379,34.22835],[111.743905,34.226968],[111.741413,34.22404],[111.739548,34.218214],[111.737332,34.215406],[111.731812,34.213454],[111.72498,34.212598],[111.723263,34.211877],[111.719811,34.207717],[111.714678,34.199412],[111.702695,34.185983],[111.708973,34.179659],[111.717244,34.178201],[111.72378,34.171726],[111.729375,34.158143],[111.732569,34.147789],[111.739308,34.137629],[111.743314,34.127723],[111.744607,34.121289],[111.744496,34.11532],[111.745234,34.10866],[111.748225,34.104284],[111.753303,34.093668],[111.760651,34.086945],[111.768553,34.081125],[111.771526,34.077876],[111.775311,34.072566],[111.782235,34.05665],[111.785909,34.04514],[111.78746,34.019887],[111.791965,34.008824],[111.796008,34.002576],[111.8098,33.988409],[111.816465,33.978184],[111.815727,33.975187],[111.813345,33.969977],[111.814102,33.9646],[111.812883,33.960985],[111.809191,33.956813],[111.803172,33.952746],[111.802285,33.948227],[111.800716,33.944777],[111.79599,33.944039],[111.794679,33.941809],[111.795233,33.940257],[111.800458,33.934939],[111.806034,33.930871],[111.810003,33.930299],[111.813363,33.933101],[111.815265,33.937109],[111.818348,33.939911],[111.824515,33.940137],[111.830885,33.940935],[111.834744,33.939911],[111.836184,33.93738],[111.834744,33.933041],[111.835039,33.927481],[111.836479,33.925417],[111.839636,33.924678],[111.842314,33.925688],[111.842572,33.928732],[111.841815,33.93292],[111.842849,33.933884],[111.848259,33.935436],[111.851194,33.935602],[111.852099,33.929078],[111.853133,33.927933],[111.85677,33.928551],[111.859115,33.932152],[111.868993,33.935843],[111.873812,33.939037],[111.875824,33.942457],[111.886108,33.946299],[111.894269,33.947142],[111.898054,33.946751],[111.906288,33.944641],[111.912695,33.942126],[111.919988,33.940242],[111.925287,33.936521],[111.931952,33.929033],[111.933688,33.927888],[111.937528,33.927375],[111.943251,33.928716],[111.94807,33.92837],[111.952889,33.924663],[111.958742,33.923865],[111.967752,33.926652],[111.97342,33.924467],[111.984129,33.911146],[111.991403,33.904168],[112.000875,33.897264],[112.006045,33.894355],[112.015996,33.891054],[112.025892,33.885054],[112.029973,33.880426],[112.037192,33.868425],[112.035696,33.857085],[112.023695,33.849363],[111.994671,33.840314],[111.987766,33.834024],[111.980436,33.826527],[111.979882,33.809554],[111.978295,33.797633],[111.974177,33.781846],[111.970762,33.775688],[111.958004,33.770993],[111.950064,33.773831],[111.938506,33.772578],[111.919674,33.764985],[111.912012,33.766676],[111.901913,33.770238],[111.89209,33.774707],[111.882009,33.778737],[111.872685,33.778843],[111.866593,33.775492],[111.858229,33.766419],[111.852136,33.762147],[111.842387,33.752635],[111.842572,33.746203],[111.84933,33.740389],[111.855275,33.734802],[111.859318,33.730165],[111.862106,33.717055],[111.857896,33.709759],[111.853687,33.704079],[111.846172,33.695452],[111.839156,33.685223],[111.830239,33.675023],[111.822743,33.668917],[111.809431,33.657158],[111.819419,33.652911],[111.82361,33.646531],[111.827598,33.634195],[111.828595,33.62045],[111.82734,33.613342],[111.827709,33.606234],[111.829685,33.600759],[111.832713,33.598717],[111.843421,33.595813],[111.857379,33.597522],[111.863934,33.599171],[111.872427,33.599231],[111.884539,33.596115],[111.896687,33.590261],[111.899162,33.588673],[111.909427,33.578915],[111.912492,33.575042],[111.916369,33.572091],[111.921059,33.570533],[111.930124,33.571078],[111.946852,33.573983],[111.957542,33.576388],[111.965223,33.578748],[111.977298,33.581623],[111.99421,33.584921],[112.005398,33.586328],[112.012544,33.586404],[112.020372,33.587735],[112.023603,33.591804],[112.028348,33.593029],[112.026557,33.598036],[112.024212,33.600018],[112.022772,33.599337],[112.018673,33.59436],[112.017399,33.594633],[112.015849,33.597809],[112.013282,33.598596],[112.012322,33.602619],[112.014962,33.613645],[112.024785,33.622446],[112.032521,33.623066],[112.038558,33.622355],[112.050965,33.610529],[112.054584,33.607746],[112.059052,33.605251],[112.065736,33.607489],[112.073287,33.606673],[112.083036,33.603058],[112.087504,33.603058],[112.09223,33.607247],[112.091954,33.6131],[112.087504,33.618938],[112.084162,33.628963],[112.076334,33.633696],[112.072992,33.640091],[112.07133,33.648179],[112.074007,33.653152],[112.084421,33.656674],[112.091861,33.65743],[112.104712,33.661405],[112.120571,33.668842],[112.130929,33.676927],[112.141749,33.691645],[112.14522,33.702644],[112.150334,33.713672],[112.158495,33.720121],[112.168631,33.721768],[112.177733,33.715635],[112.17921,33.703263],[112.185026,33.698716],[112.197581,33.70358],[112.20168,33.70565],[112.206868,33.709351],[112.21477,33.713959],[112.223245,33.716285],[112.230113,33.71701],[112.235689,33.715152],[112.240914,33.715454],[112.246988,33.717131],[112.249333,33.719004],[112.248576,33.720967],[112.247967,33.728731],[112.250921,33.731389],[112.260596,33.737867],[112.262756,33.740842],[112.263458,33.743575],[112.266282,33.763536],[112.266929,33.769771],[112.262054,33.773031],[112.259174,33.776005],[112.258897,33.778027],[112.260042,33.781846],[112.264602,33.78482],[112.274,33.787974],[112.276548,33.790132],[112.277009,33.793528],[112.273243,33.798508],[112.273926,33.801647],[112.276216,33.803292],[112.27989,33.804499],[112.285909,33.808769],[112.279262,33.812043],[112.278487,33.813854],[112.280074,33.819014],[112.280573,33.82357],[112.279336,33.824897],[112.274849,33.82541],[112.236945,33.822876],[112.224297,33.8228],[112.21874,33.828503],[112.216524,33.832169],[112.212573,33.842908],[112.213312,33.852757],[112.21213,33.86375],[112.207662,33.873355],[112.207828,33.883667],[112.212167,33.892381],[112.215657,33.900641],[112.220531,33.910739],[112.221269,33.921514],[112.220402,33.926095],[112.212536,33.946434],[112.210247,33.955367],[112.214069,33.959735],[112.221195,33.962747],[112.230224,33.968049],[112.238662,33.980925],[112.246047,33.988288],[112.26006,33.993182],[112.268313,33.997578],[112.274037,34.005632],[112.275606,34.01641],[112.277766,34.022596],[112.28325,34.028586],[112.289029,34.031837],[112.298962,34.033041],[112.307271,34.031265],[112.322244,34.022897],[112.33083,34.021347],[112.342683,34.027382],[112.347889,34.033839],[112.346745,34.039091],[112.340633,34.042943],[112.335944,34.042236],[112.330128,34.043108],[112.3295,34.051805],[112.333617,34.058485],[112.335501,34.065812],[112.313936,34.10048],[112.309745,34.108479],[112.309948,34.117635],[112.315191,34.120657],[112.319327,34.12183],[112.327322,34.125543],[112.332805,34.134517],[112.336885,34.142333],[112.340486,34.142123],[112.350714,34.145174],[112.356493,34.15093],[112.356456,34.155753],[112.349736,34.166933],[112.345766,34.178577],[112.350419,34.187545],[112.360721,34.192472],[112.367017,34.194155],[112.374569,34.19812],[112.376729,34.200929],[112.377098,34.204233],[112.376304,34.206591],[112.370359,34.213319],[112.368217,34.213799],[112.366722,34.216667],[112.364377,34.218454],[112.356604,34.220271],[112.350917,34.226368],[112.347889,34.227704],[112.337125,34.228304],[112.33203,34.230391],[112.322078,34.230256],[112.311166,34.231217],[112.294143,34.233409],[112.283859,34.23386],[112.277877,34.235781],[112.274591,34.238949],[112.25923,34.237117],[112.25009,34.238664],[112.241209,34.242747],[112.238126,34.247761],[112.239714,34.256707],[112.246545,34.265682],[112.254521,34.272135],[112.272154,34.283239],[112.279004,34.291071],[112.276437,34.301828],[112.268332,34.310708],[112.257808,34.309493],[112.244588,34.303703],[112.234637,34.303643],[112.219977,34.304948],[112.212222,34.306298],[112.20613,34.307873],[112.195624,34.310348],[112.189199,34.313243],[112.183161,34.315403],[112.180669,34.314953],[112.174318,34.311233],[112.171567,34.311008],[112.165529,34.313228],[112.162224,34.315148],[112.156759,34.319588],[112.154691,34.320398],[112.147048,34.321598],[112.143263,34.320413],[112.139662,34.317848],[112.13632,34.312148],[112.133551,34.310558],[112.129212,34.310123],[112.12744,34.311113],[112.125464,34.315073],[112.124042,34.322527],[112.117525,34.320518],[112.1171,34.318823],[112.113186,34.318328],[112.110527,34.315583],[112.10449,34.313873],[112.103659,34.312568],[112.098656,34.312403],[112.096939,34.311128],[112.097825,34.309463],[112.096662,34.306403],[112.094077,34.304453],[112.091566,34.299758],[112.090347,34.299593],[112.088206,34.302293],[112.083036,34.305818],[112.08274,34.309118],[112.075872,34.309658],[112.074617,34.311083],[112.071478,34.311278],[112.070629,34.312703],[112.065034,34.315298],[112.063428,34.317908],[112.059403,34.321043],[112.057427,34.327431],[112.055914,34.328451],[112.050928,34.327986],[112.044226,34.3343],[112.04166,34.33424],[112.04094,34.336279],[112.03758,34.338498],[112.037247,34.343222],[112.028071,34.3461],[112.021978,34.344886],[112.017012,34.341857],[112.012064,34.337224],[112.00045,34.3316],[111.987434,34.328256],[111.974713,34.323322],[111.95228,34.318733],[111.941479,34.317248],[111.933208,34.314203],[111.923884,34.307003],[111.917846,34.300763],[111.907747,34.289226],[111.898977,34.283434],[111.89209,34.280403],[111.883542,34.278273],[111.875529,34.279128],[111.867479,34.281589],[111.863029,34.28408],[111.849145,34.289931],[111.846062,34.290216],[111.839378,34.284035],[111.832417,34.278378],[111.826417,34.274566],[111.822429,34.27125]]]]}},{"type":"Feature","properties":{"adcode":410326,"name":"汝阳县","center":[112.473789,34.15323],"centroid":[112.428554,34.056696],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":9,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.285909,33.808769],[112.293276,33.809237],[112.301381,33.811017],[112.309671,33.816434],[112.315985,33.823585],[112.323389,33.828443],[112.330811,33.830554],[112.340467,33.831988],[112.351471,33.834582],[112.36386,33.840163],[112.369104,33.839907],[112.372224,33.838308],[112.383597,33.828307],[112.393438,33.818833],[112.402688,33.811968],[112.409759,33.805902],[112.42381,33.806566],[112.433688,33.810957],[112.446538,33.824731],[112.456637,33.836437],[112.462342,33.845834],[112.474639,33.855471],[112.485587,33.859845],[112.499601,33.858472],[112.512765,33.85894],[112.520409,33.866736],[112.526686,33.872692],[112.534072,33.880245],[112.54142,33.89217],[112.541383,33.898576],[112.536435,33.902238],[112.528182,33.904303],[112.514999,33.906353],[112.50261,33.912984],[112.496795,33.921454],[112.497865,33.926034],[112.5061,33.929711],[112.52063,33.933839],[112.530767,33.937967],[112.538152,33.947368],[112.537838,33.952641],[112.539057,33.968049],[112.540626,33.971106],[112.546774,33.97978],[112.548934,33.985051],[112.549101,33.989914],[112.546756,33.990396],[112.544799,33.993212],[112.54502,33.995636],[112.547144,33.998331],[112.553421,34.000619],[112.557409,34.001342],[112.564351,34.000589],[112.568192,34.001733],[112.569632,34.003043],[112.564628,34.005572],[112.560215,34.009922],[112.556154,34.011894],[112.554603,34.014258],[112.549378,34.016546],[112.53974,34.016531],[112.533684,34.018141],[112.532576,34.022024],[112.538595,34.027066],[112.549304,34.032349],[112.56304,34.038549],[112.572364,34.043139],[112.575374,34.048194],[112.575909,34.057116],[112.577257,34.062397],[112.585787,34.066308],[112.594335,34.068159],[112.601222,34.071829],[112.603124,34.078252],[112.602514,34.088795],[112.60822,34.114238],[112.616196,34.12891],[112.620294,34.14313],[112.617783,34.149081],[112.611691,34.158143],[112.606336,34.161614],[112.595609,34.163552],[112.594243,34.16492],[112.593228,34.172507],[112.589387,34.186133],[112.585399,34.189994],[112.582593,34.191917],[112.581467,34.195341],[112.571109,34.209204],[112.563908,34.215376],[112.559735,34.225001],[112.565496,34.232328],[112.574026,34.240585],[112.577848,34.24701],[112.575614,34.254335],[112.566198,34.259814],[112.557889,34.263701],[112.55427,34.2708],[112.553698,34.276067],[112.561139,34.280659],[112.569669,34.2848],[112.572124,34.292137],[112.573213,34.298318],[112.582851,34.307273],[112.593338,34.313933],[112.592637,34.314668],[112.59692,34.318133],[112.602053,34.316723],[112.607795,34.319933],[112.613962,34.322317],[112.609567,34.325497],[112.60726,34.327926],[112.602662,34.325527],[112.597419,34.329756],[112.591326,34.329966],[112.588427,34.330956],[112.57746,34.337959],[112.569429,34.344811],[112.563594,34.351453],[112.559698,34.354886],[112.550559,34.358304],[112.542011,34.355786],[112.531007,34.349129],[112.520797,34.349129],[112.511417,34.350029],[112.503977,34.345905],[112.500487,34.343416],[112.500561,34.341917],[112.5061,34.335994],[112.506358,34.332005],[112.504383,34.330686],[112.499195,34.33421],[112.488892,34.334435],[112.48483,34.335649],[112.47811,34.333745],[112.464872,34.331436],[112.454643,34.331885],[112.44772,34.334615],[112.439965,34.338258],[112.437122,34.342517],[112.433946,34.342172],[112.424585,34.338648],[112.42261,34.338798],[112.42128,34.342727],[112.420025,34.343776],[112.413766,34.342862],[112.407747,34.337284],[112.40579,34.334825],[112.400232,34.324027],[112.39798,34.318943],[112.394066,34.313528],[112.393216,34.309748],[112.394287,34.306583],[112.401063,34.299848],[112.410535,34.287771],[112.41059,34.28492],[112.413895,34.282474],[112.416,34.279968],[112.416037,34.277898],[112.414098,34.274326],[112.414726,34.269449],[112.413194,34.266342],[112.415224,34.26196],[112.415723,34.258208],[112.414227,34.25381],[112.408929,34.244233],[112.411661,34.238964],[112.415908,34.237358],[112.419785,34.231262],[112.422628,34.230406],[112.423718,34.226818],[112.421207,34.222253],[112.409058,34.22377],[112.406233,34.22344],[112.398571,34.219776],[112.397112,34.219581],[112.392459,34.221352],[112.389579,34.218965],[112.388527,34.216367],[112.37431,34.220587],[112.372889,34.219746],[112.372464,34.215076],[112.370359,34.213319],[112.376304,34.206591],[112.377098,34.204233],[112.376729,34.200929],[112.374569,34.19812],[112.367017,34.194155],[112.360721,34.192472],[112.350419,34.187545],[112.345766,34.178577],[112.349736,34.166933],[112.356456,34.155753],[112.356493,34.15093],[112.350714,34.145174],[112.340486,34.142123],[112.336885,34.142333],[112.332805,34.134517],[112.327322,34.125543],[112.319327,34.12183],[112.315191,34.120657],[112.309948,34.117635],[112.309745,34.108479],[112.313936,34.10048],[112.335501,34.065812],[112.333617,34.058485],[112.3295,34.051805],[112.330128,34.043108],[112.335944,34.042236],[112.340633,34.042943],[112.346745,34.039091],[112.347889,34.033839],[112.342683,34.027382],[112.33083,34.021347],[112.322244,34.022897],[112.307271,34.031265],[112.298962,34.033041],[112.289029,34.031837],[112.28325,34.028586],[112.277766,34.022596],[112.275606,34.01641],[112.274037,34.005632],[112.268313,33.997578],[112.26006,33.993182],[112.246047,33.988288],[112.238662,33.980925],[112.230224,33.968049],[112.221195,33.962747],[112.214069,33.959735],[112.210247,33.955367],[112.212536,33.946434],[112.220402,33.926095],[112.221269,33.921514],[112.220531,33.910739],[112.215657,33.900641],[112.212167,33.892381],[112.207828,33.883667],[112.207662,33.873355],[112.21213,33.86375],[112.213312,33.852757],[112.212573,33.842908],[112.216524,33.832169],[112.21874,33.828503],[112.224297,33.8228],[112.236945,33.822876],[112.274849,33.82541],[112.279336,33.824897],[112.280573,33.82357],[112.280074,33.819014],[112.278487,33.813854],[112.279262,33.812043],[112.285909,33.808769]]]]}},{"type":"Feature","properties":{"adcode":410327,"name":"宜阳县","center":[112.179989,34.516478],"centroid":[112.023043,34.477987],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":10,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.20613,34.307873],[112.205963,34.326877],[112.209047,34.339953],[112.211078,34.345875],[112.216229,34.356295],[112.216007,34.358769],[112.213533,34.360718],[112.211964,34.36439],[112.213386,34.37166],[112.215121,34.373309],[112.219903,34.373744],[112.22559,34.371196],[112.230076,34.371046],[112.23508,34.375153],[112.236889,34.375677],[112.244071,34.375677],[112.253838,34.387637],[112.254854,34.391039],[112.254484,34.402022],[112.251973,34.409439],[112.249167,34.411281],[112.229707,34.418637],[112.22799,34.420884],[112.228138,34.423131],[112.23388,34.42782],[112.250884,34.438409],[112.265489,34.441644],[112.282438,34.450869],[112.284321,34.452381],[112.28469,34.457622],[112.288807,34.460018],[112.294291,34.461081],[112.298334,34.463941],[112.299461,34.466261],[112.295196,34.482444],[112.294069,34.485513],[112.291595,34.487549],[112.286721,34.489554],[112.285152,34.4915],[112.284099,34.496155],[112.283472,34.503249],[112.284524,34.509908],[112.29058,34.516821],[112.295288,34.520277],[112.309985,34.523584],[112.327211,34.525305],[112.338344,34.525619],[112.345489,34.524212],[112.354573,34.523943],[112.354352,34.529583],[112.352745,34.531453],[112.352598,34.534221],[112.350419,34.538395],[112.350068,34.542269],[112.344345,34.54182],[112.343255,34.5506],[112.336313,34.549822],[112.336202,34.556403],[112.331919,34.55576],[112.330719,34.55763],[112.331753,34.560725],[112.329814,34.566782],[112.327672,34.569339],[112.321413,34.566064],[112.319235,34.562026],[112.315653,34.560247],[112.310409,34.561712],[112.306624,34.560486],[112.304021,34.558153],[112.30463,34.554938],[112.302322,34.552694],[112.298187,34.550421],[112.295916,34.546786],[112.292519,34.545111],[112.289084,34.545395],[112.286167,34.547773],[112.283435,34.547474],[112.282198,34.545679],[112.280591,34.546203],[112.276308,34.55567],[112.274074,34.555566],[112.273631,34.558617],[112.267944,34.564045],[112.26811,34.565571],[112.266301,34.571298],[112.266079,34.575425],[112.266744,34.578639],[112.268996,34.584276],[112.271618,34.588776],[112.272523,34.596191],[112.275514,34.606251],[112.274775,34.610226],[112.271618,34.617116],[112.272375,34.620942],[112.27544,34.624618],[112.276049,34.627771],[112.272708,34.62683],[112.267243,34.626635],[112.249776,34.628996],[112.243757,34.628967],[112.224223,34.631821],[112.210136,34.632926],[112.205336,34.633016],[112.206166,34.628055],[112.205428,34.625664],[112.203545,34.624842],[112.194055,34.62287],[112.188073,34.622885],[112.182737,34.62012],[112.178896,34.620195],[112.172988,34.622466],[112.167597,34.620524],[112.161781,34.619522],[112.160766,34.618177],[112.160803,34.608911],[112.157701,34.605623],[112.153583,34.603784],[112.149355,34.602783],[112.141546,34.603052],[112.13885,34.607402],[112.135268,34.611317],[112.128991,34.616234],[112.126,34.619537],[112.120904,34.627413],[112.11566,34.637304],[112.112448,34.640203],[112.109235,34.640576],[112.102607,34.639919],[112.097086,34.63844],[112.091344,34.641727],[112.091252,34.644401],[112.089886,34.645551],[112.083608,34.646687],[112.083368,34.644192],[112.079491,34.643773],[112.078882,34.64092],[112.080377,34.639754],[112.086525,34.638798],[112.087615,34.637543],[112.084974,34.636258],[112.083774,34.63448],[112.079232,34.633434],[112.07794,34.634047],[112.075835,34.639321],[112.073066,34.64092],[112.072272,34.642533],[112.073435,34.647598],[112.077109,34.651049],[112.079103,34.65435],[112.078494,34.656979],[112.075355,34.662222],[112.073675,34.667883],[112.072807,34.67441],[112.070001,34.674932],[112.065034,34.673424],[112.062043,34.674425],[112.057003,34.677979],[112.047457,34.680458],[112.043562,34.68004],[112.03625,34.676784],[112.032373,34.676695],[112.029308,34.678621],[112.021757,34.684475],[112.015572,34.687521],[112.00154,34.692762],[111.995945,34.696689],[111.993231,34.693882],[111.99157,34.693703],[111.98291,34.695047],[111.981673,34.691269],[111.984498,34.688103],[111.984978,34.686013],[111.9828,34.680428],[111.977371,34.67665],[111.974768,34.673633],[111.973125,34.669989],[111.972829,34.667405],[111.975544,34.661446],[111.980085,34.653992],[111.977076,34.651676],[111.971426,34.650675],[111.970189,34.646224],[111.967475,34.643101],[111.958465,34.641084],[111.953702,34.639545],[111.949215,34.632956],[111.943215,34.629654],[111.942439,34.627995],[111.941682,34.620479],[111.935848,34.613141],[111.93474,34.610495],[111.936549,34.605802],[111.936254,34.603216],[111.93402,34.601213],[111.92885,34.600257],[111.925324,34.601841],[111.919951,34.606101],[111.918345,34.609569],[111.905679,34.619776],[111.898368,34.620269],[111.891906,34.61746],[111.888859,34.618924],[111.874661,34.635138],[111.870267,34.642459],[111.867516,34.645238],[111.863934,34.64706],[111.855552,34.648778],[111.848517,34.648942],[111.838196,34.648196],[111.830756,34.649211],[111.825438,34.648494],[111.823777,34.646253],[111.824829,34.64225],[111.824829,34.637962],[111.821376,34.634435],[111.818496,34.633673],[111.811296,34.633868],[111.807123,34.632403],[111.802138,34.629325],[111.819493,34.609599],[111.825401,34.604621],[111.831974,34.597521],[111.832768,34.595922],[111.831882,34.578266],[111.828319,34.574124],[111.819235,34.570849],[111.815727,34.563956],[111.815542,34.557764],[111.810612,34.552455],[111.804778,34.549987],[111.79911,34.548402],[111.792962,34.546098],[111.785503,34.542224],[111.785152,34.537707],[111.78589,34.532531],[111.784376,34.530077],[111.780222,34.526187],[111.77821,34.52303],[111.779797,34.519993],[111.785447,34.515175],[111.786278,34.513724],[111.783656,34.511105],[111.773982,34.509339],[111.771267,34.506945],[111.771267,34.50482],[111.774646,34.500809],[111.774443,34.4981],[111.772024,34.494224],[111.772357,34.49159],[111.774295,34.489569],[111.780444,34.491096],[111.782105,34.490422],[111.783952,34.487144],[111.782161,34.483642],[111.775791,34.478283],[111.772541,34.476277],[111.769513,34.472968],[111.769864,34.46939],[111.768923,34.464255],[111.769273,34.461051],[111.77088,34.458461],[111.776308,34.455735],[111.775828,34.453564],[111.77304,34.451947],[111.75862,34.449611],[111.756109,34.443381],[111.756478,34.43766],[111.766541,34.4311],[111.776234,34.43074],[111.784007,34.430111],[111.787367,34.428074],[111.78938,34.423056],[111.787792,34.416854],[111.781514,34.409933],[111.774942,34.404374],[111.758232,34.391623],[111.755241,34.386783],[111.754558,34.376696],[111.764787,34.358229],[111.774535,34.352817],[111.789546,34.347915],[111.791411,34.34793],[111.793682,34.345576],[111.797614,34.343671],[111.798094,34.334825],[111.799627,34.332905],[111.799091,34.327491],[111.801658,34.326097],[111.803172,34.327147],[111.809597,34.329216],[111.811572,34.313708],[111.807012,34.302908],[111.797744,34.293907],[111.795676,34.287606],[111.794162,34.285385],[111.795122,34.281319],[111.797042,34.278558],[111.800273,34.275977],[111.802821,34.274926],[111.814582,34.27203],[111.818016,34.272135],[111.822429,34.27125],[111.826417,34.274566],[111.832417,34.278378],[111.839378,34.284035],[111.846062,34.290216],[111.849145,34.289931],[111.863029,34.28408],[111.867479,34.281589],[111.875529,34.279128],[111.883542,34.278273],[111.89209,34.280403],[111.898977,34.283434],[111.907747,34.289226],[111.917846,34.300763],[111.923884,34.307003],[111.933208,34.314203],[111.941479,34.317248],[111.95228,34.318733],[111.974713,34.323322],[111.987434,34.328256],[112.00045,34.3316],[112.012064,34.337224],[112.017012,34.341857],[112.021978,34.344886],[112.028071,34.3461],[112.037247,34.343222],[112.03758,34.338498],[112.04094,34.336279],[112.04166,34.33424],[112.044226,34.3343],[112.050928,34.327986],[112.055914,34.328451],[112.057427,34.327431],[112.059403,34.321043],[112.063428,34.317908],[112.065034,34.315298],[112.070629,34.312703],[112.071478,34.311278],[112.074617,34.311083],[112.075872,34.309658],[112.08274,34.309118],[112.083036,34.305818],[112.088206,34.302293],[112.090347,34.299593],[112.091566,34.299758],[112.094077,34.304453],[112.096662,34.306403],[112.097825,34.309463],[112.096939,34.311128],[112.098656,34.312403],[112.103659,34.312568],[112.10449,34.313873],[112.110527,34.315583],[112.113186,34.318328],[112.1171,34.318823],[112.117525,34.320518],[112.124042,34.322527],[112.125464,34.315073],[112.12744,34.311113],[112.129212,34.310123],[112.133551,34.310558],[112.13632,34.312148],[112.139662,34.317848],[112.143263,34.320413],[112.147048,34.321598],[112.154691,34.320398],[112.156759,34.319588],[112.162224,34.315148],[112.165529,34.313228],[112.171567,34.311008],[112.174318,34.311233],[112.180669,34.314953],[112.183161,34.315403],[112.189199,34.313243],[112.195624,34.310348],[112.20613,34.307873]]]]}},{"type":"Feature","properties":{"adcode":410328,"name":"洛宁县","center":[111.655399,34.387179],"centroid":[111.500011,34.340656],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":11,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[111.802138,34.629325],[111.797097,34.626038],[111.792703,34.621988],[111.789343,34.617027],[111.785539,34.612498],[111.782142,34.609972],[111.778376,34.608328],[111.775976,34.608164],[111.76787,34.609345],[111.764122,34.609165],[111.760596,34.605877],[111.759525,34.598986],[111.758768,34.597461],[111.753894,34.59634],[111.740083,34.600257],[111.729799,34.596714],[111.722506,34.593246],[111.717318,34.59211],[111.712924,34.590435],[111.702806,34.584949],[111.6988,34.579776],[111.696307,34.575754],[111.692762,34.572928],[111.687057,34.571881],[111.671973,34.572255],[111.669813,34.570311],[111.670163,34.568636],[111.676644,34.562445],[111.67705,34.558033],[111.681463,34.547669],[111.692651,34.535687],[111.693002,34.533937],[111.689863,34.532905],[111.683604,34.533308],[111.673099,34.538604],[111.670034,34.540594],[111.660507,34.543047],[111.642783,34.549299],[111.62203,34.554773],[111.619094,34.555775],[111.61278,34.559888],[111.608109,34.562266],[111.594446,34.565316],[111.592212,34.565346],[111.590126,34.563223],[111.589203,34.558691],[111.587984,34.557106],[111.584439,34.556059],[111.579786,34.55748],[111.575872,34.563402],[111.571903,34.564898],[111.56701,34.564703],[111.564277,34.563088],[111.562043,34.558751],[111.552018,34.552081],[111.547624,34.547085],[111.544762,34.544916],[111.538595,34.543346],[111.532225,34.544812],[111.528293,34.547699],[111.525025,34.548297],[111.518101,34.548087],[111.508906,34.54722],[111.502887,34.545066],[111.492216,34.536779],[111.489409,34.533847],[111.484664,34.525514],[111.478627,34.521355],[111.471888,34.518063],[111.461456,34.514726],[111.457542,34.512557],[111.451671,34.505927],[111.418326,34.490827],[111.4047,34.486665],[111.398645,34.484181],[111.394823,34.48201],[111.388342,34.475543],[111.385037,34.473103],[111.376803,34.472265],[111.370618,34.473313],[111.367793,34.475543],[111.364082,34.479944],[111.36037,34.480888],[111.34872,34.474256],[111.344418,34.472953],[111.333636,34.472759],[111.324737,34.471741],[111.310889,34.473388],[111.306643,34.474196],[111.303356,34.477849],[111.299996,34.488941],[111.295823,34.4893],[111.289324,34.485588],[111.274203,34.472789],[111.271378,34.470663],[111.270621,34.468672],[111.271027,34.465318],[111.273797,34.452441],[111.273852,34.449566],[111.272024,34.447559],[111.268498,34.448203],[111.24468,34.453789],[111.227528,34.459718],[111.222063,34.459718],[111.220254,34.457951],[111.215269,34.445732],[111.213238,34.43742],[111.214087,34.432253],[111.213441,34.429827],[111.210302,34.426951],[111.197747,34.418757],[111.191267,34.417933],[111.189753,34.413559],[111.189974,34.408135],[111.191433,34.404255],[111.191377,34.400674],[111.188977,34.399265],[111.178176,34.397003],[111.171437,34.39495],[111.156814,34.39465],[111.151959,34.391893],[111.147971,34.388551],[111.146383,34.385614],[111.145718,34.37875],[111.14461,34.376636],[111.141195,34.373114],[111.141084,34.367148],[111.138739,34.361617],[111.138444,34.356745],[111.141195,34.353027],[111.155577,34.351693],[111.159861,34.350793],[111.164735,34.34733],[111.166618,34.344796],[111.169129,34.334855],[111.171474,34.330026],[111.176515,34.324057],[111.183217,34.319288],[111.185432,34.316993],[111.187371,34.312103],[111.191082,34.305278],[111.191544,34.301813],[111.188959,34.291912],[111.183844,34.286165],[111.181924,34.281229],[111.182847,34.273936],[111.182977,34.268278],[111.181444,34.26145],[111.182497,34.256407],[111.18678,34.252099],[111.187777,34.250283],[111.187426,34.245749],[111.185894,34.241351],[111.180909,34.230226],[111.179266,34.228695],[111.175111,34.228004],[111.166545,34.22895],[111.162095,34.228139],[111.158845,34.226037],[111.158975,34.223094],[111.169886,34.216367],[111.175813,34.209519],[111.183734,34.206921],[111.193648,34.203136],[111.199686,34.200358],[111.204671,34.199006],[111.207367,34.197414],[111.209305,34.1945],[111.210358,34.189273],[111.214715,34.181221],[111.216764,34.179208],[111.219755,34.178096],[111.223282,34.177976],[111.232384,34.179193],[111.234489,34.178547],[111.240083,34.169578],[111.24865,34.162876],[111.249887,34.161404],[111.25177,34.155212],[111.253174,34.153094],[111.260005,34.148916],[111.264695,34.147037],[111.267926,34.146511],[111.27688,34.148315],[111.278653,34.147202],[111.279059,34.139733],[111.281884,34.1385],[111.291595,34.144572],[111.29695,34.145159],[111.302249,34.143115],[111.305313,34.140184],[111.307787,34.13351],[111.306384,34.125167],[111.307086,34.122401],[111.309449,34.119289],[111.313382,34.116538],[111.320287,34.115606],[111.325937,34.115907],[111.334707,34.115606],[111.340135,34.113155],[111.342369,34.110449],[111.344732,34.109051],[111.348314,34.108705],[111.358746,34.10878],[111.366703,34.096329],[111.367165,34.09248],[111.377726,34.097502],[111.39017,34.098134],[111.404479,34.101758],[111.418234,34.104901],[111.427576,34.107998],[111.437639,34.11544],[111.442181,34.12419],[111.446759,34.13112],[111.450563,34.133675],[111.460718,34.136291],[111.486566,34.139748],[111.494856,34.138215],[111.502333,34.135765],[111.511436,34.134697],[111.524655,34.134352],[111.533185,34.135795],[111.543562,34.140469],[111.547937,34.143024],[111.560178,34.152297],[111.569724,34.158819],[111.579343,34.161659],[111.584568,34.162621],[111.590126,34.161539],[111.601554,34.155243],[111.612374,34.152147],[111.623138,34.154115],[111.633957,34.152177],[111.638961,34.149938],[111.648617,34.151666],[111.655781,34.155182],[111.666231,34.160803],[111.682681,34.17132],[111.693058,34.181747],[111.698006,34.184331],[111.702695,34.185983],[111.714678,34.199412],[111.719811,34.207717],[111.723263,34.211877],[111.72498,34.212598],[111.731812,34.213454],[111.737332,34.215406],[111.739548,34.218214],[111.741413,34.22404],[111.743905,34.226968],[111.746379,34.22835],[111.755075,34.229821],[111.75971,34.23377],[111.763162,34.244203],[111.765858,34.248767],[111.767796,34.249517],[111.771858,34.247971],[111.779077,34.24635],[111.78818,34.246545],[111.797947,34.245104],[111.800421,34.245554],[111.80559,34.249652],[111.811923,34.251409],[111.816816,34.257292],[111.820896,34.269434],[111.822429,34.27125],[111.818016,34.272135],[111.814582,34.27203],[111.802821,34.274926],[111.800273,34.275977],[111.797042,34.278558],[111.795122,34.281319],[111.794162,34.285385],[111.795676,34.287606],[111.797744,34.293907],[111.807012,34.302908],[111.811572,34.313708],[111.809597,34.329216],[111.803172,34.327147],[111.801658,34.326097],[111.799091,34.327491],[111.799627,34.332905],[111.798094,34.334825],[111.797614,34.343671],[111.793682,34.345576],[111.791411,34.34793],[111.789546,34.347915],[111.774535,34.352817],[111.764787,34.358229],[111.754558,34.376696],[111.755241,34.386783],[111.758232,34.391623],[111.774942,34.404374],[111.781514,34.409933],[111.787792,34.416854],[111.78938,34.423056],[111.787367,34.428074],[111.784007,34.430111],[111.776234,34.43074],[111.766541,34.4311],[111.756478,34.43766],[111.756109,34.443381],[111.75862,34.449611],[111.77304,34.451947],[111.775828,34.453564],[111.776308,34.455735],[111.77088,34.458461],[111.769273,34.461051],[111.768923,34.464255],[111.769864,34.46939],[111.769513,34.472968],[111.772541,34.476277],[111.775791,34.478283],[111.782161,34.483642],[111.783952,34.487144],[111.782105,34.490422],[111.780444,34.491096],[111.774295,34.489569],[111.772357,34.49159],[111.772024,34.494224],[111.774443,34.4981],[111.774646,34.500809],[111.771267,34.50482],[111.771267,34.506945],[111.773982,34.509339],[111.783656,34.511105],[111.786278,34.513724],[111.785447,34.515175],[111.779797,34.519993],[111.77821,34.52303],[111.780222,34.526187],[111.784376,34.530077],[111.78589,34.532531],[111.785152,34.537707],[111.785503,34.542224],[111.792962,34.546098],[111.79911,34.548402],[111.804778,34.549987],[111.810612,34.552455],[111.815542,34.557764],[111.815727,34.563956],[111.819235,34.570849],[111.828319,34.574124],[111.831882,34.578266],[111.832768,34.595922],[111.831974,34.597521],[111.825401,34.604621],[111.819493,34.609599],[111.802138,34.629325]]]]}},{"type":"Feature","properties":{"adcode":410329,"name":"伊川县","center":[112.429384,34.423416],"centroid":[112.462125,34.399643],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":12,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.69832,34.492293],[112.688165,34.494808],[112.677604,34.493161],[112.671216,34.490617],[112.661227,34.488507],[112.649245,34.494419],[112.641158,34.501034],[112.62696,34.510836],[112.62227,34.508441],[112.614109,34.510477],[112.605062,34.510536],[112.599837,34.511629],[112.592969,34.514562],[112.589018,34.517001],[112.585898,34.519933],[112.58202,34.519739],[112.567361,34.516417],[112.556781,34.516641],[112.550227,34.514636],[112.544319,34.516671],[112.522883,34.51905],[112.51908,34.52116],[112.516476,34.525888],[112.515996,34.527983],[112.507134,34.522297],[112.506155,34.523449],[112.502887,34.52309],[112.496795,34.525679],[112.496259,34.523599],[112.492511,34.523868],[112.492456,34.520951],[112.490443,34.520771],[112.488855,34.523195],[112.484849,34.523674],[112.484074,34.521594],[112.478553,34.52137],[112.477131,34.519724],[112.474214,34.524871],[112.476928,34.528581],[112.468564,34.531513],[112.467531,34.529239],[112.462287,34.530361],[112.462804,34.531812],[112.453572,34.534849],[112.445375,34.539442],[112.441516,34.545829],[112.435774,34.5436],[112.427484,34.543346],[112.423016,34.543765],[112.417089,34.542045],[112.409039,34.53814],[112.40291,34.532351],[112.4023,34.523749],[112.397204,34.520053],[112.386902,34.518811],[112.380625,34.5214],[112.381474,34.516582],[112.380883,34.514606],[112.378077,34.513948],[112.375473,34.515953],[112.371153,34.516103],[112.359374,34.523075],[112.354573,34.523943],[112.345489,34.524212],[112.338344,34.525619],[112.327211,34.525305],[112.309985,34.523584],[112.295288,34.520277],[112.29058,34.516821],[112.284524,34.509908],[112.283472,34.503249],[112.284099,34.496155],[112.285152,34.4915],[112.286721,34.489554],[112.291595,34.487549],[112.294069,34.485513],[112.295196,34.482444],[112.299461,34.466261],[112.298334,34.463941],[112.294291,34.461081],[112.288807,34.460018],[112.28469,34.457622],[112.284321,34.452381],[112.282438,34.450869],[112.265489,34.441644],[112.250884,34.438409],[112.23388,34.42782],[112.228138,34.423131],[112.22799,34.420884],[112.229707,34.418637],[112.249167,34.411281],[112.251973,34.409439],[112.254484,34.402022],[112.254854,34.391039],[112.253838,34.387637],[112.244071,34.375677],[112.236889,34.375677],[112.23508,34.375153],[112.230076,34.371046],[112.22559,34.371196],[112.219903,34.373744],[112.215121,34.373309],[112.213386,34.37166],[112.211964,34.36439],[112.213533,34.360718],[112.216007,34.358769],[112.216229,34.356295],[112.211078,34.345875],[112.209047,34.339953],[112.205963,34.326877],[112.20613,34.307873],[112.212222,34.306298],[112.219977,34.304948],[112.234637,34.303643],[112.244588,34.303703],[112.257808,34.309493],[112.268332,34.310708],[112.276437,34.301828],[112.279004,34.291071],[112.272154,34.283239],[112.254521,34.272135],[112.246545,34.265682],[112.239714,34.256707],[112.238126,34.247761],[112.241209,34.242747],[112.25009,34.238664],[112.25923,34.237117],[112.274591,34.238949],[112.277877,34.235781],[112.283859,34.23386],[112.294143,34.233409],[112.311166,34.231217],[112.322078,34.230256],[112.33203,34.230391],[112.337125,34.228304],[112.347889,34.227704],[112.350917,34.226368],[112.356604,34.220271],[112.364377,34.218454],[112.366722,34.216667],[112.368217,34.213799],[112.370359,34.213319],[112.372464,34.215076],[112.372889,34.219746],[112.37431,34.220587],[112.388527,34.216367],[112.389579,34.218965],[112.392459,34.221352],[112.397112,34.219581],[112.398571,34.219776],[112.406233,34.22344],[112.409058,34.22377],[112.421207,34.222253],[112.423718,34.226818],[112.422628,34.230406],[112.419785,34.231262],[112.415908,34.237358],[112.411661,34.238964],[112.408929,34.244233],[112.414227,34.25381],[112.415723,34.258208],[112.415224,34.26196],[112.413194,34.266342],[112.414726,34.269449],[112.414098,34.274326],[112.416037,34.277898],[112.416,34.279968],[112.413895,34.282474],[112.41059,34.28492],[112.410535,34.287771],[112.401063,34.299848],[112.394287,34.306583],[112.393216,34.309748],[112.394066,34.313528],[112.39798,34.318943],[112.400232,34.324027],[112.40579,34.334825],[112.407747,34.337284],[112.413766,34.342862],[112.420025,34.343776],[112.42128,34.342727],[112.42261,34.338798],[112.424585,34.338648],[112.433946,34.342172],[112.437122,34.342517],[112.439965,34.338258],[112.44772,34.334615],[112.454643,34.331885],[112.464872,34.331436],[112.47811,34.333745],[112.48483,34.335649],[112.488892,34.334435],[112.499195,34.33421],[112.504383,34.330686],[112.506358,34.332005],[112.5061,34.335994],[112.500561,34.341917],[112.500487,34.343416],[112.503977,34.345905],[112.511417,34.350029],[112.520797,34.349129],[112.531007,34.349129],[112.542011,34.355786],[112.550559,34.358304],[112.559698,34.354886],[112.563594,34.351453],[112.569429,34.344811],[112.57746,34.337959],[112.588427,34.330956],[112.591326,34.329966],[112.597419,34.329756],[112.602662,34.325527],[112.60726,34.327926],[112.612263,34.331271],[112.618522,34.333565],[112.62083,34.336099],[112.623784,34.335844],[112.62371,34.337854],[112.632868,34.338558],[112.639108,34.340148],[112.650149,34.341092],[112.659621,34.333925],[112.65663,34.323832],[112.65735,34.320593],[112.669259,34.324927],[112.678287,34.324942],[112.688368,34.326772],[112.701015,34.335064],[112.709951,34.335184],[112.719165,34.33307],[112.724907,34.330776],[112.730575,34.330446],[112.736391,34.333145],[112.741228,34.333715],[112.74793,34.33286],[112.752841,34.330746],[112.756903,34.330686],[112.759543,34.331945],[112.764787,34.336129],[112.767003,34.338648],[112.773631,34.343506],[112.776603,34.345051],[112.769698,34.34712],[112.766172,34.346205],[112.760097,34.34661],[112.758842,34.349189],[112.758639,34.355426],[112.756792,34.35739],[112.754152,34.35643],[112.747192,34.355576],[112.741431,34.354226],[112.73916,34.352967],[112.732883,34.350898],[112.731756,34.356115],[112.728101,34.361152],[112.729615,34.36424],[112.730999,34.37187],[112.730298,34.377431],[112.727196,34.378959],[112.721786,34.380158],[112.721177,34.38458],[112.724076,34.388881],[112.729061,34.390259],[112.733621,34.393077],[112.732993,34.397018],[112.735911,34.40424],[112.734803,34.409918],[112.733289,34.41278],[112.729892,34.415926],[112.730095,34.417933],[112.731904,34.419776],[112.736668,34.422577],[112.739437,34.429347],[112.741874,34.433991],[112.742908,34.440116],[112.743333,34.44723],[112.7418,34.452381],[112.743333,34.46138],[112.744367,34.470483],[112.743333,34.480977],[112.739308,34.486755],[112.74036,34.491066],[112.735357,34.489794],[112.726864,34.485603],[112.713736,34.48695],[112.711004,34.490303],[112.704579,34.490737],[112.69832,34.492293]]]]}},{"type":"Feature","properties":{"adcode":410381,"name":"偃师区","center":[112.787739,34.723042],"centroid":[112.780141,34.638423],"childrenNum":0,"level":"district","parent":{"adcode":410300},"subFeatureIndex":13,"acroutes":[100000,410000,410300]},"geometry":{"type":"MultiPolygon","coordinates":[[[[112.74036,34.491066],[112.754411,34.493416],[112.760577,34.492668],[112.767353,34.494778],[112.774609,34.500151],[112.77592,34.499986],[112.784358,34.494763],[112.798039,34.487174],[112.805147,34.482399],[112.805978,34.479256],[112.816945,34.478133],[112.822263,34.479555],[112.827654,34.477594],[112.832547,34.477819],[112.838012,34.477175],[112.85029,34.478507],[112.856032,34.478373],[112.862383,34.473657],[112.866242,34.473073],[112.871633,34.475124],[112.876747,34.474825],[112.881788,34.475274],[112.887585,34.474915],[112.896171,34.475813],[112.898035,34.47484],[112.901765,34.470932],[112.905217,34.468178],[112.907987,34.467549],[112.91179,34.471382],[112.922942,34.476576],[112.92309,34.477564],[112.920117,34.482025],[112.920967,34.487414],[112.924585,34.496469],[112.927299,34.499672],[112.926561,34.506137],[112.925601,34.509818],[112.927761,34.514636],[112.927853,34.522417],[112.929792,34.526023],[112.934242,34.527983],[112.939928,34.528536],[112.947978,34.531468],[112.953111,34.531304],[112.957745,34.529628],[112.965887,34.529688],[112.976707,34.531184],[112.98027,34.533667],[112.984738,34.539053],[112.982578,34.539786],[112.967734,34.541267],[112.958225,34.546143],[112.952262,34.547624],[112.935386,34.547295],[112.92957,34.547564],[112.924216,34.54541],[112.913821,34.544961],[112.91072,34.545186],[112.901783,34.547145],[112.898109,34.547564],[112.890705,34.547115],[112.883745,34.553606],[112.878981,34.560037],[112.877744,34.567709],[112.873055,34.571687],[112.869251,34.575649],[112.864155,34.580135],[112.860832,34.584545],[112.859595,34.587475],[112.862161,34.590286],[112.852413,34.588985],[112.84632,34.588836],[112.843624,34.590092],[112.839415,34.596535],[112.840117,34.599958],[112.844492,34.607118],[112.8456,34.609927],[112.844769,34.615771],[112.843126,34.620299],[112.840209,34.623169],[112.835575,34.623722],[112.835187,34.624499],[112.824737,34.625201],[112.824977,34.628713],[112.82974,34.629878],[112.835482,34.630461],[112.836368,34.628578],[112.841797,34.628668],[112.843606,34.630954],[112.844308,34.635197],[112.847151,34.640352],[112.845175,34.644535],[112.837772,34.651153],[112.832177,34.655411],[112.830386,34.658115],[112.830793,34.659489],[112.835224,34.663776],[112.835852,34.667778],[112.831845,34.674544],[112.829242,34.683325],[112.829519,34.688088],[112.828909,34.691239],[112.830239,34.694151],[112.834596,34.695942],[112.844289,34.699123],[112.849588,34.69969],[112.855293,34.704303],[112.860001,34.706498],[112.863158,34.706423],[112.867811,34.708095],[112.874716,34.706916],[112.879757,34.705079],[112.887548,34.699929],[112.893826,34.694972],[112.899365,34.693434],[112.901654,34.693509],[112.908836,34.69963],[112.912012,34.703213],[112.916332,34.710976],[112.922794,34.712603],[112.931786,34.711678],[112.934242,34.713603],[112.936623,34.720007],[112.939522,34.723828],[112.938303,34.724828],[112.931971,34.7265],[112.925379,34.729649],[112.919896,34.732872],[112.909907,34.737469],[112.907138,34.74005],[112.903962,34.744751],[112.901691,34.750197],[112.902245,34.753181],[112.908504,34.757404],[112.907415,34.763431],[112.907562,34.766295],[112.909372,34.771113],[112.908892,34.773232],[112.905365,34.777483],[112.899956,34.780585],[112.892663,34.782375],[112.887881,34.782733],[112.884336,34.778437],[112.88212,34.777751],[112.875049,34.77966],[112.870267,34.779795],[112.857712,34.779138],[112.850844,34.779213],[112.846357,34.780033],[112.842129,34.78233],[112.837144,34.782927],[112.83166,34.780884],[112.827709,34.778303],[112.817241,34.778273],[112.813437,34.779944],[112.810594,34.78494],[112.809837,34.795097],[112.810132,34.798467],[112.806883,34.796811],[112.80151,34.792263],[112.79551,34.786521],[112.793719,34.783688],[112.792666,34.779407],[112.791171,34.776334],[112.783453,34.768771],[112.779797,34.767757],[112.770658,34.769159],[112.768258,34.772426],[112.759156,34.77714],[112.754743,34.781346],[112.748502,34.780063],[112.745364,34.779989],[112.742927,34.783419],[112.745493,34.786044],[112.745493,34.787923],[112.742373,34.792576],[112.735634,34.796483],[112.732606,34.797602],[112.718851,34.798526],[112.700055,34.800778],[112.695015,34.802836],[112.691267,34.803537],[112.683383,34.803939],[112.677032,34.801971],[112.665677,34.802403],[112.659307,34.800182],[112.656261,34.796722],[112.655134,34.794291],[112.655282,34.791771],[112.656667,34.789564],[112.661929,34.784403],[112.662944,34.778288],[112.665843,34.772367],[112.668576,34.767906],[112.669296,34.764759],[112.66924,34.759731],[112.668077,34.755837],[112.664181,34.747765],[112.651719,34.747676],[112.64762,34.746721],[112.642487,34.739662],[112.642284,34.737155],[112.64402,34.733902],[112.642893,34.73229],[112.637299,34.727888],[112.633994,34.726231],[112.617267,34.721843],[112.618134,34.711708],[112.618024,34.706318],[112.622288,34.705527],[112.625095,34.706841],[112.62912,34.706483],[112.639293,34.703452],[112.659787,34.705184],[112.659362,34.697167],[112.660212,34.695599],[112.657165,34.694584],[112.657295,34.688536],[112.65855,34.688223],[112.656999,34.685729],[112.654599,34.685864],[112.652051,34.684445],[112.650352,34.681757],[112.648469,34.682504],[112.648414,34.679801],[112.644887,34.679622],[112.643817,34.677456],[112.642579,34.677994],[112.642598,34.672782],[112.641195,34.672274],[112.640345,34.667286],[112.640401,34.663477],[112.642469,34.663522],[112.645607,34.665852],[112.647288,34.665912],[112.6517,34.663447],[112.654673,34.660086],[112.659381,34.660549],[112.660876,34.662148],[112.665751,34.662297],[112.673764,34.658548],[112.678878,34.657487],[112.680041,34.65562],[112.683974,34.653036],[112.689864,34.65087],[112.690473,34.646761],[112.695587,34.643639],[112.699224,34.640606],[112.703674,34.635182],[112.703674,34.633449],[112.691433,34.628698],[112.686909,34.627442],[112.682478,34.623303],[112.682681,34.62142],[112.685894,34.618581],[112.68798,34.614904],[112.686522,34.613305],[112.682054,34.613216],[112.678306,34.611751],[112.666637,34.604816],[112.665012,34.600332],[112.669609,34.600376],[112.674502,34.598657],[112.678786,34.598343],[112.683217,34.590226],[112.674761,34.590316],[112.672231,34.58296],[112.669942,34.578968],[112.668502,34.570715],[112.67081,34.562819],[112.669591,34.551901],[112.670514,34.544857],[112.674262,34.546008],[112.675592,34.543854],[112.67825,34.54378],[112.679709,34.541356],[112.686485,34.539412],[112.685488,34.533593],[112.686356,34.530301],[112.692873,34.52496],[112.69435,34.519948],[112.693833,34.516821],[112.695753,34.511853],[112.699557,34.506915],[112.697637,34.505329],[112.699963,34.501707],[112.700886,34.497636],[112.69832,34.492293],[112.704579,34.490737],[112.711004,34.490303],[112.713736,34.48695],[112.726864,34.485603],[112.735357,34.489794],[112.74036,34.491066]]]]}}]}')},9331:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABYCAMAAAAjpjJ5AAAAAXNSR0IArs4c6QAAAotQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////XZkxLgAAANl0Uk5TAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4ent8fX5/goOEhYaHiImKi4yNjo+QkZKTlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8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"},"9a0c":function(t,e,n){var i=n("342f");t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(i)},b2c2:function(t,e,n){t.exports=n.p+"img/home_icon_wscience@2x.4c4b6e1d.png"},b34f:function(t,e){t.exports="data:image/png;base64,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"},b75c:function(t,e,n){},bded:function(t,e,n){t.exports=n.p+"img/home_icon_winspect@2x.70d0b256.png"},c0e6:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABuCAMAAADmp0YAAAAAAXNSR0IArs4c6QAAAp1QTFRFAAAAAAAAAAAAVVVVQEBAMzMzKysrJCQkQEBAOTk5MzMzLi4uKysrOzs7Nzc3MzMzMDAwLS0tOTk5NjY2MzMzMTExLi4uNzc3NTU1MzMzMTExLy8vNzc3NTU1MzMzMTExMDAwNjY2NTU1MzMzMjIyMDAwNjY2NDQ0MzMzMjIyMTExNTU1NDQ0MzMzMjIyMTExNTU1NDQ0MzMzMjIyMTExNTU1NDQ0MzMzMjIyMTExNTU1NDQ0MzMzMjIyMTExNTU1NDQ0MzMzMjIyMTExNTU1NDQ0MzMzMjIyMjIyNDQ0NDQ0MzMzMjIyMjIyNDQ0NDQ0MzMzMjIyMjIyNDQ0NDQ0MzMzMjIyMjIyNDQ0NDQ0MzMzMjIyMjIyNDQ0NDQ0MzMzMjIyMjIyNDQ0NDQ0MzMzMjIyMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMjIyNDQ0MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzabiroAAAAN90Uk5TAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOk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"},c296:function(t,e,n){(function(e){var i,r;(function(e,n){t.exports=n()})(0,(function(){"use strict";var t="undefined"!==typeof window?window:"undefined"!==typeof e?e:this;function o(e,n){return n={exports:{}},e(n,n.exports,t),n.exports}var a=o((function(t,e,o){(function(o,a){"object"===typeof e?t.exports=a():(i=a,r="function"===typeof i?i.call(e,n,e,t):i,void 0===r||(t.exports=r))})(0,(function(){var t,e=t=e||{version:"1.3.8"},n={};e.guid="$BAIDU$",n[e.guid]=n[e.guid]||{},e.dom=e.dom||{},e.dom.g=function(t){return"string"==typeof t||t instanceof String?document.getElementById(t):t&&t.nodeName&&(1==t.nodeType||9==t.nodeType)?t:null},e.g=e.G=e.dom.g,e.dom.getDocument=function(t){return t=e.dom.g(t),9==t.nodeType?t:t.ownerDocument||t.document},e.lang=e.lang||{},e.lang.isString=function(t){return"[object String]"==Object.prototype.toString.call(t)},e.isString=e.lang.isString,e.dom._g=function(t){return e.lang.isString(t)?document.getElementById(t):t},e._g=e.dom._g,e.browser=e.browser||{},/msie (\d+\.\d)/i.test(navigator.userAgent)&&(e.browser.ie=e.ie=document.documentMode||+RegExp["$1"]),e.dom.getComputedStyle=function(t,n){t=e.dom._g(t);var i,r=e.dom.getDocument(t);return r.defaultView&&r.defaultView.getComputedStyle&&(i=r.defaultView.getComputedStyle(t,null),i)?i[n]||i.getPropertyValue(n):""},e.dom._styleFixer=e.dom._styleFixer||{},e.dom._styleFilter=e.dom._styleFilter||[],e.dom._styleFilter.filter=function(t,n,i){for(var r,o=0,a=e.dom._styleFilter;r=a[o];o++)(r=r[i])&&(n=r(t,n));return n},e.string=e.string||{},e.string.toCamelCase=function(t){return t.indexOf("-")<0&&t.indexOf("_")<0?t:t.replace(/[-_][^-_]/g,(function(t){return t.charAt(1).toUpperCase()}))},e.dom.getStyle=function(t,n){var i=e.dom;t=i.g(t),n=e.string.toCamelCase(n);var r=t.style[n]||(t.currentStyle?t.currentStyle[n]:"")||i.getComputedStyle(t,n);if(!r){var o=i._styleFixer[n];o&&(r=o.get?o.get(t):e.dom.getStyle(t,o))}return(o=i._styleFilter)&&(r=o.filter(n,r,"get")),r},e.getStyle=e.dom.getStyle,/opera\/(\d+\.\d)/i.test(navigator.userAgent)&&(e.browser.opera=+RegExp["$1"]),e.browser.isWebkit=/webkit/i.test(navigator.userAgent),e.browser.isGecko=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent),e.browser.isStrict="CSS1Compat"==document.compatMode,e.dom.getPosition=function(t){t=e.dom.g(t);var n,i,r=e.dom.getDocument(t),o=e.browser,a=e.dom.getStyle,s=(o.isGecko>0&&r.getBoxObjectFor&&"absolute"==a(t,"position")&&(""===t.style.top||t.style.left),{left:0,top:0}),l=o.ie&&!o.isStrict?r.body:r.documentElement;if(t==l)return s;if(t.getBoundingClientRect){i=t.getBoundingClientRect(),s.left=Math.floor(i.left)+Math.max(r.documentElement.scrollLeft,r.body.scrollLeft),s.top=Math.floor(i.top)+Math.max(r.documentElement.scrollTop,r.body.scrollTop),s.left-=r.documentElement.clientLeft,s.top-=r.documentElement.clientTop;var u=r.body,h=parseInt(a(u,"borderLeftWidth")),c=parseInt(a(u,"borderTopWidth"));o.ie&&!o.isStrict&&(s.left-=isNaN(h)?2:h,s.top-=isNaN(c)?2:c)}else{n=t;do{if(s.left+=n.offsetLeft,s.top+=n.offsetTop,o.isWebkit>0&&"fixed"==a(n,"position")){s.left+=r.body.scrollLeft,s.top+=r.body.scrollTop;break}n=n.offsetParent}while(n&&n!=t);(o.opera>0||o.isWebkit>0&&"absolute"==a(t,"position"))&&(s.top-=r.body.offsetTop),n=t.offsetParent;while(n&&n!=r.body)s.left-=n.scrollLeft,o.opera&&"TR"==n.tagName||(s.top-=n.scrollTop),n=n.offsetParent}return s},e.event=e.event||{},e.event._listeners=e.event._listeners||[],e.event.on=function(t,n,i){n=n.replace(/^on/i,""),t=e.dom._g(t);var r,o=function(e){i.call(t,e)},a=e.event._listeners,s=e.event._eventFilter,l=n;return n=n.toLowerCase(),s&&s[n]&&(r=s[n](t,n,o),l=r.type,o=r.listener),t.addEventListener?t.addEventListener(l,o,!1):t.attachEvent&&t.attachEvent("on"+l,o),a[a.length]=[t,n,i,o,l],t},e.on=e.event.on,function(){var t=n[e.guid];e.lang.guid=function(){return"TANGRAM__"+(t._counter++).toString(36)},t._counter=t._counter||1}(),n[e.guid]._instances=n[e.guid]._instances||{},e.lang.isFunction=function(t){return"[object Function]"==Object.prototype.toString.call(t)},e.lang.Class=function(t){this.guid=t||e.lang.guid(),n[e.guid]._instances[this.guid]=this},n[e.guid]._instances=n[e.guid]._instances||{},e.lang.Class.prototype.dispose=function(){for(var t in delete n[e.guid]._instances[this.guid],this)e.lang.isFunction(this[t])||delete this[t];this.disposed=!0},e.lang.Class.prototype.toString=function(){return"[object "+(this._className||"Object")+"]"},e.lang.Event=function(t,e){this.type=t,this.returnValue=!0,this.target=e||null,this.currentTarget=null},e.lang.Class.prototype.addEventListener=function(t,n,i){if(e.lang.isFunction(n)){!this.__listeners&&(this.__listeners={});var r,o=this.__listeners;if("string"==typeof i&&i){if(/[^\w\-]/.test(i))throw"nonstandard key:"+i;n.hashCode=i,r=i}0!=t.indexOf("on")&&(t="on"+t),"object"!=typeof o[t]&&(o[t]={}),r=r||e.lang.guid(),n.hashCode=r,o[t][r]=n}},e.lang.Class.prototype.removeEventListener=function(t,n){if("undefined"==typeof n||(!e.lang.isFunction(n)||(n=n.hashCode))&&e.lang.isString(n)){!this.__listeners&&(this.__listeners={}),0!=t.indexOf("on")&&(t="on"+t);var i=this.__listeners;if(i[t])if("undefined"!=typeof n)i[t][n]&&delete i[t][n];else for(var r in i[t])delete i[t][r]}},e.lang.Class.prototype.dispatchEvent=function(t,n){for(var i in e.lang.isString(t)&&(t=new e.lang.Event(t)),!this.__listeners&&(this.__listeners={}),n=n||{},n)t[i]=n[i];var r=this.__listeners,o=t.type;if(t.target=t.target||this,t.currentTarget=this,0!=o.indexOf("on")&&(o="on"+o),e.lang.isFunction(this[o])&&this[o].apply(this,arguments),"object"==typeof r[o])for(i in r[o])r[o][i].apply(this,arguments);return t.returnValue},e.lang.inherits=function(t,e,n){var i,r,o=t.prototype,a=new Function;for(i in a.prototype=e.prototype,r=t.prototype=new a,o)r[i]=o[i];t.prototype.constructor=t,t.superClass=e.prototype,"string"==typeof n&&(r._className=n)},e.inherits=e.lang.inherits;var i="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/images/m",r="png",o=function(e,n,i){try{BMap}catch(r){throw Error("Baidu Map JS API is not ready yet!")}t.lang.inherits(o,BMap.Overlay,"TextIconOverlay"),this._position=e,this._text=n,this._options=i||{},this._styles=this._options["styles"]||[],!this._styles.length&&this._setupDefaultStyles()};return o.prototype._setupDefaultStyles=function(){for(var t,e=[53,56,66,78,90],n=0;t=e[n];n++)this._styles.push({url:i+n+"."+r,size:new BMap.Size(t,t)})},o.prototype.initialize=function(t){return this._map=t,this._domElement=document.createElement("div"),this._updateCss(),this._updateText(),this._updatePosition(),this._bind(),this._map.getPanes().markerMouseTarget.appendChild(this._domElement),this._domElement},o.prototype.draw=function(){this._map&&this._updatePosition()},o.prototype.getText=function(){return this._text},o.prototype.setText=function(t){!t||this._text&&this._text.toString()==t.toString()||(this._text=t,this._updateText(),this._updateCss(),this._updatePosition())},o.prototype.getPosition=function(){return this._position},o.prototype.setPosition=function(t){!t||this._position&&this._position.equals(t)||(this._position=t,this._updatePosition())},o.prototype.getStyleByText=function(t,e){var n=parseInt(t),i=parseInt(n/10);return i=Math.max(0,i),i=Math.min(i,e.length-1),e[i]},o.prototype._updateCss=function(){if(this._domElement){var t=this.getStyleByText(this._text,this._styles);this._domElement.style.cssText=this._buildCssText(t)}},o.prototype._updateText=function(){this._domElement&&(this._domElement.innerHTML=this._text)},o.prototype._updatePosition=function(){if(this._domElement&&this._position){var t=this._domElement.style,e=this._map.pointToOverlayPixel(this._position);e.x-=Math.ceil(parseInt(t.width)/2),e.y-=Math.ceil(parseInt(t.height)/2),t.left=e.x+"px",t.top=e.y+"px"}},o.prototype._buildCssText=function(e){var n=e["url"],i=e["size"],r=e["anchor"],o=e["offset"],a=e["textColor"]||"black",s=e["textSize"]||10,l=[];if(t.browser["ie"]<7)l.push('filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="'+n+'");');else{l.push("background-image:url("+n+");");var u="0 0";o instanceof BMap.Size&&(u=o.width+"px "+o.height+"px"),l.push("background-position:"+u+";")}return i instanceof BMap.Size&&(r instanceof BMap.Size?(r.height>0&&r.height0&&r.widththis._markerClusterer.getMaxZoom()){this._clusterMarker&&this._map.removeOverlay(this._clusterMarker);for(var t,e=0;t=this._markers[e];e++)this._map.addOverlay(t)}else this._markers.length