index.d661bb36.js 1000 KB
(function(t){function e(e){for(var n,o,s=e[0],l=e[1],c=e[2],u=0,d=[];u<s.length;u++)o=s[u],a[o]&&d.push(a[o][0]),a[o]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(t[n]=l[n]);h&&h(e);while(d.length)d.shift()();return r.push.apply(r,c||[]),i()}function i(){for(var t,e=0;e<r.length;e++){for(var i=r[e],n=!0,o=1;o<i.length;o++){var l=i[o];0!==a[l]&&(n=!1)}n&&(r.splice(e--,1),t=s(s.s=i[0]))}return t}var n={},a={index:0},r=[];function o(t){return s.p+"static/js/"+({"pages-analysis-condition":"pages-analysis-condition","pages-analysis-index":"pages-analysis-index","pages-analysis-inoutReport-inoutDayReport":"pages-analysis-inoutReport-inoutDayReport","pages-analysis-rankReport-rankDayReport":"pages-analysis-rankReport-rankDayReport","pages-analysis-rankReport-rankWeekReport":"pages-analysis-rankReport-rankWeekReport","pages-analysis-staticReport-staticDayReport":"pages-analysis-staticReport-staticDayReport","pages-analysis-staticReport-staticMonthReport":"pages-analysis-staticReport-staticMonthReport","pages-analysis-staticReport-staticWeekReport":"pages-analysis-staticReport-staticWeekReport","pages-analysis-staticReport-staticYearReport":"pages-analysis-staticReport-staticYearReport","pages-index-index":"pages-index-index","pages-list-floorList~pages-list-mallList":"pages-list-floorList~pages-list-mallList","pages-list-floorList":"pages-list-floorList","pages-list-mallList":"pages-list-mallList","pages-list-moreFloorList":"pages-list-moreFloorList","pages-list-moreGateList":"pages-list-moreGateList","pages-list-moreMallList":"pages-list-moreMallList","pages-list-moreStoreList":"pages-list-moreStoreList","pages-list-oneFloorList":"pages-list-oneFloorList","pages-list-oneMallList":"pages-list-oneMallList","pages-login-login":"pages-login-login","pages-passenger-index":"pages-passenger-index","pages-profile-index":"pages-profile-index"}[t]||t)+"."+{"pages-analysis-condition":"e215a017","pages-analysis-index":"d9000969","pages-analysis-inoutReport-inoutDayReport":"7e0a7323","pages-analysis-rankReport-rankDayReport":"368164aa","pages-analysis-rankReport-rankWeekReport":"bc5f6949","pages-analysis-staticReport-staticDayReport":"0ec6cf5e","pages-analysis-staticReport-staticMonthReport":"bee41e22","pages-analysis-staticReport-staticWeekReport":"ac3dfb2f","pages-analysis-staticReport-staticYearReport":"183c8cb9","pages-index-index":"a7984e13","pages-list-floorList~pages-list-mallList":"59e64ecc","pages-list-floorList":"b8902ab3","pages-list-mallList":"eff90261","pages-list-moreFloorList":"08cf18fa","pages-list-moreGateList":"07b2d9cc","pages-list-moreMallList":"eefbf1e4","pages-list-moreStoreList":"ea50dfb0","pages-list-oneFloorList":"eefdd44d","pages-list-oneMallList":"bd71936b","pages-login-login":"50d7250e","pages-passenger-index":"36b2f28d","pages-profile-index":"59aa5736"}[t]+".js"}function s(e){if(n[e])return n[e].exports;var i=n[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,s),i.l=!0,i.exports}s.e=function(t){var e=[],i=a[t];if(0!==i)if(i)e.push(i[2]);else{var n=new Promise(function(e,n){i=a[t]=[e,n]});e.push(i[2]=n);var r,l=document.createElement("script");l.charset="utf-8",l.timeout=120,s.nc&&l.setAttribute("nonce",s.nc),l.src=o(t),r=function(e){l.onerror=l.onload=null,clearTimeout(c);var i=a[t];if(0!==i){if(i){var n=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src,o=new Error("Loading chunk "+t+" failed.\n("+n+": "+r+")");o.type=n,o.request=r,i[1](o)}a[t]=void 0}};var c=setTimeout(function(){r({type:"timeout",target:l})},12e4);l.onerror=l.onload=r,document.head.appendChild(l)}return Promise.all(e)},s.m=t,s.c=n,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(i,n,function(e){return t[e]}.bind(null,n));return i},s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="/appweb/",s.oe=function(t){throw console.error(t),t};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],c=l.push.bind(l);l.push=e,l=l.slice();for(var u=0;u<l.length;u++)e(l[u]);var h=c;r.push([0,"chunk-vendors"]),i()})({0:function(t,e,i){t.exports=i("1ef1")},"0056":function(t,e,i){"use strict";var n=i("3999"),a={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:"#333",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:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},r={};r.categoryAxis=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},a),r.valueAxis=n.merge({boundaryGap:[0,0],splitNumber:5},a),r.timeAxis=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},r.valueAxis),r.logAxis=n.defaults({scale:!0,logBase:10},r.valueAxis);var o=r;t.exports=o},"005e":function(t,e,i){"use strict";var n=i("bc9d"),a=i("a022"),r=i("3999"),o=r.isObject;function s(t){this.group=new n.Group,this._symbolCtor=t||a}var l=s.prototype;function c(t,e,i,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(i))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function u(t){return null==t||o(t)||(t={isIgnore:t}),t||{}}function h(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}l.updateData=function(t,e){e=u(e);var i=this.group,a=t.hostModel,r=this._data,o=this._symbolCtor,s=h(t);r||i.removeAll(),t.diff(r).add(function(n){var a=t.getItemLayout(n);if(c(t,a,n,e)){var r=new o(t,n,s);r.attr("position",a),t.setItemGraphicEl(n,r),i.add(r)}}).update(function(l,u){var h=r.getItemGraphicEl(u),d=t.getItemLayout(l);c(t,d,l,e)?(h?(h.updateData(t,l,s),n.updateProps(h,{position:d},a)):(h=new o(t,l),h.attr("position",d)),i.add(h),t.setItemGraphicEl(l,h)):i.remove(h)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut(function(){i.remove(e)})}).execute(),this._data=t},l.isPersistent=function(){return!0},l.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(e,i){var n=t.getItemLayout(i);e.attr("position",n)})},l.incrementalPrepareUpdate=function(t){this._seriesScope=h(t),this._data=null,this.group.removeAll()},l.incrementalUpdate=function(t,e,i){function n(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}i=u(i);for(var a=t.start;a<t.end;a++){var r=e.getItemLayout(a);if(c(e,r,a,i)){var o=new this._symbolCtor(e,a,this._seriesScope);o.traverse(n),o.attr("position",r),this.group.add(o),e.setItemGraphicEl(a,o)}}},l.remove=function(t){var e=this.group,i=this._data;i&&t?i.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)})}):e.removeAll()};var d=s;t.exports=d},"00a4":function(t,e,i){"use strict";var n=i("a57a"),a=n.extend({type:"dataZoom",render:function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,i={};function n(t,e,i,n){for(var a,r=0;r<i.length;r++)if(i[r].model===t){a=i[r];break}a||i.push(a={model:t,axisModels:[],coordIndex:n}),a.axisModels.push(e)}return t.eachTargetAxis(function(t,a){var r=e.getComponent(t.axis,a);if(r){var o=r.getCoordSysModel();o&&n(o,r,i[o.mainType]||(i[o.mainType]=[]),o.componentIndex)}},this),i}});t.exports=a},"00dc":function(t,e,i){"use strict";var n=i("3999"),a=n.createHashMap,r=n.each;function o(t){var e=a();t.eachSeries(function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),a=t.getData(),r={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;n.length&&a.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(r)}}),e.each(s)}function s(t){r(t,function(e,i){var n=[],a=[NaN,NaN],r=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=o.map(r,function(r,l,c){var u,h,d=o.get(e.stackedDimension,c);if(isNaN(d))return a;s?h=o.getRawIndex(c):u=o.get(e.stackedByDimension,c);for(var p=NaN,f=i-1;f>=0;f--){var g=t[f];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,u)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,p=m;break}}}return n[0]=d,n[1]=p,n});o.hostModel.setData(l),e.data=l})}t.exports=o},"00fa":function(t,e,i){"use strict";var n=function(t){this.colorStops=t||[]};n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var a=n;t.exports=a},"01aa":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("3999"),o=i("2008"),s=o.createSymbol,l=i("bc9d"),c=i("bb85"),u=c.makeBackground,h=i("1073"),d=r.curry,p=r.each,f=l.Group,g=a.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new f),this._backgroundEl,this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},render:function(t,e,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var a=t.get("align");a&&"auto"!==a||(a="right"===t.get("left")&&"vertical"===t.get("orient")?"right":"left"),this.renderInner(a,t,e,i);var o=t.getBoxLayoutParams(),s={width:i.getWidth(),height:i.getHeight()},l=t.get("padding"),c=h.getLayoutRect(o,s,l),d=this.layoutInner(t,a,c,n),p=h.getLayoutRect(r.defaults({width:d.width,height:d.height},o),s,l);this.group.attr("position",[p.x-d.x,p.y-d.y]),this.group.add(this._backgroundEl=u(d,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl)},renderInner:function(t,e,i,n){var a=this.getContentGroup(),o=r.createHashMap(),s=e.get("selectedMode"),l=[];i.eachRawSeries(function(t){!t.get("legendHoverLink")&&l.push(t.id)}),p(e.getData(),function(r,c){var u=r.get("name");if(this.newlineDisabled||""!==u&&"\n"!==u){var h=i.getSeriesByName(u)[0];if(!o.get(u))if(h){var p=h.getData(),g=p.getVisual("color");"function"===typeof g&&(g=g(h.getDataParams(0)));var x=p.getVisual("legendSymbol")||"roundRect",_=p.getVisual("symbol"),b=this._createItem(u,c,r,e,x,_,t,g,s);b.on("click",d(m,u,n)).on("mouseover",d(v,h.name,null,n,l)).on("mouseout",d(y,h.name,null,n,l)),o.set(u,!0)}else i.eachRawSeries(function(i){if(!o.get(u)&&i.legendDataProvider){var a=i.legendDataProvider(),h=a.indexOfName(u);if(h<0)return;var p=a.getItemVisual(h,"color"),f="roundRect",g=this._createItem(u,c,r,e,f,null,t,p,s);g.on("click",d(m,u,n)).on("mouseover",d(v,null,u,n,l)).on("mouseout",d(y,null,u,n,l)),o.set(u,!0)}},this)}else a.add(new f({newline:!0}))},this)},_createItem:function(t,e,i,n,a,o,c,u,h){var d=n.get("itemWidth"),p=n.get("itemHeight"),g=n.get("inactiveColor"),m=n.get("symbolKeepAspect"),v=n.isSelected(t),y=new f,x=i.getModel("textStyle"),_=i.get("icon"),b=i.getModel("tooltip"),w=b.parentModel;if(a=_||a,y.add(s(a,0,0,d,p,v?u:g,null==m||m)),!_&&o&&(o!==a||"none"===o)){var S=.8*p;"none"===o&&(o="circle"),y.add(s(o,(d-S)/2,(p-S)/2,S,S,v?u:g,null==m||m))}var M="left"===c?d+5:-5,T=c,A=n.get("formatter"),I=t;"string"===typeof A&&A?I=A.replace("{name}",null!=t?t:""):"function"===typeof A&&(I=A(t)),y.add(new l.Text({style:l.setTextStyle({},x,{text:I,x:M,y:p/2,textFill:v?x.getTextColor():g,textAlign:T,textVerticalAlign:"middle"})}));var C=new l.Rect({shape:y.getBoundingRect(),invisible:!0,tooltip:b.get("show")?r.extend({content:t,formatter:w.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:t,$vars:["name"]}},b.option):null});return y.add(C),y.eachChild(function(t){t.silent=!0}),C.silent=!h,this.getContentGroup().add(y),l.setHoverStyle(y),y.__legendDataIndex=e,y},layoutInner:function(t,e,i){var n=this.getContentGroup();h.box(t.get("orient"),n,t.get("itemGap"),i.width,i.height);var a=n.getBoundingRect();return n.attr("position",[-a.x,-a.y]),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function m(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function v(t,e,i,n){var a=i.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||i.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:n})}function y(t,e,i,n){var a=i.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||i.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:n})}t.exports=g},"01ab":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={onLaunch:function(){this.getDate(),this.dateArr()},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")},methods:{getDate:function(){for(var t=[],e={},i=1999;i<2020;i++){e={value:i+"年",children:[]};for(var n=0;n<12;n++){var a=n+1;a=a>9?a:"0"+a;var r={value:a+"月",children:[]};e.children.push(r);for(var o=new Date(i,n+1,0),s=o.getDate(),l=0;l<s;l++){a=l+1;a=a>9?a:"0"+a;var c={value:a+"日"};e.children[n].children.push(c)}}t.push(e)}uni.setStorage({key:"dayData",data:JSON.stringify(t)})},dateArr:function(){for(var t=[],e=[],i=[],n=[],a=[],r=[],o=[],s=[],l=1999;l<2020;l++)t.push(l+"年");e.push(t);var c=[];for(l=1;l<12;l++){var u=l;l<10&&(u="0"+l),c.push(u+"月")}n.push(t),n.push(c);var h=["第一周","第二周","第三周","第四周","第五周"];r.push(t),r.push(c),r.push(h);var d=new Date,p=d.getFullYear(),f=p-1999;i.push(f);var g=d.getMonth();u=g+1>9?g+1:"0"+(g+1);a.push(f),a.push(g);var m=d.getDay(),v=d.getDate(),y=Math.ceil((v+6-m)/7)-1;o.push(f),o.push(g),o.push(y);var x=v-1;s.push(f),s.push(g),s.push(x),uni.setStorage({key:"yearData",data:JSON.stringify(e)}),uni.setStorage({key:"yearData",data:JSON.stringify(e)}),uni.setStorage({key:"currentYear",data:JSON.stringify(i)}),uni.setStorage({key:"monthData",data:JSON.stringify(n)}),uni.setStorage({key:"currentMonth",data:JSON.stringify(a)}),uni.setStorage({key:"weekData",data:JSON.stringify(r)}),uni.setStorage({key:"currentWeek",data:JSON.stringify(o)}),uni.setStorage({key:"currentDay",data:JSON.stringify(s)})}}};e.default=n},"0273":function(t,e,i){"use strict";var n=i("3999"),a=n.each,r=n.isArray,o=n.isObject,s=i("a6d9"),l=i("f63f"),c=l.normalizeToArray;function u(t,e){e=e.split(",");for(var i=t,n=0;n<e.length;n++)if(i=i&&i[e[n]],null==i)break;return i}function h(t,e,i,n){e=e.split(",");for(var a,r=t,o=0;o<e.length-1;o++)a=e[o],null==r[a]&&(r[a]={}),r=r[a];(n||null==r[e[o]])&&(r[e[o]]=i)}function d(t){a(p,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var p=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],f=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function g(t,e){s(t,e),t.series=c(t.series),a(t.series,function(t){if(o(t)){var e=t.type;if("pie"!==e&&"gauge"!==e||null!=t.clockWise&&(t.clockwise=t.clockWise),"gauge"===e){var i=u(t,"pointer.color");null!=i&&h(t,"itemStyle.normal.color",i)}d(t)}}),t.dataRange&&(t.visualMap=t.dataRange),a(f,function(e){var i=t[e];i&&(r(i)||(i=[i]),a(i,function(t){d(t)}))})}t.exports=g},"0285":function(t,e,i){"use strict";var n=i("3999"),a=i("c1ef"),r=i("62f4"),o=i("35c7"),s=i("b04a"),l=n.each,c=s.toCamelCase,u=["","-webkit-","-moz-","-o-"],h="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function d(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+t+"s "+e+",top "+t+"s "+e;return n.map(u,function(t){return t+"transition:"+i}).join(";")}function p(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();return n&&e.push("color:"+n),e.push("font:"+t.getFont()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),l(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}function f(t){var e=[],i=t.get("transitionDuration"),n=t.get("backgroundColor"),r=t.getModel("textStyle"),u=t.get("padding");return i&&e.push(d(i)),n&&(o.canvasSupported?e.push("background-Color:"+n):(e.push("background-Color:#"+a.toHex(n)),e.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],function(i){var n="border-"+i,a=c(n),r=t.get(a);null!=r&&e.push(n+":"+r+("color"===i?"":"px"))}),e.push(p(r)),null!=u&&e.push("padding:"+s.normalizeCssArray(u).join("px ")+"px"),e.join(";")+";"}function g(t,e){if(o.wxa)return null;var i=document.createElement("div"),n=this._zr=e.getZr();this.el=i,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var a=this;i.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},i.onmousemove=function(e){if(e=e||window.event,!a._enterable){var i=n.handler;r.normalizeEvent(t,e,!0),i.dispatch("mousemove",e)}},i.onmouseleave=function(){a._enterable&&a._show&&a.hideLater(a._hideDelay),a._inContent=!1}}g.prototype={constructor:g,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i.position&&"absolute"!==e.position&&(i.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText=h+f(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var i,n=this._zr;n&&n.painter&&(i=n.painter.getViewportRootOffset())&&(t+=i.offsetLeft,e+=i.offsetTop);var a=this.el.style;a.left=t+"px",a.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(t+=parseInt(i.paddingLeft,10)+parseInt(i.paddingRight,10)+parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),e+=parseInt(i.paddingTop,10)+parseInt(i.paddingBottom,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:t,height:e}}};var m=g;t.exports=m},"0290":function(t,e,i){"use strict";var n=i("3999"),a=i("1c56"),r=i("2ef2"),o=i("2a8d"),s=o.enableClassManagement,l=o.parseClassType,c=i("f63f"),u=c.makeInner,h=i("1073"),d=i("86f5"),p=u(),f=a.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,i,n){a.call(this,t,e,i,n),this.uid=r.getUID("ec_cpt_model")},init:function(t,e,i,n){this.mergeDefaultAndTheme(t,i)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,a=i?h.getLayoutParams(t):{},r=e.getTheme();n.merge(t,r.get(this.mainType)),n.merge(t,this.getDefaultOption()),i&&h.mergeLayoutParam(t,a,i)},mergeOption:function(t,e){n.merge(this.option,t,!0);var i=this.layoutMode;i&&h.mergeLayoutParam(this.option,t,i)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=p(this);if(!t.defaultOption){var e=[],i=this.constructor;while(i){var a=i.prototype.defaultOption;a&&e.push(a),i=i.superClass}for(var r={},o=e.length-1;o>=0;o--)r=n.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function g(t){var e=[];return n.each(f.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=n.map(e,function(t){return l(t).main}),"dataset"!==t&&n.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(f,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(f),r.enableTopologicalTravel(f,g),n.mixin(f,d);var m=f;t.exports=m},"02e7":function(t,e,i){"use strict";var n=i("ac5f");i("ddf3"),n.registerAction({type:"dragNode",event:"dragNode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])})})},"03fc":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("2ae5"),o=i("45e8"),s=i("d776"),l=i("a555"),c=i("d68a"),u=i("a0a4"),h=i("e575"),d=a.extendChartView({type:"lines",init:function(){},render:function(t,e,i){var n=t.getData(),a=this._updateLineDraw(n,t),r=t.get("zlevel"),o=t.get("effect.trailLength"),s=i.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(r).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&o&&(l||s.configLayer(r,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)})),a.updateData(n),this._lastZlevel=r,this._finished=!0},incrementalPrepareRender:function(t,e,i){var n=t.getData(),a=this._updateLineDraw(n,t);a.incrementalPrepareUpdate(n),this._clearLayer(i),this._finished=!1},incrementalRender:function(t,e,i){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,i){var n=t.getData(),a=t.pipelineContext;if(!this._finished||a.large||a.progressiveRender)return{update:!0};var r=h.reset(t);r.progress&&r.progress({start:0,end:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(i)},_updateLineDraw:function(t,e){var i=this._lineDraw,n=this._showEffect(e),a=!!e.get("polyline"),h=e.pipelineContext,d=h.large;return i&&n===this._hasEffet&&a===this._isPolyline&&d===this._isLargeDraw||(i&&i.remove(),i=this._lineDraw=d?new u:new r(a?n?c:l:n?o:s),this._hasEffet=n,this._isPolyline=a,this._isLargeDraw=d,this.group.removeAll()),this.group.add(i.group),i},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){var e=t.getZr(),i="svg"===e.painter.getType();i||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});t.exports=d},"0565":function(t,e,i){"use strict";var n=i("53ec"),a=i("c14b"),r=i("3999"),o=r.extend,s=r.isArray;function l(t,e,i){e=s(e)&&{coordDimensions:e}||o({},e);var r=t.getSource(),l=n(r,e),c=new a(l,t);return c.initData(r,i),c}t.exports=l},"05e8":function(t,e,i){"use strict";i.r(e);var n=i("f9f7"),a=i("127e");for(var r in a)"default"!==r&&function(t){i.d(e,t,function(){return a[t]})}(r);i("bfe7");var o=i("2877"),s=Object(o["a"])(a["default"],n["a"],n["b"],!1,null,null,null);e["default"]=s.exports},"0635":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("bc9d"),o=i("f63f"),s=i("db71"),l=a.each,c=a.indexOf,u=a.curry,h=["dataToPoint","pointToData"],d=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function p(t,e,i){var n=this._targetInfoList=[],a={},r=m(e,t);l(v,function(t,e){(!i||!i.include||c(i.include,e)>=0)&&t(r,n,a)})}var f=p.prototype;function g(t){return t[0]>t[1]&&t.reverse(),t}function m(t,e){return o.parseFinder(t,e,{includeMainTypes:d})}f.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=_[t.brushType](0,i,e);t.__rangeOffset={offset:w[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})},f.matchOutputRanges=function(t,e,i){l(t,function(t){var n=this.findTargetInfo(t,e);n&&!0!==n&&a.each(n.coordSyses,function(n){var a=_[t.brushType](1,n,t.range);i(t,a.values,n,e)})},this)},f.setInputRanges=function(t,e){l(t,function(t){var i=this.findTargetInfo(t,e);if(t.range=t.range||[],i&&!0!==i){t.panelId=i.panelId;var n=_[t.brushType](0,i.coordSys,t.coordRange),a=t.__rangeOffset;t.range=a?w[t.brushType](n.values,a.offset,M(n.xyMinMax,a.xyMinMax)):n.values}},this)},f.makePanelOpts=function(t,e){return a.map(this._targetInfoList,function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e&&e(i),clipPath:s.makeRectPanelClipPath(n),isTargetByCursor:s.makeRectIsTargetByCursor(n,t,i.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(n)}})},f.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&c(n.coordSyses,e.coordinateSystem)>=0},f.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=m(e,t),a=0;a<i.length;a++){var r=i[a],o=t.panelId;if(o){if(r.panelId===o)return r}else for(a=0;a<y.length;a++)if(y[a](n,r))return r}return!0};var v={grid:function(t,e){var i=t.xAxisModels,n=t.yAxisModels,r=t.gridModels,o=a.createHashMap(),s={},u={};(i||n||r)&&(l(i,function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0}),l(n,function(t){var e=t.axis.grid.model;o.set(e.id,e),u[e.id]=!0}),l(r,function(t){o.set(t.id,t),s[t.id]=!0,u[t.id]=!0}),o.each(function(t){var a=t.coordinateSystem,r=[];l(a.getCartesians(),function(t,e){(c(i,t.getAxis("x").model)>=0||c(n,t.getAxis("y").model)>=0)&&r.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:x.grid,xAxisDeclared:s[t.id],yAxisDeclared:u[t.id]})}))},geo:function(t,e){l(t.geoModels,function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:x.geo})})}},y=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,a=t.gridModel;return!a&&i&&(a=i.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],x={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(r.getTransform(t)),e}},_={lineX:u(b,0),lineY:u(b,1),rect:function(t,e,i){var n=e[h[t]]([i[0][0],i[1][0]]),a=e[h[t]]([i[0][1],i[1][1]]),r=[g([n[0],a[0]]),g([n[1],a[1]])];return{values:r,xyMinMax:r}},polygon:function(t,e,i){var n=[[1/0,-1/0],[1/0,-1/0]],r=a.map(i,function(i){var a=e[h[t]](i);return n[0][0]=Math.min(n[0][0],a[0]),n[1][0]=Math.min(n[1][0],a[1]),n[0][1]=Math.max(n[0][1],a[0]),n[1][1]=Math.max(n[1][1],a[1]),a});return{values:r,xyMinMax:n}}};function b(t,e,i,n){var r=i.getAxis(["x","y"][t]),o=g(a.map([0,1],function(t){return e?r.coordToData(r.toLocalCoord(n[t])):r.toGlobalCoord(r.dataToCoord(n[t]))})),s=[];return s[t]=o,s[1-t]=[NaN,NaN],{values:o,xyMinMax:s}}var w={lineX:u(S,0),lineY:u(S,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return a.map(t,function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]})}};function S(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function M(t,e){var i=T(t),n=T(e),a=[i[0]/n[0],i[1]/n[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function T(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var A=p;t.exports=A},"0744":function(t,e,i){"use strict";var n=i("3999"),a=(n.assert,n.isArray),r=i("c3a9");r.__DEV__;function o(t){return new s(t)}function s(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(t){var e,i=this._upstream,n=t&&t.skip;if(this._dirty&&i){var r=this.context;r.data=r.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(e=this._plan(this.context));var o,s=p(this._modBy),l=this._modDataCount||0,c=p(t&&t.modBy),d=t&&t.modDataCount||0;function p(t){return!(t>=1)&&(t=1),t}s===c&&l===d||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=h(this,n)),this._modBy=c,this._modDataCount=d;var f=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,m=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!n&&(o||g<m)){var v=this._progress;if(a(v))for(var y=0;y<v.length;y++)u(this,v[y],g,m,c,d);else u(this,v,g,m,c,d)}this._dueIndex=m;var x=null!=this._settedOutputEnd?this._settedOutputEnd:m;this._outputDueEnd=x}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var c=function(){var t,e,i,n,a,r={reset:function(l,c,u,h){e=l,t=c,i=u,n=h,a=Math.ceil(n/i),r.next=i>1&&n>0?s:o}};return r;function o(){return e<t?e++:null}function s(){var r=e%a*i+Math.ceil(e/a),o=e>=t?null:r<n?r:e;return e++,o}}();function u(t,e,i,n,a,r){c.reset(i,n,a,r),t._callingProgress=e,t._callingProgress({start:i,end:n,count:n-i,next:c.next},t.context)}function h(t,e){var i,n;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&(i=t._reset(t.context),i&&i.progress&&(n=i.forceFirstProgress,i=i.progress),a(i)&&!i.length&&(i=null)),t._progress=i,t._modBy=t._modDataCount=null;var r=t._downstream;return r&&r.dirty(),n}l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},l.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=o},"0761":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("3999"),o=i("35c7"),s=i("f63f"),l=i("83b5"),c=i("d1f3"),u=r.each,h=l.eachAxisDim,d=a.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var n=p(t);this.mergeDefaultAndTheme(t,i),this.doInit(n)},mergeOption:function(t){var e=p(t);r.merge(this.option,t,!0),this.doInit(e)},doInit:function(t){var e=this.option;o.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),f(this,t),u([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(e,i,n,a){var r=this.dependentModels[e.axis][i],o=r.__dzAxisProxy||(r.__dzAxisProxy=new c(e.name,i,this,a));t[e.name+"_"+i]=o},this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();h(function(e){var i=e.axisIndex;t[i]=s.normalizeToArray(t[i])},this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;h(function(i){null!=t[i.axisIndex]&&(e=!0)},this);var i=t.orient;return null==i&&e?"orient":e?void 0:(null==i&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),i=this.option,n=this.dependentModels;if(t){var a="vertical"===e?"y":"x";n[a+"Axis"].length?(i[a+"AxisIndex"]=[0],t=!1):u(n.singleAxis,function(n){t&&n.get("orient",!0)===e&&(i.singleAxisIndex=[n.componentIndex],t=!1)})}t&&h(function(e){if(t){var n=[],a=this.dependentModels[e.axis];if(a.length&&!n.length)for(var r=0,o=a.length;r<o;r++)"category"===a[r].get("type")&&n.push(r);i[e.axisIndex]=n,n.length&&(t=!1)}},this),t&&this.ecModel.eachSeries(function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&h(function(e){var n=i[e.axisIndex],a=t.get(e.axisIndex),o=t.get(e.axisId),s=t.ecModel.queryComponents({mainType:e.axis,index:a,id:o})[0];a=s.componentIndex,r.indexOf(n,a)<0&&n.push(a)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(e){!t&&(t=e.name)},this),this.option.orient="y"===t?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,e){var i=!0;return h(function(n){var a=t.get(n.axisIndex),r=this.dependentModels[n.axis][a];r&&r.get("type")===e||(i=!1)},this),i},_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}},getFirstTargetAxisModel:function(){var t;return h(function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}},this),t},eachTargetAxis:function(t,e){var i=this.ecModel;h(function(n){u(this.get(n.axisIndex),function(a){t.call(e,n,a,this,i)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t,e){var i=this.option;u([["start","startValue"],["end","endValue"]],function(e){null==t[e[0]]&&null==t[e[1]]||(i[e[0]]=t[e[0]],i[e[1]]=t[e[1]])},this),!e&&f(this,t)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function p(t){var e={};return u(["start","end","startValue","endValue","throttle"],function(i){t.hasOwnProperty(i)&&(e[i]=t[i])}),e}function f(t,e){var i=t._rangePropMode,n=t.get("rangeMode");u([["start","startValue"],["end","endValue"]],function(t,a){var r=null!=e[t[0]],o=null!=e[t[1]];r&&!o?i[a]="percent":!r&&o?i[a]="value":n?i[a]=n[a]:r&&(i[a]="percent")})}var g=d;t.exports=g},"089c":function(t,e,i){"use strict";var n=i("26a6"),a=n.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var i=Math.cos,n=Math.sin,a=e.r,r=e.width,o=e.angle,s=e.x-i(o)*r*(r>=a/3?1:2),l=e.y-n(o)*r*(r>=a/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(o)*r,e.y+n(o)*r),t.lineTo(e.x+i(e.angle)*a,e.y+n(e.angle)*a),t.lineTo(e.x-i(o)*r,e.y-n(o)*r),t.lineTo(s,l)}});t.exports=a},"08a4":function(t,e,i){"use strict";var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function a(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:n[0]})}t.exports=a},"08ab":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("b94a");i("aba8"),i("e249"),i("de63"),i("2b78"),i("f6e5"),n.registerLayout(a.curry(r,"bar")),n.extendComponentView({type:"polar"})},"08d4":function(t,e,i){"use strict";var n=i("3999"),a=i("f63f"),r=a.makeInner,o=i("20e3"),s=i("1508"),l=n.each,c=n.curry,u=r();function h(t,e,i){var a=t.currTrigger,r=[t.x,t.y],o=t,u=t.dispatchAction||n.bind(i.dispatchAction,i),h=e.getComponent("axisPointer").coordSysAxesInfo;if(h){b(r)&&(r=s({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var p=b(r),w=o.axesInfo,S=h.axesInfo,M="leave"===a||b(r),T={},A={},I={list:[],map:{}},C={showPointer:c(f,A),showTooltip:c(g,I)};l(h.coordSysMap,function(t,e){var i=p||t.containPoint(r);l(h.coordSysAxesInfo[e],function(t,e){var n=t.axis,a=x(w,t);if(!M&&i&&(!w||a)){var o=a&&a.value;null!=o||p||(o=n.pointToData(r)),null!=o&&d(t,o,C,!1,T)}})});var D={};return l(S,function(t,e){var i=t.linkGroup;i&&!A[e]&&l(i.axesInfo,function(e,n){var a=A[n];if(e!==t&&a){var r=a.value;i.mapper&&(r=t.axis.scale.parse(i.mapper(r,_(e),_(t)))),D[t.key]=r}})}),l(D,function(t,e){d(S[e],t,C,!0,T)}),m(A,S,T),v(I,r,t,u),y(S,u,i),T}}function d(t,e,i,a,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var s=p(e,t),l=s.payloadBatch,c=s.snapToValue;l[0]&&null==r.seriesIndex&&n.extend(r,l[0]),!a&&t.snap&&o.containData(c)&&null!=c&&(e=c),i.showPointer(t,e,l,r),i.showTooltip(t,s,c)}else i.showPointer(t,e)}function p(t,e){var i=e.axis,n=i.dim,a=t,r=[],o=Number.MAX_VALUE,s=-1;return l(e.seriesModels,function(e,c){var u,h,d=e.getData().mapDimension(n,!0);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(d,t,i);h=p.dataIndices,u=p.nestestValue}else{if(h=e.getData().indicesOfNearest(d[0],t,"category"===i.type?.5:null),!h.length)return;u=e.getData().get(d[0],h[0])}if(null!=u&&isFinite(u)){var f=t-u,g=Math.abs(f);g<=o&&((g<o||f>=0&&s<0)&&(o=g,s=f,a=u,r.length=0),l(h,function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:r,snapToValue:a}}function f(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function g(t,e,i,n){var a=i.payloadBatch,r=e.axis,s=r.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var c=e.coordSys.model,u=o.makeKey(c),h=t.map[u];h||(h=t.map[u]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:r.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function m(t,e,i){var n=i.axesInfo=[];l(e,function(e,i){var a=e.axisPointerModel.option,r=t[i];r?(!e.useHandle&&(a.status="show"),a.value=r.value,a.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(a.status="hide"),"show"===a.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:a.value})})}function v(t,e,i,n){if(!b(e)&&t.list.length){var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}function y(t,e,i){var a=i.getZr(),r="axisPointerLastHighlights",o=u(a)[r]||{},s=u(a)[r]={};l(t,function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&l(i.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t})});var c=[],h=[];n.each(o,function(t,e){!s[e]&&h.push(t)}),n.each(s,function(t,e){!o[e]&&c.push(t)}),h.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),c.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:c})}function x(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function _(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function b(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=h},"08fd":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("92d7"),o=i("9297"),s=i("346b"),l=i("8a7d"),c=i("8760"),u=c.prepareLayoutBarSeries,h=c.makeColumnLayout,d=c.retrieveColumnLayout,p=i("e321");function f(t,e){var i,n,r,o=t.type,s=e.getMin(),c=e.getMax(),d=null!=s,p=null!=c,f=t.getExtent();"ordinal"===o?i=e.getCategories().length:(n=e.get("boundaryGap"),a.isArray(n)||(n=[n||0,n||0]),"boolean"===typeof n[0]&&(n=[0,0]),n[0]=l.parsePercent(n[0],1),n[1]=l.parsePercent(n[1],1),r=f[1]-f[0]||Math.abs(f[0])),null==s&&(s="ordinal"===o?i?0:NaN:f[0]-n[0]*r),null==c&&(c="ordinal"===o?i?i-1:NaN:f[1]+n[1]*r),"dataMin"===s?s=f[0]:"function"===typeof s&&(s=s({min:f[0],max:f[1]})),"dataMax"===c?c=f[1]:"function"===typeof c&&(c=c({min:f[0],max:f[1]})),(null==s||!isFinite(s))&&(s=NaN),(null==c||!isFinite(c))&&(c=NaN),t.setBlank(a.eqNaN(s)||a.eqNaN(c)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(s>0&&c>0&&!d&&(s=0),s<0&&c<0&&!p&&(c=0));var m=e.ecModel;if(m&&"time"===o){var v,y=u("bar",m);if(a.each(y,function(t){v|=t.getBaseAxis()===e.axis}),v){var x=h(y),_=g(s,c,e,x);s=_.min,c=_.max}}return[s,c]}function g(t,e,i,n){var r=i.axis.getExtent(),o=r[1]-r[0],s=d(n,i.axis);if(void 0===s)return{min:t,max:e};var l=1/0;a.each(s,function(t){l=Math.min(t.offset,l)});var c=-1/0;a.each(s,function(t){c=Math.max(t.offset+t.width,c)}),l=Math.abs(l),c=Math.abs(c);var u=l+c,h=e-t,p=1-(l+c)/o,f=h/p-h;return e+=f*(c/u),t-=f*(l/u),{min:t,max:e}}function m(t,e){var i=f(t,e),n=null!=e.getMin(),a=null!=e.getMax(),r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:n,fixMax:a,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function v(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(e)||o).create(t)}}function y(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}function x(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}}(e),e):"function"===typeof e?function(n,a){return null!=i&&(a=n-i),e(_(t,n),a)}:function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e}function b(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var n,a,r="category"===t.type,o=i.getExtent();r?a=i.count():(n=i.getTicks(),a=n.length);var s,l=t.getLabelModel(),c=x(t),u=1;a>40&&(u=Math.ceil(a/40));for(var h=0;h<a;h+=u){var d=n?n[h]:o[0]+h,p=c(d),f=l.getTextRect(p),g=w(f,l.get("rotate")||0);s?s.union(g):s=g}return s}}function w(t,e){var i=e*Math.PI/180,n=t.plain(),a=n.width,r=n.height,o=a*Math.cos(i)+r*Math.sin(i),s=a*Math.sin(i)+r*Math.cos(i),l=new p(n.x,n.y,o,s);return l}function S(t){var e=t.get("interval");return null==e?"auto":e}function M(t){return"category"===t.type&&0===S(t.getLabelModel())}i("bd79"),i("a441"),e.getScaleExtent=f,e.niceScaleExtent=m,e.createScaleByModel=v,e.ifAxisCrossZero=y,e.makeLabelFormatter=x,e.getAxisRawValue=_,e.estimateLabelUnionRect=b,e.getOptionCategoryInterval=S,e.shouldShowAllLabels=M},"0a2c":function(t,e,i){"use strict";var n=i("ac5f");n.registerAction({type:"brush",event:"brush"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},"0b14":function(t,e,i){"use strict";var n=i("3999"),a=i("1767"),r=function(t,e,i,n){a.call(this,t,e,i),this.type=n||"value",this.model=null};r.prototype={constructor:r,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},n.inherits(r,a);var o=r;t.exports=o},"0b47":function(t,e,i){"use strict";var n=i("3999"),a=n.createHashMap,r=n.isObject,o=n.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,i=e.data,n=i&&o(i,u);return new s({categories:n,needCollect:!n,deduplication:!1!==e.dedplication})};var l=s.prototype;function c(t){return t._map||(t._map=a(t.categories))}function u(t){return r(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return c(this).get(t)},l.parseAndCollect=function(t){var e,i=this._needCollect;if("string"!==typeof t&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var n=c(this);return e=n.get(t),null==e&&(i?(e=this.categories.length,this.categories[e]=t,n.set(t,e)):e=NaN),e};var h=s;t.exports=h},"0b69":function(t,e,i){var n=i("b041");e=t.exports=i("2350")(!1),e.push([t.i,".minirefresh-wrap{position:absolute;\n/*\n     * 标明了top和bottom  滑动的就是minirefresh-wrap而不再是document.body\n     */top:0;bottom:0;left:0;width:100%;\n/*\n     * 去除wrap层的滚动条,确保只有scrol层有滚动条\n     */overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;\n/**\n     * 使用3d加速时,尽可能的使用index,防止浏览器默认给后续的元素创建复合层渲染\n     * 因为CSS3中,如果这个元素添加了硬件加速,并且index层级比较低,\n     * 在这个元素的后面其它元素(层级比这个元素高的,或者相同的,并且releative或absolute属性相同的),会默认变为复合层渲染\n     * 如果处理不当会极大的影响性能,可以用chrome的rending查看\n     */z-index:1}.minirefresh-scroll{position:relative;\n/*\n     * 默认背景色改成白色,直接避免下拉和正文重叠现象,可以覆盖\n     */background:#fff}.body-scroll-wrap{position:relative}.minirefresh-hardware-speedup{-webkit-transform:translateZ(0);transform:translateZ(0)}.minirefresh-hidden{display:none!important}.minirefresh-wrap::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}.minirefresh-wrap::-webkit-scrollbar{width:6px}.minirefresh-hide-scrollbar::-webkit-scrollbar{width:0}.minirefresh-wrap::-webkit-scrollbar-thumb{border-radius:6px;background-color:#ccc}.minirefresh-wrap::-webkit-scrollbar-thumb:hover{background-color:#aaa}.minirefresh-rotate{-webkit-animation:minirefresh-rotate .6s linear infinite;animation:minirefresh-rotate .6s linear infinite}.minirefresh-fade-in{-webkit-animation:minirefresh-fade-in .5s linear forwards;animation:minirefresh-fade-in .5s linear forwards}.minirefresh-fade-out{pointer-events:none;-webkit-animation:minirefresh-fade-out .5s linear forwards;animation:minirefresh-fade-out .5s linear forwards}.minirefresh-totop{position:fixed;z-index:9990;right:10px;bottom:30px;width:36px;height:36px;border-radius:50%;background-image:url("+n(i("fee5"))+");background-size:100% 100%}@-webkit-keyframes minirefresh-fade-in{0%{opacity:0}to{opacity:1}}@keyframes minirefresh-fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes minirefresh-fade-out{0%{opacity:1}to{opacity:0}}@keyframes minirefresh-fade-out{0%{opacity:1}to{opacity:0}}@-webkit-keyframes minirefresh-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);-moz-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn);-moz-transform:rotate(1turn)}}@keyframes minirefresh-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);-moz-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn);-moz-transform:rotate(1turn)}}\n/*\n * 引入默认的主题\n */.minirefresh-theme-default .minirefresh-downwrap{position:absolute;top:0;left:0;width:100%;height:75px}.minirefresh-theme-default .minirefresh-upwrap{min-height:30px;padding:15px 0;text-align:center}.minirefresh-theme-default .downwrap-content{\n/*position: absolute;*/width:100%;padding:10px 0;text-align:center}.minirefresh-theme-default .minirefresh-downwrap .downwrap-progress,.minirefresh-theme-default .minirefresh-upwrap .upwrap-progress{display:inline-block;width:16px;height:16px;border-radius:50%;border:1px solid grey;margin-right:8px;border-bottom-color:rgba(0,0,0,0);vertical-align:middle}.minirefresh-theme-default .minirefresh-downwrap .downwrap-error,.minirefresh-theme-default .minirefresh-downwrap .downwrap-success{\n/*border-bottom-color: gray;*/display:none}.minirefresh-theme-default .minirefresh-downwrap .downwrap-tips,.minirefresh-theme-default .minirefresh-upwrap .upwrap-tips{display:inline-block;font-size:12px;color:grey;vertical-align:middle}.minirefresh-theme-default .status-nomore .upwrap-tips{\n/*\n             * vertical-align: middle;会导致显示不全,display:block也不起作用\n             * 因此设置一个padding\n             */padding:15px 0}",""])},"0c64":function(t,e,i){"use strict";var n=i("8a7d"),a=n.parsePercent,r=n.linearMap,o=i("9cb2"),s=i("3999"),l=2*Math.PI,c=Math.PI/180;function u(t,e,i,n){e.eachSeriesByType(t,function(t){var e=t.getData(),n=e.mapDimension("value"),u=t.get("center"),h=t.get("radius");s.isArray(h)||(h=[0,h]),s.isArray(u)||(u=[u,u]);var d=i.getWidth(),p=i.getHeight(),f=Math.min(d,p),g=a(u[0],d),m=a(u[1],p),v=a(h[0],f/2),y=a(h[1],f/2),x=-t.get("startAngle")*c,_=t.get("minAngle")*c,b=0;e.each(n,function(t){!isNaN(t)&&b++});var w=e.getSum(n),S=Math.PI/(w||b)*2,M=t.get("clockwise"),T=t.get("roseType"),A=t.get("stillShowZeroSum"),I=e.getDataExtent(n);I[0]=0;var C=l,D=0,L=x,k=M?1:-1;if(e.each(n,function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:g,cy:m,r0:v,r:T?NaN:y});else{n="area"!==T?0===w&&A?S:t*S:l/b,n<_?(n=_,C-=_):D+=t;var a=L+k*n;e.setItemLayout(i,{angle:n,startAngle:L,endAngle:a,clockwise:M,cx:g,cy:m,r0:v,r:T?r(t,I,[v,y]):y}),L=a}}),C<l&&b)if(C<=.001){var P=l/b;e.each(n,function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i);n.angle=P,n.startAngle=x+k*i*P,n.endAngle=x+k*(i+1)*P}})}else S=C/D,L=x,e.each(n,function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i),a=n.angle===_?_:t*S;n.startAngle=L,n.endAngle=L+k*a,L+=k*a}});o(t,y,d,p)})}t.exports=u},"0d29":function(t,e,i){"use strict";var n=i("0565"),a=i("df36"),r=i("3999"),o=a.extend({type:"series.gauge",getInitialData:function(t,e){var i=t.data||[];return r.isArray(i)||(i=[i]),t.data=i,n(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),s=o;t.exports=s},"0d67":function(t,e,i){"use strict";var n=i("26a6"),a=n.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,a,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,a,!0)}});t.exports=a},"0df4":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=n.extendComponentView({type:"marker",init:function(){this.markerGroupMap=a.createHashMap()},render:function(t,e,i){var n=this.markerGroupMap;n.each(function(t){t.__keep=!1});var a=this.type+"Model";e.eachSeries(function(t){var n=t[a];n&&this.renderSeries(t,n,e,i)},this),n.each(function(t){!t.__keep&&this.group.remove(t.group)},this)},renderSeries:function(){}});t.exports=r},"0e54":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999");n.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),e.resetOption("timeline"),a.defaults({currentIndex:i.option.currentIndex},t)}),n.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var i=e.getComponent("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)})},"0eec":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("8aac"),o=i("890a"),s=i("82e1"),l=i("8a7d"),c=l.reformIntervals,u=r.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(t,e){u.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var i=this._mode=this._determineMode();h[this._mode].call(this),this._resetSelected(t,e);var n=this.option.categories;this.resetVisual(function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=a.clone(n)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=a.map(this._pieceList,function(t){t=a.clone(t);return"inRange"!==e&&(t.visual=null),t}))})},completeVisualOption:function(){var t=this.option,e={},i=o.listVisualTypes(),n=this.isCategory();function l(t,e,i){return t&&t[e]&&(a.isObject(t[e])?t[e].hasOwnProperty(i):t[e]===i)}a.each(t.pieces,function(t){a.each(i,function(i){t.hasOwnProperty(i)&&(e[i]=1)})}),a.each(e,function(e,i){var r=0;a.each(this.stateList,function(e){r|=l(t,e,i)||l(t.target,e,i)},this),!r&&a.each(this.stateList,function(e){(t[e]||(t[e]={}))[i]=s.get(i,"inRange"===e?"active":"inactive",n)})},this),r.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var i=this.option,n=this._pieceList,r=(e?i:t).selected||{};if(i.selected=r,a.each(n,function(t,e){var i=this.getSelectedMapKey(t);r.hasOwnProperty(i)||(r[i]=!0)},this),"single"===i.selectedMode){var o=!1;a.each(n,function(t,e){var i=this.getSelectedMapKey(t);r[i]&&(o?r[i]=!1:o=!0)},this)}},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=a.clone(t)},getValueState:function(t){var e=o.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),function(e,i){var a=o.findPieceIndex(e,this._pieceList);a===t&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],i=[],n=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 s=-1/0;return a.each(r,function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])},this),{stops:e,outerColors:i}}function l(a,r){var o=n.getRepresentValue({interval:a});r||(r=n.getValueState(o));var s=t(o,r);a[0]===-1/0?i[0]=s:a[1]===1/0?i[1]=s:e.push({value:a[0],color:s},{value:a[1],color:s})}}}),h={splitNumber:function(){var t=this.option,e=this._pieceList,i=Math.min(t.precision,20),n=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;var o=(n[1]-n[0])/r;while(+o.toFixed(i)!==o&&i<5)i++;t.precision=i,o=+o.toFixed(i);var s=0;t.minOpen&&e.push({index:s++,interval:[-1/0,n[0]],close:[0,0]});for(var l=n[0],u=s+r;s<u;l+=o){var h=s===r-1?n[1]:l+o;e.push({index:s++,interval:[l,h],close:[1,1]})}t.maxOpen&&e.push({index:s++,interval:[n[1],1/0],close:[0,0]}),c(e),a.each(e,function(t){t.text=this.formatValueText(t.interval)},this)},categories:function(){var t=this.option;a.each(t.categories,function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})},this),d(t,this._pieceList)},pieces:function(){var t=this.option,e=this._pieceList;a.each(t.pieces,function(t,i){a.isObject(t)||(t={value:t});var n={text:"",index:i};if(null!=t.label&&(n.text=t.label),t.hasOwnProperty("value")){var r=n.value=t.value;n.interval=[r,r],n.close=[1,1]}else{for(var s=n.interval=[],l=n.close=[0,0],c=[1,0,1],u=[-1/0,1/0],h=[],d=0;d<2;d++){for(var p=[["gte","gt","min"],["lte","lt","max"]][d],f=0;f<3&&null==s[d];f++)s[d]=t[p[f]],l[d]=c[f],h[d]=2===f;null==s[d]&&(s[d]=u[d])}h[0]&&s[1]===1/0&&(l[0]=0),h[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(n.value=s[0])}n.visual=o.retrieveVisuals(t),e.push(n)},this),d(t,e),c(e),a.each(e,function(t){var e=t.close,i=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)},this)}};function d(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var p=u;t.exports=p},"0fee":function(t,e,i){"use strict";var n=i("df36"),a=i("eb1a"),r=n.extend({type:"series.__base_bar__",getInitialData:function(t,e){return a(this.getSource(),this)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var i=e.dataToPoint(e.clampData(t)),n=this.getData(),a=n.getLayout("offset"),r=n.getLayout("size"),o=e.getBaseAxis().isHorizontal()?0:1;return i[o]+=a+r/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=r},1073:function(t,e,i){"use strict";var n=i("3999"),a=i("e321"),r=i("8a7d"),o=r.parsePercent,s=i("b04a"),l=n.each,c=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(t,e,i,n,a){var r=0,o=0;null==n&&(n=1/0),null==a&&(a=1/0);var s=0;e.eachChild(function(l,c){var u,h,d=l.position,p=l.getBoundingRect(),f=e.childAt(c+1),g=f&&f.getBoundingRect();if("horizontal"===t){var m=p.width+(g?-g.x+p.x:0);u=r+m,u>n||l.newline?(r=0,u=m,o+=s+i,s=p.height):s=Math.max(s,p.height)}else{var v=p.height+(g?-g.y+p.y:0);h=o+v,h>a||l.newline?(r+=s+i,o=0,h=v,s=p.width):s=Math.max(s,p.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===t?r=u+i:o=h+i)})}var d=h,p=n.curry(h,"vertical"),f=n.curry(h,"horizontal");function g(t,e,i){var n=e.width,a=e.height,r=o(t.x,n),l=o(t.y,a),c=o(t.x2,n),u=o(t.y2,a);return(isNaN(r)||isNaN(parseFloat(t.x)))&&(r=0),(isNaN(c)||isNaN(parseFloat(t.x2)))&&(c=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(t.y2)))&&(u=a),i=s.normalizeCssArray(i||0),{width:Math.max(c-r-i[1]-i[3],0),height:Math.max(u-l-i[0]-i[2],0)}}function m(t,e,i){i=s.normalizeCssArray(i||0);var n=e.width,r=e.height,l=o(t.left,n),c=o(t.top,r),u=o(t.right,n),h=o(t.bottom,r),d=o(t.width,n),p=o(t.height,r),f=i[2]+i[0],g=i[1]+i[3],m=t.aspect;switch(isNaN(d)&&(d=n-u-g-l),isNaN(p)&&(p=r-h-f-c),null!=m&&(isNaN(d)&&isNaN(p)&&(m>n/r?d=.8*n:p=.8*r),isNaN(d)&&(d=m*p),isNaN(p)&&(p=d/m)),isNaN(l)&&(l=n-u-d-g),isNaN(c)&&(c=r-h-p-f),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g;break}switch(t.top||t.bottom){case"middle":case"center":c=r/2-p/2-i[0];break;case"bottom":c=r-p-f;break}l=l||0,c=c||0,isNaN(d)&&(d=n-g-l-(u||0)),isNaN(p)&&(p=r-f-c-(h||0));var v=new a(l+i[3],c+i[0],d,p);return v.margin=i,v}function v(t,e,i,r,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],c=o&&o.boundingMode||"all";if(s||l){var u;if("raw"===c)u="group"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();u=u.clone(),u.applyTransform(h)}e=m(n.defaults({width:u.width,height:u.height},e),i,r);var d=t.position,p=s?e.x-u.x:0,f=l?e.y-u.y:0;t.attr("position","raw"===c?[p,f]:[d[0]+p,d[1]+f])}}function y(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]}function x(t,e,i){!n.isObject(i)&&(i={});var a=i.ignoreSize;!n.isArray(a)&&(a=[a,a]);var r=s(u[0],0),o=s(u[1],1);function s(i,n){var r={},o=0,s={},u=0,d=2;if(l(i,function(e){s[e]=t[e]}),l(i,function(t){c(e,t)&&(r[t]=s[t]=e[t]),h(r,t)&&o++,h(s,t)&&u++}),a[n])return h(e,i[1])?s[i[2]]=null:h(e,i[2])&&(s[i[1]]=null),s;if(u!==d&&o){if(o>=d)return r;for(var p=0;p<i.length;p++){var f=i[p];if(!c(r,f)&&c(t,f)){r[f]=t[f];break}}return r}return s}function c(t,e){return t.hasOwnProperty(e)}function h(t,e){return null!=t[e]&&"auto"!==t[e]}function d(t,e,i){l(t,function(t){e[t]=i[t]})}d(u[0],t,r),d(u[1],t,o)}function _(t){return b({},t)}function b(t,e){return e&&t&&l(c,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}e.LOCATION_PARAMS=c,e.HV_NAMES=u,e.box=d,e.vbox=p,e.hbox=f,e.getAvailableSize=g,e.getLayoutRect=m,e.positionElement=v,e.sizeCalculable=y,e.mergeLayoutParam=x,e.getLayoutParams=_,e.copyLayoutParams=b},"108c":function(t,e,i){"use strict";var n=i("3999"),a={updateSelectedMap:function(t){this._targetList=n.isArray(t)?t.slice():[],this._selectTargetMap=n.reduce(t||[],function(t,e){return t.set(e.name,e),t},n.createHashMap())},select:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t),n=this.get("selectedMode");"single"===n&&this._selectTargetMap.each(function(t){t.selected=!1}),i&&(i.selected=!0)},unSelect:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);i&&(i.selected=!1)},toggleSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=i)return this[i.selected?"unSelect":"select"](t,e),i.selected},isSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return i&&i.selected}};t.exports=a},"118f":function(t,e,i){"use strict";var n=i("e321"),a=i("b589"),r=i("1637"),o=i("65df");function s(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],o=[-e,-e],s=[],l=[],c=this.geometries,u=0;u<c.length;u++)if("polygon"===c[u].type){var h=c[u].exterior;a.fromPoints(h,s,l),r.min(i,i,s),r.max(o,o,l)}return 0===u&&(i[0]=i[1]=o[0]=o[1]=0),this._rect=new n(i[0],i[1],o[0]-i[0],o[1]-i[1])},contain:function(t){var e=this.getBoundingRect(),i=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var n=0,a=i.length;n<a;n++)if("polygon"===i[n].type){var r=i[n].exterior,s=i[n].interiors;if(o.contain(r,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(o.contain(s[l]))continue t;return!0}}return!1},transformTo:function(t,e,i,a){var o=this.getBoundingRect(),s=o.width/o.height;i?a||(a=i/s):i=s*a;for(var l=new n(t,e,i,a),c=o.calculateTransform(l),u=this.geometries,h=0;h<u.length;h++)if("polygon"===u[h].type){for(var d=u[h].exterior,p=u[h].interiors,f=0;f<d.length;f++)r.applyTransform(d[f],d[f],c);for(var g=0;g<(p?p.length:0);g++)for(f=0;f<p[g].length;f++)r.applyTransform(p[g][f],p[g][f],c)}o=this._rect,o.copy(l),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new s(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}};var l=s;t.exports=l},"127e":function(t,e,i){"use strict";i.r(e);var n=i("01ab"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,function(){return n[t]})}(r);e["default"]=a.a},"13c4":function(t,e,i){"use strict";var n=i("890a"),a=i("3999");function r(t,e){t.eachSeriesByType("sankey",function(t){var e=t.getGraph(),i=e.nodes;if(i.length){var r=1/0,o=-1/0;a.each(i,function(t){var e=t.getLayout().value;e<r&&(r=e),e>o&&(o=e)}),a.each(i,function(e){var i=new n({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}),a=i.mapValueToVisual(e.getLayout().value);e.setVisual("color",a);var s=e.getModel(),l=s.get("itemStyle.color");null!=l&&e.setVisual("color",l)})}})}t.exports=r},"14ab":function(t,e,i){"use strict";var n=i("3999"),a=i("1767"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.position=r||"bottom",this.orient=null};r.prototype={constructor:r,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},n.inherits(r,a);var o=r;t.exports=o},"14d8":function(t,e,i){"use strict";var n=i("9336"),a=n.retrieveRawValue;function r(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return a(t,e,i[0]);if(n){for(var r=[],o=0;o<i.length;o++){var s=a(t,e,i[o]);r.push(s)}return r.join(" ")}}e.getDefaultLabel=r},1508:function(t,e,i){"use strict";var n=i("3999"),a=i("f63f");function r(t,e){var i,r=[],o=t.seriesIndex;if(null==o||!(i=e.getSeriesByIndex(o)))return{point:[]};var s=i.getData(),l=a.queryDataIndex(s,t);if(null==l||l<0||n.isArray(l))return{point:[]};var c=s.getItemGraphicEl(l),u=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(l)||[];else if(u&&u.dataToPoint)r=u.dataToPoint(s.getValues(n.map(u.dimensions,function(t){return s.mapDimension(t)}),l,!0))||[];else if(c){var h=c.getBoundingRect().clone();h.applyTransform(c.transform),r=[h.x+h.width/2,h.y+h.height/2]}return{point:r,el:c}}t.exports=r},"155a":function(t,e,i){"use strict";i("0d29"),i("d287")},1637:function(t,e,i){"use strict";var n="undefined"===typeof Float32Array?Array:Float32Array;function a(t,e){var i=new n(2);return null==t&&(t=0),null==e&&(e=0),i[0]=t,i[1]=e,i}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){var e=new n(2);return e[0]=t[0],e[1]=t[1],e}function s(t,e,i){return t[0]=e,t[1]=i,t}function l(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function c(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function u(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function h(t){return Math.sqrt(p(t))}var d=h;function p(t){return t[0]*t[0]+t[1]*t[1]}var f=p;function g(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t}function m(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t}function v(t,e){return t[0]*e[0]+t[1]*e[1]}function y(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function x(t,e){var i=h(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function _(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var b=_;function w(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var S=w;function M(t,e){return t[0]=-e[0],t[1]=-e[1],t}function T(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function A(t,e,i){var n=e[0],a=e[1];return t[0]=i[0]*n+i[2]*a+i[4],t[1]=i[1]*n+i[3]*a+i[5],t}function I(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function C(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}e.create=a,e.copy=r,e.clone=o,e.set=s,e.add=l,e.scaleAndAdd=c,e.sub=u,e.len=h,e.length=d,e.lenSquare=p,e.lengthSquare=f,e.mul=g,e.div=m,e.dot=v,e.scale=y,e.normalize=x,e.distance=_,e.dist=b,e.distanceSquare=w,e.distSquare=S,e.negate=M,e.lerp=T,e.applyTransform=A,e.min=I,e.max=C},1647:function(t,e,i){"use strict";var n=i("a57a"),a=n.extend({type:"timeline"});t.exports=a},"173a":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("de13"),o=r.updateCenterAndZoom;n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},function(e){var n=e.coordinateSystem;if("geo"===n.type){var r=o(n,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom),"series"===i&&a.each(e.seriesGroup,function(t){t.setCenter(r.center),t.setZoom(r.zoom)})}})})},1767:function(t,e,i){"use strict";var n=i("3999"),a=n.each,r=n.map,o=i("8a7d"),s=o.linearMap,l=o.getPixelPrecision,c=i("3210"),u=c.createAxisTicks,h=c.createAxisLabels,d=c.calculateCategoryInterval,p=[0,1],f=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};function g(t,e){var i=t[1]-t[0],n=e,a=i/n/2;t[0]+=a,t[1]-=a}function m(t,e,i,n,r){var o=e.length;if(t.onBand&&!n&&o){var s,l=t.getExtent();if(1===o)e[0].coord=l[0],s=e[1]={coord:l[0]};else{var c=e[1].coord-e[0].coord;a(e,function(t){t.coord-=c/2;var e=e||0;e%2>0&&(t.coord-=c/(2*(e+1)))}),s={coord:e[o-1].coord+c},e.push(s)}var u=l[0]>l[1];h(e[0].coord,l[0])&&(r?e[0].coord=l[0]:e.shift()),r&&h(l[0],e[0].coord)&&e.unshift({coord:l[0]}),h(l[1],s.coord)&&(r?s.coord=l[1]:e.pop()),r&&h(s.coord,l[1])&&e.push({coord:l[1]})}function h(t,e){return u?t>e:t<e}}f.prototype={constructor:f,contain:function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&(i=i.slice(),g(i,n.count())),s(t,p,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(i=i.slice(),g(i,n.count()));var a=s(t,i,p,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=u(this,e),n=i.ticks,a=r(n,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),o=e.get("alignWithLabel");return m(this,a,i.tickCategoryInterval,o,t.clamp),a},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return d(this)}};var v=f;t.exports=v},1821:function(t,e,i){"use strict";var n=i("3999"),a=i("8aac"),r=i("8a7d"),o=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=o[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=o[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):n.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=r.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},getValueState:function(t){var e=this.option.range,i=this.getExtent();return(e[0]<=i[0]||e[0]<=t)&&(e[1]>=i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function a(e,i){n.push({value:e,color:t(e,i)})}for(var r=0,o=0,s=i.length,c=e.length;o<c&&(!i.length||e[o]<=i[0]);o++)e[o]<i[r]&&a(e[o],"outOfRange");for(var u=1;r<s;r++,u=0)u&&n.length&&a(i[r],"outOfRange"),a(i[r],"inRange");for(u=1;o<c;o++)(!i.length||i[i.length-1]<e[o])&&(u&&(n.length&&a(n[n.length-1].value,"outOfRange"),u=0),a(e[o],"outOfRange"));var h=n.length;return{stops:n,outerColors:[h?n[0].color:"transparent",h?n[h-1].color:"transparent"]}}});function l(t,e,i){if(i[0]===i[1])return i.slice();for(var n=200,a=(i[1]-i[0])/n,r=i[0],o=[],s=0;s<=n&&r<i[1];s++)o.push(r),r+=a;return o.push(i[1]),o}var c=s;t.exports=c},"184b":function(t,e,i){"use strict";var n=i("65df"),a=i("e321"),r={lineX:o(0),lineY:o(1),rect:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])},rect:function(t,e,i){return t&&i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])&&n.contain(i.range,t[0],t[1])},rect:function(t,e,i){var r=i.range;if(!t||r.length<=1)return!1;var o=t.x,s=t.y,c=t.width,u=t.height,h=r[0];return!!(n.contain(r,o,s)||n.contain(r,o+c,s)||n.contain(r,o,s+u)||n.contain(r,o+c,s+u)||a.create(t).contain(h[0],h[1])||l(o,s,o+c,s,r)||l(o,s,o,s+u,r)||l(o+c,s,o+c,s+u,r)||l(o,s+u,o+c,s+u,r))||void 0}}};function o(t){var e=["x","y"],i=["width","height"];return{point:function(e,i,n){if(e){var a=n.range,r=e[t];return s(r,a)}},rect:function(n,a,r){if(n){var o=r.range,l=[n[e[t]],n[e[t]]+n[i[t]]];return l[1]<l[0]&&l.reverse(),s(l[0],o)||s(l[1],o)||s(o[0],l)||s(o[1],l)}}}}function s(t,e){return e[0]<=t&&t<=e[1]}function l(t,e,i,n,a){for(var r=0,o=a[a.length-1];r<a.length;r++){var s=a[r];if(c(t,e,i,n,s[0],s[1],o[0],o[1]))return!0;o=s}}function c(t,e,i,n,a,r,o,s){var l=h(i-t,a-o,n-e,r-s);if(u(l))return!1;var c=h(a-t,a-o,r-e,r-s)/l;if(c<0||c>1)return!1;var d=h(i-t,a-t,n-e,r-e)/l;return!(d<0||d>1)}function u(t){return t<=1e-6&&t>=-1e-6}function h(t,e,i,n){return t*n-e*i}var d=r;t.exports=d},1878:function(t,e,i){"use strict";var n=i("3999"),a=["rect","polygon","keep","clear"];function r(t,e){var i=t&&t.brush;if(n.isArray(i)||(i=i?[i]:[]),i.length){var r=[];n.each(i,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(r=r.concat(e))});var s=t&&t.toolbox;n.isArray(s)&&(s=s[0]),s||(s={feature:{}},t.toolbox=[s]);var l=s.feature||(s.feature={}),c=l.brush||(l.brush={}),u=c.type||(c.type=[]);u.push.apply(u,r),o(u),e&&!u.length&&u.push.apply(u,a)}}function o(t){var e={};n.each(t,function(t){e[t]=1}),t.length=0,n.each(e,function(e,i){t.push(i)})}t.exports=r},1882:function(t,e,i){"use strict";var n=i("3999"),a=i("0290"),r=i("c14b"),o=i("f63f"),s=a.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,i){this._data,this._names,this.mergeDefaultAndTheme(t,i),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],i=t.axisType,a=this._names=[];if("category"===i){var s=[];n.each(e,function(t,e){var i,r=o.getDataItemValue(t);n.isObject(t)?(i=n.clone(t),i.value=e):i=e,s.push(i),n.isString(r)||null!=r&&!isNaN(r)||(r=""),a.push(r+"")}),e=s}var l={category:"ordinal",time:"time"}[i]||"number",c=this._data=new r([{name:"value",type:l}],this);c.initData(e,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},1898:function(t,e,i){"use strict";var n=i("0565"),a=i("3999"),r=i("6b4e"),o=r.getDimensionTypeByAxis,s={_baseAxisDim:null,getInitialData:function(t,e){var i,r,s=e.getComponent("xAxis",this.get("xAxisIndex")),l=e.getComponent("yAxis",this.get("yAxisIndex")),c=s.get("type"),u=l.get("type");"category"===c?(t.layout="horizontal",i=s.getOrdinalMeta(),r=!0):"category"===u?(t.layout="vertical",i=l.getOrdinalMeta(),r=!0):t.layout=t.layout||"horizontal";var h=["x","y"],d="horizontal"===t.layout?0:1,p=this._baseAxisDim=h[d],f=h[1-d],g=[s,l],m=g[d].get("type"),v=g[1-d].get("type"),y=t.data;if(y&&r){var x=[];a.each(y,function(t,e){var i;t.value&&a.isArray(t.value)?(i=t.value.slice(),t.value.unshift(e)):a.isArray(t)?(i=t.slice(),t.unshift(e)):i=t,x.push(i)}),t.data=x}var _=this.defaultValueDimensions;return n(this,{coordDimensions:[{name:p,type:o(m),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:o(v),dimsDef:_.slice()}],dimensionsCount:_.length+1})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};e.seriesModelMixin=s},"193a":function(t,e,i){"use strict";var n="#eee",a=function(){return{axisLine:{lineStyle:{color:n}},axisTick:{lineStyle:{color:n}},axisLabel:{textStyle:{color:n}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:n}}}},r=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],o={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:n},crossStyle:{color:n}}},legend:{textStyle:{color:n}},textStyle:{color:n},title:{textStyle:{color:n}},toolbox:{iconStyle:{normal:{borderColor:n}}},dataZoom:{textStyle:{color:n}},visualMap:{textStyle:{color:n}},timeline:{lineStyle:{color:n},itemStyle:{normal:{color:r[1]}},label:{normal:{textStyle:{color:n}}},controlStyle:{normal:{color:n,borderColor:n}}},timeAxis:a(),logAxis:a(),valueAxis:a(),categoryAxis:a(),line:{symbol:"circle"},graph:{color:r},gauge:{title:{textStyle:{color:n}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};o.categoryAxis.splitLine.show=!1;var s=o;t.exports=s},"1ae6":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999");i("fe8e"),i("d5a0");var r=i("ba3f"),o=i("bb2c"),s=i("0c64"),l=i("8224");r("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),n.registerVisual(o("pie")),n.registerLayout(a.curry(s,"pie")),n.registerProcessor(l("pie"))},"1b25":function(t,e,i){"use strict";var n=i("1637"),a=n.create,r=n.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,c=1e-4,u=s(3),h=1/3,d=a(),p=a(),f=a();function g(t){return t>-l&&t<l}function m(t){return t>l||t<-l}function v(t,e,i,n,a){var r=1-a;return r*r*(r*t+3*a*e)+a*a*(a*n+3*r*i)}function y(t,e,i,n,a){var r=1-a;return 3*(((e-t)*r+2*(i-e)*a)*r+(n-i)*a*a)}function x(t,e,i,n,a,r){var l=n+3*(e-i)-t,c=3*(i-2*e+t),d=3*(e-t),p=t-a,f=c*c-3*l*d,m=c*d-9*l*p,v=d*d-3*c*p,y=0;if(g(f)&&g(m))if(g(c))r[0]=0;else{var x=-d/c;x>=0&&x<=1&&(r[y++]=x)}else{var _=m*m-4*f*v;if(g(_)){var b=m/f,w=(x=-c/l+b,-b/2);x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w)}else if(_>0){var S=s(_),M=f*c+1.5*l*(-m+S),T=f*c+1.5*l*(-m-S);M=M<0?-o(-M,h):o(M,h),T=T<0?-o(-T,h):o(T,h);x=(-c-(M+T))/(3*l);x>=0&&x<=1&&(r[y++]=x)}else{var A=(2*f*c-3*l*m)/(2*s(f*f*f)),I=Math.acos(A)/3,C=s(f),D=Math.cos(I),L=(x=(-c-2*C*D)/(3*l),w=(-c+C*(D+u*Math.sin(I)))/(3*l),(-c+C*(D-u*Math.sin(I)))/(3*l));x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w),L>=0&&L<=1&&(r[y++]=L)}}return y}function _(t,e,i,n,a){var r=6*i-12*e+6*t,o=9*e+3*n-3*t-9*i,l=3*e-3*t,c=0;if(g(o)){if(m(r)){var u=-l/r;u>=0&&u<=1&&(a[c++]=u)}}else{var h=r*r-4*o*l;if(g(h))a[0]=-r/(2*o);else if(h>0){var d=s(h),p=(u=(-r+d)/(2*o),(-r-d)/(2*o));u>=0&&u<=1&&(a[c++]=u),p>=0&&p<=1&&(a[c++]=p)}}return c}function b(t,e,i,n,a,r){var o=(e-t)*a+t,s=(i-e)*a+e,l=(n-i)*a+i,c=(s-o)*a+o,u=(l-s)*a+s,h=(u-c)*a+c;r[0]=t,r[1]=o,r[2]=c,r[3]=h,r[4]=h,r[5]=u,r[6]=l,r[7]=n}function w(t,e,i,n,a,o,l,u,h,g,m){var y,x,_,b,w,S=.005,M=1/0;d[0]=h,d[1]=g;for(var T=0;T<1;T+=.05)p[0]=v(t,i,a,l,T),p[1]=v(e,n,o,u,T),b=r(d,p),b<M&&(y=T,M=b);M=1/0;for(var A=0;A<32;A++){if(S<c)break;x=y-S,_=y+S,p[0]=v(t,i,a,l,x),p[1]=v(e,n,o,u,x),b=r(p,d),x>=0&&b<M?(y=x,M=b):(f[0]=v(t,i,a,l,_),f[1]=v(e,n,o,u,_),w=r(f,d),_<=1&&w<M?(y=_,M=w):S*=.5)}return m&&(m[0]=v(t,i,a,l,y),m[1]=v(e,n,o,u,y)),s(M)}function S(t,e,i,n){var a=1-n;return a*(a*t+2*n*e)+n*n*i}function M(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function T(t,e,i,n,a){var r=t-2*e+i,o=2*(e-t),l=t-n,c=0;if(g(r)){if(m(o)){var u=-l/o;u>=0&&u<=1&&(a[c++]=u)}}else{var h=o*o-4*r*l;if(g(h)){u=-o/(2*r);u>=0&&u<=1&&(a[c++]=u)}else if(h>0){var d=s(h),p=(u=(-o+d)/(2*r),(-o-d)/(2*r));u>=0&&u<=1&&(a[c++]=u),p>=0&&p<=1&&(a[c++]=p)}}return c}function A(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function I(t,e,i,n,a){var r=(e-t)*n+t,o=(i-e)*n+e,s=(o-r)*n+r;a[0]=t,a[1]=r,a[2]=s,a[3]=s,a[4]=o,a[5]=i}function C(t,e,i,n,a,o,l,u,h){var g,m=.005,v=1/0;d[0]=l,d[1]=u;for(var y=0;y<1;y+=.05){p[0]=S(t,i,a,y),p[1]=S(e,n,o,y);var x=r(d,p);x<v&&(g=y,v=x)}v=1/0;for(var _=0;_<32;_++){if(m<c)break;var b=g-m,w=g+m;p[0]=S(t,i,a,b),p[1]=S(e,n,o,b);x=r(p,d);if(b>=0&&x<v)g=b,v=x;else{f[0]=S(t,i,a,w),f[1]=S(e,n,o,w);var M=r(f,d);w<=1&&M<v?(g=w,v=M):m*=.5}}return h&&(h[0]=S(t,i,a,g),h[1]=S(e,n,o,g)),s(v)}e.cubicAt=v,e.cubicDerivativeAt=y,e.cubicRootAt=x,e.cubicExtrema=_,e.cubicSubdivide=b,e.cubicProjectPoint=w,e.quadraticAt=S,e.quadraticDerivativeAt=M,e.quadraticRootAt=T,e.quadraticExtremum=A,e.quadraticSubdivide=I,e.quadraticProjectPoint=C},"1b75":function(t,e,i){"use strict";var n=i("ac5f"),a={type:"axisAreaSelect",event:"axisAreaSelected"};n.registerAction(a,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),n.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})},"1c1f":function(t,e,i){"use strict";var n=i("3999"),a=i("f63f");function r(t){o(t),s(t)}function o(t){if(!t.parallel){var e=!1;n.each(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}function s(t){var e=a.normalizeToArray(t.parallelAxis);n.each(e,function(e){if(n.isObject(e)){var i=e.parallelIndex||0,r=a.normalizeToArray(t.parallel)[i];r&&r.parallelAxisDefault&&n.merge(e,r.parallelAxisDefault,!1)}})}t.exports=r},"1c56":function(t,e,i){"use strict";var n=i("3999"),a=i("35c7"),r=i("f63f"),o=r.makeInner,s=i("2a8d"),l=s.enableClassExtend,c=s.enableClassCheck,u=i("2f05"),h=i("95c2"),d=i("7d61"),p=i("909d"),f=n.mixin,g=o();function m(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function v(t,e,i){for(var n=0;n<e.length;n++)if(e[n]&&(t=t&&"object"===typeof t?t[e[n]]:null,null==t))break;return null==t&&i&&(t=i.get(e)),t}function y(t,e){var i=g(t).getParent;return i?i.call(t,e):t.parentModel}m.prototype={constructor:m,init:null,mergeOption:function(t){n.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:v(this.option,this.parsePath(t),!e&&y(this,t))},getShallow:function(t,e){var i=this.option,n=null==i?i:i[t],a=!e&&y(this,t);return null==n&&a&&(n=a.getShallow(t)),n},getModel:function(t,e){var i,n=null==t?this.option:v(this.option,t=this.parsePath(t));return e=e||(i=y(this,t))&&i.getModel(t),new m(n,e,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){var t=this.constructor;return new t(n.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"===typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){g(this).getParent=t},isAnimationEnabled:function(){if(!a.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},l(m),c(m),f(m,u),f(m,h),f(m,d),f(m,p);var x=m;t.exports=x},"1cec":function(t,e,i){"use strict";var n="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},"1cf8":function(t,e,i){"use strict";for(var n=i("3999"),a=i("118f"),r=[126,25],o=[[[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]]],s=0;s<o.length;s++)for(var l=0;l<o[s].length;l++)o[s][l][0]/=10.5,o[s][l][1]/=-14,o[s][l][0]+=r[0],o[s][l][1]+=r[1];function c(t,e){"china"===t&&e.push(new a("南海诸岛",n.map(o,function(t){return{type:"polygon",exterior:t}}),r))}t.exports=c},"1eeb":function(t,e,i){"use strict";var n=i("ac5f"),a=i("bc9d"),r=i("3999"),o=i("2008");function s(t){return r.isArray(t)||(t=[+t,+t]),t}var l=n.extendChartView({type:"radar",render:function(t,e,i){var n=t.coordinateSystem,l=this.group,c=t.getData(),u=this._data;function h(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemVisual(e,"color");if("none"!==i){var a=s(t.getItemVisual(e,"symbolSize")),r=o.createSymbol(i,-1,-1,2,2,n);return r.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2]}),r}}function d(e,i,n,r,o,s){n.removeAll();for(var l=0;l<i.length-1;l++){var c=h(r,o);c&&(c.__dimIdx=l,e[l]?(c.attr("position",e[l]),a[s?"initProps":"updateProps"](c,{position:i[l]},t,o)):c.attr("position",i[l]),n.add(c))}}function p(t){return r.map(t,function(t){return[n.cx,n.cy]})}c.diff(u).add(function(e){var i=c.getItemLayout(e);if(i){var n=new a.Polygon,r=new a.Polyline,o={shape:{points:i}};n.shape.points=p(i),r.shape.points=p(i),a.initProps(n,o,t,e),a.initProps(r,o,t,e);var s=new a.Group,l=new a.Group;s.add(r),s.add(n),s.add(l),d(r.shape.points,i,l,c,e,!0),c.setItemGraphicEl(e,s)}}).update(function(e,i){var n=u.getItemGraphicEl(i),r=n.childAt(0),o=n.childAt(1),s=n.childAt(2),l={shape:{points:c.getItemLayout(e)}};l.shape.points&&(d(r.shape.points,l.shape.points,s,c,e,!1),a.updateProps(r,l,t),a.updateProps(o,l,t),c.setItemGraphicEl(e,n))}).remove(function(t){l.remove(u.getItemGraphicEl(t))}).execute(),c.eachItemGraphicEl(function(t,e){var i=c.getItemModel(e),n=t.childAt(0),o=t.childAt(1),s=t.childAt(2),u=c.getItemVisual(e,"color");l.add(t),n.useStyle(r.defaults(i.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),n.hoverStyle=i.getModel("emphasis.lineStyle").getLineStyle();var h=i.getModel("areaStyle"),d=i.getModel("emphasis.areaStyle"),p=h.isEmpty()&&h.parentModel.isEmpty(),f=d.isEmpty()&&d.parentModel.isEmpty();f=f&&p,o.ignore=p,o.useStyle(r.defaults(h.getAreaStyle(),{fill:u,opacity:.7})),o.hoverStyle=d.getAreaStyle();var g=i.getModel("itemStyle").getItemStyle(["color"]),m=i.getModel("emphasis.itemStyle").getItemStyle(),v=i.getModel("label"),y=i.getModel("emphasis.label");function x(){o.attr("ignore",f)}function _(){o.attr("ignore",p)}s.eachChild(function(t){t.setStyle(g),t.hoverStyle=r.clone(m),a.setLabelStyle(t.style,t.hoverStyle,v,y,{labelFetcher:c.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:c.get(c.dimensions[t.__dimIdx],e),autoColor:u,isRectText:!0})}),t.off("mouseover").off("mouseout").off("normal").off("emphasis"),t.on("emphasis",x).on("mouseover",x).on("normal",_).on("mouseout",_),a.setHoverStyle(t)}),this._data=c},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=l},"1ef1":function(t,e,i){"use strict";i("744f"),i("6c7b"),i("7514"),i("20d6"),i("1c4c"),i("6762"),i("cadf"),i("e804"),i("55dd"),i("d04f"),i("0298"),i("c8ce"),i("87b3"),i("217b"),i("7f7f"),i("f400"),i("7f25"),i("536b"),i("d9ab"),i("f9ab"),i("32d7"),i("25c9"),i("9f3c"),i("042e"),i("c7c6"),i("f4ff"),i("049f"),i("7872"),i("a69f"),i("0b21"),i("6c1a"),i("c7c62"),i("84b4"),i("c5f6"),i("2e37"),i("fca0"),i("7cdf"),i("ee1d"),i("b1b1"),i("87f3"),i("9278"),i("5df2"),i("04ff"),i("f751"),i("4504"),i("fee7"),i("ffc1"),i("0d6d"),i("9986"),i("8e6e"),i("25db"),i("e4f7"),i("b9a1"),i("64d5"),i("9aea"),i("db97"),i("66c8"),i("57f0"),i("165b"),i("456d"),i("cf6a"),i("fd24"),i("8615"),i("551c"),i("097d"),i("df1b"),i("2397"),i("88ca"),i("ba16"),i("d185"),i("ebde"),i("2d34"),i("f6b3"),i("2251"),i("c698"),i("a19f"),i("9253"),i("9275"),i("3b2b"),i("3846"),i("4917"),i("a481"),i("28a5"),i("386d"),i("6b54"),i("4f7f"),i("8a81"),i("ac4d"),i("8449"),i("9c86"),i("fa83"),i("48c0"),i("a032"),i("aef6"),i("d263"),i("6c37"),i("9ec8"),i("5695"),i("2fdb"),i("d0b0"),i("5df3"),i("b54a"),i("f576"),i("ed50"),i("788d"),i("14b9"),i("f386"),i("f559"),i("1448"),i("673e"),i("242a"),i("c66f"),i("262f"),i("b05c"),i("34ef"),i("6aa2"),i("15ac"),i("af56"),i("b6e4"),i("9c29"),i("63d9"),i("4dda"),i("10ad"),i("c02b"),i("4795"),i("130f"),i("ac6a"),i("96cf"),i("74fd"),i("1c31");var n=d(i("e143")),a=d(i("05e8")),r=d(i("e4bc"));d(i("e8bb"));i("985b");var o=d(i("4ff5")),s=d(i("a165")),l=d(i("a08d")),c=d(i("62e6"));i("6518");var u=i("7ce4"),h=d(i("3987"));function d(t){return t&&t.__esModule?t:{default:t}}function p(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},n=Object.keys(i);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),n.forEach(function(e){f(t,e,i[e])})}return t}function f(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i("96e3"),n.default.component(u.VTable.name,u.VTable),n.default.component(u.VPagination.name,u.VPagination),n.default.use(s.default),n.default.use(o.default),console.log("main MobileMessage",h.default),n.default.use(h.default),n.default.config.productionTip=!1,n.default.prototype.echarts=r.default,a.default.mpType="app",console.log(window.url),window.getNavHeight=function(t){uni.setStorage({key:"statusBarH",data:Number(t)})};var g="";"store"==window.pageType?g="zh-store":"mall"==window.pageType&&(g="zh-mall");console.log(window.pageType);var m=new s.default({locale:g,messages:{"zh-store":l.default,"zh-mall":c.default}});n.default.prototype._i18n=m;var v=new n.default(p({i18n:m},a.default));v.$mount()},"1efb":function(t,e,i){"use strict";var n=i("3999"),a=i("e321"),r=i("9a0c"),o=i("ff7b");function s(t,e,i,n){r.call(this,t),this.map=e;var a=o.load(e,i);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==n||n,this.regions=a.regions,this._rect=a.boundingRect}function l(t,e,i,n){var a=i.geoModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[t](n):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,i=0;i<e.length;i++)if(e[i].contain(t))return!0;return!1},transformTo:function(t,e,i,n){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var s=this._rawTransformable;if(s.transform=r.calculateTransform(new a(t,e,i,n)),s.decomposeTransform(),o){var l=s.scale;l[1]=-l[1]}s.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap.get(t)},getRegionByCoord:function(t){for(var e=this.regions,i=0;i<e.length;i++)if(e[i].contain(t))return e[i]},addGeoCoord:function(t,e){this._nameCoordMap.set(t,e)},getGeoCoord:function(t){return this._nameCoordMap.get(t)},getBoundingRect:function(){return this._rect},dataToPoint:function(t,e,i){if("string"===typeof t&&(t=this.getGeoCoord(t)),t)return r.prototype.dataToPoint.call(this,t,e,i)},convertToPixel:n.curry(l,"dataToPoint"),convertFromPixel:n.curry(l,"pointToData")},n.mixin(s,r);var c=s;t.exports=c},"1fa7":function(t,e,i){"use strict";function n(t){var e={};t.eachSeriesByType("graph",function(t){var i=t.getCategoriesData(),n=t.getData(),a={};i.each(function(n){var r=i.getName(n);a["ec-"+r]=n;var o=i.getItemModel(n),s=o.get("itemStyle.color")||t.getColorFromPalette(r,e);i.setItemVisual(n,"color",s)}),i.count()&&n.each(function(t){var e=n.getItemModel(t),r=e.getShallow("category");null!=r&&("string"===typeof r&&(r=a["ec-"+r]),n.getItemVisual(t,"color",!0)||n.setItemVisual(t,"color",i.getItemVisual(r,"color")))})})}t.exports=n},"1fd6":function(t,e,i){"use strict";var n=i("1637"),a=n.min,r=n.max,o=n.scale,s=n.distance,l=n.add,c=n.clone,u=n.sub;function h(t,e,i,n){var h,d,p,f,g=[],m=[],v=[],y=[];if(n){p=[1/0,1/0],f=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)a(p,p,t[x]),r(f,f,t[x]);a(p,p,n[0]),r(f,f,n[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(i)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(c(t[x]));continue}h=t[x-1],d=t[x+1]}u(m,d,h),o(m,m,e);var w=s(b,h),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),o(v,m,-w),o(y,m,S);var T=l([],b,v),A=l([],b,y);n&&(r(T,T,p),a(T,T,f),r(A,A,p),a(A,A,f)),g.push(T),g.push(A)}return i&&g.push(g.shift()),g}t.exports=h},2008:function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r=i("e321"),o=a.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=e.width/2,r=e.height/2;t.moveTo(i,n-r),t.lineTo(i+a,n+r),t.lineTo(i-a,n+r),t.closePath()}}),s=a.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=e.width/2,r=e.height/2;t.moveTo(i,n-r),t.lineTo(i+a,n),t.lineTo(i,n+r),t.lineTo(i-a,n),t.closePath()}}),l=a.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,a=e.width/5*3,r=Math.max(a,e.height),o=a/2,s=o*o/(r-o),l=n-r+o+s,c=Math.asin(s/o),u=Math.cos(c)*o,h=Math.sin(c),d=Math.cos(c),p=.6*o,f=.7*o;t.moveTo(i-u,l+s),t.arc(i,l,o,Math.PI-c,2*Math.PI+c),t.bezierCurveTo(i+u-h*p,l+s+d*p,i,n-f,i,n),t.bezierCurveTo(i,n-f,i-u+h*p,l+s+d*p,i-u,l+s),t.closePath()}}),c=a.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,a=e.x,r=e.y,o=n/3*2;t.moveTo(a,r),t.lineTo(a+o,r+i),t.lineTo(a,r+i/4*3),t.lineTo(a-o,r+i),t.lineTo(a,r),t.closePath()}}),u={line:a.Line,rect:a.Rect,roundRect:a.Rect,square:a.Rect,circle:a.Circle,diamond:s,pin:l,arrow:c,triangle:o},h={line:function(t,e,i,n,a){a.x1=t,a.y1=e+n/2,a.x2=t+i,a.y2=e+n/2},rect:function(t,e,i,n,a){a.x=t,a.y=e,a.width=i,a.height=n},roundRect:function(t,e,i,n,a){a.x=t,a.y=e,a.width=i,a.height=n,a.r=Math.min(i,n)/4},square:function(t,e,i,n,a){var r=Math.min(i,n);a.x=t,a.y=e,a.width=r,a.height=r},circle:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.r=Math.min(i,n)/2},diamond:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.width=i,a.height=n},pin:function(t,e,i,n,a){a.x=t+i/2,a.y=e+n/2,a.width=i,a.height=n},arrow:function(t,e,i,n,a){a.x=t+i/2,a.y=e+n/2,a.width=i,a.height=n},triangle:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.width=i,a.height=n}},d={};n.each(u,function(t,e){d[e]=new t});var p=a.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style,e=this.shape;"pin"===e.symbolType&&"inside"===t.textPosition&&(t.textPosition=["50%","40%"],t.textAlign="center",t.textVerticalAlign="middle")},buildPath:function(t,e,i){var n=e.symbolType,a=d[n];"none"!==e.symbolType&&(a||(n="rect",a=d[n]),h[n](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,i))}});function f(t,e){if("image"!==this.type){var i=this.style,n=this.shape;n&&"line"===n.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}function g(t,e,i,n,o,s,l){var c,u=0===t.indexOf("empty");return u&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),c=0===t.indexOf("image://")?a.makeImage(t.slice(8),new r(e,i,n,o),l?"center":"cover"):0===t.indexOf("path://")?a.makePath(t.slice(7),{},new r(e,i,n,o),l?"center":"cover"):new p({shape:{symbolType:t,x:e,y:i,width:n,height:o}}),c.__isEmptyBrush=u,c.setColor=f,c.setColor(s),c}e.createSymbol=g},"20bd":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("9256"),o=i("0635"),s=i("bf7a"),l=i("8abd"),c=i("c8ba"),u=i("42e9");i("c7b6");var h=c.toolbox.dataZoom,d=a.each,p="\0_ec_\0toolbox-dataZoom_";function f(t,e,i){(this._brushController=new r(i.getZr())).on("brush",a.bind(this._onBrush,this)).mount(),this._isZoomActive}f.defaultOption={show:!0,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:a.clone(h.title)};var g=f.prototype;g.render=function(t,e,i,n){this.model=t,this.ecModel=e,this.api=i,x(t,e,this,n,i),y(t,e)},g.onclick=function(t,e,i){m[i].call(this)},g.remove=function(t,e){this._brushController.unmount()},g.dispose=function(t,e){this._brushController.dispose()};var m={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function v(t){var e={};return a.each(["xAxisIndex","yAxisIndex"],function(i){e[i]=t[i],null==e[i]&&(e[i]="all"),(!1===e[i]||"none"===e[i])&&(e[i]=[])}),e}function y(t,e){t.setIconStatus("back",s.count(e)>1?"emphasis":"normal")}function x(t,e,i,n,a){var r=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(r="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var s=new o(v(t.option),e,{include:["grid"]});i._brushController.setPanels(s.makePanelOpts(a,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(!!r&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}g._onBrush=function(t,e){if(e.isEnd&&t.length){var i={},n=this.ecModel;this._brushController.updateCovers([]);var a=new o(v(this.model.option),n,{include:["grid"]});a.matchOutputRanges(t,n,function(t,e,i){if("cartesian2d"===i.type){var n=t.brushType;"rect"===n?(r("x",i,e[0]),r("y",i,e[1])):r({lineX:"x",lineY:"y"}[n],i,e)}}),s.push(n,i),this._dispatchZoomAction(i)}function r(t,e,a){var r=e.getAxis(t),o=r.model,s=c(t,o,n),u=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(a=l(0,a.slice(),r.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}function c(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},function(i){var a=i.getAxisModel(t,e.componentIndex);a&&(n=i)}),n}},g._dispatchZoomAction=function(t){var e=[];d(t,function(t,i){e.push(a.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},u.register("dataZoom",f),n.registerPreprocessor(function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);a.isArray(e)||(t.dataZoom=e=[e]);var i=t.toolbox;if(i&&(a.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;r("xAxis",n),r("yAxis",n)}}function r(t,i){if(i){var n=t+"Index",r=i[n];null==r||"all"===r||a.isArray(r)||(r=!1===r||"none"===r?[]:[r]),o(t,function(i,o){if(null==r||"all"===r||-1!==a.indexOf(r,o)){var s={type:"select",$fromToolbox:!0,id:p+t+o};s[n]=o,e.push(s)}})}}function o(e,i){var n=t[e];a.isArray(n)||(n=n?[n]:[]),d(n,i)}});var _=f;t.exports=_},"20e3":function(t,e,i){"use strict";var n=i("3999"),a=i("1c56"),r=n.each,o=n.curry;function s(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(i,t,e),i.seriesInvolved&&u(i,t),i}function l(t,e,i){var n=e.getComponent("tooltip"),a=e.getComponent("axisPointer"),s=a.get("link",!0)||[],l=[];r(i.getCoordinateSystems(),function(i){if(i.axisPointerEnabled){var u=v(i.model),d=t.coordSysAxesInfo[u]={};t.coordSysMap[u]=i;var p=i.model,f=p.getModel("tooltip",n);if(r(i.getAxes(),o(_,!1,null)),i.getTooltipAxes&&n&&f.get("show")){var g="axis"===f.get("trigger"),y="cross"===f.get("axisPointer.type"),x=i.getTooltipAxes(f.get("axisPointer.axis"));(g||y)&&r(x.baseAxes,o(_,!y||"cross",g)),y&&r(x.otherAxes,o(_,"cross",!1))}}function _(n,r,o){var u=o.model.getModel("axisPointer",a),p=u.get("show");if(p&&("auto"!==p||n||m(u))){null==r&&(r=u.get("triggerTooltip")),u=n?c(o,f,a,e,n,r):u;var g=u.get("snap"),y=v(o.model),x=r||g||"category"===o.type,_=t.axesInfo[y]={key:y,axis:o,coordSys:i,axisPointerModel:u,triggerTooltip:r,involveSeries:x,snap:g,useHandle:m(u),seriesModels:[]};d[y]=_,t.seriesInvolved|=x;var b=h(s,o);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}})}function c(t,e,i,o,s,l){var c=e.getModel("axisPointer"),u={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=n.clone(c.get(t))}),u.snap="category"!==t.type&&!!l,"cross"===c.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=c.get("label.show");if(h.show=null==d||d,!l){var p=u.lineStyle=c.get("crossStyle");p&&n.defaults(h,p.textStyle)}}return t.model.getModel("axisPointer",new a(u,i,o))}function u(t,e){e.eachSeries(function(e){var i=e.coordinateSystem,n=e.get("tooltip.trigger",!0),a=e.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==a&&!1!==e.get("axisPointer.show",!0)&&r(t.coordSysAxesInfo[v(i.model)],function(t){var n=t.axis;i.getAxis(n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})},this)}function h(t,e){for(var i=e.model,n=e.dim,a=0;a<t.length;a++){var r=t[a]||{};if(d(r[n+"AxisId"],i.id)||d(r[n+"AxisIndex"],i.componentIndex)||d(r[n+"AxisName"],i.name))return a}}function d(t,e){return"all"===t||n.isArray(t)&&n.indexOf(t,e)>=0||t===e}function p(t){var e=f(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,a=i.option,r=i.get("status"),o=i.get("value");null!=o&&(o=n.parse(o));var s=m(i);null==r&&(a.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),a.value=o,s&&(a.status=e.axis.scale.isBlank()?"hide":"show")}}function f(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[v(t)]}function g(t){var e=f(t);return e&&e.axisPointerModel}function m(t){return!!t.get("handle.show")}function v(t){return t.type+"||"+t.id}e.collect=s,e.fixValue=p,e.getAxisInfo=f,e.getAxisPointerModel=g,e.makeKey=v},2110:function(t,e,i){"use strict";var n=i("3999");function a(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,a=(t instanceof Array?t[0]:t)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-a)-i.dataToCoord(n+a))}function r(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}t.exports=r},"21a1":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("3e4d"),o=i("42e9"),s=i("bc9d"),l=i("1c56"),c=i("7e37"),u=i("bb85"),h=n.extendComponentView({type:"toolbox",render:function(t,e,i,n){var h=this.group;if(h.removeAll(),t.get("show")){var p=+t.get("itemSize"),f=t.get("feature")||{},g=this._features||(this._features={}),m=[];a.each(f,function(t,e){m.push(e)}),new c(this._featureNames||[],m).add(v).update(v).remove(a.curry(v,null)).execute(),this._featureNames=m,u.layout(h,t,i),h.add(u.makeBackground(h.getBoundingRect(),t)),h.eachChild(function(t){var e=t.__title,n=t.hoverStyle;if(n&&e){var a=r.getBoundingRect(e,r.makeFont(n)),o=t.position[0]+h.position[0],s=t.position[1]+h.position[1]+p,l=!1;s+a.height>i.getHeight()&&(n.textPosition="top",l=!0);var c=l?-5-a.height:p+8;o+a.width/2>i.getWidth()?(n.textPosition=["100%",c],n.textAlign="right"):o-a.width/2<0&&(n.textPosition=[0,c],n.textAlign="left")}})}function v(a,r){var s,c=m[a],u=m[r],h=f[c],p=new l(h,t,t.ecModel);if(c&&!u){if(d(c))s={model:p,onclick:p.option.onclick,featureName:c};else{var v=o.get(c);if(!v)return;s=new v(p,e,i)}g[c]=s}else{if(s=g[u],!s)return;s.model=p,s.ecModel=e,s.api=i}c||!u?p.get("show")&&!s.unusable?(y(p,s,c),p.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t].trigger(e)},s.render&&s.render(p,e,i,n)):s.remove&&s.remove(e,i):s.dispose&&s.dispose(e,i)}function y(n,r,o){var l=n.getModel("iconStyle"),c=n.getModel("emphasis.iconStyle"),u=r.getIcons?r.getIcons():n.get("icon"),d=n.get("title")||{};if("string"===typeof u){var f=u,g=d;u={},d={},u[o]=f,d[o]=g}var m=n.iconPaths={};a.each(u,function(o,u){var f=s.createIcon(o,{},{x:-p/2,y:-p/2,width:p,height:p});f.setStyle(l.getItemStyle()),f.hoverStyle=c.getItemStyle(),s.setHoverStyle(f),t.get("showTitle")&&(f.__title=d[u],f.on("mouseover",function(){var t=c.getItemStyle();f.setStyle({text:d[u],textPosition:t.textPosition||"bottom",textFill:t.fill||t.stroke||"#000",textAlign:t.textAlign||"center"})}).on("mouseout",function(){f.setStyle({textFill:null})})),f.trigger(n.get("iconStatus."+u)||"normal"),h.add(f),f.on("click",a.bind(r.onclick,r,e,i,u)),m[u]=f})}},updateView:function(t,e,i,n){a.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,i,n)})},remove:function(t,e){a.each(this._features,function(i){i.remove&&i.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){a.each(this._features,function(i){i.dispose&&i.dispose(t,e)})}});function d(t){return 0===t.indexOf("my")}t.exports=h},"23f8":function(t,e,i){"use strict";var n=i("3999"),a=i("66c7"),r=i("35ae"),o=i("7e37"),s="sunburstRootToNode",l=a.extend({type:"sunburst",init:function(){},render:function(t,e,i,a){var s=this;this.seriesModel=t,this.api=i,this.ecModel=e;var l=t.getData(),c=l.tree.root,u=t.getViewRoot(),h=this.group,d=t.get("renderLabelForZeroData"),p=[];u.eachNode(function(t){p.push(t)});var f=this._oldChildren||[];if(v(p,f),_(c,u),a&&a.highlight&&a.highlight.piece){var g=t.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var m=this.virtualPiece;!m&&c.children.length&&(m=c.children[0].piece),m&&m.onNormal()}function v(t,e){function i(t){return t.getId()}function a(i,n){var a=null==i?null:t[i],r=null==n?null:e[n];y(a,r)}0===t.length&&0===e.length||new o(e,t,i,i).add(a).update(a).remove(n.curry(a,null)).execute()}function y(i,n){if(d||!i||i.getValue()||(i=null),i!==c&&n!==c)if(n&&n.piece)i?(n.piece.updateData(!1,i,"normal",t,e),l.setItemGraphicEl(i.dataIndex,n.piece)):x(n);else if(i){var a=new r(i,t,e);h.add(a),l.setItemGraphicEl(i.dataIndex,a)}}function x(t){t&&t.piece&&(h.remove(t.piece),t.piece=null)}function _(i,n){if(n.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,i,"normal",t,e):(s.virtualPiece=new r(i,t,e),h.add(s.virtualPiece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var a=function(t){s._rootToNode(n.parentNode)};n.piece._onclickEvent=a,s.virtualPiece.on("click",a)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=p},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var i=!1,n=t.seriesModel.getViewRoot();n.eachNode(function(n){if(!i&&n.piece&&n.piece.childAt(0)===e.target){var a=n.getModel().get("nodeClick");if("rootToNode"===a)t._rootToNode(n);else if("link"===a){var r=n.getModel(),o=r.get("link");if(o){var s=r.get("target",!0)||"_blank";window.open(o,s)}}i=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:s,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var a=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(a*a+r*r);return o<=n.r&&o>=n.r0}}}),c=l;t.exports=c},2492:function(t,e,i){"use strict";var n=32,a=7;function r(t){var e=0;while(t>=n)e|=1&t,t>>=1;return t+e}function o(t,e,i,n){var a=e+1;if(a===i)return 1;if(n(t[a++],t[e])<0){while(a<i&&n(t[a],t[a-1])<0)a++;s(t,e,a)}else while(a<i&&n(t[a],t[a-1])>=0)a++;return a-e}function s(t,e,i){i--;while(e<i){var n=t[e];t[e++]=t[i],t[i--]=n}}function l(t,e,i,n,a){for(n===e&&n++;n<i;n++){var r,o=t[n],s=e,l=n;while(s<l)r=s+l>>>1,a(o,t[r])<0?l=r:s=r+1;var c=n-s;switch(c){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(c>0)t[s+c]=t[s+c-1],c--}t[s]=o}}function c(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])>0){s=n-a;while(l<s&&r(t,e[i+a+l])>0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{s=a+1;while(l<s&&r(t,e[i+a-l])<=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var c=o;o=a-l,l=a-c}o++;while(o<l){var u=o+(l-o>>>1);r(t,e[i+u])>0?o=u+1:l=u}return l}function u(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])<0){s=a+1;while(l<s&&r(t,e[i+a-l])<0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var c=o;o=a-l,l=a-c}else{s=n-a;while(l<s&&r(t,e[i+a+l])>=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}o++;while(o<l){var u=o+(l-o>>>1);r(t,e[i+u])<0?l=u:o=u+1}return l}function h(t,e){var i,n,r=a,o=0,s=0;o=t.length;var l=[];function h(t,e){i[s]=t,n[s]=e,s+=1}function d(){while(s>1){var t=s-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]<n[t+1]&&t--;else if(n[t]>n[t+1])break;f(t)}}function p(){while(s>1){var t=s-2;t>0&&n[t-1]<n[t+1]&&t--,f(t)}}function f(a){var r=i[a],o=n[a],l=i[a+1],h=n[a+1];n[a]=o+h,a===s-3&&(i[a+1]=i[a+2],n[a+1]=n[a+2]),s--;var d=u(t[l],t,r,o,0,e);r+=d,o-=d,0!==o&&(h=c(t[r+o-1],t,l,h,h-1,e),0!==h&&(o<=h?g(r,o,l,h):m(r,o,l,h)))}function g(i,n,o,s){var h=0;for(h=0;h<n;h++)l[h]=t[i+h];var d=0,p=o,f=i;if(t[f++]=t[p++],0!==--s)if(1!==n){var g,m,v,y=r;while(1){g=0,m=0,v=!1;do{if(e(t[p],l[d])<0){if(t[f++]=t[p++],m++,g=0,0===--s){v=!0;break}}else if(t[f++]=l[d++],g++,m=0,1===--n){v=!0;break}}while((g|m)<y);if(v)break;do{if(g=u(t[p],l,d,n,0,e),0!==g){for(h=0;h<g;h++)t[f+h]=l[d+h];if(f+=g,d+=g,n-=g,n<=1){v=!0;break}}if(t[f++]=t[p++],0===--s){v=!0;break}if(m=c(l[d],t,p,s,0,e),0!==m){for(h=0;h<m;h++)t[f+h]=t[p+h];if(f+=m,p+=m,s-=m,0===s){v=!0;break}}if(t[f++]=l[d++],1===--n){v=!0;break}y--}while(g>=a||m>=a);if(v)break;y<0&&(y=0),y+=2}if(r=y,r<1&&(r=1),1===n){for(h=0;h<s;h++)t[f+h]=t[p+h];t[f+s]=l[d]}else{if(0===n)throw new Error;for(h=0;h<n;h++)t[f+h]=l[d+h]}}else{for(h=0;h<s;h++)t[f+h]=t[p+h];t[f+s]=l[d]}else for(h=0;h<n;h++)t[f+h]=l[d+h]}function m(i,n,o,s){var h=0;for(h=0;h<s;h++)l[h]=t[o+h];var d=i+n-1,p=s-1,f=o+s-1,g=0,m=0;if(t[f--]=t[d--],0!==--n)if(1!==s){var v=r;while(1){var y=0,x=0,_=!1;do{if(e(l[p],t[d])<0){if(t[f--]=t[d--],y++,x=0,0===--n){_=!0;break}}else if(t[f--]=l[p--],x++,y=0,1===--s){_=!0;break}}while((y|x)<v);if(_)break;do{if(y=n-u(l[p],t,i,n,n-1,e),0!==y){for(f-=y,d-=y,n-=y,m=f+1,g=d+1,h=y-1;h>=0;h--)t[m+h]=t[g+h];if(0===n){_=!0;break}}if(t[f--]=l[p--],1===--s){_=!0;break}if(x=s-c(t[d],l,0,s,s-1,e),0!==x){for(f-=x,p-=x,s-=x,m=f+1,g=p+1,h=0;h<x;h++)t[m+h]=l[g+h];if(s<=1){_=!0;break}}if(t[f--]=t[d--],0===--n){_=!0;break}v--}while(y>=a||x>=a);if(_)break;v<0&&(v=0),v+=2}if(r=v,r<1&&(r=1),1===s){for(f-=n,d-=n,m=f+1,g=d+1,h=n-1;h>=0;h--)t[m+h]=t[g+h];t[f]=l[p]}else{if(0===s)throw new Error;for(g=f-(s-1),h=0;h<s;h++)t[g+h]=l[h]}}else{for(f-=n,d-=n,m=f+1,g=d+1,h=n-1;h>=0;h--)t[m+h]=t[g+h];t[f]=l[p]}else for(g=f-(s-1),h=0;h<s;h++)t[g+h]=l[h]}i=[],n=[],this.mergeRuns=d,this.forceMergeRuns=p,this.pushRun=h}function d(t,e,i,a){i||(i=0),a||(a=t.length);var s=a-i;if(!(s<2)){var c=0;if(s<n)return c=o(t,i,a,e),void l(t,i,a,i+c,e);var u=new h(t,e),d=r(s);do{if(c=o(t,i,a,e),c<d){var p=s;p>d&&(p=d),l(t,i,i+p,i+c,e),c=p}u.pushRun(i,c),u.mergeRuns(),s-=c,i+=c}while(0!==s);u.forceMergeRuns()}}t.exports=d},2568:function(t,e,i){"use strict";var n=i("1637"),a=n.scaleAndAdd;function r(t,e,i){for(var r=i.rect,o=r.width,s=r.height,l=[r.x+o/2,r.y+s/2],c=null==i.gravity?.1:i.gravity,u=0;u<t.length;u++){var h=t[u];h.p||(h.p=n.create(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=n.clone(h.p),h.edges=null}var d=.6;return{warmUp:function(){d=.5},setFixed:function(e){t[e].fixed=!0},setUnfixed:function(e){t[e].fixed=!1},step:function(i){for(var r=[],o=t.length,s=0;s<e.length;s++){var u=e[s],h=u.n1,p=u.n2;n.sub(r,p.p,h.p);var f=n.len(r)-u.d,g=p.w/(h.w+p.w);isNaN(g)&&(g=0),n.normalize(r,r),!h.fixed&&a(h.p,h.p,r,g*f*d),!p.fixed&&a(p.p,p.p,r,-(1-g)*f*d)}for(s=0;s<o;s++){var m=t[s];m.fixed||(n.sub(r,l,m.p),a(m.p,m.p,r,c*d))}for(s=0;s<o;s++){h=t[s];for(var v=s+1;v<o;v++){p=t[v];n.sub(r,p.p,h.p);f=n.len(r);0===f&&(n.set(r,Math.random()-.5,Math.random()-.5),f=1);var y=(h.rep+p.rep)/f/f;!h.fixed&&a(h.pp,h.pp,r,y),!p.fixed&&a(p.pp,p.pp,r,-y)}}var x=[];for(s=0;s<o;s++){m=t[s];m.fixed||(n.sub(x,m.p,m.pp),a(m.p,m.p,x,d),n.copy(m.pp,m.p))}d*=.992,i&&i(t,e,d<.01)}}}e.forceLayout=r},2573:function(t,e,i){"use strict";var n=i("3205"),a=n.devicePixelRatio,r=i("3999"),o=i("ad57"),s=i("e321"),l=i("2492"),c=i("7afd"),u=i("1cec"),h=i("3534"),d=i("35c7"),p=1e5,f=314159,g=.01,m=.001;function v(t){return parseInt(t,10)}function y(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}var x=new s(0,0,0,0),_=new s(0,0,0,0);function b(t,e,i){return x.copy(t.getBoundingRect()),t.transform&&x.applyTransform(t.transform),_.width=e,_.height=i,!x.intersect(_)}function w(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!0}function S(t,e){for(var i=0;i<t.length;i++){var n=t[i];n.setTransform(e),e.beginPath(),n.buildPath(e,n.shape),e.clip(),n.restoreTransform(e)}}function M(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}var T=function(t,e,i){this.type="canvas";var n=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=r.extend({},i||{}),this.dpr=i.devicePixelRatio||a,this._singleCanvas=n,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],l=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,n){var u=t.width,h=t.height;null!=i.width&&(u=i.width),null!=i.height&&(h=i.height),this.dpr=i.devicePixelRatio||1,t.width=u*this.dpr,t.height=h*this.dpr,this._width=u,this._height=h;var d=new c(t,this,this.dpr);d.__builtin__=!0,d.initContext(),l[f]=d,d.zlevel=f,s.push(f),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var p=this._domRoot=M(this._width,this._height);t.appendChild(p)}this._hoverlayer=null,this._hoverElements=[]};T.prototype={constructor:T,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var n=0;n<i.length;n++){var a=i[n],r=this._layers[a];if(!r.__builtin__&&r.refresh){var o=0===n?this._backgroundColor:null;r.refresh(o)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var i=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return i.__from=t,t.__hoverMir=i,e&&i.setStyle(e),this._hoverElements.push(i),i}},removeHover:function(t){var e=t.__hoverMir,i=this._hoverElements,n=r.indexOf(i,e);n>=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i<e.length;i++){var n=e[i].__from;n&&(n.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,i=this._hoverlayer;if(i&&i.clear(),e){l(t,this.storage.displayableSortFunc),i||(i=this._hoverlayer=this.getLayer(p));var n={};i.ctx.save();for(var a=0;a<e;){var r=t[a],o=r.__from;o&&o.__zr?(a++,o.invisible||(r.transform=o.transform,r.invTransform=o.invTransform,r.__clipPaths=o.__clipPaths,this._doPaintEl(r,i,!0,n))):(t.splice(a,1),o.__hoverMir=null,e--)}i.ctx.restore()}},getHoverLayer:function(){return this.getLayer(p)},_paintList:function(t,e,i){if(this._redrawId===i){e=e||!1,this._updateLayerStatus(t);var n=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!n){var a=this;u(function(){a._paintList(t,e,i)})}}},_compositeManually:function(){var t=this.getLayer(f).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer(function(n){n.virtual&&t.drawImage(n.dom,0,0,e,i)})},_doPaintList:function(t,e){for(var i=[],n=0;n<this._zlevelList.length;n++){var a=this._zlevelList[n],o=this._layers[a];o.__builtin__&&o!==this._hoverlayer&&(o.__dirty||e)&&i.push(o)}for(var s=!0,l=0;l<i.length;l++){o=i[l];var c=o.ctx,u={};c.save();var h=e?o.__startIndex:o.__drawIndex,p=!e&&o.incremental&&Date.now,f=p&&Date.now(),g=o.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(o.__startIndex===o.__endIndex)o.clear(!1,g);else if(h===o.__startIndex){var m=t[h];m.incremental&&m.notClear&&!e||o.clear(!1,g)}-1===h&&(console.error("For some unknown reason. drawIndex is -1"),h=o.__startIndex);for(var v=h;v<o.__endIndex;v++){var y=t[v];if(this._doPaintEl(y,o,e,u),y.__dirty=y.__dirtyText=!1,p){var x=Date.now()-f;if(x>15)break}}o.__drawIndex=v,o.__drawIndex<o.__endIndex&&(s=!1),u.prevElClipPaths&&c.restore(),c.restore()}return d.wxa&&r.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),s},_doPaintEl:function(t,e,i,n){var a=e.ctx,r=t.transform;if((e.__dirty||i)&&!t.invisible&&0!==t.style.opacity&&(!r||r[0]||r[3])&&(!t.culling||!b(t,this._width,this._height))){var o=t.__clipPaths;n.prevElClipPaths&&!w(o,n.prevElClipPaths)||(n.prevElClipPaths&&(e.ctx.restore(),n.prevElClipPaths=null,n.prevEl=null),o&&(a.save(),S(o,a),n.prevElClipPaths=o)),t.beforeBrush&&t.beforeBrush(a),t.brush(a,n.prevEl||null),n.prevEl=t,t.afterBrush&&t.afterBrush(a)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=f);var i=this._layers[t];return i||(i=new c("zr_"+t,this,this.dpr),i.zlevel=t,i.__builtin__=!0,this._layerConfig[t]&&r.merge(i,this._layerConfig[t],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},insertLayer:function(t,e){var i=this._layers,n=this._zlevelList,a=n.length,r=null,s=-1,l=this._domRoot;if(i[t])o("ZLevel "+t+" has been used already");else if(y(e)){if(a>0&&t>n[0]){for(s=0;s<a-1;s++)if(n[s]<t&&n[s+1]>t)break;r=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(r){var c=r.dom;c.nextSibling?l.insertBefore(e.dom,c.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,a=this._zlevelList;for(n=0;n<a.length;n++)i=a[n],t.call(e,this._layers[i],i)},eachBuiltinLayer:function(t,e){var i,n,a,r=this._zlevelList;for(a=0;a<r.length;a++)n=r[a],i=this._layers[n],i.__builtin__&&t.call(e,i,n)},eachOtherLayer:function(t,e){var i,n,a,r=this._zlevelList;for(a=0;a<r.length;a++)n=r[a],i=this._layers[n],i.__builtin__||t.call(e,i,n)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){a&&(a.__endIndex!==t&&(a.__dirty=!0),a.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var i=1;i<t.length;i++){var n=t[i];if(n.zlevel!==t[i-1].zlevel||n.incremental){this._needsManuallyCompositing=!0;break}}var a=null,r=0;for(i=0;i<t.length;i++){n=t[i];var s,l=n.zlevel;n.incremental?(s=this.getLayer(l+m,this._needsManuallyCompositing),s.incremental=!0,r=1):s=this.getLayer(l+(r>0?g:0),this._needsManuallyCompositing),s.__builtin__||o("ZLevel "+l+" has been used by unkown layer "+s.id),s!==a&&(s.__used=!0,s.__startIndex!==i&&(s.__dirty=!0),s.__startIndex=i,s.incremental?s.__drawIndex=-1:s.__drawIndex=i,e(i),a=s),n.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=i))}e(i),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)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?r.merge(i[t],e,!0):i[t]=e;for(var n=0;n<this._zlevelList.length;n++){var a=this._zlevelList[n];if(a===t||a===t+g){var o=this._layers[a];r.merge(o,i[t],!0)}}}},delLayer:function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],i.splice(r.indexOf(i,t),1))},resize:function(t,e){if(this._domRoot.style){var i=this._domRoot;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||e!==this._height){for(var a in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(t,e);r.each(this._progressiveLayers,function(i){i.resize(t,e)}),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(f).resize(t,e)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[f].dom;var e=new c("image",this,t.pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,n=e.dom.height,a=e.ctx;this.eachLayer(function(t){t.__builtin__?a.drawImage(t.dom,0,0,i,n):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())})}else for(var r={},o=this.storage.getDisplayList(!0),s=0;s<o.length;s++){var l=o[s];this._doPaintEl(l,e,!0,r)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[n]||v(s[i])||v(o.style[i]))-(v(s[a])||0)-(v(s[r])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var i=document.createElement("canvas"),n=i.getContext("2d"),a=t.getBoundingRect(),r=t.style,o=r.shadowBlur*e,s=r.shadowOffsetX*e,l=r.shadowOffsetY*e,c=r.hasStroke()?r.lineWidth:0,u=Math.max(c/2,-s+o),d=Math.max(c/2,s+o),p=Math.max(c/2,-l+o),f=Math.max(c/2,l+o),g=a.width+u+d,m=a.height+p+f;i.width=g*e,i.height=m*e,n.scale(e,e),n.clearRect(0,0,g,m),n.dpr=e;var v={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[u-a.x,p-a.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(n);var y=h,x=new y({style:{x:0,y:0,image:i}});return null!=v.position&&(x.position=t.position=v.position),null!=v.rotation&&(x.rotation=t.rotation=v.rotation),null!=v.scale&&(x.scale=t.scale=v.scale),x}};var A=T;t.exports=A},2583:function(t,e,i){"use strict";var n=i("3999"),a=i("0565"),r=i("df36"),o=i("b04a"),s=o.encodeHTML,l=o.addCommas,c=i("108c"),u=i("9336"),h=u.retrieveRawAttr,d=i("ff7b"),p=r.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=a(this,["value"]),i=e.mapDimension("value"),r=n.createHashMap(),o=[],s=[],l=0,c=e.count();l<c;l++){var u=e.getName(l);r.set(u,!0),o.push({name:u,value:e.get(i,l),selected:h(e,l,"selected")})}var p=d.load(this.getMapType(),this.option.nameMap);return n.each(p.regions,function(t){var e=t.name;r.get(e)||(o.push({name:e}),s.push(e))}),this.updateSelectedMap(o),e.appendValues([],s),e},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t){for(var e=this.getData(),i=l(this.getRawValue(t)),n=e.getName(t),a=this.seriesGroup,r=[],o=0;o<a.length;o++){var c=a[o].originalData.indexOfName(n),u=e.mapDimension("value");isNaN(a[o].originalData.get(u,c))||r.push(s(a[o].name))}return r.join(", ")+"<br />"+s(n+" : "+i)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,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)"}}}});n.mixin(p,c);var f=p;t.exports=f},"25cc":function(t,e,i){"use strict";var n=i("3999"),a=n.each,r="\0__link_datas",o="\0__link_mainData";function s(t){var e=t.mainData,i=t.datas;i||(i={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,p(e,i,t),a(i,function(i){a(e.TRANSFERABLE_METHODS,function(e){i.wrapMethod(e,n.curry(l,t))})}),e.wrapMethod("cloneShallow",n.curry(u,t)),a(e.CHANGABLE_METHODS,function(i){e.wrapMethod(i,n.curry(c,t))}),n.assert(i[e.dataType]===e)}function l(t,e){if(d(this)){var i=n.extend({},this[r]);i[this.dataType]=e,p(e,i,t)}else f(e,this.dataType,this[o],t);return e}function c(t,e){return t.struct&&t.struct.update(this),e}function u(t,e){return a(e[r],function(i,n){i!==e&&f(i.cloneShallow(),n,e,t)}),e}function h(t){var e=this[o];return null==t||null==e?e:e[r][t]}function d(t){return t[o]===t}function p(t,e,i){t[r]={},a(e,function(e,n){f(e,n,t,i)})}function f(t,e,i,n){i[r][e]=t,t[o]=i,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=h}var g=s;t.exports=g},"25da":function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r=i("a022"),o=i("5454"),s=o.radialCoordinate,l=i("ac5f"),c=i("b589"),u=i("9a0c"),h=i("4166"),d=i("b59c"),p=i("4ed0"),f=p.onIrrelevantElement,g=l.extendChartView({type:"tree",init:function(t,e){this._oldTree,this._mainGroup=new a.Group,this._controller=new d(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(t,e,i,n){var a=t.getData(),r=t.layoutInfo,o=this._mainGroup,s=t.get("layout");"radial"===s?o.attr("position",[r.x+r.width/2,r.y+r.height/2]):o.attr("position",[r.x,r.y]),this._updateViewCoordSys(t),this._updateController(t,e,i);var l=this._data,c={expandAndCollapse:t.get("expandAndCollapse"),layout:s,orient:t.getOrient(),curvature:t.get("lineStyle.curveness"),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};a.diff(l).add(function(e){m(a,e)&&y(a,e,null,o,t,c)}).update(function(e,i){var n=l.getItemGraphicEl(i);m(a,e)?y(a,e,n,o,t,c):n&&x(l,i,n,o,t,c)}).remove(function(e){var i=l.getItemGraphicEl(e);i&&x(l,e,i,o,t,c)}).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===c.expandAndCollapse&&a.eachItemGraphicEl(function(e,n){e.off("click").on("click",function(){i.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:n})})}),this._data=a},_updateViewCoordSys:function(t){var e=t.getData(),i=[];e.each(function(t){var n=e.getItemLayout(t);!n||isNaN(n.x)||isNaN(n.y)||i.push([+n.x,+n.y])});var n=[],a=[];c.fromPoints(i,n,a),a[0]-n[0]===0&&(a[0]+=1,n[0]-=1),a[1]-n[1]===0&&(a[1]+=1,n[1]-=1);var r=t.coordinateSystem=new u;r.zoomLimit=t.get("scaleLimit"),r.setBoundingRect(n[0],n[1],a[0]-n[0],a[1]-n[1]),r.setCenter(t.get("center")),r.setZoom(t.get("zoom")),this.group.attr({position:r.position,scale:r.scale}),this._viewCoordSys=r},_updateController:function(t,e,i){var n=this._controller,a=this._controllerHost,r=this.group;n.setPointerChecker(function(e,n,a){var o=r.getBoundingRect();return o.applyTransform(r.transform),o.contain(n,a)&&!f(e,i,t)}),n.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),n.off("pan").off("zoom").on("pan",function(e){h.updateViewOnPan(a,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})},this).on("zoom",function(e){h.updateViewOnZoom(a,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(t)},this)},_updateNodeAndLinkScale:function(t){var e=t.getData(),i=this._getNodeGlobalScale(t),n=[i,i];e.eachItemGraphicEl(function(t,e){t.attr("scale",n)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=this._nodeScaleRatio,n=e.scale,a=n&&n[0]||1,r=e.getZoom(),o=(r-1)*i+1;return o/a},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function m(t,e){var i=t.getItemLayout(e);return i&&!isNaN(i.x)&&!isNaN(i.y)&&"none"!==t.getItemVisual(e,"symbol")}function v(t,e,i){return i.itemModel=e,i.itemStyle=e.getModel("itemStyle").getItemStyle(),i.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),i.lineStyle=e.getModel("lineStyle").getLineStyle(),i.labelModel=e.getModel("label"),i.hoverLabelModel=e.getModel("emphasis.label"),!1===t.isExpand&&0!==t.children.length?i.symbolInnerColor=i.itemStyle.fill:i.symbolInnerColor="#fff",i}function y(t,e,i,o,s,l){var c=!i,u=t.tree.getNodeByDataIndex(e),h=u.getModel(),d=(l=v(u,h,l),t.tree.root),p=u.parentNode===d?u:u.parentNode||u,f=t.getItemGraphicEl(p.dataIndex),g=p.getLayout(),m=f?{x:f.position[0],y:f.position[1],rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:g,y=u.getLayout();c?(i=new r(t,e,l),i.attr("position",[m.x,m.y])):i.updateData(t,e,l),i.__radialOldRawX=i.__radialRawX,i.__radialOldRawY=i.__radialRawY,i.__radialRawX=y.rawX,i.__radialRawY=y.rawY,o.add(i),t.setItemGraphicEl(e,i),a.updateProps(i,{position:[y.x,y.y]},s);var x=i.getSymbolPath();if("radial"===l.layout){var b,w,S=d.children[0],M=S.getLayout(),T=S.children.length;if(y.x===M.x&&!0===u.isExpand){var A={};A.x=(S.children[0].getLayout().x+S.children[T-1].getLayout().x)/2,A.y=(S.children[0].getLayout().y+S.children[T-1].getLayout().y)/2,b=Math.atan2(A.y-M.y,A.x-M.x),b<0&&(b=2*Math.PI+b),w=A.x<M.x,w&&(b-=Math.PI)}else b=Math.atan2(y.y-M.y,y.x-M.x),b<0&&(b=2*Math.PI+b),0===u.children.length||0!==u.children.length&&!1===u.isExpand?(w=y.x<M.x,w&&(b-=Math.PI)):(w=y.x>M.x,w||(b-=Math.PI));var I=w?"left":"right";x.setStyle({textPosition:I,textRotation:-b,textOrigin:"center",verticalAlign:"middle"})}if(u.parentNode&&u.parentNode!==d){var C=i.__edge;C||(C=i.__edge=new a.BezierCurve({shape:_(l,m,m),style:n.defaults({opacity:0,strokeNoScale:!0},l.lineStyle)})),a.updateProps(C,{shape:_(l,g,y),style:{opacity:1}},s),o.add(C)}}function x(t,e,i,n,r,o){var s,l=t.tree.getNodeByDataIndex(e),c=t.tree.root,u=l.getModel(),h=(o=v(l,u,o),l.parentNode===c?l:l.parentNode||l);while(s=h.getLayout(),null==s)h=h.parentNode===c?h:h.parentNode||h;a.updateProps(i,{position:[s.x+1,s.y+1]},r,function(){n.remove(i),t.setItemGraphicEl(e,null)}),i.fadeOut(null,{keepLabel:!0});var d=i.__edge;d&&a.updateProps(d,{shape:_(o,s,s),style:{opacity:0}},r,function(){n.remove(d)})}function _(t,e,i){var n,a,r,o,l,c,u,h,d=t.orient;if("radial"===t.layout){l=e.rawX,u=e.rawY,c=i.rawX,h=i.rawY;var p=s(l,u),f=s(l,u+(h-u)*t.curvature),g=s(c,h+(u-h)*t.curvature),m=s(c,h);return{x1:p.x,y1:p.y,x2:m.x,y2:m.y,cpx1:f.x,cpy1:f.y,cpx2:g.x,cpy2:g.y}}return l=e.x,u=e.y,c=i.x,h=i.y,"LR"!==d&&"RL"!==d||(n=l+(c-l)*t.curvature,a=u,r=c+(l-c)*t.curvature,o=h),"TB"!==d&&"BT"!==d||(n=l,a=u+(h-u)*t.curvature,r=c,o=h+(u-h)*t.curvature),{x1:l,y1:u,x2:c,y2:h,cpx1:n,cpy1:a,cpx2:r,cpy2:o}}t.exports=g},"25dc":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("0056"),o=i("1c56"),s=i("d4d0"),l=r.valueAxis;function c(t,e){return a.defaults({show:e},t)}var u=n.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),r=this.get("axisTick"),l=this.get("axisLabel"),c=this.get("name"),u=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),p=this.get("triggerEvent"),f=a.map(this.get("indicator")||[],function(f){null!=f.max&&f.max>0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0);var g=c;if(null!=f.color&&(g=a.defaults({color:f.color},c)),f=a.merge(a.clone(f),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:r,axisLabel:l,name:f.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:p},!1),u||(f.name=""),"string"===typeof h){var m=f.name;f.name=h.replace("{value}",null!=m?m:"")}else"function"===typeof h&&(f.name=h(f.name,f));var v=a.extend(new o(f,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v},this);this.getIndicatorModels=function(){return f}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:c(l.axisLabel,!1),axisTick:c(l.axisTick,!1),splitLine:c(l.splitLine,!0),splitArea:c(l.splitArea,!0),indicator:[]}}),h=u;t.exports=h},"26a6":function(t,e,i){"use strict";var n=i("784e"),a=i("3999"),r=i("c65c"),o=i("bab2"),s=i("d128"),l=s.prototype.getCanvasPattern,c=Math.abs,u=new r(!0);function h(t){n.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,subPixelOptimize:!1,brush:function(t,e){var i,n=this.style,a=this.path||u,r=n.hasStroke(),o=n.hasFill(),s=n.fill,c=n.stroke,h=o&&!!s.colorStops,d=r&&!!c.colorStops,p=o&&!!s.image,f=r&&!!c.image;(n.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(i=i||this.getBoundingRect(),this._fillGradient=n.getGradient(t,s,i)),d&&(i=i||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,c,i)));h?t.fillStyle=this._fillGradient:p&&(t.fillStyle=l.call(s,t)),d?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=l.call(c,t));var g=n.lineDash,m=n.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();if(a.setScale(y[0],y[1]),this.__dirtyPath||g&&!v&&r?(a.beginPath(t),g&&!v&&(a.setLineDash(g),a.setLineDashOffset(m)),this.buildPath(a,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=n.fillOpacity){var x=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,a.fill(t),t.globalAlpha=x}else a.fill(t);if(g&&v&&(t.setLineDash(g),t.lineDashOffset=m),r)if(null!=n.strokeOpacity){x=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,a.stroke(t),t.globalAlpha=x}else a.stroke(t);g&&v&&t.setLineDash([]),null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new r},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new r),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.getBoundingRect()}if(this._rect=t,e.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){a.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(a.width+=o/s,a.height+=o/s,a.x-=o/s/2,a.y-=o/s/2)}return a}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),a=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var r=this.path.data;if(a.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/l,t,e)))return!0}if(a.hasFill())return o.contain(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(a.isObject(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1}},h.extend=function(t){var e=function(e){h.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var a in i)!n.hasOwnProperty(a)&&i.hasOwnProperty(a)&&(n[a]=i[a])}t.init&&t.init.call(this,e)};for(var i in a.inherits(e,h),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},a.inherits(h,n);var d=h;t.exports=d},"26bd":function(t,e,i){"use strict";var n=i("3999"),a=i("f63f"),r=i("0290"),o=i("1c56"),s=i("108c"),l=i("2894"),c=r.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){r.prototype.init.apply(this,arguments),a.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=n.reduce(t.regions||[],function(t,i){return i.name&&t.set(i.name,new o(i,e)),t},n.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new o(null,this,this.ecModel)},getFormattedLabel:function(t,e){var i=this.getRegionModel(t),n=i.get("label."+e+".formatter"),a={name:t};return"function"===typeof n?(a.status=e,n(a)):"string"===typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});n.mixin(c,s);var u=c;t.exports=u},"270f":function(t,e,i){"use strict";var n=i("bc9d"),a=i("9d61"),r=i("c1e1"),o=i("6f3e"),s=i("772b"),l=["x","y"],c=["width","height"],u=a.extend({makeElOption:function(t,e,i,n,a){var s=i.axis,l=s.coordinateSystem,c=p(l,1-d(s)),u=l.dataToPoint(e)[0],f=n.get("type");if(f&&"none"!==f){var g=r.buildElStyle(n),m=h[f](s,u,c,g);m.style=g,t.graphicKey=m.type,t.pointer=m}var v=o.layout(i);r.buildCartesianSingleLabelElOption(e,t,v,i,n,a)},getHandleTransform:function(t,e,i){var n=o.layout(e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var a=i.axis,r=a.coordinateSystem,o=d(a),s=p(r,o),l=t.position;l[o]+=e[o],l[o]=Math.min(s[1],l[o]),l[o]=Math.max(s[0],l[o]);var c=p(r,1-o),u=(c[1]+c[0])/2,h=[u,u];return h[o]=l[o],{position:l,rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}}}),h={line:function(t,e,i,a){var o=r.makeLineShape([e,i[0]],[e,i[1]],d(t));return n.subPixelOptimizeLine({shape:o,style:a}),{type:"Line",shape:o}},shadow:function(t,e,i,n){var a=t.getBandWidth(),o=i[1]-i[0];return{type:"Rect",shape:r.makeRectShape([e-a/2,i[0]],[a,o],d(t))}}};function d(t){return t.isHorizontal()?0:1}function p(t,e){var i=t.getRect();return[i[l[e]],i[l[e]]+i[c[e]]]}s.registerAxisPointerClass("SingleAxisPointer",u);var f=u;t.exports=f},2894:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("3999"),o=i("1efb"),s=i("1073"),l=i("8a7d"),c=i("ff7b"),u=i("da4c");function h(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],a=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(a[0])||isNaN(a[1])||this.setBoundingRect(n[0],n[1],a[0]-n[0],a[1]-n[1])}var r,o=this.getBoundingRect(),c=t.get("layoutCenter"),u=t.get("layoutSize"),h=e.getWidth(),d=e.getHeight(),p=o.width/o.height*this.aspectScale,f=!1;if(c&&u&&(c=[l.parsePercent(c[0],h),l.parsePercent(c[1],d)],u=l.parsePercent(u,Math.min(h,d)),isNaN(c[0])||isNaN(c[1])||isNaN(u)||(f=!0)),f){var g={};p>1?(g.width=u,g.height=u/p):(g.height=u,g.width=u*p),g.y=c[1]-g.height/2,g.x=c[0]-g.width/2}else r=t.getBoxLayoutParams(),r.aspect=p,g=s.getLayoutRect(r,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function d(t,e){r.each(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}var p={dimensions:o.prototype.dimensions,create:function(t,e){var i=[];t.eachComponent("geo",function(t,n){var a=t.get("map"),r=t.get("aspectScale"),s=!0,l=u.retrieveMap(a);l&&l[0]&&"svg"===l[0].type?(null==r&&(r=1),s=!1):null==r&&(r=.75);var c=new o(a+n,a,t.get("nameMap"),s);c.aspectScale=r,c.zoomLimit=t.get("scaleLimit"),i.push(c),d(c,t),t.coordinateSystem=c,c.model=t,c.resize=h,c.resize(t,e)}),t.eachSeries(function(t){var e=t.get("coordinateSystem");if("geo"===e){var n=t.get("geoIndex")||0;t.coordinateSystem=i[n]}});var n={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();n[e]=n[e]||[],n[e].push(t)}}),r.each(n,function(t,n){var a=r.map(t,function(t){return t.get("nameMap")}),s=new o(n,n,r.mergeAll(a));s.zoomLimit=r.retrieve.apply(null,r.map(t,function(t){return t.get("scaleLimit")})),i.push(s),s.resize=h,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),r.each(t,function(t){t.coordinateSystem=s,d(s,t)})}),i},getFilledRegions:function(t,e,i){for(var n=(t||[]).slice(),a=r.createHashMap(),o=0;o<n.length;o++)a.set(n[o].name,n[o]);var s=c.load(e,i);return r.each(s.regions,function(t){var e=t.name;!a.get(e)&&n.push({name:e})}),n}};a.registerCoordinateSystem("geo",p);var f=p;t.exports=f},"299c":function(t,e,i){"use strict";var n=i("ac5f"),a=i("005e"),r=i("f9ed"),o=i("ea34");n.extendChartView({type:"scatter",render:function(t,e,i){var n=t.getData(),a=this._updateSymbolDraw(n,t);a.updateData(n),this._finished=!0},incrementalPrepareRender:function(t,e,i){var n=t.getData(),a=this._updateSymbolDraw(n,t);a.incrementalPrepareUpdate(n),this._finished=!1},incrementalRender:function(t,e,i){this._symbolDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,i){var n=t.getData();if(this.group.dirty(),!this._finished||n.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=o().reset(t);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateSymbolDraw:function(t,e){var i=this._symbolDraw,n=e.pipelineContext,o=n.large;return i&&o===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=o?new r:new a,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},"29e9":function(t,e,i){"use strict";var n=i("3999"),a=i("35c7"),r=i("f63f"),o=r.makeInner,s=o(),l=n.each;function c(t,e,i){if(!a.node){var n=e.getZr();s(n).records||(s(n).records={}),u(n,e);var r=s(n).records[t]||(s(n).records[t]={});r.handler=i}}function u(t,e){function i(i,n){t.on(i,function(i){var a=f(e);l(s(t).records,function(t){t&&n(t,i,a.dispatchAction)}),h(a.pendings,e)})}s(t).initialized||(s(t).initialized=!0,i("click",n.curry(p,"click")),i("mousemove",n.curry(p,"mousemove")),i("globalout",d))}function h(t,e){var i,n=t.showTip.length,a=t.hideTip.length;n?i=t.showTip[n-1]:a&&(i=t.hideTip[a-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function d(t,e,i){t.handler("leave",null,i)}function p(t,e,i,n){e.handler(t,i,n)}function f(t){var e={showTip:[],hideTip:[]},i=function i(n){var a=e[n.type];a?a.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}function g(t,e){if(!a.node){var i=e.getZr(),n=(s(i).records||{})[t];n&&(s(i).records[t]=null)}}e.register=c,e.unregister=g},"2a8d":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(r),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t){a.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function c(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return a.extend(i.prototype,t),i.extend=this.extend,i.superCall=d,i.superApply=p,a.inherits(i,this),i.superClass=e,i}}var u=0;function h(t){var e=["__\0is_clz",u++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function d(t,e){var i=a.slice(arguments,2);return this.superClass.prototype[e].apply(t,i)}function p(t,e,i){return this.superClass.prototype[e].apply(t,i)}function f(t,e){e=e||{};var i={};function n(t){var e=i[t.main];return e&&e[o]||(e=i[t.main]={},e[o]=!0),e}if(t.registerClass=function(t,e){if(e)if(l(e),e=s(e),e.sub){if(e.sub!==o){var a=n(e);a[e.sub]=t}}else i[e.main]=t;return t},t.getClass=function(t,e,n){var a=i[t];if(a&&a[o]&&(a=e?a[e]:null),n&&!a)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return a},t.getClassesByMainType=function(t){t=s(t);var e=[],n=i[t.main];return n&&n[o]?a.each(n,function(t,i){i!==o&&e.push(t)}):e.push(n),e},t.hasClass=function(t){return t=s(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return a.each(i,function(e,i){t.push(i)}),t},t.hasSubTypes=function(t){t=s(t);var e=i[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var r=t.extend;r&&(t.extend=function(e){var i=r.call(this,e);return t.registerClass(i,e.type)})}return t}function g(t,e){}e.parseClassType=s,e.enableClassExtend=c,e.enableClassCheck=h,e.enableClassManagement=f,e.setReadOnly=g},"2ae5":function(t,e,i){"use strict";var n=i("bc9d"),a=i("d776");function r(t){this._ctor=t||a,this.group=new n.Group}var o=r.prototype;function s(t,e,i,n){var a=e.getItemLayout(i);if(h(a)){var r=new t._ctor(e,i,n);e.setItemGraphicEl(i,r),t.group.add(r)}}function l(t,e,i,n,a,r){var o=e.getItemGraphicEl(n);h(i.getItemLayout(a))?(o?o.updateData(i,a,r):o=new t._ctor(i,a,r),i.setItemGraphicEl(a,o),t.group.add(o)):t.group.remove(o)}function c(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function u(t){return isNaN(t[0])||isNaN(t[1])}function h(t){return!u(t[0])&&!u(t[1])}o.isPersistent=function(){return!0},o.updateData=function(t){var e=this,i=e.group,n=e._lineData;e._lineData=t,n||i.removeAll();var a=c(t);t.diff(n).add(function(i){s(e,t,i,a)}).update(function(i,r){l(e,n,t,r,i,a)}).remove(function(t){i.remove(n.getItemGraphicEl(t))}).execute()},o.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,i){e.updateLayout(t,i)},this)},o.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(t,e){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}for(var n=t.start;n<t.end;n++){var a=e.getItemLayout(n);if(h(a)){var r=new this._ctor(e,n,this._seriesScope);r.traverse(i),this.group.add(r),e.setItemGraphicEl(n,r)}}},o.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},o._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var d=r;t.exports=d},"2af2":function(t,e,i){"use strict";var n=i("b939"),a=n.parseSVG,r=n.makeViewBoxTransform,o=i("578b"),s=i("fa28"),l=i("3999"),c=l.assert,u=l.createHashMap,h=i("e321"),d=i("f63f"),p=d.makeInner,f=p(),g={load:function(t,e){var i=f(e).originRoot;if(i)return{root:i,boundingRect:f(e).boundingRect};var n=m(e);return f(e).originRoot=n.root,f(e).boundingRect=n.boundingRect,n},makeGraphic:function(t,e,i){var n=f(e),a=n.rootMap||(n.rootMap=u()),r=a.get(i);if(r)return r;var o=n.originRoot,s=n.boundingRect;return n.originRootHostKey?r=m(e,s).root:(n.originRootHostKey=i,r=o),a.set(i,r)},removeGraphic:function(t,e,i){var n=f(e),a=n.rootMap;a&&a.removeKey(i),i===n.originRootHostKey&&(n.originRootHostKey=null)}};function m(t,e){var i,n,l=t.svgXML;try{i=l&&a(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=i.root,c(null!=n)}catch(m){throw new Error("Invalid svg format\n"+m.message)}var u=i.width,d=i.height,p=i.viewBoxRect;if(e||(e=null==u||null==d?n.getBoundingRect():new h(0,0,0,0),null!=u&&(e.width=u),null!=d&&(e.height=d)),p){var f=r(p,e.width,e.height),g=n;n=new o,n.add(g),g.scale=f.scale,g.position=f.position}return n.setClipPath(new s({shape:e.plain()})),{root:n,boundingRect:e}}t.exports=g},"2b1c":function(t,e,i){"use strict";var n=Math.round;function a(t,e,i){var a=i&&i.lineWidth;if(e&&a){var r=e.x1,s=e.x2,l=e.y1,c=e.y2;n(2*r)===n(2*s)?t.x1=t.x2=o(r,a,!0):(t.x1=r,t.x2=s),n(2*l)===n(2*c)?t.y1=t.y2=o(l,a,!0):(t.y1=l,t.y2=c)}}function r(t,e,i){var n=i&&i.lineWidth;if(e&&n){var a=e.x,r=e.y,s=e.width,l=e.height;t.x=o(a,n,!0),t.y=o(r,n,!0),t.width=Math.max(o(a+s,n,!1)-t.x,0===s?0:1),t.height=Math.max(o(r+l,n,!1)-t.y,0===l?0:1)}}function o(t,e,i){var a=n(2*t);return(a+n(e))%2===0?a/2:(a+(i?1:-1))/2}e.subPixelOptimizeLine=a,e.subPixelOptimizeRect=r,e.subPixelOptimize=o},"2b1ca":function(t,e,i){"use strict";function n(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var i=0;i<e.length;i++)if(!e[i].isSelected(t.name))return!1;return!0})}t.exports=n},"2b54":function(t,e,i){"use strict";var n=i("3999"),a=i("e321"),r=i("8a7d"),o=r.parsePercent,s=r.MAX_SAFE_INTEGER,l=i("1073"),c=i("efc7"),u=Math.max,h=Math.min,d=n.retrieve,p=n.each,f=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(t,e,i,r){var s=i.getWidth(),u=i.getHeight(),h=t.option,f=l.getLayoutRect(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()}),g=h.size||[],m=o(d(f.width,g[0]),s),v=o(d(f.height,g[1]),u),y=r&&r.type,_=["treemapZoomToNode","treemapRootToNode"],b=c.retrieveTargetInfo(r,_,t),w="treemapRender"===y||"treemapMove"===y?r.rootRect:null,S=t.getViewRoot(),M=c.getPathToRoot(S);if("treemapMove"!==y){var T="treemapZoomToNode"===y?A(t,b,S,m,v):w?[w.width,w.height]:[m,v],D=h.sort;D&&"asc"!==D&&"desc"!==D&&(D="desc");var L={squareRatio:h.squareRatio,sort:D,leafDepth:h.leafDepth};S.hostTree.clearLayouts();var k={x:0,y:0,width:T[0],height:T[1],area:T[0]*T[1]};S.setLayout(k),x(S,L,!1,0);k=S.getLayout();p(M,function(t,e){var i=(M[e+1]||S).getValue();t.setLayout(n.extend({dataExtent:[i,i],borderWidth:0,upperHeight:0},k))})}var P=t.getData().tree.root;P.setLayout(I(f,w,b),!0),t.setLayoutInfo(f),C(P,new a(-f.x,-f.y,s,u),M,S,0)}};function x(t,e,i,n){var a,r;if(!t.isRemoved()){var o=t.getLayout();a=o.width,r=o.height;var s=t.getModel(),l=s.get(f),c=s.get(g)/2,d=D(s),p=Math.max(l,d),m=l-c,v=p-c;s=t.getModel();t.setLayout({borderWidth:l,upperHeight:p,upperLabelHeight:d},!0),a=u(a-2*m,0),r=u(r-m-v,0);var y=a*r,b=_(t,s,y,e,i,n);if(b.length){var w={x:m,y:v,width:a,height:r},S=h(a,r),A=1/0,I=[];I.area=0;for(var C=0,L=b.length;C<L;){var k=b[C];I.push(k),I.area+=k.getLayout().area;var P=M(I,S,e.squareRatio);P<=A?(C++,A=P):(I.area-=I.pop().getLayout().area,T(I,S,w,c,!1),S=h(w.width,w.height),I.length=I.area=0,A=1/0)}if(I.length&&T(I,S,w,c,!0),!i){var R=s.get("childrenVisibleMin");null!=R&&y<R&&(i=!0)}for(C=0,L=b.length;C<L;C++)x(b[C],e,i,n+1)}}}function _(t,e,i,a,r,o){var s=t.children||[],l=a.sort;"asc"!==l&&"desc"!==l&&(l=null);var c=null!=a.leafDepth&&a.leafDepth<=o;if(r&&!c)return t.viewChildren=[];s=n.filter(s,function(t){return!t.isRemoved()}),w(s,l);var u=S(e,s,l);if(0===u.sum)return t.viewChildren=[];if(u.sum=b(e,i,u.sum,l,s),0===u.sum)return t.viewChildren=[];for(var h=0,d=s.length;h<d;h++){var p=s[h].getValue()/u.sum*i;s[h].setLayout({area:p})}return c&&(s.length&&t.setLayout({isLeafRoot:!0},!0),s.length=0),t.viewChildren=s,t.setLayout({dataExtent:u.dataExtent},!0),s}function b(t,e,i,n,a){if(!n)return i;for(var r=t.get("visibleMin"),o=a.length,s=o,l=o-1;l>=0;l--){var c=a["asc"===n?o-l-1:l].getValue();c/i*e<r&&(s=l,i-=c)}return"asc"===n?a.splice(0,o-s):a.splice(s,o-s),i}function w(t,e){return e&&t.sort(function(t,i){var n="asc"===e?t.getValue()-i.getValue():i.getValue()-t.getValue();return 0===n?"asc"===e?t.dataIndex-i.dataIndex:i.dataIndex-t.dataIndex:n}),t}function S(t,e,i){for(var n=0,a=0,r=e.length;a<r;a++)n+=e[a].getValue();var o=t.get("visualDimension");if(e&&e.length)if("value"===o&&i)s=[e[e.length-1].getValue(),e[0].getValue()],"asc"===i&&s.reverse();else{var s=[1/0,-1/0];p(e,function(t){var e=t.getValue(o);e<s[0]&&(s[0]=e),e>s[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:n,dataExtent:s}}function M(t,e,i){for(var n,a=0,r=1/0,o=0,s=t.length;o<s;o++)n=t[o].getLayout().area,n&&(n<r&&(r=n),n>a&&(a=n));var l=t.area*t.area,c=e*e*i;return l?u(c*a/l,l/(c*r)):1/0}function T(t,e,i,n,a){var r=e===i.width?0:1,o=1-r,s=["x","y"],l=["width","height"],c=i[s[r]],d=e?t.area/e:0;(a||d>i[l[o]])&&(d=i[l[o]]);for(var p=0,f=t.length;p<f;p++){var g=t[p],m={},v=d?g.getLayout().area/d:0,y=m[l[o]]=u(d-2*n,0),x=i[s[r]]+i[l[r]]-c,_=p===f-1||x<v?x:v,b=m[l[r]]=u(_-2*n,0);m[s[o]]=i[s[o]]+h(n,y/2),m[s[r]]=c+h(n,b/2),c+=_,g.setLayout(m,!0)}i[s[o]]+=d,i[l[o]]-=d}function A(t,e,i,n,a){var r,o=(e||{}).node,l=[n,a];if(!o||o===i)return l;var c=n*a,u=c*t.option.zoomToNodeRatio;while(r=o.parentNode){for(var h=0,d=r.children,p=0,g=d.length;p<g;p++)h+=d[p].getValue();var m=o.getValue();if(0===m)return l;u*=h/m;var v=r.getModel(),y=v.get(f),x=Math.max(y,D(v,y));u+=4*y*y+(3*y+x)*Math.pow(u,.5),u>s&&(u=s),o=r}u<c&&(u=c);var _=Math.pow(u/c,.5);return[n*_,a*_]}function I(t,e,i){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!i)return n;var a=i.node,r=a.getLayout();if(!r)return n;var o=[r.width/2,r.height/2],s=a;while(s){var l=s.getLayout();o[0]+=l.x,o[1]+=l.y,s=s.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}function C(t,e,i,n,r){var o=t.getLayout(),s=i[r],l=s&&s===t;if(!(s&&!l||r===i.length&&t!==n)){t.setLayout({isInView:!0,invisible:!l&&!e.intersect(o),isAboveViewRoot:l},!0);var c=new a(e.x-o.x,e.y-o.y,e.width,e.height);p(t.viewChildren||[],function(t){C(t,c,i,n,r+1)})}}function D(t){return t.get(m)?t.get(v):0}t.exports=y},"2b78":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("20e3"),o=i("08d4");i("7662"),i("e588"),i("ff68"),n.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!a.isArray(e)&&(t.axisPointer.link=[e])}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=r.collect(t,e)}),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},o)},"2b80":function(t,e,i){"use strict";i("50e2"),i("79d9"),i("74d5")},"2c2e":function(t,e,i){"use strict";function n(t){return t instanceof Array||(t=[t,t]),t}var a="lineStyle.opacity".split("."),r={seriesType:"lines",reset:function(t,e,i){var r=n(t.get("symbol")),o=n(t.get("symbolSize")),s=t.getData();function l(t,e){var i=t.getItemModel(e),r=n(i.getShallow("symbol",!0)),o=n(i.getShallow("symbolSize",!0)),s=i.get(a);r[0]&&t.setItemVisual(e,"fromSymbol",r[0]),r[1]&&t.setItemVisual(e,"toSymbol",r[1]),o[0]&&t.setItemVisual(e,"fromSymbolSize",o[0]),o[1]&&t.setItemVisual(e,"toSymbolSize",o[1]),t.setItemVisual(e,"opacity",s)}return s.setVisual("fromSymbol",r&&r[0]),s.setVisual("toSymbol",r&&r[1]),s.setVisual("fromSymbolSize",o&&o[0]),s.setVisual("toSymbolSize",o&&o[1]),s.setVisual("opacity",t.get(a)),{dataEach:s.hasItemOption?l:null}}};t.exports=r},"2c82":function(t,e,i){"use strict";var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function a(t,e){if("world"===t){var i=n[e.name];if(i){var a=e.center;a[0]=i[0],a[1]=i[1]}}}t.exports=a},"2c8b":function(t,e,i){"use strict";var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],a={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]};t.exports=a},"2d68":function(t,e,i){"use strict";function n(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),i=[],n=t.coordinateSystem;if(n){for(var a=n.getIndicatorAxes(),r=0;r<a.length;r++)e.each(e.mapDimension(a[r].dim),o);e.each(function(t){i[t][0]&&i[t].push(i[t][0].slice()),e.setItemLayout(t,i[t])})}function o(t,e){i[e]=i[e]||[],i[e][r]=n.dataToPoint(t,r)}})}t.exports=n},"2daa":function(t,e,i){"use strict";var n=i("1073"),a=i("8a7d"),r=a.parsePercent,o=a.linearMap;function s(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function l(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,function(t){return t}),a=[],r="ascending"===e,o=0,s=t.count();o<s;o++)a[o]=o;return"function"===typeof e?a.sort(e):"none"!==e&&a.sort(function(t,e){return r?n[t]-n[e]:n[e]-n[t]}),a}function c(t){t.each(function(e){var i,n,a,r,o=t.getItemModel(e),s=o.getModel("label"),l=s.get("position"),c=o.getModel("labelLine"),u=t.getItemLayout(e),h=u.points,d="inner"===l||"inside"===l||"center"===l;if(d)n=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,a=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i="center",r=[[n,a],[n,a]];else{var p,f,g,m=c.get("length");"left"===l?(p=(h[3][0]+h[0][0])/2,f=(h[3][1]+h[0][1])/2,g=p-m,n=g-5,i="right"):(p=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,g=p+m,n=g+5,i="left");var v=f;r=[[p,f],[g,v]],a=v}u.label={linePoints:r,x:n,y:a,verticalAlign:"middle",textAlign:i,inside:d}})}function u(t,e,i){t.eachSeriesByType("funnel",function(t){var i=t.getData(),n=i.mapDimension("value"),a=t.get("sort"),u=s(t,e),h=l(i,a),d=[r(t.get("minSize"),u.width),r(t.get("maxSize"),u.width)],p=i.getDataExtent(n),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(p[0],0)),null==g&&(g=p[1]);var m=t.get("funnelAlign"),v=t.get("gap"),y=(u.height-v*(i.count()-1))/i.count(),x=u.y,_=function(t,e){var a,r=i.get(n,t)||0,s=o(r,[f,g],d,!0);switch(m){case"left":a=u.x;break;case"center":a=u.x+(u.width-s)/2;break;case"right":a=u.x+u.width-s;break}return[[a,e],[a+s,e]]};"ascending"===a&&(y=-y,v=-v,x+=u.height,h=h.reverse());for(var b=0;b<h.length;b++){var w=h[b],S=h[b+1],M=i.getItemModel(w),T=M.get("itemStyle.height");null==T?T=y:(T=r(T,u.height),"ascending"===a&&(T=-T));var A=_(w,x),I=_(S,x+T);x+=T+v,i.setItemLayout(w,{points:A.concat(I.slice().reverse())})}c(i)})}t.exports=u},"2e8c":function(t,e,i){"use strict";var n=i("ac5f");i("33ef"),i("6e5f"),i("9870");var a=i("b0f7");n.registerVisual(a)},"2ef2":function(t,e,i){"use strict";var n=i("3999"),a=i("2a8d"),r=a.parseClassType,o=0;function s(t){return[t||"",o++,Math.random().toFixed(5)].join("_")}function l(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=r(t),e[t.main]=i},t.determineSubType=function(i,n){var a=n.type;if(!a){var o=r(i).main;t.hasSubTypes(i)&&e[o]&&(a=e[o](n))}return a},t}function c(t,e){function i(t){var i={},o=[];return n.each(t,function(s){var l=a(i,s),c=l.originalDeps=e(s),u=r(c,t);l.entryCount=u.length,0===l.entryCount&&o.push(s),n.each(u,function(t){n.indexOf(l.predecessor,t)<0&&l.predecessor.push(t);var e=a(i,t);n.indexOf(e.successor,t)<0&&e.successor.push(s)})}),{graph:i,noEntryList:o}}function a(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var i=[];return n.each(t,function(t){n.indexOf(e,t)>=0&&i.push(t)}),i}t.topologicalTravel=function(t,e,a,r){if(t.length){var o=i(e),s=o.graph,l=o.noEntryList,c={};n.each(t,function(t){c[t]=!0});while(l.length){var u=l.pop(),h=s[u],d=!!c[u];d&&(a.call(r,u,h.originalDeps.slice()),delete c[u]),n.each(h.successor,d?f:p)}n.each(c,function(){throw new Error("Circle dependency may exists")})}function p(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){c[t]=!0,p(t)}}}e.getUID=s,e.enableSubTypeDefaulter=l,e.enableTopologicalTravel=c},"2f05":function(t,e,i){"use strict";var n=i("4a54"),a=n([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getLineStyle:function(t){var e=a(this,t),i=this.getLineDash(e.lineWidth);return i&&(e.lineDash=i),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),n=4*t;return"solid"===e||null==e?null:"dashed"===e?[n,n]:[i,i]}};t.exports=r},"2f09":function(t,e,i){"use strict";var n=i("ac5f"),a={type:"selectDataRange",event:"dataRangeSelected",update:"update"};n.registerAction(a,function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})})},"2f5f":function(t,e,i){"use strict";var n=i("26a6"),a=i("769f"),r=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){a.buildPath(t,e,!0)}});t.exports=r},3056:function(t,e,i){"use strict";var n=i("1637"),a=n.distance;function r(t,e,i,n,a,r,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*r+s*a+e}function o(t,e){for(var i=t.length,n=[],o=0,s=1;s<i;s++)o+=a(t[s-1],t[s]);var l=o/2;l=l<i?i:l;for(s=0;s<l;s++){var c,u,h,d=s/(l-1)*(e?i:i-1),p=Math.floor(d),f=d-p,g=t[p%i];e?(c=t[(p-1+i)%i],u=t[(p+1)%i],h=t[(p+2)%i]):(c=t[0===p?p:p-1],u=t[p>i-2?i-1:p+1],h=t[p>i-3?i-1:p+2]);var m=f*f,v=f*m;n.push([r(c[0],g[0],u[0],h[0],f,m,v),r(c[1],g[1],u[1],h[1],f,m,v)])}return n}t.exports=o},"317f":function(t,e,i){"use strict";var n=i("bc9d"),a=i("1637"),r=n.Line.prototype,o=n.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=n.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){(s(e)?r:o).buildPath(t,e)},pointAt:function(t){return s(this.shape)?r.pointAt.call(this,t):o.pointAt.call(this,t)},tangentAt:function(t){var e=this.shape,i=s(e)?[e.x2-e.x1,e.y2-e.y1]:o.tangentAt.call(this,t);return a.normalize(i,i)}});t.exports=l},3199:function(t,e,i){"use strict";var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function a(t,e,i){return n.hasOwnProperty(e)?i*t.dpr:i}t.exports=a},"31f5":function(t,e,i){"use strict";var n=i("f63f"),a=n.makeInner,r=n.normalizeToArray,o=a();function s(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n].length>e)return t[n];return t[i-1]}var l={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,i){e=e||this;var n=o(e),a=n.colorIdx||0,l=n.colorNameMap=n.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var c=r(this.get("color",!0)),u=this.get("colorLayer",!0),h=null!=i&&u?s(u,i):c;if(h=h||c,h&&h.length){var d=h[a];return t&&(l[t]=d),n.colorIdx=(a+1)%h.length,d}}};t.exports=l},3205:function(t,e,i){"use strict";var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var a=0,r=n;e.debugMode=a,e.devicePixelRatio=r},3210:function(t,e,i){"use strict";var n=i("3999"),a=i("3e4d"),r=i("f63f"),o=r.makeInner,s=i("08fd"),l=s.makeLabelFormatter,c=s.getOptionCategoryInterval,u=s.shouldShowAllLabels,h=o();function d(t){return"category"===t.type?f(t):v(t)}function p(t,e){return"category"===t.type?m(t,e):{ticks:t.scale.getTicks()}}function f(t){var e=t.getLabelModel(),i=g(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}function g(t,e){var i,a,r=y(t,"labels"),o=c(e),s=x(r,o);return s||(n.isFunction(o)?i=T(t,o):(a="auto"===o?b(t):o,i=M(t,a)),_(r,o,{labels:i,labelCategoryInterval:a}))}function m(t,e){var i,a,r=y(t,"ticks"),o=c(e),s=x(r,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(i=[]),n.isFunction(o))i=T(t,o,!0);else if("auto"===o){var l=g(t,t.getLabelModel());a=l.labelCategoryInterval,i=n.map(l.labels,function(t){return t.tickValue})}else a=o,i=M(t,a,!0);return _(r,o,{ticks:i,tickCategoryInterval:a})}function v(t){var e=t.scale.getTicks(),i=l(t);return{labels:n.map(e,function(e,n){return{formattedLabel:i(e,n),rawLabel:t.scale.getLabel(e),tickValue:e}})}}function y(t,e){return h(t)[e]||(h(t)[e]=[])}function x(t,e){for(var i=0;i<t.length;i++)if(t[i].key===e)return t[i].value}function _(t,e,i){return t.push({key:e,value:i}),i}function b(t){var e=h(t).autoInterval;return null!=e?e:h(t).autoInterval=t.calculateCategoryInterval()}function w(t){var e=S(t),i=l(t),n=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),s=r.count();if(o[1]-o[0]<1)return 0;var c=1;s>40&&(c=Math.max(1,Math.floor(s/40)));for(var u=o[0],d=t.dataToCoord(u+1)-t.dataToCoord(u),p=Math.abs(d*Math.cos(n)),f=Math.abs(d*Math.sin(n)),g=0,m=0;u<=o[1];u+=c){var v=0,y=0,x=a.getBoundingRect(i(u),e.font,"center","top");v=1.3*x.width,y=1.3*x.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var _=g/p,b=m/f;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),M=h(t.model),T=M.lastAutoInterval,A=M.lastTickCount;return null!=T&&null!=A&&Math.abs(T-w)<=1&&Math.abs(A-s)<=1&&T>w?w=T:(M.lastTickCount=s,M.lastAutoInterval=w),w}function S(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 M(t,e,i){var n=l(t),a=t.scale,r=a.getExtent(),o=t.getLabelModel(),s=[],c=Math.max((e||0)+1,1),h=r[0],d=a.count();0!==h&&c>1&&d/c>2&&(h=Math.round(Math.ceil(h/c)*c));var p=u(t),f=o.get("showMinLabel")||p,g=o.get("showMaxLabel")||p;f&&h!==r[0]&&v(r[0]);for(var m=h;m<=r[1];m+=c)v(m);function v(t){s.push(i?t:{formattedLabel:n(t),rawLabel:a.getLabel(t),tickValue:t})}return g&&m!==r[1]&&v(r[1]),s}function T(t,e,i){var a=t.scale,r=l(t),o=[];return n.each(a.getTicks(),function(t){var n=a.getLabel(t);e(t,n)&&o.push(i?t:{formattedLabel:r(t),rawLabel:n,tickValue:t})}),o}e.createAxisLabels=d,e.createAxisTicks=p,e.calculateCategoryInterval=w},"33d1":function(t,e,i){"use strict";function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function a(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(a(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,r=i-this._x,o=n-this._y;this._x=i,this._y=n,e.drift(r,o,t),this.dispatchToElement(a(e,t),"drag",t.event);var s=this.findHover(i,n,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(a(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(a(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(a(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(a(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var r=n;t.exports=r},"33e9":function(t,e,i){"use strict";var n=i("3999");function a(t){var e=t&&t.timeline;n.isArray(e)||(e=e?[e]:[]),n.each(e,function(t){t&&r(t)})}function r(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),o(t),s(t,"controlPosition")){var a=t.controlStyle||(t.controlStyle={});s(a,"position")||(a.position=t.controlPosition),"none"!==a.position||s(a,"show")||(a.show=!1,delete a.position),delete t.controlPosition}n.each(t.data||[],function(t){n.isObject(t)&&!n.isArray(t)&&(!s(t,"value")&&s(t,"name")&&(t.value=t.name),o(t))})}function o(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},r=a.normal||(a.normal={}),o={normal:1,emphasis:1};n.each(a,function(t,e){o[e]||s(r,e)||(r[e]=t)}),i.label&&!s(a,"emphasis")&&(a.emphasis=i.label,delete i.label)}function s(t,e){return t.hasOwnProperty(e)}t.exports=a},"33ef":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("db34"),o=i("1c1f");i("cd3c"),i("8073"),i("d2b8");var s=5;n.extendComponentView({type:"parallel",render:function(t,e,i){this._model=t,this._api=i,this._handlers||(this._handlers={},a.each(l,function(t,e){i.getZr().on(e,this._handlers[e]=a.bind(t,this))},this)),r.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){a.each(this._handlers,function(t,i){e.getZr().off(i,t)}),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(a.extend({type:"parallelAxisExpand"},t))}});var l={mousedown:function(t){c(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(c(this,"click")&&e){var i=[t.offsetX,t.offsetY],n=Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2);if(n>s)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==a.behavior&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&c(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function c(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}n.registerPreprocessor(o)},3438:function(t,e,i){"use strict";var n=i("3999"),a=i("df36"),r=i("1898"),o=r.seriesModelMixin,s=a.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(t,e,i){var n=e.getItemLayout(t);return n&&i.rect(n.brushRect)}});n.mixin(s,o,!0);var l=s;t.exports=l},"346b":function(t,e,i){"use strict";var n=i("2a8d");function a(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}a.prototype.parse=function(t){return t},a.prototype.getSetting=function(t){return this._setting[t]},a.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},a.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},a.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},a.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},a.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(t){this._isBlank=t},a.prototype.getLabel=null,n.enableClassExtend(a),n.enableClassManagement(a,{registerWhenExtend:!0});var r=a;t.exports=r},"34a4":function(t,e,i){"use strict";var n=i("3999");function a(){var t,e=[],i={};return{add:function(t,a,r,o,s){return n.isString(o)&&(s=o,o=0),!i[t.id]&&(i[t.id]=1,e.push({el:t,target:a,time:r,delay:o,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var n=e.length,a=0,r=e.length;a<r;a++){var o=e[a];o.el.animateTo(o.target,o.time,o.delay,o.easing,s)}return this;function s(){n--,n||(e.length=0,i={},t&&t())}}}}e.createWrap=a},"34d5":function(t,e,i){"use strict";var n=i("3999"),a=i("f80c");function r(t){this._zr=t.getZr(),this._show=!1,this._hideTimeout}r.prototype={constructor:r,_enterable:!0,update:function(){},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,i){this.el&&this._zr.remove(this.el);var n={},r=t,o="{marker",s="|}",l=r.indexOf(o);while(l>=0){var c=r.indexOf(s),u=r.substr(l+o.length,c-l-o.length);u.indexOf("sub")>-1?n["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[u],textOffset:[3,0]}:n["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[u]},r=r.substr(c+1),l=r.indexOf("{marker")}this.el=new a({style:{rich:n,text:t,textLineHeight:20,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding")},z:i.get("z")}),this._zr.add(this.el);var h=this;this.el.on("mouseover",function(){h._enterable&&(clearTimeout(h._hideTimeout),h._show=!0),h._inContent=!0}),this.el.on("mouseout",function(){h._enterable&&h._show&&h.hideLater(h._hideDelay),h._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){return this.getSize()}};var o=r;t.exports=o},"34f6":function(t,e,i){"use strict";var n=i("ac5f"),a=i("de13"),r=a.updateCenterAndZoom;i("ddf3");var o={type:"graphRoam",event:"graphRoam",update:"none"};n.registerAction(o,function(t,e){e.eachComponent({mainType:"series",query:t},function(e){var i=e.coordinateSystem,n=r(i,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})})},3524:function(t,e,i){"use strict";var n=i("0fee"),a=n.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(t){return t.stack=null,a.superApply(this,"getInitialData",arguments)}}),r=a;t.exports=r},3534:function(t,e,i){"use strict";var n=i("784e"),a=i("e321"),r=i("3999"),o=i("5b79");function s(t){n.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var a=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(a&&o.isImageReady(a)){var r=i.x||0,s=i.y||0,l=i.width,c=i.height,u=a.width/a.height;if(null==l&&null!=c?l=c*u:null==c&&null!=l?c=l/u:null==l&&null==c&&(l=a.width,c=a.height),this.setTransform(t),i.sWidth&&i.sHeight){var h=i.sx||0,d=i.sy||0;t.drawImage(a,h,d,i.sWidth,i.sHeight,r,s,l,c)}else if(i.sx&&i.sy){h=i.sx,d=i.sy;var p=l-h,f=c-d;t.drawImage(a,h,d,p,f,r,s,l,c)}else t.drawImage(a,r,s,l,c);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,n);var l=s;t.exports=l},"35ae":function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},o=2,s=4;function l(t,e,i){a.Group.call(this);var n=new a.Sector({z2:o});n.seriesIndex=e.seriesIndex;var r=new a.Text({z2:s,silent:t.getModel("label").get("silent")});function l(){r.ignore=r.hoverIgnore}function c(){r.ignore=r.normalIgnore}this.add(n),this.add(r),this.updateData(!0,t,"normal",e,i),this.on("emphasis",l).on("normal",c).on("mouseover",l).on("mouseout",c)}var c=l.prototype;c.updateData=function(t,e,i,r,o){this.node=e,e.piece=this,r=r||this._seriesModel,o=o||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),c=e.getLayout(),u=n.extend({},c);u.label=null;var d=h(e,r,o);f(e,r,d);var p,g=l.getModel("itemStyle").getItemStyle();if("normal"===i)p=g;else{var m=l.getModel(i+".itemStyle").getItemStyle();p=n.merge(m,g)}p=n.defaults({lineJoin:"bevel",fill:p.fill||d},p),t?(s.setShape(u),s.shape.r=c.r0,a.updateProps(s,{shape:{r:c.r}},r,e.dataIndex),s.useStyle(p)):"object"===typeof p.fill&&p.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(a.updateProps(s,{shape:u},r),s.useStyle(p)):a.updateProps(s,{shape:u,style:p},r),this._updateLabel(r,d,i);var v=l.getShallow("cursor");if(v&&s.attr("cursor",v),t){var y=r.getShallow("highlightPolicy");this._initEvents(s,e,r,y)}this._seriesModel=r||this._seriesModel,this._ecModel=o||this._ecModel},c.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode(function(i){i.piece&&(e.node===i?i.piece.updateData(!1,i,"emphasis"):p(i,e.node,t)?i.piece.childAt(0).trigger("highlight"):t!==r.NONE&&i.piece.childAt(0).trigger("downplay"))})},c.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(t,e,i){var r=this.node.getModel(),o=r.getModel("label"),s="normal"===i||"emphasis"===i?o:r.getModel(i+".label"),l=r.getModel("emphasis.label"),c=n.retrieve(t.getFormattedLabel(this.node.dataIndex,"normal",null,null,"label"),this.node.name);!1===T("show")&&(c="");var u=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=o.get("minAngle")),h=h/180*Math.PI;var d=u.endAngle-u.startAngle;null!=h&&Math.abs(d)<h&&(c="");var p=this.childAt(1);a.setLabelStyle(p.style,p.hoverStyle||{},o,l,{defaultText:s.getShallow("show")?c:null,autoColor:e,useInsideStyle:!0});var f,g=(u.startAngle+u.endAngle)/2,m=Math.cos(g),v=Math.sin(g),y=T("position"),x=T("distance")||0,_=T("align");"outside"===y?(f=u.r+x,_=g>Math.PI/2?"right":"left"):_&&"center"!==_?"left"===_?(f=u.r0+x,g>Math.PI/2&&(_="right")):"right"===_&&(f=u.r-x,g>Math.PI/2&&(_="left")):(f=(u.r+u.r0)/2,_="center"),p.attr("style",{text:c,textAlign:_,textVerticalAlign:T("verticalAlign")||"middle",opacity:T("opacity")});var b=f*m+u.cx,w=f*v+u.cy;p.attr("position",[b,w]);var S=T("rotate"),M=0;function T(t){var e=s.get(t);return null==e?o.get(t):e}"radial"===S?(M=-g,M<-Math.PI/2&&(M+=Math.PI)):"tangential"===S?(M=Math.PI/2-g,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):"number"===typeof S&&(M=S*Math.PI/180),p.attr("rotation",M)},c._initEvents=function(t,e,i,n){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,r=function(){a.onEmphasis(n)},o=function(){a.onNormal()},s=function(){a.onDownplay()},l=function(){a.onHighlight()};i.isAnimationEnabled()&&t.on("mouseover",r).on("mouseout",o).on("emphasis",r).on("normal",o).on("downplay",s).on("highlight",l)},n.inherits(l,a.Group);var u=l;function h(t,e,i){var n=t.getVisual("color"),a=t.getVisual("visualMeta");a&&0!==a.length||(n=null);var r=t.getModel("itemStyle").get("color");if(r)return r;if(n)return n;if(0===t.depth)return i.option.color[0];var o=i.option.color.length;return r=i.option.color[d(t)%o],r}function d(t){var e=t;while(e.depth>1)e=e.parentNode;var i=t.getAncestors()[0];return n.indexOf(i.children,e)}function p(t,e,i){return i!==r.NONE&&(i===r.SELF?t===e:i===r.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function f(t,e,i){var n=e.getData();n.setItemVisual(t.dataIndex,"color",i)}t.exports=u},"35b6":function(t,e,i){"use strict";var n=i("bc9d"),a=i("14d8"),r=a.getDefaultLabel;function o(t,e,i,a,o,l,c){var u=i.getModel("label"),h=i.getModel("emphasis.label");n.setLabelStyle(t,e,u,h,{labelFetcher:o,labelDataIndex:l,defaultText:r(o.getData(),l),isRectText:!0,autoColor:a}),s(t),s(e)}function s(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=o},"35c7":function(t,e,i){"use strict";var n={};n="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:r(navigator.userAgent);var a=n;function r(t){var e={},i={},n=t.match(/Firefox\/([\d.]+)/),a=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return n&&(i.firefox=!0,i.version=n[1]),a&&(i.ie=!0,i.version=a[1]),r&&(i.edge=!0,i.version=r[1]),o&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!==typeof document}}t.exports=a},"36ca":function(t,e,i){"use strict";var n=i("26a6"),a=i("1637"),r=i("1b25"),o=r.quadraticSubdivide,s=r.cubicSubdivide,l=r.quadraticAt,c=r.cubicAt,u=r.quadraticDerivativeAt,h=r.cubicDerivativeAt,d=[];function p(t,e,i){var n=t.cpx2,a=t.cpy2;return null===n||null===a?[(i?h:c)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?h:c)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?u:l)(t.x1,t.cpx1,t.x2,e),(i?u:l)(t.y1,t.cpy1,t.y2,e)]}var f=n.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,a=e.x2,r=e.y2,l=e.cpx1,c=e.cpy1,u=e.cpx2,h=e.cpy2,p=e.percent;0!==p&&(t.moveTo(i,n),null==u||null==h?(p<1&&(o(i,l,a,p,d),l=d[1],a=d[2],o(n,c,r,p,d),c=d[1],r=d[2]),t.quadraticCurveTo(l,c,a,r)):(p<1&&(s(i,l,u,a,p,d),l=d[1],u=d[2],a=d[3],s(n,c,h,r,p,d),c=d[1],h=d[2],r=d[3]),t.bezierCurveTo(l,c,u,h,a,r)))},pointAt:function(t){return p(this.shape,t,!1)},tangentAt:function(t){var e=p(this.shape,t,!0);return a.normalize(e,e)}});t.exports=f},3791:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("bc9d"),o=i("c677"),s=i("3999");function l(t,e,i){var n=t[1]-t[0];e=s.map(e,function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}});var a=e.length,r=0;return function(t){for(var n=r;n<a;n++){var o=e[n].interval;if(o[0]<=t&&t<=o[1]){r=n;break}}if(n===a)for(n=r-1;n>=0;n--){o=e[n].interval;if(o[0]<=t&&t<=o[1]){r=n;break}}return n>=0&&n<a&&i[n]}}function c(t,e){var i=t[1]-t[0];return e=[(e[0]-t[0])/i,(e[1]-t[0])/i],function(t){return t>=e[0]&&t<=e[1]}}function u(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var h=a.extendChartView({type:"heatmap",render:function(t,e,i){var n;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(i){i===t&&(n=e)})}),this.group.removeAll(),this._incrementalDisplayable=null;var a=t.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):u(a)&&this._renderOnGeo(a,t,n,i)},incrementalPrepareRender:function(t,e,i){this.group.removeAll()},incrementalRender:function(t,e,i,n){var a=e.coordinateSystem;a&&this._renderOnCartesianAndCalendar(e,n,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,i,n,a){var o,l,c=t.coordinateSystem;if("cartesian2d"===c.type){var u=c.getAxis("x"),h=c.getAxis("y");o=u.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,p=t.getData(),f="itemStyle",g="emphasis.itemStyle",m="label",v="emphasis.label",y=t.getModel(f).getItemStyle(["color"]),x=t.getModel(g).getItemStyle(),_=t.getModel(m),b=t.getModel(v),w=c.type,S="cartesian2d"===w?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],M=i;M<n;M++){var T;if("cartesian2d"===w){if(isNaN(p.get(S[2],M)))continue;var A=c.dataToPoint([p.get(S[0],M),p.get(S[1],M)]);T=new r.Rect({shape:{x:A[0]-o/2,y:A[1]-l/2,width:o,height:l},style:{fill:p.getItemVisual(M,"color"),opacity:p.getItemVisual(M,"opacity")}})}else{if(isNaN(p.get(S[1],M)))continue;T=new r.Rect({z2:1,shape:c.dataToRect([p.get(S[0],M)]).contentShape,style:{fill:p.getItemVisual(M,"color"),opacity:p.getItemVisual(M,"opacity")}})}var I=p.getItemModel(M);p.hasItemOption&&(y=I.getModel(f).getItemStyle(["color"]),x=I.getModel(g).getItemStyle(),_=I.getModel(m),b=I.getModel(v));var C=t.getRawValue(M),D="-";C&&null!=C[2]&&(D=C[2]),r.setLabelStyle(y,x,_,b,{labelFetcher:t,labelDataIndex:M,defaultText:D,isRectText:!0}),T.setStyle(y),r.setHoverStyle(T,p.hasItemOption?x:s.extend({},x)),T.incremental=a,a&&(T.useHoverLayer=!0),d.add(T),p.setItemGraphicEl(M,T)}},_renderOnGeo:function(t,e,i,n){var a=i.targetVisuals.inRange,s=i.targetVisuals.outOfRange,u=e.getData(),h=this._hmLayer||this._hmLayer||new o;h.blurSize=e.get("blurSize"),h.pointSize=e.get("pointSize"),h.minOpacity=e.get("minOpacity"),h.maxOpacity=e.get("maxOpacity");var d=t.getViewRect().clone(),p=t.getRoamTransform();d.applyTransform(p);var f=Math.max(d.x,0),g=Math.max(d.y,0),m=Math.min(d.width+d.x,n.getWidth()),v=Math.min(d.height+d.y,n.getHeight()),y=m-f,x=v-g,_=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],b=u.mapArray(_,function(e,i,n){var a=t.dataToPoint([e,i]);return a[0]-=f,a[1]-=g,a.push(n),a}),w=i.getExtent(),S="visualMap.continuous"===i.type?c(w,i.option.range):l(w,i.getPieceList(),i.option.selected);h.update(b,y,x,a.color.getNormalizer(),{inRange:a.color.getColorMapper(),outOfRange:s.color.getColorMapper()},S);var M=new r.Image({style:{width:y,height:x,x:f,y:g,image:h.canvas},silent:!0});this.group.add(M)},dispose:function(){}});t.exports=h},"37a0":function(t,e,i){"use strict";var n=i("ac5f");i("4c50"),i("5ee6"),i("7b7b"),i("2b78"),i("270f"),n.extendComponentView({type:"single"})},"37ee":function(t,e,i){"use strict";var n=i("8a71"),a=i("ac5f"),r=a.extendComponentView({type:"geo",init:function(t,e){var i=new n(e,!0);this._mapDraw=i,this.group.add(i.group)},render:function(t,e,i,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var a=this._mapDraw;t.get("show")?a.draw(t,e,i,this,n):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=r},3856:function(t,e,i){"use strict";var n=i("0761"),a=n.extend({type:"dataZoom.select"});t.exports=a},3999:function(t,e,i){"use strict";var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},a={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,o=Array.prototype,s=o.forEach,l=o.filter,c=o.slice,u=o.map,h=o.reduce,d={};function p(t,e){"createCanvas"===t&&(x=null),d[t]=e}function f(t){if(null==t||"object"!==typeof t)return t;var e=t,i=r.call(t);if("[object Array]"===i){if(!Q(t)){e=[];for(var o=0,s=t.length;o<s;o++)e[o]=f(t[o])}}else if(a[i]){if(!Q(t)){var l=t.constructor;if(t.constructor.from)e=l.from(t);else{e=new l(t.length);for(o=0,s=t.length;o<s;o++)e[o]=f(t[o])}}}else if(!n[i]&&!Q(t)&&!B(t))for(var c in e={},t)t.hasOwnProperty(c)&&(e[c]=f(t[c]));return e}function g(t,e,i){if(!N(e)||!N(t))return i?f(e):t;for(var n in e)if(e.hasOwnProperty(n)){var a=t[n],r=e[n];!N(r)||!N(a)||R(r)||R(a)||B(r)||B(a)||z(r)||z(a)||Q(r)||Q(a)?!i&&n in t||(t[n]=f(e[n],!0)):g(a,r,i)}return t}function m(t,e){for(var i=t[0],n=1,a=t.length;n<a;n++)i=g(i,t[n],e);return i}function v(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function y(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}var x,_=function(){return d.createCanvas()};function b(){return x||(x=_().getContext("2d")),x}function w(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return-1}function S(t,e){var i=t.prototype;function n(){}for(var a in n.prototype=e.prototype,t.prototype=new n,i)t.prototype[a]=i[a];t.prototype.constructor=t,t.superClass=e}function M(t,e,i){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,y(t,e,i)}function T(t){if(t)return"string"!==typeof t&&"number"===typeof t.length}function A(t,e,i){if(t&&e)if(t.forEach&&t.forEach===s)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,a=t.length;n<a;n++)e.call(i,t[n],n,t);else for(var r in t)t.hasOwnProperty(r)&&e.call(i,t[r],r,t)}function I(t,e,i){if(t&&e){if(t.map&&t.map===u)return t.map(e,i);for(var n=[],a=0,r=t.length;a<r;a++)n.push(e.call(i,t[a],a,t));return n}}function C(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===h)return t.reduce(e,i,n);for(var a=0,r=t.length;a<r;a++)i=e.call(n,i,t[a],a,t);return i}}function D(t,e,i){if(t&&e){if(t.filter&&t.filter===l)return t.filter(e,i);for(var n=[],a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)&&n.push(t[a]);return n}}function L(t,e,i){if(t&&e)for(var n=0,a=t.length;n<a;n++)if(e.call(i,t[n],n,t))return t[n]}function k(t,e){var i=c.call(arguments,2);return function(){return t.apply(e,i.concat(c.call(arguments)))}}function P(t){var e=c.call(arguments,1);return function(){return t.apply(this,e.concat(c.call(arguments)))}}function R(t){return"[object Array]"===r.call(t)}function E(t){return"function"===typeof t}function O(t){return"[object String]"===r.call(t)}function N(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function z(t){return!!n[r.call(t)]}function V(t){return!!a[r.call(t)]}function B(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function W(t){return t!==t}function F(t){for(var e=0,i=arguments.length;e<i;e++)if(null!=arguments[e])return arguments[e]}function H(t,e){return null!=t?t:e}function G(t,e,i){return null!=t?t:null!=e?e:i}function Y(){return Function.call.apply(c,arguments)}function X(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function U(t,e){if(!t)throw new Error(e)}function j(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}d.createCanvas=function(){return document.createElement("canvas")};var Z="__ec_primitive__";function q(t){t[Z]=!0}function Q(t){return t[Z]}function K(t){var e=R(t);this.data={};var i=this;function n(t,n){e?i.set(t,n):i.set(n,t)}t instanceof K?t.each(n):t&&A(t,n)}function J(t){return new K(t)}function $(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.length;n++)i[n]=t[n];var a=t.length;for(n=0;n<e.length;n++)i[n+a]=e[n];return i}function tt(){}K.prototype={constructor:K,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var i in void 0!==e&&(t=k(t,e)),this.data)this.data.hasOwnProperty(i)&&t(this.data[i],i)},removeKey:function(t){delete this.data[t]}},e.$override=p,e.clone=f,e.merge=g,e.mergeAll=m,e.extend=v,e.defaults=y,e.createCanvas=_,e.getContext=b,e.indexOf=w,e.inherits=S,e.mixin=M,e.isArrayLike=T,e.each=A,e.map=I,e.reduce=C,e.filter=D,e.find=L,e.bind=k,e.curry=P,e.isArray=R,e.isFunction=E,e.isString=O,e.isObject=N,e.isBuiltInObject=z,e.isTypedArray=V,e.isDom=B,e.eqNaN=W,e.retrieve=F,e.retrieve2=H,e.retrieve3=G,e.slice=Y,e.normalizeCssArray=X,e.assert=U,e.trim=j,e.setAsPrimitive=q,e.isPrimitive=Q,e.createHashMap=J,e.concatArray=$,e.noop=tt},"3a51":function(t,e,i){"use strict";var n=i("3999");function a(t){return this._axes[t]}var r=function(t){this._axes={},this._dimList=[],this.name=t||""};r.prototype={constructor:r,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return n.map(this._dimList,a,this)},getAxesByScale:function(t){return t=t.toLowerCase(),n.filter(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var i=this._dimList,n=t instanceof Array?[]:{},a=0;a<i.length;a++){var r=i[a],o=this._axes[r];n[r]=o[e](t[r])}return n}};var o=r;t.exports=o},"3a7f":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("bc9d"),o=i("2008"),s=o.createSymbol,l=i("8a7d"),c=l.parsePercent,u=l.isNumeric,h=i("35b6"),d=h.setLabel,p=["itemStyle","borderWidth"],f=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],g=new r.Circle,m=n.extendChartView({type:"pictorialBar",render:function(t,e,i){var n=this.group,a=t.getData(),r=this._data,o=t.coordinateSystem,s=o.getBaseAxis(),l=!!s.isHorizontal(),c=o.grid.getRect(),u={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:o,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:l,valueDim:f[+l],categoryDim:f[1-l]};return a.diff(r).add(function(t){if(a.hasValue(t)){var e=C(a,t),i=v(a,t,e,u),r=P(a,u,i);a.setItemGraphicEl(t,r),n.add(r),V(r,u,i)}}).update(function(t,e){var i=r.getItemGraphicEl(e);if(a.hasValue(t)){var o=C(a,t),s=v(a,t,o,u),l=O(a,s);i&&l!==i.__pictorialShapeStr&&(n.remove(i),a.setItemGraphicEl(t,null),i=null),i?R(i,u,s):i=P(a,u,s,!0),a.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=s,n.add(i),V(i,u,s)}else n.remove(i)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&E(r,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=a,this.group},dispose:a.noop,remove:function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl(function(e){E(n,e.dataIndex,t,e)}):i.removeAll()}});function v(t,e,i,n){var r=t.getItemLayout(e),o=i.get("symbolRepeat"),s=i.get("symbolClip"),l=i.get("symbolPosition")||"start",u=i.get("symbolRotate"),h=(u||0)*Math.PI/180||0,d=i.get("symbolPatternSize")||2,p=i.isAnimationEnabled(),f={dataIndex:e,layout:r,itemModel:i,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:s,symbolRepeat:o,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:d,rotation:h,animationModel:p?i:null,hoverAnimation:p&&i.get("hoverAnimation"),z2:i.getShallow("z",!0)||0};y(i,o,r,n,f),_(t,e,r,o,s,f.boundingLength,f.pxSign,d,n,f),b(i,f.symbolScale,h,n,f);var g=f.symbolSize,m=i.get("symbolOffset");return a.isArray(m)&&(m=[c(m[0],g[0]),c(m[1],g[1])]),w(i,g,r,o,s,m,l,f.valueLineWidth,f.boundingLength,f.repeatCutLength,n,f),f}function y(t,e,i,n,r){var o,s=n.valueDim,l=t.get("symbolBoundingData"),c=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),u=c.toGlobalCoord(c.dataToCoord(0)),h=1-+(i[s.wh]<=0);if(a.isArray(l)){var d=[x(c,l[0])-u,x(c,l[1])-u];d[1]<d[0]&&d.reverse(),o=d[h]}else o=null!=l?x(c,l)-u:e?n.coordSysExtent[s.index][h]-u:i[s.wh];r.boundingLength=o,e&&(r.repeatCutLength=i[s.wh]),r.pxSign=o>0?1:o<0?-1:0}function x(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function _(t,e,i,n,r,o,s,l,u,h){var d=u.valueDim,p=u.categoryDim,f=Math.abs(i[p.wh]),g=t.getItemVisual(e,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[p.index]=c(g[p.index],f),g[d.index]=c(g[d.index],n?f:Math.abs(o)),h.symbolSize=g;var m=h.symbolScale=[g[0]/l,g[1]/l];m[d.index]*=(u.isHorizontal?-1:1)*s}function b(t,e,i,n,a){var r=t.get(p)||0;r&&(g.attr({scale:e.slice(),rotation:i}),g.updateTransform(),r/=g.getLineScale(),r*=e[n.valueDim.index]),a.valueLineWidth=r}function w(t,e,i,n,r,o,s,l,h,d,p,f){var g=p.categoryDim,m=p.valueDim,v=f.pxSign,y=Math.max(e[m.index]+l,0),x=y;if(n){var _=Math.abs(h),b=a.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=c(b,e[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,T=u(n),A=T?n:B((_+M)/S),I=_-A*y;b=I/2/(w?A:A-1),S=y+2*b,M=w?0:2*b,T||"fixed"===n||(A=d?B((Math.abs(d)+M)/S):0),x=A*S-M,f.repeatTimes=A,f.symbolMargin=b}var C=v*(x/2),D=f.pathPosition=[];D[g.index]=i[g.wh]/2,D[m.index]="start"===s?C:"end"===s?h-C:h/2,o&&(D[0]+=o[0],D[1]+=o[1]);var L=f.bundlePosition=[];L[g.index]=i[g.xy],L[m.index]=i[m.xy];var k=f.barRectShape=a.extend({},i);k[m.wh]=v*Math.max(Math.abs(i[m.wh]),Math.abs(D[m.index]+C)),k[g.wh]=i[g.wh];var P=f.clipShape={};P[g.xy]=-i[g.xy],P[g.wh]=p.ecSize[g.wh],P[m.xy]=0,P[m.wh]=i[m.wh]}function S(t){var e=t.symbolPatternSize,i=s(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function M(t,e,i,n){var a=t.__pictorialBundle,r=i.symbolSize,o=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,c=i.repeatTimes||0,u=0,h=r[e.valueDim.index]+o+2*i.symbolMargin;for(N(t,function(t){t.__pictorialAnimationIndex=u,t.__pictorialRepeatTimes=c,u<c?z(t,null,f(u),i,n):z(t,null,{scale:[0,0]},i,n,function(){a.remove(t)}),k(t,i),u++});u<c;u++){var d=S(i);d.__pictorialAnimationIndex=u,d.__pictorialRepeatTimes=c,a.add(d);var p=f(u);z(d,{position:p.position,scale:[0,0]},{scale:p.scale,rotation:p.rotation},i,n),d.on("mouseover",g).on("mouseout",m),k(d,i)}function f(t){var e=s.slice(),n=i.pxSign,a=t;return("start"===i.symbolRepeatDirection?n>0:n<0)&&(a=c-1-t),e[l.index]=h*(a-c/2+.5)+s[l.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){N(t,function(t){t.trigger("emphasis")})}function m(){N(t,function(t){t.trigger("normal")})}}function T(t,e,i,n){var a=t.__pictorialBundle,r=t.__pictorialMainPath;function o(){this.trigger("emphasis")}function s(){this.trigger("normal")}r?z(r,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(r=t.__pictorialMainPath=S(i),a.add(r),z(r,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),r.on("mouseover",o).on("mouseout",s)),k(r,i)}function A(t,e,i){var n=a.extend({},e.barRectShape),o=t.__pictorialBarRect;o?z(o,null,{shape:n},e,i):(o=t.__pictorialBarRect=new r.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function I(t,e,i,n){if(i.symbolClip){var o=t.__pictorialClipPath,s=a.extend({},i.clipShape),l=e.valueDim,c=i.animationModel,u=i.dataIndex;if(o)r.updateProps(o,{shape:s},c,u);else{s[l.wh]=0,o=new r.Rect({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=i.clipShape[l.wh],r[n?"updateProps":"initProps"](o,{shape:h},c,u)}}}function C(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=D,i.isAnimationEnabled=L,i}function D(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function L(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function k(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:i.slice()},400,"elasticOut")})}function P(t,e,i,n){var a=new r.Group,o=new r.Group;return a.add(o),a.__pictorialBundle=o,o.attr("position",i.bundlePosition.slice()),i.symbolRepeat?M(a,e,i):T(a,e,i),A(a,i,n),I(a,e,i,n),a.__pictorialShapeStr=O(t,i),a.__pictorialSymbolMeta=i,a}function R(t,e,i){var n=i.animationModel,a=i.dataIndex,o=t.__pictorialBundle;r.updateProps(o,{position:i.bundlePosition.slice()},n,a),i.symbolRepeat?M(t,e,i,!0):T(t,e,i,!0),A(t,i,!0),I(t,e,i,!0)}function E(t,e,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);var s=[];N(n,function(t){s.push(t)}),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),a.each(s,function(t){r.updateProps(t,{scale:[0,0]},i,e,function(){n.parent&&n.parent.remove(n)})}),t.setItemGraphicEl(e,null)}function O(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function N(t,e,i){a.each(t.__pictorialBundle.children(),function(n){n!==t.__pictorialBarRect&&e.call(i,n)})}function z(t,e,i,n,a,o){e&&t.attr(e),n.symbolClip&&!a?i&&t.attr(i):i&&r[a?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,o)}function V(t,e,i){var n=i.color,o=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),c=s.getModel("emphasis.itemStyle").getItemStyle(),u=s.getShallow("cursor");N(t,function(t){t.setColor(n),t.setStyle(a.defaults({fill:n,opacity:i.opacity},l)),r.setHoverStyle(t,c),u&&(t.cursor=u),t.z2=i.z2});var h={},p=e.valueDim.posDesc[+(i.boundingLength>0)],f=t.__pictorialBarRect;d(f.style,h,s,n,e.seriesModel,o,p),r.setHoverStyle(f,h)}function B(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var W=m;t.exports=W},"3af3":function(t,e,i){"use strict";i("abaa"),i("7e87"),i("9d21"),i("b428")},"3c8c":function(t,e,i){var n=i("b041");e=t.exports=i("2350")(!1),e.push([t.i,".picker-title{background:#0069ff!important}body{font-size:%?25.36?%;background:#f3f3f3}.littleTit{overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-webkit-text-overflow:ellipsis;-moz-text-overflow:ellipsis;white-space:nowrap}@font-face{font-family:apples;src:url("+n(i("8ffd"))+")}.picker-title:after{border:none!important}.typeBox{height:%?38.04?%;width:%?434.78?%;line-height:%?38.04?%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;margin:0 auto;position:relative;top:%?21.73?%;font-size:%?21.73?%}.typeBox>span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;margin-right:%?36.23?%;text-align:center;border-radius:%?16.3?%;color:#80b4ff}.activeDateType{background:#fff;color:#0069ff}.search .content{height:%?43.47?%!important}.search{border-bottom:none!important}.searchBox{position:fixed;top:%?1.81?%;z-index:9;right:%?112.31?%;width:%?565.21?%}.button-item{color:#fff!important}.centers{text-align:center!important;color:#c9c9c9}\n\t/*每个页面公共css */\n\t/*弹窗插件样式覆盖*/.dialog-btn{color:#0069ff}.message .message-dialog.alert .message-content,.message .message-dialog.confirm .message-content,.message .message-dialog.prompt .message-content{border-radius:%?25.36?%!important}",""])},"3c98":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("35c7"),o=i("0285"),s=i("34d5"),l=i("b04a"),c=i("8a7d"),u=i("bc9d"),h=i("1508"),d=i("1073"),p=i("1c56"),f=i("29e9"),g=i("08fd"),m=i("c1e1"),v=i("f63f"),y=v.getTooltipRenderMode,x=a.bind,_=a.each,b=c.parsePercent,w=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=n.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var i,n=t.getComponent("tooltip"),a=n.get("renderMode");this._renderMode=y(a),"html"===this._renderMode?(i=new o(e.getDom(),e),this._newLine="<br/>"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!r.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");f.register("itemTooltip",this._api,x(function(t,i,n){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,n):"leave"===t&&this._hide(n))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!r.node){var a=T(n,i);this._ticket="";var o=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=w;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},a)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},a);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=h(n,e),c=l.point[0],u=l.point[1];null!=c&&null!=u&&this._tryShow({offsetX:c,offsetY:u,position:n.position,target:l.el,event:{}},a)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target,event:{}},a))}},manuallyHideTip:function(t,e,i,n){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(T(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var a=n.seriesIndex,r=n.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=r&&null!=o){var s=e.getSeriesByIndex(a);if(s){var l=s.getData();t=M([l.getItemModel(r),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:r,position:n.position}),!0}}},_tryShow:function(t,e){var i=t.target,n=this._tooltipModel;if(n){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;a&&a.length?this._showAxisTooltip(a,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=a.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,n=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],s=[],c=M([e.tooltipOption,n]),u=this._renderMode,h=this._newLine,d={};_(t,function(t){_(t.dataByAxis,function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,r=[];if(e&&null!=n){var c=m.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,function(o){var l=i.getSeriesByIndex(o.seriesIndex),h=o.dataIndexInside,p=l&&l.getDataParams(h);if(p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=g.getAxisRawValue(e.axis,n),p.axisValueLabel=c,p){s.push(p);var f,m=l.formatTooltip(h,!0,null,u);if(a.isObject(m)){f=m.html;var v=m.markers;a.merge(d,v)}else f=m;r.push(f)}});var p=c;"html"!==u?o.push(r.join(h)):o.push((p?l.encodeHTML(p)+h:"")+r.join(h))}})},this),o.reverse(),o=o.join(this._newLine+this._newLine);var p=e.position;this._showOrMove(c,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(c,p,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(c,o,s,Math.random(),r[0],r[1],p,void 0,d)})},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,r=e.seriesIndex,o=n.getSeriesByIndex(r),s=e.dataModel||o,l=e.dataIndex,c=e.dataType,u=s.getData(),h=M([u.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var p,f,g=s.getDataParams(l,c),m=s.formatTooltip(l,!1,c,this._renderMode);a.isObject(m)?(p=m.html,f=m.markers):(p=m,f=null);var v="item_"+s.name+"_"+l;this._showOrMove(h,function(){this._showTooltipContent(h,p,g,v,t.offsetX,t.offsetY,t.position,t.target,f)}),i({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"===typeof n){var a=n;n={content:a,formatter:a}}var r=new p(n,this._tooltipModel,this._ecModel),o=r.get("content"),s=Math.random();this._showOrMove(r,function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,a,r,o,s,c){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,h=t.get("formatter");o=o||t.get("position");var d=e;if(h&&"string"===typeof h)d=l.formatTpl(h,i,!0);else if("function"===typeof h){var p=x(function(e,n){e===this._ticket&&(u.setContent(n,c,t),this._updatePosition(t,o,a,r,u,i,s))},this);this._ticket=n,d=h(i,n,p)}u.setContent(d,c,t),u.show(t),this._updatePosition(t,o,a,r,u,i,s)}},_updatePosition:function(t,e,i,n,r,o,s){var l=this._api.getWidth(),c=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),p=t.get("verticalAlign"),f=s&&s.getBoundingRect().clone();if(s&&f.applyTransform(s.transform),"function"===typeof e&&(e=e([i,n],o,r.el,f,{viewSize:[l,c],contentSize:u.slice()})),a.isArray(e))i=b(e[0],l),n=b(e[1],c);else if(a.isObject(e)){e.width=u[0],e.height=u[1];var g=d.getLayoutRect(e,{width:l,height:c});i=g.x,n=g.y,h=null,p=null}else if("string"===typeof e&&s){var m=C(e,f,u);i=m[0],n=m[1]}else{m=A(i,n,r,l,c,h?null:20,p?null:20);i=m[0],n=m[1]}if(h&&(i-=D(h)?u[0]/2:"right"===h?u[0]:0),p&&(n-=D(p)?u[1]/2:"bottom"===p?u[1]:0),t.get("confine")){m=I(i,n,r,l,c);i=m[0],n=m[1]}r.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&_(e,function(e,n){var a=e.dataByAxis||{},r=t[n]||{},o=r.dataByAxis||[];i&=a.length===o.length,i&&_(a,function(t,e){var n=o[e]||{},a=t.seriesDataIndices||[],r=n.seriesDataIndices||[];i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&a.length===r.length,i&&_(a,function(t,e){var n=r[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})})}),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||(this._tooltipContent.hide(),f.unregister("itemTooltip",e))}});function M(t){var e=t.pop();while(t.length){var i=t.pop();i&&(p.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),e=new p(i,e,e.ecModel))}return e}function T(t,e){return t.dispatchAction||a.bind(e.dispatchAction,e)}function A(t,e,i,n,a,r,o){var s=i.getOuterSize(),l=s.width,c=s.height;return null!=r&&(t+l+r>n?t-=l+r:t+=r),null!=o&&(e+c+o>a?e-=c+o:e+=o),[t,e]}function I(t,e,i,n,a){var r=i.getOuterSize(),o=r.width,s=r.height;return t=Math.min(t+o,n)-o,e=Math.min(e+s,a)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function C(t,e,i){var n=i[0],a=i[1],r=5,o=0,s=0,l=e.width,c=e.height;switch(t){case"inside":o=e.x+l/2-n/2,s=e.y+c/2-a/2;break;case"top":o=e.x+l/2-n/2,s=e.y-a-r;break;case"bottom":o=e.x+l/2-n/2,s=e.y+c+r;break;case"left":o=e.x-n-r,s=e.y+c/2-a/2;break;case"right":o=e.x+l+r,s=e.y+c/2-a/2}return[o,s]}function D(t){return"center"===t||"middle"===t}t.exports=S},"3ca54":function(t,e,i){"use strict";var n=i("91cd"),a=i("3999");function r(t,e){n.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function o(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}a.inherits(r,n),r.prototype.addWithoutUpdate=function(t,e){if(e&&o(e.style)){var i,n=e.style;if(n._shadowDom){i=n._shadowDom;var a=this.getDefs(!0);a.contains(n._shadowDom)||this.addDom(i)}else i=this.add(e);this.markUsed(e);var r=i.getAttribute("id");t.style.filter="url(#"+r+")"}},r.prototype.add=function(t){var e=this.createElement("filter"),i=t.style;return i._shadowDomId=i._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+i._shadowDomId),this.updateDom(t,e),this.addDom(e),e},r.prototype.update=function(t,e){var i=e.style;if(o(i)){var a=this;n.prototype.update.call(this,e,function(t){a.updateDom(e,t._shadowDom)})}else this.remove(t,i)},r.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(e),t.style.filter="")},r.prototype.updateDom=function(t,e){var i=e.getElementsByTagName("feDropShadow");i=0===i.length?this.createElement("feDropShadow"):i[0];var n,a,r,o,s=t.style,l=t.scale&&t.scale[0]||1,c=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,a=s.shadowOffsetY||0,r=s.shadowBlur,o=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);n=s.textShadowOffsetX||0,a=s.textShadowOffsetY||0,r=s.textShadowBlur,o=s.textShadowColor}i.setAttribute("dx",n/l),i.setAttribute("dy",a/c),i.setAttribute("flood-color",o);var u=r/2/l,h=r/2/c,d=u+" "+h;i.setAttribute("stdDeviation",d),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(r/2*200)+"%"),e.setAttribute("height",Math.ceil(r/2*200)+"%"),e.appendChild(i),s._shadowDom=e},r.prototype.markUsed=function(t){var e=t.style;e&&e._shadowDom&&n.prototype.markUsed.call(this,e._shadowDom)};var s=r;t.exports=s},"3d2e":function(t,e,i){"use strict";var n=i("3999"),a=i("2008"),r=a.createSymbol,o=i("bc9d"),s=o.Group,l=i("8a7d"),c=l.parsePercent,u=i("a022"),h=3;function d(t){return n.isArray(t)||(t=[+t,+t]),t}function p(t,e){t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?e.color:null,fill:"fill"===e.brushType?e.color:null}})})}function f(t,e){s.call(this);var i=new u(t,e),n=new s;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(t,e)}var g=f.prototype;g.stopEffectAnimation=function(){this.childAt(1).removeAll()},g.startEffectAnimation=function(t){for(var e=t.symbolType,i=t.color,n=this.childAt(1),a=0;a<h;a++){var o=r(e,-1,-1,2,2,i);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-a/h*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(s).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),n.add(o)}p(n,t)},g.updateEffectAnimation=function(t){for(var e=this._effectCfg,i=this.childAt(1),n=["symbolType","period","rippleScale"],a=0;a<n.length;a++){var r=n[a];if(e[r]!==t[r])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}p(i,t)},g.highlight=function(){this.trigger("emphasis")},g.downplay=function(){this.trigger("normal")},g.updateData=function(t,e){var i=t.hostModel;this.childAt(0).updateData(t,e);var n=this.childAt(1),a=t.getItemModel(e),r=t.getItemVisual(e,"symbol"),o=d(t.getItemVisual(e,"symbolSize")),s=t.getItemVisual(e,"color");n.attr("scale",o),n.traverse(function(t){t.attr({fill:s})});var l=a.getShallow("symbolOffset");if(l){var u=n.position;u[0]=c(l[0],o[0]),u[1]=c(l[1],o[1])}n.rotation=(a.getShallow("symbolRotate")||0)*Math.PI/180||0;var h={};if(h.showEffectOn=i.get("showEffectOn"),h.rippleScale=a.get("rippleEffect.scale"),h.brushType=a.get("rippleEffect.brushType"),h.period=1e3*a.get("rippleEffect.period"),h.effectOffset=e/t.count(),h.z=a.getShallow("z")||0,h.zlevel=a.getShallow("zlevel")||0,h.symbolType=r,h.color=s,this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===h.showEffectOn)this._effectCfg?this.updateEffectAnimation(h):this.startEffectAnimation(h),this._effectCfg=h;else{this._effectCfg=null,this.stopEffectAnimation();var p=this.childAt(0),f=function(){p.highlight(),"render"!==h.showEffectOn&&this.startEffectAnimation(h)},g=function(){p.downplay(),"render"!==h.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",f,this).on("mouseout",g,this).on("emphasis",f,this).on("normal",g,this)}this._effectCfg=h},g.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},n.inherits(f,s);var m=f;t.exports=m},"3dd3":function(t,e,i){"use strict";var n=i("35c7"),a=i("1637"),r=a.applyTransform,o=i("e321"),s=i("c1ef"),l=i("3e4d"),c=i("4e33"),u=i("5dd0"),h=i("784e"),d=i("3534"),p=i("f80c"),f=i("26a6"),g=i("c65c"),m=i("00fa"),v=i("a903"),y=g.CMD,x=Math.round,_=Math.sqrt,b=Math.abs,w=Math.cos,S=Math.sin,M=Math.max;if(!n.canvasSupported){var T=",",A="progid:DXImageTransform.Microsoft",I=21600,C=I/2,D=1e5,L=1e3,k=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=I+","+I,t.coordorigin="0,0"},P=function(t){return String(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},R=function(t,e,i){return"rgb("+[t,e,i].join(",")+")"},E=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},O=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},N=function(t,e,i){return(parseFloat(t)||0)*D+(parseFloat(e)||0)*L+i},z=function(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},V=function(t,e,i){var n=s.parse(e);i=+i,isNaN(i)&&(i=1),n&&(t.color=R(n[0],n[1],n[2]),t.opacity=i*n[3])},B=function(t){var e=s.parse(t);return[R(e[0],e[1],e[2]),e[3]]},W=function(t,e,i){var n=e.fill;if(null!=n)if(n instanceof m){var a,o=0,s=[0,0],l=0,c=1,u=i.getBoundingRect(),h=u.width,d=u.height;if("linear"===n.type){a="gradient";var p=i.transform,f=[n.x*h,n.y*d],g=[n.x2*h,n.y2*d];p&&(r(f,f,p),r(g,g,p));var v=g[0]-f[0],y=g[1]-f[1];o=180*Math.atan2(v,y)/Math.PI,o<0&&(o+=360),o<1e-6&&(o=0)}else{a="gradientradial";f=[n.x*h,n.y*d],p=i.transform;var x=i.scale,_=h,b=d;s=[(f[0]-u.x)/_,(f[1]-u.y)/b],p&&r(f,f,p),_/=x[0]*I,b/=x[1]*I;var w=M(_,b);l=0/w,c=2*n.r/w-l}var S=n.colorStops.slice();S.sort(function(t,e){return t.offset-e.offset});for(var T=S.length,A=[],C=[],D=0;D<T;D++){var L=S[D],k=B(L.color);C.push(L.offset*c+l+" "+k[0]),0!==D&&D!==T-1||A.push(k)}if(T>=2){var P=A[0][0],R=A[1][0],E=A[0][1]*e.opacity,O=A[1][1]*e.opacity;t.type=a,t.method="none",t.focus="100%",t.angle=o,t.color=P,t.color2=R,t.colors=C.join(","),t.opacity=O,t.opacity2=E}"radial"===a&&(t.focusposition=s.join(","))}else V(t,n,e.opacity)},F=function(t,e){null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof m||V(t,e.stroke,e.opacity)},H=function(t,e,i,n){var a="fill"===e,r=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(a||!a&&i.lineWidth)?(t[a?"filled":"stroked"]="true",i[e]instanceof m&&O(t,r),r||(r=v.createNode(e)),a?W(r,i,n):F(r,i),E(t,r)):(t[a?"filled":"stroked"]="false",O(t,r))},G=[[],[],[]],Y=function(t,e){var i,n,a,o,s,l,c=y.M,u=y.C,h=y.L,d=y.A,p=y.Q,f=[],g=t.data,m=t.len();for(o=0;o<m;){switch(a=g[o++],n="",i=0,a){case c:n=" m ",i=1,s=g[o++],l=g[o++],G[0][0]=s,G[0][1]=l;break;case h:n=" l ",i=1,s=g[o++],l=g[o++],G[0][0]=s,G[0][1]=l;break;case p:case u:n=" c ",i=3;var v,b,M=g[o++],A=g[o++],D=g[o++],L=g[o++];a===p?(v=D,b=L,D=(D+2*M)/3,L=(L+2*A)/3,M=(s+2*M)/3,A=(l+2*A)/3):(v=g[o++],b=g[o++]),G[0][0]=M,G[0][1]=A,G[1][0]=D,G[1][1]=L,G[2][0]=v,G[2][1]=b,s=v,l=b;break;case d:var k=0,P=0,R=1,E=1,O=0;e&&(k=e[4],P=e[5],R=_(e[0]*e[0]+e[1]*e[1]),E=_(e[2]*e[2]+e[3]*e[3]),O=Math.atan2(-e[1]/E,e[0]/R));var N=g[o++],z=g[o++],V=g[o++],B=g[o++],W=g[o++]+O,F=g[o++]+W+O;o++;var H=g[o++],Y=N+w(W)*V,X=z+S(W)*B,U=(M=N+w(F)*V,A=z+S(F)*B,H?" wa ":" at ");Math.abs(Y-M)<1e-4&&(Math.abs(F-W)>.01?H&&(Y+=270/I):Math.abs(X-z)<1e-4?H&&Y<N||!H&&Y>N?A-=270/I:A+=270/I:H&&X<z||!H&&X>z?M+=270/I:M-=270/I),f.push(U,x(((N-V)*R+k)*I-C),T,x(((z-B)*E+P)*I-C),T,x(((N+V)*R+k)*I-C),T,x(((z+B)*E+P)*I-C),T,x((Y*R+k)*I-C),T,x((X*E+P)*I-C),T,x((M*R+k)*I-C),T,x((A*E+P)*I-C)),s=M,l=A;break;case y.R:var j=G[0],Z=G[1];j[0]=g[o++],j[1]=g[o++],Z[0]=j[0]+g[o++],Z[1]=j[1]+g[o++],e&&(r(j,j,e),r(Z,Z,e)),j[0]=x(j[0]*I-C),Z[0]=x(Z[0]*I-C),j[1]=x(j[1]*I-C),Z[1]=x(Z[1]*I-C),f.push(" m ",j[0],T,j[1]," l ",Z[0],T,j[1]," l ",Z[0],T,Z[1]," l ",j[0],T,Z[1]);break;case y.Z:f.push(" x ")}if(i>0){f.push(n);for(var q=0;q<i;q++){var Q=G[q];e&&r(Q,Q,e),f.push(x(Q[0]*I-C),T,x(Q[1]*I-C),q<i-1?T:"")}}}return f.join("")};f.prototype.brushVML=function(t){var e=this.style,i=this._vmlEl;i||(i=v.createNode("shape"),k(i),this._vmlEl=i),H(i,"fill",e,this),H(i,"stroke",e,this);var n=this.transform,a=null!=n,r=i.getElementsByTagName("stroke")[0];if(r){var o=e.lineWidth;if(a&&!e.strokeNoScale){var s=n[0]*n[3]-n[1]*n[2];o*=_(b(s))}r.weight=o+"px"}var l=this.path||(this.path=new g);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),i.path=Y(l,this.transform),i.style.zIndex=N(this.zlevel,this.z,this.z2),E(t,i),null!=e.text?this.drawRectText(t,this.getBoundingRect()):this.removeRectText(t)},f.prototype.onRemove=function(t){O(t,this._vmlEl),this.removeRectText(t)},f.prototype.onAdd=function(t){E(t,this._vmlEl),this.appendRectText(t)};var X=function(t){return"object"===typeof t&&t.tagName&&"IMG"===t.tagName.toUpperCase()};d.prototype.brushVML=function(t){var e,i,n=this.style,a=n.image;if(X(a)){var o=a.src;if(o===this._imageSrc)e=this._imageWidth,i=this._imageHeight;else{var s=a.runtimeStyle,l=s.width,c=s.height;s.width="auto",s.height="auto",e=a.width,i=a.height,s.width=l,s.height=c,this._imageSrc=o,this._imageWidth=e,this._imageHeight=i}a=o}else a===this._imageSrc&&(e=this._imageWidth,i=this._imageHeight);if(a){var u=n.x||0,h=n.y||0,d=n.width,p=n.height,f=n.sWidth,g=n.sHeight,m=n.sx||0,y=n.sy||0,b=f&&g,w=this._vmlEl;w||(w=v.doc.createElement("div"),k(w),this._vmlEl=w);var S,I=w.style,C=!1,D=1,L=1;if(this.transform&&(S=this.transform,D=_(S[0]*S[0]+S[1]*S[1]),L=_(S[2]*S[2]+S[3]*S[3]),C=S[1]||S[2]),C){var P=[u,h],R=[u+d,h],O=[u,h+p],z=[u+d,h+p];r(P,P,S),r(R,R,S),r(O,O,S),r(z,z,S);var V=M(P[0],R[0],O[0],z[0]),B=M(P[1],R[1],O[1],z[1]),W=[];W.push("M11=",S[0]/D,T,"M12=",S[2]/L,T,"M21=",S[1]/D,T,"M22=",S[3]/L,T,"Dx=",x(u*D+S[4]),T,"Dy=",x(h*L+S[5])),I.padding="0 "+x(V)+"px "+x(B)+"px 0",I.filter=A+".Matrix("+W.join("")+", SizingMethod=clip)"}else S&&(u=u*D+S[4],h=h*L+S[5]),I.filter="",I.left=x(u)+"px",I.top=x(h)+"px";var F=this._imageEl,H=this._cropEl;F||(F=v.doc.createElement("div"),this._imageEl=F);var G=F.style;if(b){if(e&&i)G.width=x(D*e*d/f)+"px",G.height=x(L*i*p/g)+"px";else{var Y=new Image,U=this;Y.onload=function(){Y.onload=null,e=Y.width,i=Y.height,G.width=x(D*e*d/f)+"px",G.height=x(L*i*p/g)+"px",U._imageWidth=e,U._imageHeight=i,U._imageSrc=a},Y.src=a}H||(H=v.doc.createElement("div"),H.style.overflow="hidden",this._cropEl=H);var j=H.style;j.width=x((d+m*d/f)*D),j.height=x((p+y*p/g)*L),j.filter=A+".Matrix(Dx="+-m*d/f*D+",Dy="+-y*p/g*L+")",H.parentNode||w.appendChild(H),F.parentNode!==H&&H.appendChild(F)}else G.width=x(D*d)+"px",G.height=x(L*p)+"px",w.appendChild(F),H&&H.parentNode&&(w.removeChild(H),this._cropEl=null);var Z="",q=n.opacity;q<1&&(Z+=".Alpha(opacity="+x(100*q)+") "),Z+=A+".AlphaImageLoader(src="+a+", SizingMethod=scale)",G.filter=Z,w.style.zIndex=N(this.zlevel,this.z,this.z2),E(t,w),null!=n.text&&this.drawRectText(t,this.getBoundingRect())}},d.prototype.onRemove=function(t){O(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},d.prototype.onAdd=function(t){E(t,this._vmlEl),this.appendRectText(t)};var U,j="normal",Z={},q=0,Q=100,K=document.createElement("div"),J=function(t){var e=Z[t];if(!e){q>Q&&(q=0,Z={});var i,n=K.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(a){}e={style:n.fontStyle||j,variant:n.fontVariant||j,weight:n.fontWeight||j,size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},Z[t]=e,q++}return e};l.$override("measureText",function(t,e){var i=v.doc;U||(U=i.createElement("div"),U.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",v.doc.body.appendChild(U));try{U.style.font=e}catch(n){}return U.innerHTML="",U.appendChild(i.createTextNode(t)),{width:U.offsetWidth}});for(var $=new o,tt=function(t,e,i,n){var a=this.style;this.__dirty&&c.normalizeTextStyle(a,!0);var o=a.text;if(null!=o&&(o+=""),o){if(a.rich){var s=l.parseRichText(o,a);o=[];for(var u=0;u<s.lines.length;u++){for(var h=s.lines[u].tokens,d=[],p=0;p<h.length;p++)d.push(h[p].text);o.push(d.join(""))}o=o.join("\n")}var f,g,m=a.textAlign,y=a.textVerticalAlign,_=J(a.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';i=i||l.getBoundingRect(o,b,m,y,a.textPadding,a.textLineHeight);var w=this.transform;if(w&&!n&&($.copy(e),$.applyTransform(w),e=$),n)f=e.x,g=e.y;else{var S=a.textPosition,M=a.textDistance;if(S instanceof Array)f=e.x+z(S[0],e.width),g=e.y+z(S[1],e.height),m=m||"left";else{var A=l.adjustTextPositionOnRect(S,e,M);f=A.x,g=A.y,m=m||A.textAlign,y=y||A.textVerticalAlign}}f=l.adjustTextX(f,i.width,m),g=l.adjustTextY(g,i.height,y),g+=i.height/2;var I,C,D,L=v.createNode,R=this._textVmlEl;R?(D=R.firstChild,I=D.nextSibling,C=I.nextSibling):(R=L("line"),I=L("path"),C=L("textpath"),D=L("skew"),C.style["v-text-align"]="left",k(R),I.textpathok=!0,C.on=!0,R.from="0 0",R.to="1000 0.05",E(R,D),E(R,I),E(R,C),this._textVmlEl=R);var O=[f,g],V=R.style;w&&n?(r(O,O,w),D.on=!0,D.matrix=w[0].toFixed(3)+T+w[2].toFixed(3)+T+w[1].toFixed(3)+T+w[3].toFixed(3)+",0,0",D.offset=(x(O[0])||0)+","+(x(O[1])||0),D.origin="0 0",V.left="0px",V.top="0px"):(D.on=!1,V.left=x(f)+"px",V.top=x(g)+"px"),C.string=P(o);try{C.style.font=b}catch(B){}H(R,"fill",{fill:a.textFill,opacity:a.opacity},this),H(R,"stroke",{stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash},this),R.style.zIndex=N(this.zlevel,this.z,this.z2),E(t,R)}},et=function(t){O(t,this._textVmlEl),this._textVmlEl=null},it=function(t){E(t,this._textVmlEl)},nt=[u,h,d,f,p],at=0;at<nt.length;at++){var rt=nt[at].prototype;rt.drawRectText=tt,rt.removeRectText=et,rt.appendRectText=it}p.prototype.brushVML=function(t){var e=this.style;null!=e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(t)},p.prototype.onRemove=function(t){this.removeRectText(t)},p.prototype.onAdd=function(t){this.appendRectText(t)}}},"3e45":function(t,e,i){"use strict";var n=i("26a6"),a=i("2b1c"),r=a.subPixelOptimizeLine,o={},s=n.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i,n,a,s;this.subPixelOptimize?(r(o,e,this.style),i=o.x1,n=o.y1,a=o.x2,s=o.y2):(i=e.x1,n=e.y1,a=e.x2,s=e.y2);var l=e.percent;0!==l&&(t.moveTo(i,n),l<1&&(a=i*(1-l)+a*l,s=n*(1-l)+s*l),t.lineTo(a,s))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=s},"3e4d":function(t,e,i){"use strict";var n=i("e321"),a=i("5b79"),r=i("3999"),o=r.getContext,s=r.extend,l=r.retrieve2,c=r.retrieve3,u=r.trim,h={},d=0,p=5e3,f=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",m={};function v(t,e){m[t]=e}function y(t,e){e=e||g;var i=t+":"+e;if(h[i])return h[i];for(var n=(t+"").split("\n"),a=0,r=0,o=n.length;r<o;r++)a=Math.max(L(n[r],e).width,a);return d>p&&(d=0,h={}),d++,h[i]=a,a}function x(t,e,i,n,a,r,o,s){return o?b(t,e,i,n,a,r,o,s):_(t,e,i,n,a,r,s)}function _(t,e,i,a,r,o,s){var l=k(t,e,r,o,s),c=y(t,e);r&&(c+=r[1]+r[3]);var u=l.outerHeight,h=w(0,c,i),d=S(0,u,a),p=new n(h,d,c,u);return p.lineHeight=l.lineHeight,p}function b(t,e,i,a,r,o,s,l){var c=P(t,{rich:s,truncate:l,font:e,textAlign:i,textPadding:r,textLineHeight:o}),u=c.outerWidth,h=c.outerHeight,d=w(0,u,i),p=S(0,h,a);return new n(d,p,u,h)}function w(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function S(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function M(t,e,i){var n=e.x,a=e.y,r=e.height,o=e.width,s=r/2,l="left",c="top";switch(t){case"left":n-=i,a+=s,l="right",c="middle";break;case"right":n+=i+o,a+=s,c="middle";break;case"top":n+=o/2,a-=i,l="center",c="bottom";break;case"bottom":n+=o/2,a+=r+i,l="center";break;case"inside":n+=o/2,a+=s,l="center",c="middle";break;case"insideLeft":n+=i,a+=s,c="middle";break;case"insideRight":n+=o-i,a+=s,l="right",c="middle";break;case"insideTop":n+=o/2,a+=i,l="center";break;case"insideBottom":n+=o/2,a+=r-i,l="center",c="bottom";break;case"insideTopLeft":n+=i,a+=i;break;case"insideTopRight":n+=o-i,a+=i,l="right";break;case"insideBottomLeft":n+=i,a+=r-i,c="bottom";break;case"insideBottomRight":n+=o-i,a+=r-i,l="right",c="bottom";break}return{x:n,y:a,textAlign:l,textVerticalAlign:c}}function T(t,e,i,n,a){if(!e)return"";var r=(t+"").split("\n");a=A(e,i,n,a);for(var o=0,s=r.length;o<s;o++)r[o]=I(r[o],a);return r.join("\n")}function A(t,e,i,n){n=s({},n),n.font=e;i=l(i,"...");n.maxIterations=l(n.maxIterations,2);var a=n.minChar=l(n.minChar,0);n.cnCharWidth=y("国",e);var r=n.ascCharWidth=y("a",e);n.placeholder=l(n.placeholder,"");for(var o=t=Math.max(0,t-1),c=0;c<a&&o>=r;c++)o-=r;var u=y(i,e);return u>o&&(i="",u=0),o=t-u,n.ellipsis=i,n.ellipsisWidth=u,n.contentWidth=o,n.containerWidth=t,n}function I(t,e){var i=e.containerWidth,n=e.font,a=e.contentWidth;if(!i)return"";var r=y(t,n);if(r<=i)return t;for(var o=0;;o++){if(r<=a||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?C(t,a,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*a/r):0;t=t.substr(0,s),r=y(t,n)}return""===t&&(t=e.placeholder),t}function C(t,e,i,n){for(var a=0,r=0,o=t.length;r<o&&a<e;r++){var s=t.charCodeAt(r);a+=0<=s&&s<=127?i:n}return r}function D(t){return y("国",t)}function L(t,e){return m.measureText(t,e)}function k(t,e,i,n,a){null!=t&&(t+="");var r=l(n,D(e)),o=t?t.split("\n"):[],s=o.length*r,c=s;if(i&&(c+=i[0]+i[2]),t&&a){var u=a.outerHeight,h=a.outerWidth;if(null!=u&&c>u)t="",o=[];else if(null!=h)for(var d=A(h-(i?i[1]+i[3]:0),e,a.ellipsis,{minChar:a.minChar,placeholder:a.placeholder}),p=0,f=o.length;p<f;p++)o[p]=I(o[p],d)}return{lines:o,height:s,outerHeight:c,lineHeight:r}}function P(t,e){var i={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return i;var n,r=f.lastIndex=0;while(null!=(n=f.exec(t))){var o=n.index;o>r&&R(i,t.substring(r,o)),R(i,n[2],n[1]),r=f.lastIndex}r<t.length&&R(i,t.substring(r,t.length));var s=i.lines,u=0,h=0,d=[],p=e.textPadding,g=e.truncate,m=g&&g.outerWidth,v=g&&g.outerHeight;p&&(null!=m&&(m-=p[1]+p[3]),null!=v&&(v-=p[0]+p[2]));for(var x=0;x<s.length;x++){for(var _=s[x],b=0,w=0,S=0;S<_.tokens.length;S++){var M=_.tokens[S],A=M.styleName&&e.rich[M.styleName]||{},I=M.textPadding=A.textPadding,C=M.font=A.font||e.font,L=M.textHeight=l(A.textHeight,D(C));if(I&&(L+=I[0]+I[2]),M.height=L,M.lineHeight=c(A.textLineHeight,e.textLineHeight,L),M.textAlign=A&&A.textAlign||e.textAlign,M.textVerticalAlign=A&&A.textVerticalAlign||"middle",null!=v&&u+M.lineHeight>v)return{lines:[],width:0,height:0};M.textWidth=y(M.text,C);var k=A.textWidth,P=null==k||"auto"===k;if("string"===typeof k&&"%"===k.charAt(k.length-1))M.percentWidth=k,d.push(M),k=0;else{if(P){k=M.textWidth;var E=A.textBackgroundColor,O=E&&E.image;O&&(O=a.findExistImage(O),a.isImageReady(O)&&(k=Math.max(k,O.width*L/O.height)))}var N=I?I[1]+I[3]:0;k+=N;var z=null!=m?m-w:null;null!=z&&z<k&&(!P||z<N?(M.text="",M.textWidth=k=0):(M.text=T(M.text,z-N,C,g.ellipsis,{minChar:g.minChar}),M.textWidth=y(M.text,C),k=M.textWidth+N))}w+=M.width=k,A&&(b=Math.max(b,M.lineHeight))}_.width=w,_.lineHeight=b,u+=b,h=Math.max(h,w)}i.outerWidth=i.width=l(e.textWidth,h),i.outerHeight=i.height=l(e.textHeight,u),p&&(i.outerWidth+=p[1]+p[3],i.outerHeight+=p[0]+p[2]);for(x=0;x<d.length;x++){M=d[x];var V=M.percentWidth;M.width=parseInt(V,10)/100*h}return i}function R(t,e,i){for(var n=""===e,a=e.split("\n"),r=t.lines,o=0;o<a.length;o++){var s=a[o],l={styleName:i,text:s,isLineHolder:!s&&!n};if(o)r.push({tokens:[l]});else{var c=(r[r.length-1]||(r[0]={tokens:[]})).tokens,u=c.length;1===u&&c[0].isLineHolder?c[0]=l:(s||!u||n)&&c.push(l)}}}function E(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&u(e)||t.textFont||t.font}m.measureText=function(t,e){var i=o();return i.font=e||g,i.measureText(t)},e.DEFAULT_FONT=g,e.$override=v,e.getWidth=y,e.getBoundingRect=x,e.adjustTextX=w,e.adjustTextY=S,e.adjustTextPositionOnRect=M,e.truncateText=T,e.getLineHeight=D,e.measureText=L,e.parsePlainText=k,e.parseRichText=P,e.makeFont=E},"3e79":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("df36")),r=i("c14b"),o=i("3999"),s=o.concatArray,l=o.mergeAll,c=o.map,u=i("b04a"),h=u.encodeHTML,d=(i("e62e"),"undefined"===typeof Uint32Array?Array:Uint32Array),p="undefined"===typeof Float64Array?Array:Float64Array;function f(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=c(e,function(t){var e=[t[0].coord,t[1].coord],i={coords:e};return t[0].name&&(i.fromName=t[0].name),t[1].name&&(i.toName=t[1].name),l([i,t[0],t[1]])}))}var g=a.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],f(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),g.superApply(this,"init",arguments)},mergeOption:function(t){if(t.data=t.data||[],f(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}g.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,e.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t),i=e.option instanceof Array?e.option:e.getShallow("coords");return i},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[2*t],n=this._flatCoordsOffset[2*t+1],a=0;a<n;a++)e[a]=e[a]||[],e[a][0]=this._flatCoords[i+2*a],e[a][1]=this._flatCoords[i+2*a+1];return n}var r=this._getCoordsFromItemModel(t);for(a=0;a<r.length;a++)e[a]=e[a]||[],e[a][0]=r[a][0],e[a][1]=r[a][1];return r.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"===typeof t[0]){for(var i=t.length,n=new d(i),a=new p(i),r=0,o=0,s=0,l=0;l<i;){s++;var c=t[l++];n[o++]=r+e,n[o++]=c;for(var u=0;u<c;u++){var h=t[l++],f=t[l++];a[r++]=h,a[r++]=f}}return{flatCoordsOffset:new Uint32Array(n.buffer,0,o),flatCoords:a,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},getInitialData:function(t,e){var i=new r(["value"],this);return i.hasItemOption=!1,i.initData(t.data,[],function(t,e,n,a){if(t instanceof Array)return NaN;i.hasItemOption=!0;var r=t.value;return null!=r?r instanceof Array?r[a]:r:void 0}),i},formatTooltip:function(t){var e=this.getData(),i=e.getItemModel(t),n=i.get("name");if(n)return n;var a=i.get("fromName"),r=i.get("toName"),o=[];return null!=a&&o.push(a),null!=r&&o.push(r),h(o.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),m=g;t.exports=m},"3eb3":function(t,e,i){"use strict";var n=i("3999"),a=n.each,r=i("f168"),o=r.simpleLayout,s=r.simpleLayoutEdge;function l(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),i=t.coordinateSystem;if(i&&"view"!==i.type){var n=t.getData(),r=[];a(i.dimensions,function(t){r=r.concat(n.mapDimension(t,!0))});for(var l=0;l<n.count();l++){for(var c=[],u=!1,h=0;h<r.length;h++){var d=n.get(r[h],l);isNaN(d)||(u=!0),c.push(d)}u?n.setItemLayout(l,i.dataToPoint(c)):n.setItemLayout(l,[NaN,NaN])}s(n.graph)}else e&&"none"!==e||o(t)})}t.exports=l},"3efd":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("005e"),o=i("a022"),s=i("ff52"),l=i("bc9d"),c=i("f63f"),u=i("8bee"),h=u.Polyline,d=u.Polygon,p=i("66c7"),f=i("8a7d"),g=f.round,m=i("9555"),v=m.prepareDataCoordInfo,y=m.getStackedOnPoint;function x(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++){var n=t[i],a=e[i];if(n[0]!==a[0]||n[1]!==a[1])return}return!0}}function _(t){return"number"===typeof t?t:t?.5:0}function b(t){var e=t.getGlobalExtent();if(t.onBand){var i=t.getBandWidth()/2-1,n=e[1]>e[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function w(t,e,i){if(!i.valueDim)return[];for(var n=[],a=0,r=e.count();a<r;a++)n.push(y(i,t,e,a));return n}function S(t,e,i,n){var a=b(t.getAxis("x")),r=b(t.getAxis("y")),o=t.getBaseAxis().isHorizontal(),s=Math.min(a[0],a[1]),c=Math.min(r[0],r[1]),u=Math.max(a[0],a[1])-s,h=Math.max(r[0],r[1])-c;if(i)s-=.5,u+=.5,c-=.5,h+=.5;else{var d=n.get("lineStyle.width")||2,p=n.get("clipOverflow")?d/2:Math.max(u,h);o?(c-=p,h+=2*p):(s-=p,u+=2*p)}var f=new l.Rect({shape:{x:s,y:c,width:u,height:h}});return e&&(f.shape[o?"width":"height"]=0,l.initProps(f,{shape:{width:u,height:h}},n)),f}function M(t,e,i,n){var a=t.getAngleAxis(),r=t.getRadiusAxis(),o=r.getExtent().slice();o[0]>o[1]&&o.reverse();var s=a.getExtent(),c=Math.PI/180;i&&(o[0]-=.5,o[1]+=.5);var u=new l.Sector({shape:{cx:g(t.cx,1),cy:g(t.cy,1),r0:g(o[0],1),r:g(o[1],1),startAngle:-s[0]*c,endAngle:-s[1]*c,clockwise:a.inverse}});return e&&(u.shape.endAngle=-s[0]*c,l.initProps(u,{shape:{endAngle:-s[1]*c}},n)),u}function T(t,e,i,n){return"polar"===t.type?M(t,e,i,n):S(t,e,i,n)}function A(t,e,i){for(var n=e.getBaseAxis(),a="x"===n.dim||"radius"===n.dim?0:1,r=[],o=0;o<t.length-1;o++){var s=t[o+1],l=t[o];r.push(l);var c=[];switch(i){case"end":c[a]=s[a],c[1-a]=l[1-a],r.push(c);break;case"middle":var u=(l[a]+s[a])/2,h=[];c[a]=h[a]=u,c[1-a]=l[1-a],h[1-a]=s[1-a],r.push(c),r.push(h);break;default:c[a]=l[a],c[1-a]=s[1-a],r.push(c)}}return t[o]&&r.push(t[o]),r}function I(t,e){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var n,r,o=i.length-1;o>=0;o--){var s=i[o].dimension,c=t.dimensions[s],u=t.getDimensionInfo(c);if(n=u&&u.coordDim,"x"===n||"y"===n){r=i[o];break}}if(r){var h=e.getAxis(n),d=a.map(r.stops,function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}}),p=d.length,f=r.outerColors.slice();p&&d[0].coord>d[p-1].coord&&(d.reverse(),f.reverse());var g=10,m=d[0].coord-g,v=d[p-1].coord+g,y=v-m;if(y<.001)return"transparent";a.each(d,function(t){t.offset=(t.coord-m)/y}),d.push({offset:p?d[p-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:f[0]||"transparent"});var x=new l.LinearGradient(0,0,0,0,d,!0);return x[n]=m,x[n+"2"]=v,x}}}function C(t,e,i){var n=t.get("showAllSymbol"),r="auto"===n;if(!n||r){var o=i.getAxesByScale("ordinal")[0];if(o&&(!r||!D(o,e))){var s=e.mapDimension(o.dim),l={};return a.each(o.getViewLabels(),function(t){l[t.tickValue]=1}),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function D(t,e){var i=t.getExtent(),n=Math.abs(i[1]-i[0])/t.scale.count();isNaN(n)&&(n=0);for(var a=e.count(),r=Math.max(1,Math.round(a/5)),s=0;s<a;s+=r)if(1.5*o.getSymbolSize(e,s)[t.isHorizontal()?1:0]>n)return!1;return!0}var L=p.extend({type:"line",init:function(){var t=new l.Group,e=new r;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var n=t.coordinateSystem,r=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),c=o.mapArray(o.getItemLayout),u="polar"===n.type,h=this._coordSys,d=this._symbolDraw,p=this._polyline,f=this._polygon,g=this._lineGroup,m=t.get("animation"),y=!l.isEmpty(),b=l.get("origin"),S=v(n,o,b),M=w(n,o,S),D=t.get("showSymbol"),L=D&&!u&&C(t,o,n),k=this._data;k&&k.eachItemGraphicEl(function(t,e){t.__temp&&(r.remove(t),k.setItemGraphicEl(e,null))}),D||d.remove(),r.add(g);var P=!u&&t.get("step");p&&h.type===n.type&&P===this._step?(y&&!f?f=this._newPolygon(c,M,n,m):f&&!y&&(g.remove(f),f=this._polygon=null),g.setClipPath(T(n,!1,!1,t)),D&&d.updateData(o,{isIgnore:L,clipShape:T(n,!1,!0,t)}),o.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),x(this._stackedOnPoints,M)&&x(this._points,c)||(m?this._updateAnimation(o,M,n,i,P,b):(P&&(c=A(c,n,P),M=A(M,n,P)),p.setShape({points:c}),f&&f.setShape({points:c,stackedOnPoints:M})))):(D&&d.updateData(o,{isIgnore:L,clipShape:T(n,!1,!0,t)}),P&&(c=A(c,n,P),M=A(M,n,P)),p=this._newPolyline(c,n,m),y&&(f=this._newPolygon(c,M,n,m)),g.setClipPath(T(n,!0,!1,t)));var R=I(o,n)||o.getVisual("color");p.useStyle(a.defaults(s.getLineStyle(),{fill:"none",stroke:R,lineJoin:"bevel"}));var E=t.get("smooth");if(E=_(t.get("smooth")),p.setShape({smooth:E,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),f){var O=o.getCalculationInfo("stackedOnSeries"),N=0;f.useStyle(a.defaults(l.getAreaStyle(),{fill:R,opacity:.7,lineJoin:"bevel"})),O&&(N=_(O.get("smooth"))),f.setShape({smooth:E,stackedOnSmooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=n,this._stackedOnPoints=M,this._points=c,this._step=P,this._valueOrigin=b},dispose:function(){},highlight:function(t,e,i,n){var a=t.getData(),r=c.queryDataIndex(a,n);if(!(r instanceof Array)&&null!=r&&r>=0){var s=a.getItemGraphicEl(r);if(!s){var l=a.getItemLayout(r);if(!l)return;s=new o(a,r),s.position=l,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,a.setItemGraphicEl(r,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var a=t.getData(),r=c.queryDataIndex(a,n);if(null!=r&&r>=0){var o=a.getItemGraphicEl(r);o&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else p.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new d({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,n,a,r){var o=this._polyline,c=this._polygon,u=t.hostModel,h=s(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,r),d=h.current,p=h.stackedOnCurrent,f=h.next,g=h.stackedOnNext;a&&(d=A(h.current,i,a),p=A(h.stackedOnCurrent,i,a),f=A(h.next,i,a),g=A(h.stackedOnNext,i,a)),o.shape.__points=h.current,o.shape.points=d,l.updateProps(o,{shape:{points:f}},u),c&&(c.setShape({points:d,stackedOnPoints:p}),l.updateProps(c,{shape:{points:f,stackedOnPoints:g}},u));for(var m=[],v=h.status,y=0;y<v.length;y++){var x=v[y].cmd;if("="===x){var _=t.getItemGraphicEl(v[y].idx1);_&&m.push({el:_,ptIdx:y})}}o.animators&&o.animators.length&&o.animators[0].during(function(){for(var t=0;t<m.length;t++){var e=m[t].el;e.attr("position",o.shape.__points[m[t].ptIdx])}})},remove:function(t){var e=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(t,n){t.__temp&&(e.remove(t),i.setItemGraphicEl(n,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=L},"3f6c":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("3999"),o=i("de11"),s=i("1c56"),l=["#ddd"],c=a.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this.option;!e&&o.replaceVisualOption(i,t,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:l},n.hasOwnProperty("liftZ")||(n.liftZ=5)},setAreas:function(t){t&&(this.areas=r.map(t,function(t){return u(this.option,t)},this))},setBrushOption:function(t){this.brushOption=u(this.option,t),this.brushType=this.brushOption.brushType}});function u(t,e){return r.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new s(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var h=c;t.exports=h},"3ff9":function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r=i("e689"),o=i("772b"),s=i("d2f1"),l=["axisLine","axisTickLabel","axisName"],c=["splitArea","splitLine"],u=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,i,o){this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new a.Group,this.group.add(this._axisGroup),t.get("show")){var d=t.getCoordSysModel(),p=s.layout(d,t),f=new r(t,p);n.each(l,f.add,f),this._axisGroup.add(f.getGroup()),n.each(c,function(e){t.get(e+".show")&&this["_"+e](t,d)},this),a.groupTransition(h,this._axisGroup,t),u.superCall(this,"render",t,e,i,o)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var r=t.getModel("splitLine"),o=r.getModel("lineStyle"),s=o.get("color");s=n.isArray(s)?s:[s];for(var l=e.coordinateSystem.getRect(),c=i.isHorizontal(),u=0,h=i.getTicksCoords({tickModel:r}),d=[],p=[],f=o.getLineStyle(),g=0;g<h.length;g++){var m=i.toGlobalCoord(h[g].coord);c?(d[0]=m,d[1]=l.y,p[0]=m,p[1]=l.y+l.height):(d[0]=l.x,d[1]=m,p[0]=l.x+l.width,p[1]=m);var v=u++%s.length,y=h[g].tickValue;this._axisGroup.add(new a.Line(a.subPixelOptimizeLine({anid:null!=y?"line_"+h[g].tickValue:null,shape:{x1:d[0],y1:d[1],x2:p[0],y2:p[1]},style:n.defaults({stroke:s[v]},f),silent:!0})))}}},_splitArea:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var r=t.getModel("splitArea"),o=r.getModel("areaStyle"),s=o.get("color"),l=e.coordinateSystem.getRect(),c=i.getTicksCoords({tickModel:r,clamp:!0});if(c.length){var u=s.length,h=this._splitAreaColors,d=n.createHashMap(),p=0;if(h)for(var f=0;f<c.length;f++){var g=h.get(c[f].tickValue);if(null!=g){p=(g+(u-1)*f)%u;break}}var m=i.toGlobalCoord(c[0].coord),v=o.getAreaStyle();s=n.isArray(s)?s:[s];for(f=1;f<c.length;f++){var y,x,_,b,w=i.toGlobalCoord(c[f].coord);i.isHorizontal()?(y=m,x=l.y,_=w-y,b=l.height,m=y+_):(y=l.x,x=m,_=l.width,b=w-x,m=x+b);var S=c[f-1].tickValue;null!=S&&d.set(S,p),this._axisGroup.add(new a.Rect({anid:null!=S?"area_"+S:null,shape:{x:y,y:x,width:_,height:b},style:n.defaults({fill:s[p]},v),silent:!0})),p=(p+1)%u}this._splitAreaColors=d}}}});u.extend({type:"xAxis"}),u.extend({type:"yAxis"})},4048:function(t,e,i){"use strict";var n=i("ac5f"),a=i("0565"),r=i("f63f"),o=r.defaultEmphasis,s=n.extendSeriesModel({type:"series.funnel",init:function(t){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){return a(this,["value"])},_defaultLabelLine:function(t){o(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),i=s.superCall(this,"getDataParams",t),n=e.mapDimension("value"),a=e.getSum(n);return i.percent=a?+(e.get(n,t)/a*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),l=s;t.exports=l},"410a":function(t,e,i){"use strict";var n=i("3999"),a=i("75e6"),r=i("1073"),o=i("08fd"),s=i("d4ff"),l=i("bc9d"),c=i("8a7d"),u=i("8abd"),h=n.each,d=Math.min,p=Math.max,f=Math.floor,g=Math.ceil,m=c.round,v=Math.PI;function y(t,e,i){this._axesMap=n.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,i)}function x(t,e){return d(p(t,e[0]),e[1])}function _(t,e){var i=e.layoutLength/(e.axisCount-1);return{position:i*t,axisNameAvailableWidth:i,axisLabelShow:!0}}function b(t,e){var i,n,a=e.layoutLength,r=e.axisExpandWidth,o=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,c=s,u=!1;return t<l[0]?(i=t*s,n=s):t<=l[1]?(i=e.axisExpandWindow0Pos+t*r-e.axisExpandWindow[0],c=r,u=!0):(i=a-(o-1-t)*s,n=s),{position:i,axisNameAvailableWidth:c,axisLabelShow:u,nameTruncateMaxWidth:n}}y.prototype={type:"parallel",constructor:y,_init:function(t,e,i){var n=t.dimensions,a=t.parallelAxisIndex;h(n,function(t,i){var n=a[i],r=e.getComponent("parallelAxis",n),l=this._axesMap.set(t,new s(t,o.createScaleByModel(r),[0,0],r.get("type"),n)),c="category"===l.type;l.onBand=c&&r.get("boundaryGap"),l.inverse=r.get("inverse"),r.axis=l,l.model=r,l.coordinateSystem=r.coordinateSystem=this},this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},containPoint:function(t){var e=this._makeLayoutInfo(),i=e.axisBase,n=e.layoutBase,a=e.pixelDimIndex,r=t[1-a],o=t[a];return r>=i&&r<=i+e.axisLength&&o>=n&&o<=n+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries(function(i){if(t.contains(i,e)){var n=i.getData();h(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,i=this._rect,n=["x","y"],a=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,s=i[a[o]],l=[0,s],c=this.dimensions.length,u=x(e.get("axisExpandWidth"),l),h=x(e.get("axisExpandCount")||0,[0,c]),d=e.get("axisExpandable")&&c>3&&c>h&&h>1&&u>0&&s>0,p=e.get("axisExpandWindow");if(p)t=x(p[1]-p[0],l),p[1]=p[0]+t;else{t=x(u*(h-1),l);var v=e.get("axisExpandCenter")||f(c/2);p=[u*v-t/2],p[1]=p[0]+t}var y=(s-t)/(c-h);y<3&&(y=0);var _=[f(m(p[0]/u,1))+1,g(m(p[1]/u,1))-1],b=y/u*p[0];return{layout:r,pixelDimIndex:o,layoutBase:i[n[o]],layoutLength:s,axisBase:i[n[1-o]],axisLength:i[a[1-o]],axisExpandable:d,axisExpandWidth:u,axisCollapseWidth:y,axisExpandWindow:p,axisCount:c,winInnerIndices:_,axisExpandWindow0Pos:b}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),r=n.layout;e.each(function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])}),h(i,function(e,i){var o=(n.axisExpandable?b:_)(i,n),s={horizontal:{x:o.position,y:n.axisLength},vertical:{x:0,y:o.position}},l={horizontal:v/2,vertical:0},c=[s[r].x+t.x,s[r].y+t.y],u=l[r],h=a.create();a.rotate(h,h,u),a.translate(h,h,c),this._axesLayout[e]={position:c,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,i,a){null==i&&(i=0),null==a&&(a=t.count());var r=this._axesMap,o=this.dimensions,s=[],l=[];n.each(o,function(e){s.push(t.mapDimension(e)),l.push(r.get(e).model)});for(var c=this.hasAxisBrushed(),u=i;u<a;u++){var h;if(c){h="active";for(var d=t.getValues(s,u),p=0,f=o.length;p<f;p++){var g=l[p].getActiveState(d[p]);if("inactive"===g){h="inactive";break}}}else h="normal";e(h,u)}},hasAxisBrushed:function(){for(var t=this.dimensions,e=this._axesMap,i=!1,n=0,a=t.length;n<a;n++)"normal"!==e.get(t[n]).model.getActiveState()&&(i=!0);return i},axisCoordToPoint:function(t,e){var i=this._axesLayout[e];return l.applyTransform([t,0],i.transform)},getAxisLayout:function(t){return n.clone(this._axesLayout[t])},getSlidedAxisExpandWindow:function(t){var e=this._makeLayoutInfo(),i=e.pixelDimIndex,n=e.axisExpandWindow.slice(),a=n[1]-n[0],r=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:n};var o,s=t[i]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",c=e.axisCollapseWidth,h=this._model.get("axisExpandSlideTriggerArea"),f=null!=h[0];if(c)f&&c&&s<a*h[0]?(l="jump",o=s-a*h[2]):f&&c&&s>a*(1-h[0])?(l="jump",o=s-a*(1-h[2])):(o=s-a*h[1])>=0&&(o=s-a*(1-h[1]))<=0&&(o=0),o*=e.axisExpandWidth/c,o?u(o,n,r,"all"):l="none";else{a=n[1]-n[0];var g=r[1]*s/a;n=[p(0,g-a/2)],n[1]=d(r[1],n[0]+a),n[0]=n[1]-a}return{axisExpandWindow:n,behavior:l}}};var w=y;t.exports=w},4166:function(t,e,i){"use strict";function n(t,e,i){var n=t.target,a=n.position;a[0]+=e,a[1]+=i,n.dirty()}function a(t,e,i,n){var a=t.target,r=t.zoomLimit,o=a.position,s=a.scale,l=t.zoom=t.zoom||1;if(l*=e,r){var c=r.min||0,u=r.max||1/0;l=Math.max(Math.min(u,l),c)}var h=l/t.zoom;t.zoom=l,o[0]-=(i-o[0])*(h-1),o[1]-=(n-o[1])*(h-1),s[0]*=h,s[1]*=h,a.dirty()}e.updateViewOnPan=n,e.updateViewOnZoom=a},4289:function(t,e,i){"use strict";var n=i("1b25"),a=n.quadraticProjectPoint;function r(t,e,i,n,r,o,s,l,c){if(0===s)return!1;var u=s;if(c>e+u&&c>n+u&&c>o+u||c<e-u&&c<n-u&&c<o-u||l>t+u&&l>i+u&&l>r+u||l<t-u&&l<i-u&&l<r-u)return!1;var h=a(t,e,i,n,r,o,l,c,null);return h<=u/2}e.containStroke=r},"42e9":function(t,e,i){"use strict";var n={};function a(t,e){n[t]=e}function r(t){return n[t]}e.register=a,e.get=r},"43c3":function(t,e,i){"use strict";var n=i("bc9d"),a=n.subPixelOptimize,r=i("6ad5"),o=i("8a7d"),s=o.parsePercent,l=i("3999"),c=l.retrieve2,u="undefined"!==typeof Float32Array?Float32Array:Array,h={seriesType:"candlestick",plan:r(),reset:function(t){var e=t.coordinateSystem,i=t.getData(),n=p(t,i),r=0,o=1,s=["x","y"],l=i.mapDimension(s[r]),c=i.mapDimension(s[o],!0),h=c[0],f=c[1],g=c[2],m=c[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(null==l||c.length<4))return{progress:t.pipelineContext.large?y:v};function v(t,i){var s;while(null!=(s=t.next())){var c=i.get(l,s),u=i.get(h,s),p=i.get(f,s),v=i.get(g,s),y=i.get(m,s),x=Math.min(u,p),_=Math.max(u,p),b=A(x,c),w=A(_,c),S=A(v,c),M=A(y,c),T=[];I(T,w,0),I(T,b,1),T.push(D(M),D(w),D(S),D(b)),i.setItemLayout(s,{sign:d(i,s,u,p,f),initBaseline:u>p?w[o]:b[o],ends:T,brushRect:C(v,y,c)})}function A(t,i){var n=[];return n[r]=i,n[o]=t,isNaN(i)||isNaN(t)?[NaN,NaN]:e.dataToPoint(n)}function I(t,e,i){var o=e.slice(),s=e.slice();o[r]=a(o[r]+n/2,1,!1),s[r]=a(s[r]-n/2,1,!0),i?t.push(o,s):t.push(s,o)}function C(t,e,i){var a=A(t,i),s=A(e,i);return a[r]-=n/2,s[r]-=n/2,{x:a[0],y:a[1],width:o?n:s[0]-a[0],height:o?s[1]-a[1]:n}}function D(t){return t[r]=a(t[r],1),t}}function y(t,i){var n,a,s=new u(5*t.count),c=0,p=[],v=[];while(null!=(a=t.next())){var y=i.get(l,a),x=i.get(h,a),_=i.get(f,a),b=i.get(g,a),w=i.get(m,a);isNaN(y)||isNaN(b)||isNaN(w)?(s[c++]=NaN,c+=4):(s[c++]=d(i,a,x,_,f),p[r]=y,p[o]=b,n=e.dataToPoint(p,null,v),s[c++]=n?n[0]:NaN,s[c++]=n?n[1]:NaN,p[o]=w,n=e.dataToPoint(p,null,v),s[c++]=n?n[1]:NaN)}i.setLayout("largePoints",s)}}};function d(t,e,i,n,a){var r;return r=i>n?-1:i<n?1:e>0?t.get(a,e-1)<=n?1:-1:1,r}function p(t,e){var i,n=t.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),r=s(c(t.get("barMaxWidth"),a),a),o=s(c(t.get("barMinWidth"),1),a),l=t.get("barWidth");return null!=l?s(l,a):Math.max(Math.min(a/2,r),o)}t.exports=h},4499:function(t,e,i){"use strict";var n=i("ac5f");i("e2f8"),i("787d"),i("ccee");var a=i("e97a"),r=i("2b54");n.registerVisual(a),n.registerLayout(r)},"44ed":function(t,e,i){"use strict";var n=i("bc9d"),a=i("3999"),r=i("66c7");function o(t,e){n.Group.call(this);var i=new n.Polygon,a=new n.Polyline,r=new n.Text;function o(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore}function s(){a.ignore=a.normalIgnore,r.ignore=r.normalIgnore}this.add(i),this.add(a),this.add(r),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var s=o.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,i){var r=this.childAt(0),o=t.hostModel,s=t.getItemModel(e),c=t.getItemLayout(e),u=t.getItemModel(e).get(l);u=null==u?1:u,r.useStyle({}),i?(r.setShape({points:c.points}),r.setStyle({opacity:0}),n.initProps(r,{style:{opacity:u}},o,e)):n.updateProps(r,{style:{opacity:u},shape:{points:c.points}},o,e);var h=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");r.setStyle(a.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),r.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),n.setHoverStyle(this)},s._updateLabel=function(t,e){var i=this.childAt(1),a=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,c=t.getItemVisual(e,"color");n.updateProps(i,{shape:{points:l.linePoints||l.linePoints}},r,e),n.updateProps(a,{style:{x:l.x,y:l.y}},r,e),a.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var u=o.getModel("label"),h=o.getModel("emphasis.label"),d=o.getModel("labelLine"),p=o.getModel("emphasis.labelLine");c=t.getItemVisual(e,"color");n.setLabelStyle(a.style,a.hoverStyle={},u,h,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:c,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),a.ignore=a.normalIgnore=!u.get("show"),a.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!d.get("show"),i.hoverIgnore=!p.get("show"),i.setStyle({stroke:c}),i.setStyle(d.getModel("lineStyle").getLineStyle()),i.hoverStyle=p.getModel("lineStyle").getLineStyle()},a.inherits(o,n.Group);var c=r.extend({type:"funnel",render:function(t,e,i){var n=t.getData(),a=this._data,r=this.group;n.diff(a).add(function(t){var e=new o(n,t);n.setItemGraphicEl(t,e),r.add(e)}).update(function(t,e){var i=a.getItemGraphicEl(e);i.updateData(n,t),r.add(i),n.setItemGraphicEl(t,i)}).remove(function(t){var e=a.getItemGraphicEl(t);r.remove(e)}).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),u=c;t.exports=u},"45e8":function(t,e,i){"use strict";var n=i("bc9d"),a=i("d776"),r=i("3999"),o=i("2008"),s=o.createSymbol,l=i("1637"),c=i("1b25");function u(t,e,i){n.Group.call(this),this.add(this.createLine(t,e,i)),this._updateEffectSymbol(t,e)}var h=u.prototype;h.createLine=function(t,e,i){return new a(t,e,i)},h._updateEffectSymbol=function(t,e){var i=t.getItemModel(e),n=i.getModel("effect"),a=n.get("symbolSize"),o=n.get("symbol");r.isArray(a)||(a=[a,a]);var l=n.get("color")||t.getItemVisual(e,"color"),c=this.childAt(1);this._symbolType!==o&&(this.remove(c),c=s(o,-.5,-.5,1,1,l),c.z2=100,c.culling=!0,this.add(c)),c&&(c.setStyle("shadowColor",l),c.setStyle(n.getItemStyle(["color"])),c.attr("scale",a),c.setColor(l),c.attr("scale",a),this._symbolType=o,this._updateEffectAnimation(t,n,e))},h._updateEffectAnimation=function(t,e,i){var n=this.childAt(1);if(n){var a=this,o=t.getItemLayout(i),s=1e3*e.get("period"),l=e.get("loop"),c=e.get("constantSpeed"),u=r.retrieve(e.get("delay"),function(e){return e/t.count()*s/3}),h="function"===typeof u;if(n.ignore=!0,this.updateAnimationPoints(n,o),c>0&&(s=this.getLineLength(n)/c*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=u;h&&(d=u(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var p=n.animate("",l).when(s,{__t:1}).delay(d).during(function(){a.updateSymbolPosition(n)});l||p.done(function(){a.remove(n)}),p.start()}this._period=s,this._loop=l}},h.getLineLength=function(t){return l.dist(t.__p1,t.__cp1)+l.dist(t.__cp1,t.__p2)},h.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},h.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},h.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,a=t.__t,r=t.position,o=c.quadraticAt,s=c.quadraticDerivativeAt;r[0]=o(e[0],n[0],i[0],a),r[1]=o(e[1],n[1],i[1],a);var l=s(e[0],n[0],i[0],a),u=s(e[1],n[1],i[1],a);t.rotation=-Math.atan2(u,l)-Math.PI/2,t.ignore=!1},h.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var i=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,i,e)},r.inherits(u,n.Group);var d=u;t.exports=d},"468c":function(t,e,i){"use strict";var n=i("df36"),a=i("ec6c"),r=i("b04a"),o=r.encodeHTML,s=n.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},i=t.leaves||{},n={};n.leaves=i;var r=a.createTree(e,this,n),o=0;r.eachNode("preorder",function(t){t.depth>o&&(o=t.depth)});var s=t.expandAndCollapse,l=s&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l}),r.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){var e=this.getData().tree,i=e.root.children[0],n=e.getNodeByDataIndex(t),a=n.getValue(),r=n.name;while(n&&n!==i)r=n.parentNode.name+"."+r,n=n.parentNode;return o(r+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=s},4871:function(t,e,i){"use strict";var n=i("3999"),a=n.inherits,r=i("784e"),o=i("e321");function s(t){r.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},s.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},s.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},s.prototype.brush=function(t,e){for(var i=this._cursor;i<this._displayables.length;i++){var n=this._displayables[i];n.beforeBrush&&n.beforeBrush(t),n.brush(t,i===this._cursor?null:this._displayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._cursor=i;for(i=0;i<this._temporaryDisplayables.length;i++){n=this._temporaryDisplayables[i];n.beforeBrush&&n.beforeBrush(t),n.brush(t,0===i?null:this._temporaryDisplayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var l=[];s.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var i=this._displayables[e],n=i.getBoundingRect().clone();i.needLocalTransform()&&n.applyTransform(i.getLocalTransform(l)),t.union(n)}this._rect=t}return this._rect},s.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();if(n.contain(i[0],i[1]))for(var a=0;a<this._displayables.length;a++){var r=this._displayables[a];if(r.contain(t,e))return!0}return!1},a(s,r);var c=s;t.exports=c},"4a54":function(t,e,i){"use strict";var n=i("3999");function a(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,i,a){for(var r={},o=0;o<t.length;o++){var s=t[o][1];if(!(i&&n.indexOf(i,s)>=0||a&&n.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}t.exports=a},"4a76":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("bc9d");i("b4de"),i("a37f"),n.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new r.Rect({shape:t.coordinateSystem.getRect(),style:a.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),n.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},"4a8e":function(t,e,i){"use strict";var n=i("ac5f"),a=i("c14b"),r=i("3999"),o=i("f63f"),s=o.defaultEmphasis,l=i("1c56"),c=i("b04a"),u=c.encodeHTML,h=i("90b2"),d=n.extendSeriesModel({type:"series.graph",init:function(t){d.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){d.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){d.superApply(this,"mergeDefaultAndTheme",arguments),s(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var i=t.edges||t.links||[],n=t.data||t.nodes||[],a=this;if(n&&i)return h(n,i,this,!0,r).data;function r(t,i){t.wrapMethod("getItemModel",function(t){var e=a._categoriesModels,i=t.getShallow("category"),n=e[i];return n&&(n.parentModel=t.parentModel,t.parentModel=n),t});var n=a.getModel("edgeLabel"),r=new l({label:n.option},n.parentModel,e),o=a.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:o.option}},o.parentModel,e);function c(t){return t=this.parsePath(t),t&&"label"===t[0]?r:t&&"emphasis"===t[0]&&"label"===t[1]?s:this.parentModel}i.wrapMethod("getItemModel",function(t){return t.customizeGetParent(c),t})}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getData(),a=this.getDataParams(t,i),r=n.graph.getEdgeByIndex(t),o=n.getName(r.node1.dataIndex),s=n.getName(r.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),l=u(l.join(" > ")),a.value&&(l+=" : "+u(a.value)),l}return d.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=r.map(this.option.categories||[],function(t){return null!=t.value?t:r.extend({value:0},t)}),e=new a(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return d.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle"},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),p=d;t.exports=p},"4c3c":function(t,e,i){"use strict";var n=i("8a7d"),a=n.parsePercent,r=i("3999"),o=(Math.PI,Math.PI/180);function s(t,e,i,n){e.eachSeriesByType(t,function(t){var e=t.get("center"),n=t.get("radius");r.isArray(n)||(n=[0,n]),r.isArray(e)||(e=[e,e]);var s=i.getWidth(),c=i.getHeight(),u=Math.min(s,c),h=a(e[0],s),d=a(e[1],c),p=a(n[0],u/2),f=a(n[1],u/2),g=-t.get("startAngle")*o,m=t.get("minAngle")*o,v=t.getData().tree.root,y=t.getViewRoot(),x=y.depth,_=t.get("sort");null!=_&&l(y,_);var b=0;r.each(y.children,function(t){!isNaN(t.getValue())&&b++});var w=y.getValue(),S=Math.PI/(w||b)*2,M=y.depth>0,T=y.height-(M?-1:1),A=(f-p)/(T||1),I=t.get("clockwise"),C=t.get("stillShowZeroSum"),D=I?1:-1,L=function t(e,i){if(e){var n=i;if(e!==v){var o=e.getValue(),s=0===w&&C?S:o*S;s<m?(s=m,m):o,n=i+D*s;var l=e.depth-x-(M?-1:1),c=p+A*l,f=p+A*(l+1),g=e.getModel();null!=g.get("r0")&&(c=a(g.get("r0"),u/2)),null!=g.get("r")&&(f=a(g.get("r"),u/2)),e.setLayout({angle:s,startAngle:i,endAngle:n,clockwise:I,cx:h,cy:d,r0:c,r:f})}if(e.children&&e.children.length){var y=0;r.each(e.children,function(e){y+=t(e,i+y)})}return n-i}};if(M){var k=p,P=p+A,R=2*Math.PI;v.setLayout({angle:R,startAngle:g,endAngle:g+R,clockwise:I,cx:h,cy:d,r0:k,r:P})}L(y,g)})}function l(t,e){var i=t.children||[];t.children=c(i,e),i.length&&r.each(t.children,function(t){l(t,e)})}function c(t,e){if("function"===typeof e)return t.sort(e);var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}t.exports=s},"4c50":function(t,e,i){"use strict";var n=i("d5b7"),a=i("e62e");function r(t,e){var i=[];return t.eachComponent("singleAxis",function(a,r){var o=new n(a,t,e);o.name="single_"+r,o.resize(a,e),a.coordinateSystem=o,i.push(o)}),t.eachSeries(function(e){if("singleAxis"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e.coordinateSystem=i&&i.coordinateSystem}}),i}a.register("single",{create:r,dimensions:n.prototype.dimensions})},"4e33":function(t,e,i){"use strict";var n=i("3999"),a=n.retrieve2,r=n.retrieve3,o=n.each,s=n.normalizeCssArray,l=n.isString,c=n.isObject,u=i("3e4d"),h=i("5326"),d=i("5b79"),p=i("3199"),f=i("9399"),g=f.ContextCachedBy,m=f.WILL_BE_RESTORED,v=u.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]];function b(t){return w(t),o(t.rich,w),t}function w(t){if(t){t.font=u.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||x[i]?i:"top";var n=t.textPadding;n&&(t.textPadding=s(t.textPadding))}}function S(t,e,i,n,a,r){n.rich?T(t,e,i,n,a,r):M(t,e,i,n,a,r)}function M(t,e,i,n,a,r){var o,s=D(n),l=!1,c=e.__attrCachedBy===g.PLAIN_TEXT;r!==m?(r&&(o=r.style,l=!s&&c&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):c&&(e.__attrCachedBy=g.NONE);var h=n.font||v;l&&h===(o.font||v)||(e.font=h);var d=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,d=t.__computedFont=e.font);var f=n.textPadding,y=n.textLineHeight,x=t.__textCotentBlock;x&&!t.__dirtyText||(x=t.__textCotentBlock=u.parsePlainText(i,d,f,y,n.truncate));var b=x.outerHeight,w=x.lines,S=x.lineHeight,M=P(b,n,a),T=M.baseX,A=M.baseY,C=M.textAlign||"left",k=M.textVerticalAlign;I(e,n,a,T,A);var R=u.adjustTextY(A,b,k),N=T,V=R;if(s||f){var B=u.getWidth(i,d),W=B;f&&(W+=f[1]+f[3]);var F=u.adjustTextX(T,W,C);s&&L(t,e,n,F,R,W,b),f&&(N=z(T,C,f),V+=f[0])}e.textAlign=C,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(var H=0;H<_.length;H++){var G=_[H],Y=G[0],X=G[1],U=n[Y];l&&U===o[Y]||(e[X]=p(e,X,U||G[2]))}V+=S/2;var j=n.textStrokeWidth,Z=l?o.textStrokeWidth:null,q=!l||j!==Z,Q=!l||q||n.textStroke!==o.textStroke,K=E(n.textStroke,j),J=O(n.textFill);if(K&&(q&&(e.lineWidth=j),Q&&(e.strokeStyle=K)),J&&(l&&n.textFill===o.textFill||(e.fillStyle=J)),1===w.length)K&&e.strokeText(w[0],N,V),J&&e.fillText(w[0],N,V);else for(H=0;H<w.length;H++)K&&e.strokeText(w[H],N,V),J&&e.fillText(w[H],N,V),V+=S}function T(t,e,i,n,a,r){r!==m&&(e.__attrCachedBy=g.NONE);var o=t.__textCotentBlock;o&&!t.__dirtyText||(o=t.__textCotentBlock=u.parseRichText(i,n)),A(t,e,o,n,a)}function A(t,e,i,n,a){var r=i.width,o=i.outerWidth,s=i.outerHeight,l=n.textPadding,c=P(s,n,a),h=c.baseX,d=c.baseY,p=c.textAlign,f=c.textVerticalAlign;I(e,n,a,h,d);var g=u.adjustTextX(h,o,p),m=u.adjustTextY(d,s,f),v=g,y=m;l&&(v+=l[3],y+=l[0]);var x=v+r;D(n)&&L(t,e,n,g,m,o,s);for(var _=0;_<i.lines.length;_++){var b,w=i.lines[_],S=w.tokens,M=S.length,T=w.lineHeight,A=w.width,k=0,R=v,E=x,O=M-1;while(k<M&&(b=S[k],!b.textAlign||"left"===b.textAlign))C(t,e,b,n,T,y,R,"left"),A-=b.width,R+=b.width,k++;while(O>=0&&(b=S[O],"right"===b.textAlign))C(t,e,b,n,T,y,E,"right"),A-=b.width,E-=b.width,O--;R+=(r-(R-v)-(x-E)-A)/2;while(k<=O)b=S[k],C(t,e,b,n,T,y,R+b.width/2,"center"),R+=b.width,k++;y+=T}}function I(t,e,i,n,a){if(i&&e.textRotation){var r=e.textOrigin;"center"===r?(n=i.width/2+i.x,a=i.height/2+i.y):r&&(n=r[0]+i.x,a=r[1]+i.y),t.translate(n,a),t.rotate(-e.textRotation),t.translate(-n,-a)}}function C(t,e,i,n,o,s,l,c){var u=n.rich[i.styleName]||{};u.text=i.text;var h=i.textVerticalAlign,d=s+o/2;"top"===h?d=s+i.height/2:"bottom"===h&&(d=s+o-i.height/2),!i.isLineHolder&&D(u)&&L(t,e,u,"right"===c?l-i.width:"center"===c?l-i.width/2:l,d-i.height/2,i.width,i.height);var p=i.textPadding;p&&(l=z(l,c,p),d-=i.height/2-p[2]-i.textHeight/2),R(e,"shadowBlur",r(u.textShadowBlur,n.textShadowBlur,0)),R(e,"shadowColor",u.textShadowColor||n.textShadowColor||"transparent"),R(e,"shadowOffsetX",r(u.textShadowOffsetX,n.textShadowOffsetX,0)),R(e,"shadowOffsetY",r(u.textShadowOffsetY,n.textShadowOffsetY,0)),R(e,"textAlign",c),R(e,"textBaseline","middle"),R(e,"font",i.font||v);var f=E(u.textStroke||n.textStroke,m),g=O(u.textFill||n.textFill),m=a(u.textStrokeWidth,n.textStrokeWidth);f&&(R(e,"lineWidth",m),R(e,"strokeStyle",f),e.strokeText(i.text,l,d)),g&&(R(e,"fillStyle",g),e.fillText(i.text,l,d))}function D(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function L(t,e,i,n,a,r,o){var s=i.textBackgroundColor,u=i.textBorderWidth,p=i.textBorderColor,f=l(s);if(R(e,"shadowBlur",i.textBoxShadowBlur||0),R(e,"shadowColor",i.textBoxShadowColor||"transparent"),R(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),R(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),f||u&&p){e.beginPath();var g=i.textBorderRadius;g?h.buildPath(e,{x:n,y:a,width:r,height:o,r:g}):e.rect(n,a,r,o),e.closePath()}if(f)if(R(e,"fillStyle",s),null!=i.fillOpacity){var m=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=m}else e.fill();else if(c(s)){var v=s.image;v=d.createOrUpdateImage(v,null,t,k,s),v&&d.isImageReady(v)&&e.drawImage(v,n,a,r,o)}if(u&&p)if(R(e,"lineWidth",u),R(e,"strokeStyle",p),null!=i.strokeOpacity){m=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=m}else e.stroke()}function k(t,e){e.image=t}function P(t,e,i){var n=e.x||0,a=e.y||0,r=e.textAlign,o=e.textVerticalAlign;if(i){var s=e.textPosition;if(s instanceof Array)n=i.x+N(s[0],i.width),a=i.y+N(s[1],i.height);else{var l=u.adjustTextPositionOnRect(s,i,e.textDistance);n=l.x,a=l.y,r=r||l.textAlign,o=o||l.textVerticalAlign}var c=e.textOffset;c&&(n+=c[0],a+=c[1])}return{baseX:n,baseY:a,textAlign:r,textVerticalAlign:o}}function R(t,e,i){return t[e]=p(t,e,i),t[e]}function E(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function O(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function N(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function z(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function V(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=b,e.renderText=S,e.getStroke=E,e.getFill=O,e.needDrawText=V},"4e3c":function(t,e,i){"use strict";var n=i("ac5f"),a=i("005e"),r=i("3d2e"),o=i("75e6"),s=i("ea34"),l=n.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new a(r)},render:function(t,e,i){var n=t.getData(),a=this._symbolDraw;a.updateData(n),this.group.add(a.group)},updateTransform:function(t,e,i){var n=t.getData();this.group.dirty();var a=s().reset(t);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=o.clone(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=l},"4e6b":function(t,e,i){"use strict";var n=i("3999"),a=i("1637"),r=i("33d1"),o=i("779f"),s=i("62f4"),l=i("6a52"),c="silent";function u(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:h}}function h(t){s.stop(this.event)}function d(){}d.prototype.dispose=function(){};var p=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],f=function(t,e,i,n){o.call(this),this.storage=t,this.painter=e,this.painterRoot=n,i=i||new d,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,r.call(this),this.setHandlerProxy(i)};function g(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var n,a=t;while(a){if(a.clipPath&&!a.clipPath.contain(e,i))return!1;a.silent&&(n=!0),a=a.parent}return!n||c}return!1}f.prototype={constructor:f,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(n.each(p,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,i=t.zrY,n=this._hovered,a=n.target;a&&!a.__zr&&(n=this.findHover(n.x,n.y),a=n.target);var r=this._hovered=this.findHover(e,i),o=r.target,s=this.proxy;s.setCursor&&s.setCursor(o?o.cursor:"default"),a&&o!==a&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(r,"mousemove",t),o&&o!==a&&this.dispatchToElement(r,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,i=t.toElement||t.relatedTarget;do{i=i&&i.parentNode}while(i&&9!==i.nodeType&&!(e=i===this.painterRoot));!e&&this.trigger("globalout",{event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,i){t=t||{};var n=t.target;if(!n||!n.silent){var a="on"+e,r=u(e,t,i);while(n)if(n[a]&&(r.cancelBubble=n[a].call(n,r)),n.trigger(e,r),n=n.parent,r.cancelBubble)break;r.cancelBubble||(this.trigger(e,r),this.painter&&this.painter.eachOtherLayer(function(t){"function"===typeof t[a]&&t[a].call(t,r),t.trigger&&t.trigger(e,r)}))}},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),a={x:t,y:e},r=n.length-1;r>=0;r--){var o;if(n[r]!==i&&!n[r].ignore&&(o=g(n[r],t,e))&&(!a.topTarget&&(a.topTarget=n[r]),o!==c)){a.target=n[r];break}}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var a=n.type;t.gestureEvent=a,this.dispatchToElement({target:n.target},a,n.event)}}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){f.prototype[t]=function(e){var i=this.findHover(e.zrX,e.zrY),n=i.target;if("mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}),n.mixin(f,o),n.mixin(f,r);var m=f;t.exports=m},"4ed0":function(t,e,i){"use strict";var n={axisPointer:1,tooltip:1,brush:1};function a(t,e,i){var a=e.getComponentByElement(t.topTarget),r=a&&a.coordinateSystem;return a&&a!==i&&!n[a.mainType]&&r&&r.model!==i}e.onIrrelevantElement=a},"4ff5":function(t,e,i){"use strict";!function(e,i){t.exports=i()}("undefined"!=typeof self&&self,function(){return function(t){function e(n){if(i[n])return i[n].exports;var a=i[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="dist/",e(e.s=2)}([function(t,e,i){function n(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}var a=i(10),r=i(11),o=i(12);e.a={name:"awesome-picker",props:{data:{type:Array,default:function(){return[]}},anchor:{type:Array,default:function(){return[]}},type:{type:String,default:"normal"},textTitle:{type:String,default:""},textConfirm:{type:String,default:"确定"},textCancel:{type:String,default:"取消"},colorTitle:{type:String,default:"#000000"},colorConfirm:{type:String,default:"#42b983"},colorCancel:{type:String,default:"#999999"},swipeTime:{type:Number,default:1800}},data:function(){return{display:!1,dataChange:!1,pickerData:this._dataGetter(),pickerAnchor:this._anchorGetter(),wheels:[]}},watch:{data:function(){this._setPickerData()}},computed:{proxyData:function(){return this._dataGetter()},proxyAnchor:function(){return this._anchorGetter()},dataType:function(){return Array.isArray(this.proxyData[0])?"normal":"cascade"}},methods:{_dataGetter:function(){var t=null;switch(this.type){case"time":t=r.a;break;case"date":t=o.b;break;case"normal":default:t=this.data}return[].concat(n(t))},_anchorGetter:function(){var t=this,e=[];if(this.anchor.length)e=this.anchor;else switch(this.type){case"date":e=o.a;break;default:e=this.anchor}return e=e.map(function(e,i){return e.index?e.index:e.value?t.pickerData&&t.pickerData[i]&&t.pickerData[i].indexOf(e.value)>-1?t.pickerData[i].indexOf(e.value):0:e}),[].concat(n(e))},show:function(){var t=this;this.display=!0,!this.wheels.length||this.dataChange?("cascade"===this.dataType&&this._updatePickerData(),this.$nextTick(function(){var e=t.$refs.wheelWrapper;t.pickerData.forEach(function(i,n){t._createWheel(e,n).enable()}),t._wheelToAnchor(t.proxyAnchor),t.dataChange&&t._destroyExtraWheels(),t.dataChange=!1})):this.wheels.forEach(function(t){t.enable()})},hide:function(){this.wheels.forEach(function(t){t.disable()}),this.display=!1},_createWheel:function(t,e){var i=this;return this.wheels[e]?this.wheels[e].refresh():(this.wheels[e]=new a.a(t.children[e],{wheel:{selectedIndex:0,rotate:25},swipeTime:this.swipeTime})).on("scrollEnd",function(){console.log("i",e),i._cascadePickerChange(e)}),this.wheels[e]},_cascadePickerChange:function(t){if("cascade"===this.dataType){var e=this._getCurrentValue()[t].index;e!==this.pickerAnchor[t]&&(this.pickerAnchor.splice(t,1,e),this._updatePickerData(t+1))}},_wheelToAnchor:function(t){this.wheels.forEach(function(e,i){e.wheelTo(t[i]||0)})},_getCurrentValue:function(){var t=this,e=[];return this.wheels.forEach(function(i,n){var a=i.getSelectedIndex();e.push({index:a,value:t.pickerData[n][a]})}),e},_setPickerData:function(){var t=this;this.pickerData=this._dataGetter(),this.pickerAnchor=this._anchorGetter(),this.display?("cascade"==this.dataType&&this._updatePickerData(),this.$nextTick(function(){var e=t.$refs.wheelWrapper;t.pickerData.forEach(function(i,n){t._createWheel(e,n)}),t._destroyExtraWheels(),t._wheelToAnchor(t.proxyAnchor)})):this.dataChange=!0},_destroyExtraWheels:function(){var t=this.pickerData.length;t<this.wheels.length&&this.wheels.splice(t).forEach(function(t){t.destroy()})},_updatePickerData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=[].concat(n(this.proxyData)),a=0;for(e=0;i;)a>=e&&function(){var n=[];i.forEach(function(t){n.push(t.value)}),t.pickerData[a]=n,t.pickerAnchor[a]=0===e?t.pickerAnchor[a]<i.length&&t.pickerAnchor[a]||0:t._reloadWheel(a,n)}(),i=i.length?i[this.pickerAnchor[a]].children:null,a++;this.pickerData=this.pickerData.slice(0,a)},_reloadWheel:function(t,e){var i=this,n=this.$refs.wheelWrapper,a=n.children[t].querySelector(".wheel-scroll"),r=!!this.wheels&&this.wheels[t];return a&&r&&(this.$set(this.pickerData,t,e),this.pickerAnchor[t]=0,this.$nextTick(function(){r=i._createWheel(n,t),r.wheelTo(0)})),0},confirm:function(){if(!this.wheels.some(function(t){return t.isInTransition})){var t=this._getCurrentValue();this.$emit("confirm",t),this.hide()}},cancel:function(){this.$emit("cancel"),this.hide()}}}},function(t,e,i){e.a=function(t,e){for(var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=[],r=t;r<=e;r++){var o=(i&&r<10?"0"+r:r)+n;a.push(o)}return a}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),a={install:function(t){t.component(n.a.name,n.a)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(a),e.default=a},function(t,e,i){function n(t){i(4)}var a=i(0),r=i(13),o=i(9),s=n,l=o(a.a,r.a,!1,s,"data-v-d86a61f6",null);e.a=l.exports},function(t,e,i){var n=i(5);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),i(7)("77d5ecd4",n,!0,{})},function(t,e,i){e=t.exports=i(6)(!1),e.push([t.i,'.fade-enter[data-v-d86a61f6],.fade-leave-to[data-v-d86a61f6]{opacity:0}.fade-enter-active[data-v-d86a61f6],.fade-leave-active[data-v-d86a61f6]{transition:all .3s ease}.slide-enter[data-v-d86a61f6],.slide-leave-to[data-v-d86a61f6]{opacity:.5;transform:translate3d(0,270px,0)}.slide-enter-active[data-v-d86a61f6],.slide-leave-active[data-v-d86a61f6]{transition:all .3s ease}.mask[data-v-d86a61f6]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:rgba(0,0,0,.2)}.picker[data-v-d86a61f6]{position:fixed;left:0;right:0;bottom:0;height:270px;z-index:10000;background:#fff}.picker-title[data-v-d86a61f6]{position:relative;height:44px;color:#333}.picker-title[data-v-d86a61f6]:after{content:"";display:block;border-bottom:1px solid #ebebeb;left:0;right:0;transform:scaleY(.5)}.picker-title span[data-v-d86a61f6]{position:absolute;height:44px;line-height:44px;padding:0 12px;font-size:14px}.picker-title .pt-cancel[data-v-d86a61f6]{left:0;color:#999}.picker-title .pt-submit[data-v-d86a61f6]{right:0;color:#42b983}.picker-title h4[data-v-d86a61f6]{margin:0;font-size:16px;font-weight:400;height:44px;line-height:44px;text-align:center}.picker-panel[data-v-d86a61f6]{position:relative;height:226px;padding:24px 12px;box-sizing:border-box}.picker-panel .picker-mask-bottom[data-v-d86a61f6],.picker-panel .picker-mask-top[data-v-d86a61f6]{position:absolute;left:0;right:0;height:72px;background:#fff;transform:translateZ(0);z-index:1;pointer-events:none}.picker-panel .picker-mask-top[data-v-d86a61f6]{top:24px;background:linear-gradient(180deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.5))}.picker-panel .picker-mask-top[data-v-d86a61f6]:after{content:"";display:block;position:absolute;left:0;right:0;bottom:0;border-bottom:1px solid #ebebeb;transform:scaleY(.5)}.picker-panel .picker-mask-bottom[data-v-d86a61f6]{bottom:24px;background:linear-gradient(0deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.5))}.picker-panel .picker-mask-bottom[data-v-d86a61f6]:before{content:"";display:block;position:absolute;left:0;right:0;top:0;border-bottom:1px solid #ebebeb;transform:scaleY(.5)}.picker-wheel-wrapper[data-v-d86a61f6]{display:flex;align-items:stretch;height:100%}.picker-wheel-wrapper .picker-wheel[data-v-d86a61f6]{flex:1;overflow:hidden}.picker-wheel-wrapper .wheel-scroll[data-v-d86a61f6]{margin-top:72px}.picker-wheel-wrapper .wheel-scroll .wheel-item[data-v-d86a61f6]{height:34px;line-height:34px;font-size:17px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333}',""])},function(t,e){function i(t,e){var i=t[1]||"",a=t[3];if(!a)return i;if(e&&"function"==typeof btoa){var r=n(a);return[i].concat(a.sources.map(function(t){return"/*# sourceURL="+a.sourceRoot+t+" */"})).concat([r]).join("\n")}return[i].join("\n")}function n(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=i(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},a=0;a<this.length;a++){var r=this[a][0];"number"==typeof r&&(n[r]=!0)}for(a=0;a<t.length;a++){var o=t[a];"number"==typeof o[0]&&n[o[0]]||(i&&!o[2]?o[2]=i:i&&(o[2]="("+o[2]+") and ("+i+")"),e.push(o))}},e}},function(t,e,i){function n(t){for(var e=0;e<t.length;e++){var i=t[e],n=u[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(r(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{var o=[];for(a=0;a<i.parts.length;a++)o.push(r(i.parts[a]));u[i.id]={id:i.id,refs:1,parts:o}}}}function a(){var t=document.createElement("style");return t.type="text/css",h.appendChild(t),t}function r(t){var e,i,n=document.querySelector("style["+v+'~="'+t.id+'"]');if(n){if(f)return g;n.parentNode.removeChild(n)}if(y){var r=p++;n=d||(d=a()),e=o.bind(null,n,r,!1),i=o.bind(null,n,r,!0)}else n=a(),e=s.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}function o(t,e,i,n){var a=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=x(e,a);else{var r=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function s(t,e){var i=e.css,n=e.media,a=e.sourceMap;if(n&&t.setAttribute("media",n),m.ssrId&&t.setAttribute(v,e.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=i(8),u={},h=l&&(document.head||document.getElementsByTagName("head")[0]),d=null,p=0,f=!1,g=function(){},m=null,v="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,i,a){f=i,m=a||{};var r=c(t,e);return n(r),function(e){for(var i=[],a=0;a<r.length;a++){var o=r[a],s=u[o.id];s.refs--,i.push(s)}e?(r=c(t,e),n(r)):r=[];for(a=0;a<i.length;a++){s=i[a];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete u[s.id]}}}};var x=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t,e){for(var i=[],n={},a=0;a<e.length;a++){var r=e[a],o=r[0],s=r[1],l=r[2],c=r[3],u={id:t+":"+a,css:s,media:l,sourceMap:c};n[o]?n[o].parts.push(u):i.push(n[o]={id:o,parts:[u]})}return i}},function(t,e){t.exports=function(t,e,i,n,a,r){var o,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(o=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId=a),r?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=c):n&&(c=n),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(t,e){return c.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:o,exports:s,options:u}}},function(t,e,i){
/*!
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     * better-normal-scroll v1.15.1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     * (c) 2016-2019 ustbhuangyi
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     * Released under the MIT License.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     */
function n(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function a(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function r(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];for(var a=0;a<i.length;a++){var r=i[a];for(var o in r)t[o]=r[o]}return t}function o(t){return void 0===t||null===t}function s(t,e){return Math.sqrt(t*t+e*e)}function l(t){return!1!==z&&("standard"===z?"transitionEnd"===t?"transitionend":t:z+t.charAt(0).toUpperCase()+t.substr(1))}function c(t,e,i,n){t.addEventListener(e,i,{passive:!1,capture:!!n})}function u(t,e,i,n){t.removeEventListener(e,i,{passive:!1,capture:!!n})}function h(t){for(var e=0,i=0;t;)e-=t.offsetLeft,i-=t.offsetTop,t=t.offsetParent;return{left:e,top:i}}function d(t){var e=t.getBoundingClientRect();return{left:-(e.left+window.pageXOffset),top:-(e.top+window.pageYOffset)}}function p(t){if(t instanceof window.SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function f(t,e){for(var i in e)if(e[i].test(t[i]))return!0;return!1}function g(t,e){var i=document.createEvent("Event");i.initEvent(e,!0,!0),i.pageX=t.pageX,i.pageY=t.pageY,t.target.dispatchEvent(i)}function m(t){function e(){o=document.createEvent("Event"),o.initEvent(i,s,l),r(o,a)}var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click",n=void 0;"mouseup"===t.type||"mousecancel"===t.type?n=t:"touchend"!==t.type&&"touchcancel"!==t.type||(n=t.changedTouches[0]);var a={};n&&(a.screenX=n.screenX||0,a.screenY=n.screenY||0,a.clientX=n.clientX||0,a.clientY=n.clientY||0);var o=void 0,s=!0,l=!0;if("undefined"!=typeof MouseEvent)try{o=new MouseEvent(i,r({bubbles:s,cancelable:l},a))}catch(t){e()}else e();o.forwardedTouchEvent=!0,o._constructed=!0,t.target.dispatchEvent(o)}function v(t){m(t,"dblclick")}function y(t,e){e.firstChild?x(t,e.firstChild):e.appendChild(t)}function x(t,e){e.parentNode.insertBefore(t,e)}function _(t,e){t.removeChild(e)}function b(t,e,i,n,a,r,o,s){var l=t-e,c=Math.abs(l)/i,u=o.deceleration,h=o.itemHeight,d=o.swipeBounceTime,p=o.wheel,f=o.swipeTime,g=f,m=p?4:15,v=t+c/u*(l<0?-1:1);return p&&h&&(v=s._findNearestValidWheel(v).y),v<n?(v=r?Math.max(n-r/4,n-r/m*c):n,g=d):v>a&&(v=r?Math.min(a+r/4,a+r/m*c):a,g=d),{destination:Math.round(v),duration:g}}function w(){}function S(t){console.error("[BScroll warn]: "+t)}function M(t,e){if(!t)throw new Error("[BScroll] "+e)}function T(t){var e=document.createElement("div"),i=document.createElement("div");return e.style.cssText="position:absolute;z-index:9999;pointerEvents:none",i.style.cssText="box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px;",i.className="bscroll-indicator","horizontal"===t?(e.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",i.style.height="100%",e.className="bscroll-horizontal-scrollbar"):(e.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",i.style.width="100%",e.className="bscroll-vertical-scrollbar"),e.style.cssText+=";overflow:hidden",e.appendChild(i),e}function A(t,e){this.wrapper=e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.direction=e.direction,e.fade?(this.visible=0,this.wrapperStyle.opacity="0"):this.visible=1,this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.x=0,this.y=0,e.interactive&&this._addDOMEvents()}function I(t){if(t&&t.classList)return t.classList.contains("tombstone")}function C(t,e){var i=this;this.options=e,M("function"==typeof this.options.createTombstone,"Infinite scroll need createTombstone Function to create tombstone"),M("function"==typeof this.options.fetch,"Infinite scroll need fetch Function to fetch new data."),M("function"==typeof this.options.render,"Infinite scroll need render Function to render each item."),this.firstAttachedItem=0,this.lastAttachedItem=0,this.anchorScrollTop=0,this.anchorItem={index:0,offset:0},this.tombstoneHeight=0,this.tombstoneWidth=0,this.tombstones=[],this.tombstonesAnimationHandlers=[],this.items=[],this.loadedItems=0,this.requestInProgress=!1,this.hasMore=!0,this.scroller=t,this.wrapperEl=this.scroller.wrapper,this.scrollerEl=this.scroller.scroller,this.scroller.on("resize",function(){i.onResize()}),this.scroller.on("destroy",function(){i.destroy()}),this._onResizeHandler=setTimeout(function(){i.onResize(),i.scroller.on("scroll",function(){i.onScroll()})})}function D(t,e){this.wrapper="string"==typeof t?document.querySelector(t):t,this.wrapper||S("Can not resolve the wrapper DOM."),this.scroller=this.wrapper.children[0],this.scroller||S("The wrapper need at least one child element to be scroller."),this.scrollerStyle=this.scroller.style,this._init(e)}var L=function(){function t(t,e){var i=[],n=!0,a=!1,r=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done)&&(i.push(o.value),!e||i.length!==e);n=!0);}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),k=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)},P="undefined"!=typeof window,R=P&&navigator.userAgent.toLowerCase(),E=R&&/wechatdevtools/.test(R),O=R&&R.indexOf("android")>0,N=P&&document.createElement("div").style,z=function(){if(!P)return!1;var t={standard:"transform",webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform"};for(var e in t)if(void 0!==N[t[e]])return e;return!1}(),V=z&&"standard"!==z?"-"+z.toLowerCase()+"-":"",B=l("transform"),W=l("transition"),F=P&&l("perspective")in N,H=P&&("ontouchstart"in window||E),G=!1!==B,Y=P&&W in N,X={transform:B,transition:W,transitionTimingFunction:l("transitionTimingFunction"),transitionDuration:l("transitionDuration"),transitionDelay:l("transitionDelay"),transformOrigin:l("transformOrigin"),transitionEnd:l("transitionEnd")},U=1,j={touchstart:U,touchmove:U,touchend:U,mousedown:2,mousemove:2,mouseup:2},Z={startX:0,startY:0,scrollX:!1,scrollY:!0,freeScroll:!1,directionLockThreshold:5,eventPassthrough:"",click:!1,tap:!1,bounce:!0,bounceTime:800,momentum:!0,momentumLimitTime:300,momentumLimitDistance:15,swipeTime:2500,swipeBounceTime:500,deceleration:.0015,flickLimitTime:200,flickLimitDistance:100,resizePolling:60,probeType:0,preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT|AUDIO)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:!1,disableMouse:H,disableTouch:!H,observeDOM:!0,autoBlur:!0,wheel:!1,snap:!1,scrollbar:!1,pullDownRefresh:!1,pullUpLoad:!1,mouseWheel:!1,stopPropagation:!1,zoom:!1,infinity:!1,dblclick:!1},q={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},Q=function(){return P?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||100/60)/2)}:w}(),K=function(){return P?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:w}(),J=1,$=-1,tt=1,et=-1,it=1,nt=3;A.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t)}},A.prototype.refresh=function(){this._shouldShow()&&(this.transitionTime(),this._calculate(),this.updatePosition())},A.prototype.fade=function(t,e){var i=this;if(!e||this.visible){var n=t?250:500;t=t?"1":"0",this.wrapperStyle[X.transitionDuration]=n+"ms",clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout(function(){i.wrapperStyle.opacity=t,i.visible=+t},0)}},A.prototype.updatePosition=function(){if("vertical"===this.direction){var t=Math.round(this.sizeRatioY*this.scroller.y);if(t<0){this.transitionTime(500);var e=Math.max(this.indicatorHeight+3*t,8);this.indicatorStyle.height=e+"px",t=0}else if(t>this.maxPosY){this.transitionTime(500);var i=Math.max(this.indicatorHeight-3*(t-this.maxPosY),8);this.indicatorStyle.height=i+"px",t=this.maxPosY+this.indicatorHeight-i}else this.indicatorStyle.height=this.indicatorHeight+"px";this.y=t,this.scroller.options.useTransform?this.indicatorStyle[X.transform]="translateY("+t+"px)"+this.scroller.translateZ:this.indicatorStyle.top=t+"px"}else{var n=Math.round(this.sizeRatioX*this.scroller.x);if(n<0){this.transitionTime(500);var a=Math.max(this.indicatorWidth+3*n,8);this.indicatorStyle.width=a+"px",n=0}else if(n>this.maxPosX){this.transitionTime(500);var r=Math.max(this.indicatorWidth-3*(n-this.maxPosX),8);this.indicatorStyle.width=r+"px",n=this.maxPosX+this.indicatorWidth-r}else this.indicatorStyle.width=this.indicatorWidth+"px";this.x=n,this.scroller.options.useTransform?this.indicatorStyle[X.transform]="translateX("+n+"px)"+this.scroller.translateZ:this.indicatorStyle.left=n+"px"}},A.prototype.transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.indicatorStyle[X.transitionDuration]=t+"ms"},A.prototype.transitionTimingFunction=function(t){this.indicatorStyle[X.transitionTimingFunction]=t},A.prototype.destroy=function(){this._removeDOMEvents(),this.wrapper.parentNode.removeChild(this.wrapper)},A.prototype._start=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=a(),this._handleMoveEvents(c),this.scroller.trigger("beforeScrollStart")},A.prototype._move=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.moved||this.scroller.trigger("scrollStart"),this.moved=!0;var i=e.pageX-this.lastPointX;this.lastPointX=e.pageX;var n=e.pageY-this.lastPointY;this.lastPointY=e.pageY;var a=this.x+i,r=this.y+n;this._pos(a,r)},A.prototype._end=function(t){if(this.initiated){this.initiated=!1,t.preventDefault(),t.stopPropagation(),this._handleMoveEvents(u);var e=this.scroller.options.snap;if(e){var i=e.speed,n=e.easing,a=void 0===n?q.bounce:n,r=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),o=i||Math.max(Math.max(Math.min(Math.abs(this.scroller.x-r.x),1e3),Math.min(Math.abs(this.scroller.y-r.y),1e3)),300);this.scroller.x===r.x&&this.scroller.y===r.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=r,this.scroller.scrollTo(r.x,r.y,o,a))}this.moved&&this.scroller.trigger("scrollEnd",{x:this.scroller.x,y:this.scroller.y})}},A.prototype._pos=function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=Math.round(t/this.sizeRatioX),e=Math.round(e/this.sizeRatioY),this.scroller.scrollTo(t,e),this.scroller.trigger("scroll",{x:this.scroller.x,y:this.scroller.y})},A.prototype._shouldShow=function(){return"vertical"===this.direction&&this.scroller.hasVerticalScroll||"horizontal"===this.direction&&this.scroller.hasHorizontalScroll?(this.wrapper.style.display="",!0):(this.wrapper.style.display="none",!1)},A.prototype._calculate=function(){if("vertical"===this.direction){var t=this.wrapper.clientHeight;this.indicatorHeight=Math.max(Math.round(t*t/(this.scroller.scrollerHeight||t||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=t-this.indicatorHeight,this.sizeRatioY=this.maxPosY/this.scroller.maxScrollY}else{var e=this.wrapper.clientWidth;this.indicatorWidth=Math.max(Math.round(e*e/(this.scroller.scrollerWidth||e||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=e-this.indicatorWidth,this.sizeRatioX=this.maxPosX/this.scroller.maxScrollX}},A.prototype._addDOMEvents=function(){var t=c;this._handleDOMEvents(t)},A.prototype._removeDOMEvents=function(){var t=u;this._handleDOMEvents(t),this._handleMoveEvents(t)},A.prototype._handleMoveEvents=function(t){this.scroller.options.disableTouch||t(window,"touchmove",this),this.scroller.options.disableMouse||t(window,"mousemove",this)},A.prototype._handleDOMEvents=function(t){this.scroller.options.disableTouch||(t(this.indicator,"touchstart",this),t(window,"touchend",this)),this.scroller.options.disableMouse||(t(this.indicator,"mousedown",this),t(window,"mouseup",this))};var at=2e3;C.prototype.destroy=function(){var t=this;clearTimeout(this._onResizeHandler),this.tombstonesAnimationHandlers.forEach(function(t){clearTimeout(t)}),this.tombstonesAnimationHandlers=null,this.items.forEach(function(e){e.node&&(t.scrollerEl.removeChild(e.node),e.node=null)}),this.scroller.infiniteScroller=null,this.scroller=null,this.wrapperEl=null,this.scrollerEl=null,this.items=null,this.tombstones=null},C.prototype.onScroll=function(){var t=-this.scroller.y,e=t-this.anchorScrollTop;this.anchorItem=0===t?{index:0,offset:0}:this._calculateAnchoredItem(this.anchorItem,e),this.anchorScrollTop=t;var i=this._calculateAnchoredItem(this.anchorItem,this.scroller.wrapperHeight),n=this.anchorItem.index,a=i.index;e<0?(n-=30,a+=10):(n-=10,a+=30),this.fill(n,a),this.maybeRequestContent()},C.prototype.onResize=function(){var t=this.options.createTombstone();t.style.position="absolute",this.scrollerEl.appendChild(t),t.style.display="",this.tombstoneHeight=t.offsetHeight,this.tombstoneWidth=t.offsetWidth,this.scrollerEl.removeChild(t);for(var e=0;e<this.items.length;e++)this.items[e].height=this.items[e].width=0;this.onScroll()},C.prototype.fill=function(t,e){this.firstAttachedItem=Math.max(0,t),this.hasMore||(e=Math.min(e,this.items.length)),this.lastAttachedItem=e,this.attachContent()},C.prototype.maybeRequestContent=function(){var t=this;if(!this.requestInProgress&&this.hasMore){var e=this.lastAttachedItem-this.loadedItems;e<=0||(this.requestInProgress=!0,this.options.fetch(e).then(function(e){if(t.requestInProgress=!1,e)t.addContent(e);else{t.hasMore=!1;var i=t._removeTombstones(),n=0;t.anchorItem.index<=t.items.length?(n=t._fixScrollPosition(),t._setupAnimations({},n),t.scroller.resetPosition(t.scroller.options.bounceTime)):(t.anchorItem.index-=i,n=t._fixScrollPosition(),t._setupAnimations({},n),t.scroller.stop(),t.scroller.resetPosition(),t.onScroll())}}))}},C.prototype.addContent=function(t){for(var e=0;e<t.length;e++)this.items.length<=this.loadedItems&&this._addItem(),this.items[this.loadedItems++].data=t[e];this.attachContent(),this.maybeRequestContent()},C.prototype.attachContent=function(){var t=this._collectUnusedNodes(),e=this._createDOMNodes(t);this._cleanupUnusedNodes(t),this._cacheNodeSize();var i=this._fixScrollPosition();this._setupAnimations(e,i)},C.prototype.resetMore=function(){this.hasMore=!0},C.prototype._removeTombstones=function(){for(var t=void 0,e=0,i=this.items.length,n=0;n<i;n++){var a=this.items[n].node,r=this.items[n].data;a&&!I(a)||r||(void 0===t&&(t=n),a&&this.scrollerEl.removeChild(a))}return e=i-t,this.items.splice(t),this.lastAttachedItem=Math.min(this.lastAttachedItem,this.items.length),e},C.prototype._collectUnusedNodes=function(){for(var t=[],e=0;e<this.items.length;e++)if(e!==this.firstAttachedItem){var i=this.items[e].node;i&&(I(i)?(this.tombstones.push(i),this.tombstones[this.tombstones.length-1].style.display="none"):t.push(i)),this.items[e].node=null}else e=this.lastAttachedItem-1;return t},C.prototype._createDOMNodes=function(t){for(var e={},i=this.firstAttachedItem;i<this.lastAttachedItem;i++){for(;this.items.length<=i;)this._addItem();var n=this.items[i].node,a=this.items[i].data;if(n){if(!I(n)||!a)continue;n.style.zIndex=1,e[i]=[n,this.items[i].top-this.anchorScrollTop],this.items[i].node=null}var r=a?this.options.render(a,t.pop()):this._getTombStone();r.style.position="absolute",this.items[i].top=-1,this.scrollerEl.appendChild(r),this.items[i].node=r}return e},C.prototype._cleanupUnusedNodes=function(t){for(;t.length;)this.scrollerEl.removeChild(t.pop())},C.prototype._cacheNodeSize=function(){for(var t=this.firstAttachedItem;t<this.lastAttachedItem;t++){var e=this.items[t];if(e.data&&!e.height){var i=I(e.node);e.height=i?this.tombstoneHeight:e.node.offsetHeight,e.width=i?this.tombstoneWidth:e.node.offsetWidth}}},C.prototype._fixScrollPosition=function(){this.anchorScrollTop=0;for(var t=0;t<this.anchorItem.index;t++)this.anchorScrollTop+=this.items[t].height||this.tombstoneHeight;this.anchorScrollTop+=this.anchorItem.offset;for(var e=this.anchorScrollTop-this.anchorItem.offset,i=this.anchorItem.index;i>this.firstAttachedItem;)e-=this.items[i-1].height||this.tombstoneHeight,i--;return e},C.prototype._setupAnimations=function(t,e){var i=this;for(var n in t){var a=t[n];this.items[n].node.style[X.transform]="translateY("+(this.anchorScrollTop+a[1])+"px) scale("+this.tombstoneWidth/this.items[n].width+", "+this.tombstoneHeight/this.items[n].height+")",this.items[n].node.offsetTop,a[0].offsetTop,this.items[n].node.style[X.transition]=V+"transform 200ms"}for(var r=this.firstAttachedItem;r<this.lastAttachedItem;r++){var o=t[r];if(o){var s=o[0];s.style[X.transition]=V+"transform 200ms, opacity 200ms",s.style[X.transform]="translateY("+e+"px) scale("+this.items[r].width/this.tombstoneWidth+", "+this.items[r].height/this.tombstoneHeight+")",s.style.opacity=0}e!==this.items[r].top&&(o||(this.items[r].node.style[X.transition]=""),this.items[r].node.style[X.transform]="translateY("+e+"px)"),this.items[r].top=e,e+=this.items[r].height||this.tombstoneHeight}this.scroller.maxScrollY=-(e-this.scroller.wrapperHeight+(this.hasMore?at:0));var l=setTimeout(function(){for(var e in t){var n=t[e];n[0].style.display="none",i.tombstones.push(n[0])}},200);this.tombstonesAnimationHandlers.push(l)},C.prototype._getTombStone=function(){var t=this.tombstones.pop();return t?(t.style.display="",t.style.opacity=1,t.style[X.transform]="",t.style[X.transition]="",t):this.options.createTombstone()},C.prototype._addItem=function(){this.items.push({data:null,node:null,height:0,width:0,top:0})},C.prototype._calculateAnchoredItem=function(t,e){if(0===e)return t;var i=t.index,n=0;if((e+=t.offset)<0){for(;e<0&&i>0&&this.items[i-1].height;)e+=this.items[i-1].height,i--;n=Math.max(-i,Math.ceil(Math.min(e,0)/this.tombstoneHeight))}else{for(;e>0&&i<this.items.length&&this.items[i].height&&this.items[i].height<e;)e-=this.items[i].height,i++;(i>=this.items.length||!this.items[i].height)&&(n=Math.floor(Math.max(e,0)/this.tombstoneHeight))}return i+=n,e-=n*this.tombstoneHeight,{index:i,offset:e}},function(t){t.prototype._init=function(t){this._handleOptions(t),this._events={},this.x=0,this.y=0,this.directionX=0,this.directionY=0,this.setScale(1),this._addDOMEvents(),this._initExtFeatures(),this._watchTransition(),this.options.observeDOM&&this._initDOMObserver(),this.options.autoBlur&&this._handleAutoBlur(),this.refresh(),this.options.snap||this.scrollTo(this.options.startX,this.options.startY),this.enable()},t.prototype.setScale=function(t){this.lastScale=o(this.scale)?t:this.scale,this.scale=t},t.prototype._handleOptions=function(t){this.options=r({},Z,t),this.translateZ=this.options.HWCompositing&&F?" translateZ(0)":"",this.options.useTransition=this.options.useTransition&&Y,this.options.useTransform=this.options.useTransform&&G,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollX="horizontal"!==this.options.eventPassthrough&&this.options.scrollX,this.options.scrollY="vertical"!==this.options.eventPassthrough&&this.options.scrollY,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,!0===this.options.tap&&(this.options.tap="tap")},t.prototype._addDOMEvents=function(){var t=c;this._handleDOMEvents(t)},t.prototype._removeDOMEvents=function(){var t=u;this._handleDOMEvents(t)},t.prototype._handleDOMEvents=function(t){var e=this.options.bindToWrapper?this.wrapper:window;t(window,"orientationchange",this),t(window,"resize",this),this.options.click&&t(this.wrapper,"click",this,!0),this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(e,"mousemove",this),t(e,"mousecancel",this),t(e,"mouseup",this)),H&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(e,"touchmove",this),t(e,"touchcancel",this),t(e,"touchend",this)),t(this.scroller,X.transitionEnd,this)},t.prototype._initExtFeatures=function(){this.options.snap&&this._initSnap(),this.options.scrollbar&&this._initScrollbar(),this.options.pullUpLoad&&this._initPullUp(),this.options.pullDownRefresh&&this._initPullDown(),this.options.wheel&&this._initWheel(),this.options.mouseWheel&&this._initMouseWheel(),this.options.zoom&&this._initZoom(),this.options.infinity&&this._initInfinite()},t.prototype._watchTransition=function(){if("function"==typeof Object.defineProperty){var t=this,e=!1,i=this.options.useTransition?"isInTransition":"isAnimating";Object.defineProperty(this,i,{get:function(){return e},set:function(i){e=i;for(var n=t.scroller.children.length?t.scroller.children:[t.scroller],a=e&&!t.pulling?"none":"auto",r=0;r<n.length;r++)n[r].style.pointerEvents=a}})}},t.prototype._handleAutoBlur=function(){this.on("scrollStart",function(){var t=document.activeElement;!t||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName||t.blur()})},t.prototype._initDOMObserver=function(){var t=this;if("undefined"!=typeof MutationObserver){var e=void 0,i=new MutationObserver(function(i){if(!t._shouldNotRefresh()){for(var n=!1,a=!1,r=0;r<i.length;r++){var o=i[r];if("attributes"!==o.type){n=!0;break}if(o.target!==t.scroller){a=!0;break}}n?t.refresh():a&&(clearTimeout(e),e=setTimeout(function(){t._shouldNotRefresh()||t.refresh()},60))}}),n={attributes:!0,childList:!0,subtree:!0};i.observe(this.scroller,n),this.on("destroy",function(){i.disconnect()})}else this._checkDOMUpdate()},t.prototype._shouldNotRefresh=function(){var t=this.x>this.minScrollX||this.x<this.maxScrollX||this.y>this.minScrollY||this.y<this.maxScrollY;return this.isInTransition||this.stopFromTransition||t},t.prototype._checkDOMUpdate=function(){function t(){if(!this.destroyed){i=p(this.scroller);var t=i.width,r=i.height;n===t&&a===r||this.refresh(),n=t,a=r,e.call(this)}}function e(){var e=this;setTimeout(function(){t.call(e)},1e3)}var i=p(this.scroller),n=i.width,a=i.height;e.call(this)},t.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t),this.options.zoom&&t.touches&&t.touches.length>1&&this._zoomStart(t);break;case"touchmove":case"mousemove":this.options.zoom&&t.touches&&t.touches.length>1?this._zoom(t):this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this.scaled?this._zoomEnd(t):this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"click":this.enabled&&!t._constructed&&(f(t.target,this.options.preventDefaultException)||(t.preventDefault(),t.stopPropagation()));break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._onMouseWheel(t)}},t.prototype.refresh=function(){var t="static"===window.getComputedStyle(this.wrapper,null).position,e=p(this.wrapper);this.wrapperWidth=e.width,this.wrapperHeight=e.height;var i=p(this.scroller);this.scrollerWidth=Math.round(i.width*this.scale),this.scrollerHeight=Math.round(i.height*this.scale),this.relativeX=i.left,this.relativeY=i.top,t&&(this.relativeX-=e.left,this.relativeY-=e.top),this.minScrollX=0,this.minScrollY=0;var n=this.options.wheel;n?(this.items=this.scroller.children,this._checkWheelAllDisabled(),this.options.itemHeight=this.itemHeight=this.items.length?this.scrollerHeight/this.items.length:0,void 0===this.selectedIndex&&(this.selectedIndex=n.selectedIndex||0),this.options.startY=-this.selectedIndex*this.itemHeight,this.maxScrollX=0,this.maxScrollY=-this.itemHeight*(this.items.length-1)):(this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.options.infinity||(this.maxScrollY=this.wrapperHeight-this.scrollerHeight),this.maxScrollX<0?(this.maxScrollX-=this.relativeX,this.minScrollX=-this.relativeX):this.scale>1&&(this.maxScrollX=this.maxScrollX/2-this.relativeX,this.minScrollX=this.maxScrollX),this.maxScrollY<0?(this.maxScrollY-=this.relativeY,this.minScrollY=-this.relativeY):this.scale>1&&(this.maxScrollY=this.maxScrollY/2-this.relativeY,this.minScrollY=this.maxScrollY)),this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<this.minScrollX,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<this.minScrollY,this.hasHorizontalScroll||(this.maxScrollX=this.minScrollX,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=this.minScrollY,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=h(this.wrapper),this.trigger("refresh"),!this.scaled&&this.resetPosition()},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1}}(D),function(t){t.prototype._start=function(t){var e=j[t.type];if((e===U||0===t.button)&&!(!this.enabled||this.destroyed||this.initiated&&this.initiated!==e)){this.initiated=e,this.options.preventDefault&&!f(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.movingDirectionX=0,this.movingDirectionY=0,this.directionLocked=0,this._transitionTime(),this.startTime=a(),this.options.wheel&&(this.target=t.target),this.stop();var i=t.touches?t.touches[0]:t;this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=i.pageX,this.pointY=i.pageY,this.trigger("beforeScrollStart")}},t.prototype._move=function(t){if(this.enabled&&!this.destroyed&&j[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation();var e=t.touches?t.touches[0]:t,i=e.pageX-this.pointX,n=e.pageY-this.pointY;this.pointX=e.pageX,this.pointY=e.pageY,this.distX+=i,this.distY+=n;var r=Math.abs(this.distX),o=Math.abs(this.distY),s=a();if(!(s-this.endTime>this.options.momentumLimitTime&&!this.moved&&o<this.options.momentumLimitDistance&&r<this.options.momentumLimitDistance)){if(this.directionLocked||this.options.freeScroll||(r>o+this.options.directionLockThreshold?this.directionLocked="h":o>=r+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"===this.directionLocked){if("vertical"===this.options.eventPassthrough)t.preventDefault();else if("horizontal"===this.options.eventPassthrough)return void(this.initiated=!1);n=0}else if("v"===this.directionLocked){if("horizontal"===this.options.eventPassthrough)t.preventDefault();else if("vertical"===this.options.eventPassthrough)return void(this.initiated=!1);i=0}i=this.hasHorizontalScroll?i:0,n=this.hasVerticalScroll?n:0,this.movingDirectionX=i>0?et:i<0?tt:0,this.movingDirectionY=n>0?$:n<0?J:0;var l=this.x+i,c=this.y+n,u=!1,h=!1,d=!1,p=!1,f=this.options.bounce;!1!==f&&(u=void 0===f.top||f.top,h=void 0===f.bottom||f.bottom,d=void 0===f.left||f.left,p=void 0===f.right||f.right),(l>this.minScrollX||l<this.maxScrollX)&&(l=l>this.minScrollX&&d||l<this.maxScrollX&&p?this.x+i/3:l>this.minScrollX?this.minScrollX:this.maxScrollX),(c>this.minScrollY||c<this.maxScrollY)&&(c=c>this.minScrollY&&u||c<this.maxScrollY&&h?this.y+n/3:c>this.minScrollY?this.minScrollY:this.maxScrollY),this.moved||(this.moved=!0,this.trigger("scrollStart")),this._translate(l,c),s-this.startTime>this.options.momentumLimitTime&&(this.startTime=s,this.startX=this.x,this.startY=this.y,this.options.probeType===it&&this.trigger("scroll",{x:this.x,y:this.y})),this.options.probeType>it&&this.trigger("scroll",{x:this.x,y:this.y});var g=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,m=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,v=this.pointX-g,y=this.pointY-m;(v>document.documentElement.clientWidth-this.options.momentumLimitDistance||v<this.options.momentumLimitDistance||y<this.options.momentumLimitDistance||y>document.documentElement.clientHeight-this.options.momentumLimitDistance)&&this._end(t)}}},t.prototype._end=function(t){if(this.enabled&&!this.destroyed&&j[t.type]===this.initiated){this.initiated=!1,this.options.preventDefault&&!f(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.trigger("touchEnd",{x:this.x,y:this.y}),this.isInTransition=!1;var e=Math.round(this.x),i=Math.round(this.y),n=e-this.absStartX,r=i-this.absStartY;if(this.directionX=n>0?et:n<0?tt:0,this.directionY=r>0?$:r<0?J:0,!this.options.pullDownRefresh||!this._checkPullDown()){if(this._checkClick(t))return void this.trigger("scrollCancel");if(!this.resetPosition(this.options.bounceTime,q.bounce)){this._translate(e,i),this.endTime=a();var o=this.endTime-this.startTime,s=Math.abs(e-this.startX),l=Math.abs(i-this.startY);if(this._events.flick&&o<this.options.flickLimitTime&&s<this.options.flickLimitDistance&&l<this.options.flickLimitDistance)return void this.trigger("flick");var c=0;if(this.options.momentum&&o<this.options.momentumLimitTime&&(l>this.options.momentumLimitDistance||s>this.options.momentumLimitDistance)){var u=!1,h=!1,d=!1,p=!1,g=this.options.bounce;!1!==g&&(u=void 0===g.top||g.top,h=void 0===g.bottom||g.bottom,d=void 0===g.left||g.left,p=void 0===g.right||g.right);var m=this.directionX===et&&d||this.directionX===tt&&p?this.wrapperWidth:0,v=this.directionY===$&&u||this.directionY===J&&h?this.wrapperHeight:0,y=this.hasHorizontalScroll?b(this.x,this.startX,o,this.maxScrollX,this.minScrollX,m,this.options,this):{destination:e,duration:0},x=this.hasVerticalScroll?b(this.y,this.startY,o,this.maxScrollY,this.minScrollY,v,this.options,this):{destination:i,duration:0};e=y.destination,i=x.destination,c=Math.max(y.duration,x.duration),this.isInTransition=!0}else this.options.wheel&&(i=this._findNearestValidWheel(i).y,c=this.options.wheel.adjustTime||400);var _=q.swipe;if(this.options.snap){var w=this._nearestSnap(e,i);this.currentPage=w,c=this.options.snapSpeed||Math.max(Math.max(Math.min(Math.abs(e-w.x),1e3),Math.min(Math.abs(i-w.y),1e3)),300),e=w.x,i=w.y,this.directionX=0,this.directionY=0,_=this.options.snap.easing||q.bounce}if(e!==this.x||i!==this.y)return(e>this.minScrollX||e<this.maxScrollX||i>this.minScrollY||i<this.maxScrollY)&&(_=q.swipeBounce),void this.scrollTo(e,i,c,_);this.options.wheel&&(this.selectedIndex=this._findNearestValidWheel(this.y).index),this.trigger("scrollEnd",{x:this.x,y:this.y})}}}},t.prototype._checkClick=function(t){var e=this.stopFromTransition&&!this.pulling;if(this.stopFromTransition=!1,!this.moved){if(this.options.wheel){if(this.target&&this.target.className===this.options.wheel.wheelWrapperClass){var i=this._findNearestValidWheel(this.y).index,n=Math.round((this.pointY+d(this.wrapper).top-this.wrapperHeight/2)/this.itemHeight);this.target=this.items[i+n]}var r=h(this.target).top,o=h(this.target).left;return r-=this.wrapperOffset.top,r-=Math.round(this.target.offsetHeight/2-this.wrapper.offsetHeight/2)||0,o-=this.wrapperOffset.left,o-=Math.round(this.target.offsetWidth/2-this.wrapper.offsetWidth/2)||0,r=this._findNearestValidWheel(r).y,this.scrollTo(o,r,this.options.wheel.adjustTime||400,q.swipe),!0}if(!e){var s=this.options.dblclick,l=!1;if(s&&this.lastClickTime){var c=s.delay,u=void 0===c?300:c;a()-this.lastClickTime<u&&(l=!0,v(t))}return this.options.tap&&g(t,this.options.tap),this.options.click&&!f(t.target,this.options.preventDefaultException)&&m(t),this.lastClickTime=l?null:a(),!0}return!1}return!1},t.prototype._resize=function(){var t=this;this.enabled&&(O&&(this.wrapper.scrollTop=0),clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling))},t.prototype._startProbe=function(){function t(){var i=e.getComputedPosition();e.trigger("scroll",i),e.isInTransition?e.probeTimer=Q(t):e.trigger("scrollEnd",i)}K(this.probeTimer),this.probeTimer=Q(t);var e=this},t.prototype._transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.scrollerStyle[X.transitionDuration]=t+"ms",this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[X.transitionDuration]=t+"ms";if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTime(t)},t.prototype._transitionTimingFunction=function(t){if(this.scrollerStyle[X.transitionTimingFunction]=t,this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[X.transitionTimingFunction]=t;if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTimingFunction(t)},t.prototype._transitionEnd=function(t){t.target===this.scroller&&this.isInTransition&&(this._transitionTime(),(!this.pulling||this.movingDirectionY===J)&&!this.resetPosition(this.options.bounceTime,q.bounce)&&(this.isInTransition=!1,this.options.probeType!==nt&&this.trigger("scrollEnd",{x:this.x,y:this.y})))},t.prototype._translate=function(t,e,i){if(M(!o(t)&&!o(e),"Translate x or y is null or undefined."),o(i)&&(i=this.scale),this.options.useTransform?this.scrollerStyle[X.transform]="translate("+t+"px,"+e+"px) scale("+i+")"+this.translateZ:(t=Math.round(t),e=Math.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.options.wheel)for(var n=this.options.wheel.rotate,a=void 0===n?25:n,r=0;r<this.items.length;r++){var s=a*(e/this.itemHeight+r);this.items[r].style[X.transform]="rotateX("+s+"deg)"}if(this.x=t,this.y=e,this.setScale(i),this.indicators)for(var l=0;l<this.indicators.length;l++)this.indicators[l].updatePosition()},t.prototype._animate=function(t,e,i,n){function r(){var p=a();if(p>=d)return o.isAnimating=!1,o._translate(t,e,u),o.trigger("scroll",{x:o.x,y:o.y}),void(o.pulling||o.resetPosition(o.options.bounceTime)||o.trigger("scrollEnd",{x:o.x,y:o.y}));p=(p-h)/i;var f=n(p),g=(t-s)*f+s,m=(e-l)*f+l,v=(u-c)*f+c;o._translate(g,m,v),o.isAnimating&&(o.animateTimer=Q(r)),o.options.probeType===nt&&o.trigger("scroll",{x:o.x,y:o.y})}var o=this,s=this.x,l=this.y,c=this.lastScale,u=this.scale,h=a(),d=h+i;this.isAnimating=!0,K(this.animateTimer),r()},t.prototype.scrollBy=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:q.bounce;t=this.x+t,e=this.y+e,this.scrollTo(t,e,i,n)},t.prototype.scrollTo=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:q.bounce,a=arguments[4];if(this.options.wheel&&(e=this._findNearestValidWheel(e).y),this.isInTransition=this.options.useTransition&&i>0&&(this.x!==t||this.y!==e),!i||this.options.useTransition){if(this._transitionTimingFunction(n.style),this._transitionTime(i),this._translate(t,e),i&&this.options.probeType===nt&&this._startProbe(),!i&&!a){if(this.options.zoom)return;this.trigger("scroll",{x:t,y:e}),this._reflow=document.body.offsetHeight,this.resetPosition(this.options.bounceTime,q.bounce)||this.trigger("scrollEnd",{x:t,y:e})}this.options.wheel&&(this.selectedIndex=this._findNearestValidWheel(e).index)}else this._animate(t,e,i,n.fn)},t.prototype.scrollToElement=function(t,e,i,n,a){if(t&&(t=t.nodeType?t:this.scroller.querySelector(t),!this.options.wheel||t.classList.contains(this.options.wheel.wheelItemClass))){var r=h(t);r.left-=this.wrapperOffset.left,r.top-=this.wrapperOffset.top,!0===i&&(i=Math.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),!0===n&&(n=Math.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),r.left-=i||0,r.top-=n||0,r.left=r.left>this.minScrollX?this.minScrollX:r.left<this.maxScrollX?this.maxScrollX:r.left,r.top=r.top>this.minScrollY?this.minScrollY:r.top<this.maxScrollY?this.maxScrollY:r.top,this.options.wheel&&(r.top=this._findNearestValidWheel(r.top).y),this.scrollTo(r.left,r.top,e,a)}},t.prototype.resetPosition=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q.bounce,i=this.x,n=Math.round(i);!this.hasHorizontalScroll||n>this.minScrollX?i=this.minScrollX:n<this.maxScrollX&&(i=this.maxScrollX);var a=this.y,r=Math.round(a);return!this.hasVerticalScroll||r>this.minScrollY?a=this.minScrollY:r<this.maxScrollY&&(a=this.maxScrollY),(i!==this.x||a!==this.y)&&(this.scrollTo(i,a,t,e),!0)},t.prototype.getComputedPosition=function(){var t=window.getComputedStyle(this.scroller,null),e=void 0,i=void 0;return this.options.useTransform?(t=t[X.transform].split(")")[0].split(", "),e=+(t[12]||t[4]),i=+(t[13]||t[5])):(e=+t.left.replace(/[^-\d.]/g,""),i=+t.top.replace(/[^-\d.]/g,"")),{x:e,y:i}},t.prototype.stop=function(){if(this.options.useTransition&&this.isInTransition){this.isInTransition=!1,K(this.probeTimer);var t=this.getComputedPosition();this._translate(t.x,t.y),this.options.wheel?this.target=this.items[this._findNearestValidWheel(t.y).index]:this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0}else!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,K(this.animateTimer),this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0)},t.prototype.destroy=function(){this.destroyed=!0,this.trigger("destroy"),K(this.options.useTransition?this.probeTimer:this.animateTimer),this._removeDOMEvents(),this._events={}}}(D),function(t){t.prototype.on=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;this._events[t]||(this._events[t]=[]),this._events[t].push([e,i])},t.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(n,arguments)}var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;i.fn=e,this.on(t,i)},t.prototype.off=function(t,e){var i=this._events[t];if(i)for(var a=i.length;a--;)(i[a][0]===e||i[a][0]&&i[a][0].fn===e)&&n(i,a)},t.prototype.trigger=function(t){var e=this._events[t];if(e)for(var i=e.length,n=[].concat(k(e)),a=0;a<i;a++){var r=n[a],o=L(r,2),s=o[0],l=o[1];s&&s.apply(l,[].slice.call(arguments,1))}}}(D),function(t){t.prototype._initSnap=function(){var t=this;this.currentPage={};var e=this.options.snap;if(e.loop){var i=this.scroller.children;i.length>1?(y(i[i.length-1].cloneNode(!0),this.scroller),this.scroller.appendChild(i[1].cloneNode(!0))):e.loop=!1}var n=e.el;"string"==typeof n&&(n=this.scroller.querySelectorAll(n)),this.on("refresh",function(){if(t.pages=[],t.wrapperWidth&&t.wrapperHeight&&t.scrollerWidth&&t.scrollerHeight){var i=e.stepX||t.wrapperWidth,a=e.stepY||t.wrapperHeight,r=0,o=void 0,s=void 0,l=void 0,c=0,u=void 0,h=0,d=void 0,f=void 0;if(n)for(u=n.length,d=-1;c<u;c++)f=p(n[c]),(0===c||f.left<=p(n[c-1]).left)&&(h=0,d++),t.pages[h]||(t.pages[h]=[]),r=Math.max(-f.left,t.maxScrollX),o=Math.max(-f.top,t.maxScrollY),s=r-Math.round(f.width/2),l=o-Math.round(f.height/2),t.pages[h][d]={x:r,y:o,width:f.width,height:f.height,cx:s,cy:l},r>t.maxScrollX&&h++;else for(s=Math.round(i/2),l=Math.round(a/2);r>-t.scrollerWidth;){for(t.pages[c]=[],u=0,o=0;o>-t.scrollerHeight;)t.pages[c][u]={x:Math.max(r,t.maxScrollX),y:Math.max(o,t.maxScrollY),width:i,height:a,cx:r-s,cy:o-l},o-=a,u++;r-=i,c++}t._checkSnapLoop();var g=e._loopX?1:0,m=e._loopY?1:0;t._goToPage(t.currentPage.pageX||g,t.currentPage.pageY||m,0,void 0,!0);var v=e.threshold;v%1==0?(t.snapThresholdX=v,t.snapThresholdY=v):(t.snapThresholdX=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].width*v),t.snapThresholdY=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].height*v))}}),this.on("scrollEnd",function(){e.loop&&(e._loopX?(0===t.currentPage.pageX&&t._goToPage(t.pages.length-2,t.currentPage.pageY,0,void 0,!0),t.currentPage.pageX===t.pages.length-1&&t._goToPage(1,t.currentPage.pageY,0,void 0,!0)):(0===t.currentPage.pageY&&t._goToPage(t.currentPage.pageX,t.pages[0].length-2,0,void 0,!0),t.currentPage.pageY===t.pages[0].length-1&&t._goToPage(t.currentPage.pageX,1,0,void 0,!0)))}),!1!==e.listenFlick&&this.on("flick",function(){var i=e.speed||Math.max(Math.max(Math.min(Math.abs(t.x-t.startX),1e3),Math.min(Math.abs(t.y-t.startY),1e3)),300);t._goToPage(t.currentPage.pageX+t.directionX,t.currentPage.pageY+t.directionY,i)}),this.on("destroy",function(){if(e.loop){var i=t.scroller.children;i.length>2&&(_(t.scroller,i[i.length-1]),_(t.scroller,i[0]))}})},t.prototype._checkSnapLoop=function(){var t=this.options.snap;t.loop&&this.pages&&this.pages.length&&(this.pages.length>1&&(t._loopX=!0),this.pages[0]&&this.pages[0].length>1&&(t._loopY=!0),t._loopX&&t._loopY&&S("Loop does not support two direction at the same time."))},t.prototype._nearestSnap=function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0;if(Math.abs(t-this.absStartX)<=this.snapThresholdX&&Math.abs(e-this.absStartY)<=this.snapThresholdY)return this.currentPage;t>this.minScrollX?t=this.minScrollX:t<this.maxScrollX&&(t=this.maxScrollX),e>this.minScrollY?e=this.minScrollY:e<this.maxScrollY&&(e=this.maxScrollY);for(var n=this.pages.length;i<n;i++)if(t>=this.pages[i][0].cx){t=this.pages[i][0].x;break}n=this.pages[i].length;for(var a=0;a<n;a++)if(e>=this.pages[0][a].cy){e=this.pages[0][a].y;break}return i===this.currentPage.pageX&&(i+=this.directionX,i<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),a===this.currentPage.pageY&&(a+=this.directionY,a<0?a=0:a>=this.pages[0].length&&(a=this.pages[0].length-1),e=this.pages[0][a].y),{x:t,y:e,pageX:i,pageY:a}},t.prototype._goToPage=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],n=arguments[3],a=arguments[4],r=this.options.snap;if(r&&this.pages&&this.pages.length&&(n=n||r.easing||q.bounce,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),this.pages[t])){e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var o=this.pages[t][e].x,s=this.pages[t][e].y;i=void 0===i?r.speed||Math.max(Math.max(Math.min(Math.abs(o-this.x),1e3),Math.min(Math.abs(s-this.y),1e3)),300):i,this.currentPage={x:o,y:s,pageX:t,pageY:e},this.scrollTo(o,s,i,n,a)}},t.prototype.goToPage=function(t,e,i,n){var a=this.options.snap;if(a&&this.pages&&this.pages.length){if(a.loop){var r=void 0;a._loopX?(r=this.pages.length-2,t>=r?t=r-1:t<0&&(t=0),t+=1):(r=this.pages[0].length-2,e>=r?e=r-1:e<0&&(e=0),e+=1)}this._goToPage(t,e,i,n)}},t.prototype.next=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;i++,i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this._goToPage(i,n,t,e)}},t.prototype.prev=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;i--,i<0&&this.hasVerticalScroll&&(i=0,n--),this._goToPage(i,n,t,e)}},t.prototype.getCurrentPage=function(){var t=this.options.snap;return t?t.loop?t._loopX?r({},this.currentPage,{pageX:this.currentPage.pageX-1}):r({},this.currentPage,{pageY:this.currentPage.pageY-1}):this.currentPage:null}}(D),function(t){t.prototype.wheelTo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.options.wheel){var e=-t*this.itemHeight;this.scrollTo(0,e)}},t.prototype.getSelectedIndex=function(){return this.options.wheel&&this.selectedIndex},t.prototype._initWheel=function(){var t=this.options.wheel;t.wheelWrapperClass||(t.wheelWrapperClass="wheel-scroll"),t.wheelItemClass||(t.wheelItemClass="wheel-item"),t.wheelDisabledItemClass||(t.wheelDisabledItemClass="wheel-disabled-item"),void 0===t.selectedIndex&&(t.selectedIndex=0)},t.prototype._findNearestValidWheel=function(t){t=t>0?0:t<this.maxScrollY?this.maxScrollY:t;for(var e=this.options.wheel,i=Math.abs(Math.round(-t/this.itemHeight)),n=i,a=this.items;i>=0&&-1!==a[i].className.indexOf(e.wheelDisabledItemClass);)i--;if(i<0)for(i=n;i<=a.length-1&&-1!==a[i].className.indexOf(e.wheelDisabledItemClass);)i++;return i===a.length&&(i=n),{index:this.wheelItemsAllDisabled?-1:i,y:-i*this.itemHeight}},t.prototype._checkWheelAllDisabled=function(){var t=this.options.wheel,e=this.items;this.wheelItemsAllDisabled=!0;for(var i=0;i<e.length;i++)if(-1===e[i].className.indexOf(t.wheelDisabledItemClass)){this.wheelItemsAllDisabled=!1;break}}}(D),function(t){t.prototype._initScrollbar=function(){var t=this,e=this.options.scrollbar,i=e.fade,n=void 0===i||i,a=e.interactive,r=void 0!==a&&a;this.indicators=[];var o=void 0;this.options.scrollX&&(o={el:T("horizontal"),direction:"horizontal",fade:n,interactive:r},this._insertScrollBar(o.el),this.indicators.push(new A(this,o))),this.options.scrollY&&(o={el:T("vertical"),direction:"vertical",fade:n,interactive:r},this._insertScrollBar(o.el),this.indicators.push(new A(this,o))),this.on("refresh",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].refresh()}),n&&(this.on("scrollEnd",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollCancel",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0)}),this.on("beforeScrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0,!0)})),this.on("destroy",function(){t._removeScrollBars()})},t.prototype._insertScrollBar=function(t){this.wrapper.appendChild(t)},t.prototype._removeScrollBars=function(){for(var t=0;t<this.indicators.length;t++)this.indicators[t].destroy()}}(D),function(t){t.prototype._initPullDown=function(){this.options.probeType=nt},t.prototype._checkPullDown=function(){var t=this.options.pullDownRefresh,e=t.threshold,i=void 0===e?90:e,n=t.stop,a=void 0===n?40:n;return!(this.directionY!==$||this.y<i)&&(this.pulling||(this.pulling=!0,this.trigger("pullingDown")),this.scrollTo(this.x,a,this.options.bounceTime,q.bounce),this.pulling)},t.prototype.finishPullDown=function(){this.pulling=!1,this.resetPosition(this.options.bounceTime,q.bounce)},t.prototype.openPullDown=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullDownRefresh=t,this._initPullDown()},t.prototype.closePullDown=function(){this.options.pullDownRefresh=!1},t.prototype.autoPullDownRefresh=function(){var t=this.options.pullDownRefresh,e=t.threshold,i=void 0===e?90:e,n=t.stop,a=void 0===n?40:n;this.pulling||(this.pulling=!0,this.scrollTo(this.x,i),this.trigger("pullingDown"),this.scrollTo(this.x,a,this.options.bounceTime,q.bounce))}}(D),function(t){t.prototype._initPullUp=function(){this.options.probeType=nt,this.pullupWatching=!1,this._watchPullUp()},t.prototype._watchPullUp=function(){this.pullupWatching||(this.pullupWatching=!0,this.on("scroll",this._checkToEnd))},t.prototype._checkToEnd=function(t){var e=this,i=this.options.pullUpLoad.threshold,n=void 0===i?0:i;this.movingDirectionY===J&&t.y<=this.maxScrollY+n&&(this.once("scrollEnd",function(){e.pullupWatching=!1}),this.trigger("pullingUp"),this.off("scroll",this._checkToEnd))},t.prototype.finishPullUp=function(){var t=this;this.pullupWatching?this.once("scrollEnd",function(){t._watchPullUp()}):this._watchPullUp()},t.prototype.openPullUp=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullUpLoad=t,this._initPullUp()},t.prototype.closePullUp=function(){this.options.pullUpLoad=!1,this.pullupWatching&&(this.pullupWatching=!1,this.off("scroll",this._checkToEnd))}}(D),function(t){t.prototype._initMouseWheel=function(){var t=this;this._handleMouseWheelEvent(c),this.on("destroy",function(){clearTimeout(t.mouseWheelTimer),clearTimeout(t.mouseWheelEndTimer),t._handleMouseWheelEvent(u)}),this.firstWheelOpreation=!0},t.prototype._handleMouseWheelEvent=function(t){t(this.wrapper,"wheel",this),t(this.wrapper,"mousewheel",this),t(this.wrapper,"DOMMouseScroll",this)},t.prototype._onMouseWheel=function(t){var e=this;if(this.enabled){t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.firstWheelOpreation&&this.trigger("scrollStart"),this.firstWheelOpreation=!1;var i=this.options.mouseWheel,n=i.speed,a=void 0===n?20:n,r=i.invert,o=void 0!==r&&r,s=i.easeTime,l=void 0===s?300:s;clearTimeout(this.mouseWheelTimer),this.mouseWheelTimer=setTimeout(function(){e.options.snap||l||e.trigger("scrollEnd",{x:e.x,y:e.y}),e.firstWheelOpreation=!0},400);var c=void 0,u=void 0;switch(!0){case"deltaX"in t:1===t.deltaMode?(c=-t.deltaX*a,u=-t.deltaY*a):(c=-t.deltaX,u=-t.deltaY);break;case"wheelDeltaX"in t:c=t.wheelDeltaX/120*a,u=t.wheelDeltaY/120*a;break;case"wheelDelta"in t:c=u=t.wheelDelta/120*a;break;case"detail"in t:c=u=-t.detail/3*a;break;default:return}var h=o?-1:1;c*=h,u*=h,this.hasVerticalScroll||(c=u,u=0);var d=void 0,p=void 0;if(this.options.snap)return d=this.currentPage.pageX,p=this.currentPage.pageY,c>0?d--:c<0&&d++,u>0?p--:u<0&&p++,void this._goToPage(d,p);d=this.x+Math.round(this.hasHorizontalScroll?c:0),p=this.y+Math.round(this.hasVerticalScroll?u:0),this.movingDirectionX=this.directionX=c>0?-1:c<0?1:0,this.movingDirectionY=this.directionY=u>0?-1:u<0?1:0,d>this.minScrollX?d=this.minScrollX:d<this.maxScrollX&&(d=this.maxScrollX),p>this.minScrollY?p=this.minScrollY:p<this.maxScrollY&&(p=this.maxScrollY);var f=this.y===p;this.scrollTo(d,p,l,q.swipe),this.trigger("scroll",{x:this.x,y:this.y}),clearTimeout(this.mouseWheelEndTimer),f&&(this.mouseWheelEndTimer=setTimeout(function(){e.trigger("scrollEnd",{x:e.x,y:e.y})},l))}}}(D),function(t){t.prototype._initZoom=function(){var t=this.options.zoom,e=t.start,i=void 0===e?1:e,n=t.min,a=void 0===n?1:n,r=t.max,o=void 0===r?4:r;this.scale=Math.min(Math.max(i,a),o),this.setScale(this.scale),this.scrollerStyle[X.transformOrigin]="0 0"},t.prototype._zoomTo=function(t,e,i,n){this.scaled=!0;var a=t/(n||this.scale);this.setScale(t),this.refresh();var r=Math.round(this.startX-(e-this.relativeX)*(a-1)),o=Math.round(this.startY-(i-this.relativeY)*(a-1));r>this.minScrollX?r=this.minScrollX:r<this.maxScrollX&&(r=this.maxScrollX),o>this.minScrollY?o=this.minScrollY:o<this.maxScrollY&&(o=this.maxScrollY),this.x===r&&this.y===o||this.scrollTo(r,o,this.options.bounceTime),this.scaled=!1},t.prototype.zoomTo=function(t,e,i){var n=d(this.wrapper),a=n.left,r=n.top,o=e+a-this.x,s=i+r-this.y;this._zoomTo(t,o,s)},t.prototype._zoomStart=function(t){var e=t.touches[0],i=t.touches[1],n=Math.abs(e.pageX-i.pageX),a=Math.abs(e.pageY-i.pageY);this.startDistance=s(n,a),this.startScale=this.scale;var r=d(this.wrapper),o=r.left,l=r.top;this.originX=Math.abs(e.pageX+i.pageX)/2+o-this.x,this.originY=Math.abs(e.pageY+i.pageY)/2+l-this.y,this.trigger("zoomStart")},t.prototype._zoom=function(t){if(this.enabled&&!this.destroyed&&j[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation();var e=t.touches[0],i=t.touches[1],n=Math.abs(e.pageX-i.pageX),a=Math.abs(e.pageY-i.pageY),r=s(n,a),o=r/this.startDistance*this.startScale;this.scaled=!0;var l=this.options.zoom,c=l.min,u=void 0===c?1:c,h=l.max,d=void 0===h?4:h;o<u?o=.5*u*Math.pow(2,o/u):o>d&&(o=2*d*Math.pow(.5,d/o));var p=o/this.startScale,f=this.startX-(this.originX-this.relativeX)*(p-1),g=this.startY-(this.originY-this.relativeY)*(p-1);this.setScale(o),this.scrollTo(f,g,0)}},t.prototype._zoomEnd=function(t){if(this.enabled&&!this.destroyed&&j[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.isInTransition=!1,this.isAnimating=!1,this.initiated=0;var e=this.options.zoom,i=e.min,n=void 0===i?1:i,a=e.max,r=void 0===a?4:a,o=this.scale>r?r:this.scale<n?n:this.scale;this._zoomTo(o,this.originX,this.originY,this.startScale),this.trigger("zoomEnd")}}}(D),function(t){t.prototype._initInfinite=function(){this.options.probeType=3,this.maxScrollY=-at,this.infiniteScroller=new C(this,this.options.infinity)}}(D),D.Version="1.15.1",e.a=D},function(t,e,i){var n=i(1);e.a=[Object(n.a)(0,23,!0,"点"),Object(n.a)(0,59,!0,"分"),Object(n.a)(0,59,!0,"秒")]},function(t,e,i){function n(t){return t%4==0&&(t%100!=0||t%400==0)}function a(t,e){t=Number(t),e=Number(e);var i=null;switch(e){case 2:i=n(t)?29:28;break;case 1:case 3:case 5:case 7:case 8:case 10:case 12:i=31;break;case 4:case 6:case 9:case 11:default:i=30}return Object(r.a)(1,i,!1,o).map(function(t){return{value:t}})}i.d(e,"a",function(){return d}),i.d(e,"b",function(){return u});var r=i(1),o="日",s=Object(r.a)(1900,2100,!1,"年"),l=Object(r.a)(1,12,!1,"月"),c=l.map(function(t){return{value:t,children:[]}}),u=s.map(function(t){var e={value:t,children:c.slice()};return e.children.forEach(function(e){e.children=a(t.slice(0,-1),e.value.slice(0,-1))}),e}),h=new Date,d=[{value:h.getFullYear()+"年"},{value:h.getMonth()+1+"月"},{value:""+h.getDate()+o}]},function(t,e,i){var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.display,expression:"display"}],staticClass:"mask",on:{click:t.hide}})]),t._v(" "),i("transition",{attrs:{name:"slide"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.display,expression:"display"}],staticClass:"picker"},[i("div",{staticClass:"picker-title"},[i("span",{staticClass:"pt-cancel",style:{color:t.colorCancel},on:{click:t.cancel}},[t._v(t._s(t.textCancel))]),t._v(" "),i("span",{staticClass:"pt-submit",style:{color:t.colorConfirm},on:{click:t.confirm}},[t._v(t._s(t.textConfirm))]),t._v(" "),t._t("default")],2),t._v(" "),i("div",{staticClass:"picker-panel"},[i("div",{staticClass:"picker-mask-top"}),t._v(" "),i("div",{staticClass:"picker-mask-bottom"}),t._v(" "),i("div",{ref:"wheelWrapper",staticClass:"picker-wheel-wrapper"},t._l(t.pickerData,function(e,n){return i("div",{key:n,staticClass:"picker-wheel"},[i("ul",{staticClass:"wheel-scroll"},t._l(e,function(e,n){return i("li",{key:n,staticClass:"wheel-item"},[t._v(t._s(e))])}),0)])}),0)])])])],1)},a=[],r={render:n,staticRenderFns:a};e.a=r}])})},5055:function(t,e,i){"use strict";var n=i("3999"),a=i("66c7"),r=i("bc9d"),o=i("26a6"),s=["itemStyle"],l=["emphasis","itemStyle"],c=a.extend({type:"boxplot",render:function(t,e,i){var n=t.getData(),a=this.group,r=this._data;this._data||a.removeAll();var o="horizontal"===t.get("layout")?1:0;n.diff(r).add(function(t){if(n.hasValue(t)){var e=n.getItemLayout(t),i=h(e,n,t,o,!0);n.setItemGraphicEl(t,i),a.add(i)}}).update(function(t,e){var i=r.getItemGraphicEl(e);if(n.hasValue(t)){var s=n.getItemLayout(t);i?d(s,i,n,t):i=h(s,n,t,o),a.add(i),n.setItemGraphicEl(t,i)}else a.remove(i)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&a.remove(e)}).execute(),this._data=n},remove:function(t){var e=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(t){t&&e.remove(t)})},dispose:n.noop}),u=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var i=e.points,n=0;for(t.moveTo(i[n][0],i[n][1]),n++;n<4;n++)t.lineTo(i[n][0],i[n][1]);for(t.closePath();n<i.length;n++)t.moveTo(i[n][0],i[n][1]),n++,t.lineTo(i[n][0],i[n][1])}});function h(t,e,i,n,a){var r=t.ends,o=new u({shape:{points:a?p(r,n,t):r}});return d(t,o,e,i,a),o}function d(t,e,i,n,a){var o=i.hostModel,c=r[a?"initProps":"updateProps"];c(e,{shape:{points:t.ends}},o,n);var u=i.getItemModel(n),h=u.getModel(s),d=i.getItemVisual(n,"color"),p=h.getItemStyle(["borderColor"]);p.stroke=d,p.strokeNoScale=!0,e.useStyle(p),e.z2=100;var f=u.getModel(l).getItemStyle();r.setHoverStyle(e,f)}function p(t,e,i){return n.map(t,function(t){return t=t.slice(),t[e]=i.initBaseline,t})}var f=c;t.exports=f},"50e2":function(t,e,i){"use strict";var n=i("3999"),a=i("1073"),r=i("8a7d"),o=i("e62e"),s=864e5;function l(t,e,i){this._model=t}function c(t,e,i,n){var a=i.calendarModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem:null;return o===this?o[t](n):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){t=r.parseDate(t);var e=t.getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var n=t.getDate();n=n<10?"0"+n:n;var a=t.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:e,m:i,d:n,day:a,time:t.getTime(),formatedDate:e+"-"+i+"-"+n,date:t}},getNextNDay:function(t,e){return e=e||0,0===e?this.getDateInfo(t):(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e),this.getDateInfo(t))},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,r=["width","height"],o=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[i,7]:[7,i];n.each([0,1],function(t){h(o,t)&&(s[r[t]]=o[t]*l[t])});var c={width:e.getWidth(),height:e.getHeight()},u=this._rect=a.getLayoutRect(s,c);function h(t,e){return null!=t[e]&&"auto"!==t[e]}n.each([0,1],function(t){h(o,t)||(o[t]=u[r[t]]/l[t])}),this._sw=o[0],this._sh=o[1]},dataToPoint:function(t,e){n.isArray(t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),a=this._rangeInfo,r=i.formatedDate;if(e&&!(i.time>=a.start.time&&i.time<a.end.time+s))return[NaN,NaN];var o=i.day,l=this._getRangeInfo([a.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]:[this._rect.x+l*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},pointToData:function(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var i=this.dataToPoint(t,e);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,i=Math.floor((t[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,e-1,n):this._getDateByWeeksAndDay(e,i-1,n)},convertToPixel:n.curry(c,"dataToPoint"),convertFromPixel:n.curry(c,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),e=t;if(n.isArray(e)&&1===e.length&&(e=e[0]),/^\d{4}$/.test(e)&&(t=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var i=this.getDateInfo(e),a=i.date;a.setMonth(a.getMonth()+1);var r=this.getNextNDay(a,-1);t=[i.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var o=this._getRangeInfo(t);return o.start.time>o.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],t[0].time>t[1].time&&(e=!0,t.reverse());var i=Math.floor(t[1].time/s)-Math.floor(t[0].time/s)+1,n=new Date(t[0].time),a=n.getDate(),r=t[1].date.getDate();if(n.setDate(a+i-1),n.getDate()!==r){var o=n.getTime()-t[1].time>0?1:-1;while(n.getDate()!==r&&(n.getTime()-t[1].time)*o>0)i-=o,n.setDate(a+i-1)}var l=Math.floor((i+t[0].day+6)/7),c=e?1-l:l-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:i,weeks:l,nthWeek:c,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&e<n.fweek||t===n.weeks&&e>n.lweek)return!1;var a=7*(t-1)-n.fweek+e,r=new Date(n.start.time);return r.setDate(n.start.d+a),this.getDateInfo(r)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(t,e){var i=[];return t.eachComponent("calendar",function(n){var a=new l(n,t,e);i.push(a),n.coordinateSystem=a}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},o.register("calendar",l);var u=l;t.exports=u},5183:function(t,e,i){"use strict";var n=i("3999"),a=i("1073"),r=a.getLayoutRect;function o(t,e,i){var n=t.option,a=n.align;if(null!=a&&"auto"!==a)return a;for(var o={width:e.getWidth(),height:e.getHeight()},s="horizontal"===n.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],c=l[s],u=[0,null,10],h={},d=0;d<3;d++)h[l[1-s][d]]=u[d],h[c[d]]=2===d?i[0]:n[c[d]];var p=[["x","width",3],["y","height",0]][s],f=r(h,o,n.padding);return c[(f.margin[p[2]]||0)+f[p[0]]+.5*f[p[1]]<.5*o[p[1]]?0:1]}function s(t){return n.each(t||[],function(e){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null)}),t}e.getItemAlign=o,e.convertDataIndex=s},"51d5":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("3999"),o=i("bc9d"),s=i("35b6"),l=s.setLabel,c=i("1c56"),u=i("5ff2"),h=i("26a6"),d=["itemStyle","barBorderWidth"];r.extend(c.prototype,u);var p=a.extendChartView({type:"bar",render:function(t,e,i){this._updateDrawMode(t);var n=t.get("coordinateSystem");return"cartesian2d"!==n&&"polar"!==n||(this._isLargeDraw?this._renderLarge(t,e,i):this._renderNormal(t,e,i)),this.group},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,n){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,i){var n,a=this.group,r=t.getData(),s=this._data,l=t.coordinateSystem,c=l.getBaseAxis();"cartesian2d"===l.type?n=c.isHorizontal():"polar"===l.type&&(n="angle"===c.dim);var u=t.isAnimationEnabled()?t:null;r.diff(s).add(function(e){if(r.hasValue(e)){var i=r.getItemModel(e),o=v[l.type](r,e,i),s=f[l.type](r,e,i,o,n,u);r.setItemGraphicEl(e,s),a.add(s),y(s,r,e,i,o,t,n,"polar"===l.type)}}).update(function(e,i){var c=s.getItemGraphicEl(i);if(r.hasValue(e)){var h=r.getItemModel(e),d=v[l.type](r,e,h);c?o.updateProps(c,{shape:d},u,e):c=f[l.type](r,e,h,d,n,u,!0),r.setItemGraphicEl(e,c),a.add(c),y(c,r,e,h,d,t,n,"polar"===l.type)}else a.remove(c)}).remove(function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===l.type?e&&g(t,u,e):e&&m(t,u,e)}).execute(),this._data=r},_renderLarge:function(t,e,i){this._clear(),b(t,this.group)},_incrementalRenderLarge:function(t,e){b(e,this.group,!0)},dispose:r.noop,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,i=this._data;t&&t.get("animation")&&i&&!this._isLargeDraw?i.eachItemGraphicEl(function(e){"sector"===e.type?m(e.dataIndex,t,e):g(e.dataIndex,t,e)}):e.removeAll(),this._data=null}}),f={cartesian2d:function(t,e,i,n,a,s,l){var c=new o.Rect({shape:r.extend({},n)});if(s){var u=c.shape,h=a?"height":"width",d={};u[h]=0,d[h]=n[h],o[l?"updateProps":"initProps"](c,{shape:d},s,e)}return c},polar:function(t,e,i,n,a,s,l){var c=n.startAngle<n.endAngle,u=new o.Sector({shape:r.defaults({clockwise:c},n)});if(s){var h=u.shape,d=a?"r":"endAngle",p={};h[d]=a?0:n.startAngle,p[d]=n[d],o[l?"updateProps":"initProps"](u,{shape:p},s,e)}return u}};function g(t,e,i){i.style.text=null,o.updateProps(i,{shape:{width:0}},e,t,function(){i.parent&&i.parent.remove(i)})}function m(t,e,i){i.style.text=null,o.updateProps(i,{shape:{r:i.shape.r0}},e,t,function(){i.parent&&i.parent.remove(i)})}var v={cartesian2d:function(t,e,i){var n=t.getItemLayout(e),a=x(i,n),r=n.width>0?1:-1,o=n.height>0?1:-1;return{x:n.x+r*a/2,y:n.y+o*a/2,width:n.width-r*a,height:n.height-o*a}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function y(t,e,i,n,a,s,c,u){var h=e.getItemVisual(i,"color"),d=e.getItemVisual(i,"opacity"),p=n.getModel("itemStyle"),f=n.getModel("emphasis.itemStyle").getBarItemStyle();u||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(r.defaults({fill:h,opacity:d},p.getBarItemStyle()));var g=n.getShallow("cursor");g&&t.attr("cursor",g);var m=c?a.height>0?"bottom":"top":a.width>0?"left":"right";u||l(t.style,f,n,h,s,i,m),o.setHoverStyle(t,f)}function x(t,e){var i=t.get(d)||0;return Math.min(i,Math.abs(e.width),Math.abs(e.height))}var _=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var i=e.points,n=this.__startPoint,a=this.__valueIdx,r=0;r<i.length;r+=2)n[this.__valueIdx]=i[r+a],t.moveTo(n[0],n[1]),t.lineTo(i[r],i[r+1])}});function b(t,e,i){var n=t.getData(),a=[],r=n.getLayout("valueAxisHorizontal")?1:0;a[1-r]=n.getLayout("valueAxisStart");var o=new _({shape:{points:n.getLayout("largePoints")},incremental:!!i,__startPoint:a,__valueIdx:r});e.add(o),w(o,t,n)}function w(t,e,i){var n=i.getVisual("borderColor")||i.getVisual("color"),a=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(a),t.style.fill=null,t.style.stroke=n,t.style.lineWidth=i.getLayout("barWidth")}t.exports=p},5326:function(t,e,i){"use strict";function n(t,e){var i,n,a,r,o,s=e.x,l=e.y,c=e.width,u=e.height,h=e.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"===typeof h?i=n=a=r=h:h instanceof Array?1===h.length?i=n=a=r=h[0]:2===h.length?(i=a=h[0],n=r=h[1]):3===h.length?(i=h[0],n=r=h[1],a=h[2]):(i=h[0],n=h[1],a=h[2],r=h[3]):i=n=a=r=0,i+n>c&&(o=i+n,i*=c/o,n*=c/o),a+r>c&&(o=a+r,a*=c/o,r*=c/o),n+a>u&&(o=n+a,n*=u/o,a*=u/o),i+r>u&&(o=i+r,i*=u/o,r*=u/o),t.moveTo(s+i,l),t.lineTo(s+c-n,l),0!==n&&t.arc(s+c-n,l+n,n,-Math.PI/2,0),t.lineTo(s+c,l+u-a),0!==a&&t.arc(s+c-a,l+u-a,a,0,Math.PI/2),t.lineTo(s+r,l+u),0!==r&&t.arc(s+r,l+u-r,r,Math.PI/2,Math.PI),t.lineTo(s,l+i),0!==i&&t.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}e.buildPath=n},"53ec":function(t,e,i){"use strict";var n=i("f6b0");function a(t,e){return e=e||{},n(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=a},5454:function(t,e,i){"use strict";var n=i("1073");function a(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var e,i,n=[t];while(e=n.pop())if(i=e.children,e.isExpand&&i.length)for(var a=i.length,r=a-1;r>=0;r--){var o=i[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},n.push(o)}}function r(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,a=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){u(t);var r=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;a?(t.hierNode.prelim=a.hierNode.prelim+e(t,a),t.hierNode.modifier=t.hierNode.prelim-r):t.hierNode.prelim=r}else a&&(t.hierNode.prelim=a.hierNode.prelim+e(t,a));t.parentNode.hierNode.defaultAncestor=h(t,a,t.parentNode.hierNode.defaultAncestor||n[0],e)}function o(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function s(t){return arguments.length?t:m}function l(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i}function c(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u(t){var e=t.children,i=e.length,n=0,a=0;while(--i>=0){var r=e[i];r.hierNode.prelim+=n,r.hierNode.modifier+=n,a+=r.hierNode.change,n+=r.hierNode.shift+a}}function h(t,e,i,n){if(e){var a=t,r=t,o=r.parentNode.children[0],s=e,l=a.hierNode.modifier,c=r.hierNode.modifier,u=o.hierNode.modifier,h=s.hierNode.modifier;while(s=d(s),r=p(r),s&&r){a=d(a),o=p(o),a.hierNode.ancestor=t;var m=s.hierNode.prelim+h-r.hierNode.prelim-c+n(s,r);m>0&&(g(f(s,t,i),t,m),c+=m,l+=m),h+=s.hierNode.modifier,c+=r.hierNode.modifier,l+=a.hierNode.modifier,u+=o.hierNode.modifier}s&&!d(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=h-l),r&&!p(o)&&(o.hierNode.thread=r,o.hierNode.modifier+=c-u,i=t)}return i}function d(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function p(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function f(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function g(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function m(t,e){return t.parentNode===e.parentNode?1:2}e.init=a,e.firstWalk=r,e.secondWalk=o,e.separation=s,e.radialCoordinate=l,e.getViewRect=c},5489:function(t,e,i){"use strict";var n=i("0761"),a=n.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});t.exports=a},"54e3":function(t,e,i){"use strict";var n=i("ac5f");i("468c"),i("25da"),i("6f65");var a=i("e266"),r=i("62f4d");n.registerVisual(a("tree","circle")),n.registerLayout(r)},"55a1":function(t,e,i){"use strict";var n=i("3999"),a=i("00fa"),r=function(t,e,i,n,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=r||!1,a.call(this,n)};r.prototype={constructor:r},n.inherits(r,a);var o=r;t.exports=o},"55e7":function(t,e,i){"use strict";i("ca5f"),i("3791")},5606:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999");function r(t,e){e.update="updateView",n.registerAction(e,function(e,i){var n={};return i.eachComponent({mainType:"geo",query:e},function(i){i[t](e.name);var r=i.coordinateSystem;a.each(r.regions,function(t){n[t.name]=i.isSelected(t.name)||!1})}),{selected:n,name:e.name}})}i("26bd"),i("2894"),i("37ee"),i("173a"),r("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),r("select",{type:"geoSelect",event:"geoselected"}),r("unSelect",{type:"geoUnSelect",event:"geounselected"})},5687:function(t,e,i){"use strict";var n=i("ac5f");i("c8a1"),i("f88e"),n.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}})},"578b":function(t,e,i){"use strict";var n=i("3999"),a=i("ab9a"),r=i("e321"),o=function(t){for(var e in t=t||{},a.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i<e.length;i++)if(e[i].name===t)return e[i]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var i=this._children,n=i.indexOf(e);n>=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,a=this._children,r=n.indexOf(a,t);return r<0?this:(a.splice(r,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh(),this)},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e<i.length;e++)t=i[e],n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),t.parent=null;return i.length=0,this},eachChild:function(t,e){for(var i=this._children,n=0;n<i.length;n++){var a=i[n];t.call(e,a,n)}return this},traverse:function(t,e){for(var i=0;i<this._children.length;i++){var n=this._children[i];t.call(e,n),"group"===n.type&&n.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.addToStorage(i),i instanceof o&&i.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.delFromStorage(i),i instanceof o&&i.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,i=new r(0,0,0,0),n=t||this._children,a=[],o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),c=s.getLocalTransform(a);c?(i.copy(l),i.applyTransform(c),e=e||i.clone(),e.union(i)):(e=e||l.clone(),e.union(l))}}return e||i}},n.inherits(o,a);var s=o;t.exports=s},"57c2":function(t,e,i){"use strict";var n=i("3999"),a=n.createHashMap,r=n.isTypedArray,o=i("2a8d"),s=o.enableClassCheck,l=i("8fe7"),c=l.SOURCE_FORMAT_ORIGINAL,u=l.SERIES_LAYOUT_BY_COLUMN,h=l.SOURCE_FORMAT_UNKNOWN,d=l.SOURCE_FORMAT_TYPED_ARRAY,p=l.SOURCE_FORMAT_KEYED_COLUMNS;function f(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===p?{}:[]),this.sourceFormat=t.sourceFormat||h,this.seriesLayoutBy=t.seriesLayoutBy||u,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&a(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}f.seriesDataToSource=function(t){return new f({data:t,sourceFormat:r(t)?d:c,fromDataset:!1})},s(f);var g=f;t.exports=g},"584e":function(t,e,i){"use strict";var n=i("ac5f");i("a1f9"),i("5055");var a=i("836f"),r=i("7f9c");n.registerVisual(a),n.registerLayout(r)},"599f":function(t,e,i){"use strict";var n=i("3999"),a=i("b59c"),r=i("db34"),o="\0_ec_dataZoom_roams";function s(t,e){var i=u(t),a=e.dataZoomId,o=e.coordId;n.each(i,function(t,i){var r=t.dataZoomInfos;r[a]&&n.indexOf(e.allCoordIds,o)<0&&(delete r[a],t.count--)}),d(i);var s=i[o];s||(s=i[o]={coordId:o,dataZoomInfos:{},count:0},s.controller=h(t,s),s.dispatchAction=n.curry(p,t)),!s.dataZoomInfos[a]&&s.count++,s.dataZoomInfos[a]=e;var l=f(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(e.containsPoint),r.createOrUpdate(s,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")}function l(t,e){var i=u(t);n.each(i,function(t){t.controller.dispose();var i=t.dataZoomInfos;i[e]&&(delete i[e],t.count--)}),d(i)}function c(t){return t.type+"\0_"+t.id}function u(t){var e=t.getZr();return e[o]||(e[o]={})}function h(t,e){var i=new a(t.getZr());return n.each(["pan","zoom","scrollMove"],function(t){i.on(t,function(i){var a=[];n.each(e.dataZoomInfos,function(n){if(i.isAvailableBehavior(n.dataZoomModel.option)){var r=(n.getRange||{})[t],o=r&&r(e.controller,i);!n.dataZoomModel.get("disabled",!0)&&o&&a.push({dataZoomId:n.dataZoomId,start:o[0],end:o[1]})}}),a.length&&e.dispatchAction(a)})}),i}function d(t){n.each(t,function(e,i){e.count||(e.controller.dispose(),delete t[i])})}function p(t,e){t.dispatchAction({type:"dataZoom",batch:e})}function f(t){var e,i="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return n.each(t,function(t){var n=t.dataZoomModel,o=!n.get("disabled",!0)&&(!n.get("zoomLock",!0)||"move");a[i+o]>a[i+e]&&(e=o),r&=n.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}e.register=s,e.unregister=l,e.generateCoordId=c},"5ae5":function(t,e,i){"use strict";var n=i("3999"),a=i("00a4"),r=i("8abd"),o=i("599f"),s=n.bind,l=a.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(t,e,i,a){l.superApply(this,"render",arguments),this._range=t.getPercentRange(),n.each(this.getTargetCoordInfo(),function(e,a){var r=n.map(e,function(t){return o.generateCoordId(t.model)});n.each(e,function(e){var l=e.model,u={};n.each(["pan","zoom","scrollMove"],function(t){u[t]=s(c[t],this,e,a)},this),o.register(i,{coordId:o.generateCoordId(l),allCoordIds:r,containsPoint:function(t,e,i){return l.coordinateSystem.containPoint([e,i])},dataZoomId:t.id,dataZoomModel:t,getRange:u})},this)},this)},dispose:function(){o.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),c={zoom:function(t,e,i,n){var a=this._range,o=a.slice(),s=t.axisModels[0];if(s){var l=h[e](null,[n.originX,n.originY],s,i,t),c=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/n.scale,0);o[0]=(o[0]-c)*u+c,o[1]=(o[1]-c)*u+c;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return r(0,o,[0,100],0,d.minSpan,d.maxSpan),this._range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}},pan:u(function(t,e,i,n,a,r){var o=h[n]([r.oldX,r.oldY],[r.newX,r.newY],e,a,i);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength}),scrollMove:u(function(t,e,i,n,a,r){var o=h[n]([0,0],[r.scrollDelta,r.scrollDelta],e,a,i);return o.signal*(t[1]-t[0])*r.scrollDelta})};function u(t){return function(e,i,n,a){var o=this._range,s=o.slice(),l=e.axisModels[0];if(l){var c=t(s,l,e,i,n,a);return r(c,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var h={grid:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=c[1]-c[0],o.pixelStart=c[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,i,n,a){var r=i.axis,o=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===r.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=r.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=r.inverse?-1:1),s}},d=l;t.exports=d},"5b79":function(t,e,i){"use strict";var n=i("fd9b"),a=new n(50);function r(t){if("string"===typeof t){var e=a.get(t);return e&&e.image}return t}function o(t,e,i,n,r){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var o=a.get(t),c={hostEl:i,cb:n,cbPayload:r};return o?(e=o.image,!l(e)&&o.pending.push(c)):(e=new Image,e.onload=e.onerror=s,a.put(t,e.__cachedImgObj={image:e,pending:[c]}),e.src=e.__zrImageSrc=t),e}return t}return e}function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var i=t.pending[e],n=i.cb;n&&n(this,i.cbPayload),i.hostEl.dirty()}t.pending.length=0}function l(t){return t&&t.width&&t.height}e.findExistImage=r,e.createOrUpdateImage=o,e.isImageReady=l},"5c1c":function(t,e,i){"use strict";var n=i("ac5f");i("5fbf");var a=n.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e,i=this.ecModel;return i.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=a},"5c57":function(t,e,i){"use strict";function n(){}function a(t,e,i,n){for(var a=0,r=e.length,o=0,s=0;a<r;a++){var l=e[a];if(l.removed){for(c=[],u=s;u<s+l.count;u++)c.push(u);l.indices=c,s+=l.count}else{for(var c=[],u=o;u<o+l.count;u++)c.push(u);l.indices=c,o+=l.count,l.added||(s+=l.count)}}return e}function r(t){return{newPos:t.newPos,components:t.components.slice(0)}}n.prototype={diff:function(t,e,i){i||(i=function(t,e){return t===e}),this.equals=i;var n=this;t=t.slice(),e=e.slice();var o=e.length,s=t.length,l=1,c=o+s,u=[{newPos:-1,components:[]}],h=this.extractCommon(u[0],e,t,0);if(u[0].newPos+1>=o&&h+1>=s){for(var d=[],p=0;p<e.length;p++)d.push(p);return[{indices:d,count:e.length}]}function f(){for(var i=-1*l;i<=l;i+=2){var c,h=u[i-1],d=u[i+1],p=(d?d.newPos:0)-i;h&&(u[i-1]=void 0);var f=h&&h.newPos+1<o,g=d&&0<=p&&p<s;if(f||g){if(!f||g&&h.newPos<d.newPos?(c=r(d),n.pushComponent(c.components,void 0,!0)):(c=h,c.newPos++,n.pushComponent(c.components,!0,void 0)),p=n.extractCommon(c,e,t,i),c.newPos+1>=o&&p+1>=s)return a(n,c.components,e,t);u[i]=c}else u[i]=void 0}l++}while(l<=c){var g=f();if(g)return g}},pushComponent:function(t,e,i){var n=t[t.length-1];n&&n.added===e&&n.removed===i?t[t.length-1]={count:n.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,n){var a=e.length,r=i.length,o=t.newPos,s=o-n,l=0;while(o+1<a&&s+1<r&&this.equals(e[o+1],i[s+1]))o++,s++,l++;return l&&t.components.push({count:l}),t.newPos=o,s},tokenize:function(t){return t.slice()},join:function(t){return t.slice()}};var o=new n;function s(t,e,i){return o.diff(t,e,i)}t.exports=s},"5da4":function(t,e,i){"use strict";var n=i("0290");n.registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})},"5dd0":function(t,e,i){"use strict";var n=i("4e33"),a=i("e321"),r=i("9399"),o=r.WILL_BE_RESTORED,s=new a,l=function(){};l.prototype={constructor:l,drawRectText:function(t,e){var i=this.style;e=i.textRect||e,this.__dirty&&n.normalizeTextStyle(i,!0);var a=i.text;if(null!=a&&(a+=""),n.needDrawText(a,i)){t.save();var r=this.transform;i.transformText?this.setTransform(t):r&&(s.copy(e),s.applyTransform(r),e=s),n.renderText(this,t,a,i,e,o),t.restore()}}};var c=l;t.exports=c},"5ee6":function(t,e,i){"use strict";var n=i("3999"),a=i("e689"),r=i("bc9d"),o=i("6f3e"),s=i("772b"),l=["axisLine","axisTickLabel","axisName"],c="splitLine",u=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,i,r){var s=this.group;s.removeAll();var h=o.layout(t),d=new a(t,h);n.each(l,d.add,d),s.add(d.getGroup()),t.get(c+".show")&&this["_"+c](t),u.superCall(this,"render",t,e,i,r)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var i=t.getModel("splitLine"),n=i.getModel("lineStyle"),a=n.get("width"),o=n.get("color");o=o instanceof Array?o:[o];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),c=[],u=0,h=e.getTicksCoords({tickModel:i}),d=[],p=[],f=0;f<h.length;++f){var g=e.toGlobalCoord(h[f].coord);l?(d[0]=g,d[1]=s.y,p[0]=g,p[1]=s.y+s.height):(d[0]=s.x,d[1]=g,p[0]=s.x+s.width,p[1]=g);var m=u++%o.length;c[m]=c[m]||[],c[m].push(new r.Line(r.subPixelOptimizeLine({shape:{x1:d[0],y1:d[1],x2:p[0],y2:p[1]},style:{lineWidth:a},silent:!0})))}for(f=0;f<c.length;++f)this.group.add(r.mergePath(c[f],{style:{stroke:o[f%o.length],lineDash:n.getLineDash(a),lineWidth:a},silent:!0}))}}}),h=u;t.exports=h},"5f27":function(t,e,i){"use strict";var n=i("0290");n.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},"5fbf":function(t,e,i){"use strict";var n=i("3999"),a=i("0290"),r=i("9b77"),o=i("d4d0"),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});n.merge(s.prototype,o);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(t,e){return e.type||(e.data?"category":"value")}r("angle",s,c,l.angle),r("radius",s,c,l.radius)},"5fdf":function(t,e,i){"use strict";var n=i("3999"),a=i("1767");function r(t,e,i){a.call(this,t,e,i),this.type="value",this.angle=0,this.name="",this.model}n.inherits(r,a);var o=r;t.exports=o},"5ff2":function(t,e,i){"use strict";var n=i("4a54"),a=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getBarItemStyle:function(t){var e=a(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(e.lineDash=i)}return e}};t.exports=r},6021:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("42e9"),o=n.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){o.superApply(this,"optionUpdated",arguments),a.each(this.option.feature,function(t,e){var i=r.get(e);i&&a.merge(t,i.defaultOption)})},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"}}}}),s=o;t.exports=s},"61ab":function(t,e,i){"use strict";var n=i("3999");function a(t,e){return e=e||[0,0],n.map(["x","y"],function(i,n){var a=this.getAxis(i),r=e[n],o=t[n]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(r-o)-a.dataToCoord(r+o))},this)}function r(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}t.exports=r},"628b":function(t,e,i){"use strict";var n=i("26a6"),a=i("a75d"),r=n.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:a(n.prototype.brush),buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,l=e.clockwise,c=Math.cos(o),u=Math.sin(o);t.moveTo(c*a+i,u*a+n),t.lineTo(c*r+i,u*r+n),t.arc(i,n,r,o,s,!l),t.lineTo(Math.cos(s)*a+i,Math.sin(s)*a+n),0!==a&&t.arc(i,n,a,s,o,l),t.closePath()}});t.exports=r},"62e6":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={index:{store:"商场",gate:"出入口",openStore:"已开业商场数量",accountReal:"集团实时客流",accountAdd:"集团累计客流",accountRank:"全国商场排名",accountTrend:"集团近期趋势",storeSelect:"商场选择",allStore:"全部商场",storeReal:"商场实时客流",storeAdd:"商场累计客流",storeTrend:"商场近期趋势",areaSelect:"店铺选择",area:"店铺",areaReal:"店铺实时客流",areaAdd:"店铺累计客流",areaTrend:"店铺近期趋势"}},a=n;e.default=a},"62f4":function(t,e,i){"use strict";var n=i("779f");e.Dispatcher=n;var a=i("35c7"),r="undefined"!==typeof window&&!!window.addEventListener,o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/;function s(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}function l(t,e,i,n){return i=i||{},n||!a.canvasSupported?c(t,e,i):a.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):c(t,e,i),i}function c(t,e,i){var n=s(t);i.zrX=e.clientX-n.left,i.zrY=e.clientY-n.top}function u(t,e,i){if(e=e||window.event,null!=e.zrX)return e;var n=e.type,a=n&&n.indexOf("touch")>=0;if(a){var r="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,i)}else l(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function h(t,e,i){r?t.addEventListener(e,i):t.attachEvent("on"+e,i)}function d(t,e,i){r?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}var p=r?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function f(t){return 2===t.which||3===t.which}function g(t){return t.which>1}e.clientToLocal=l,e.normalizeEvent=u,e.addEventListener=h,e.removeEventListener=d,e.stop=p,e.isMiddleOrRightButtonOnMouseUpDown=f,e.notLeftMouse=g},"62f4d":function(t,e,i){"use strict";var n=i("94f4"),a=n.eachAfter,r=n.eachBefore,o=i("5454"),s=o.init,l=o.firstWalk,c=o.secondWalk,u=o.separation,h=o.radialCoordinate,d=o.getViewRect;function p(t,e){t.eachSeriesByType("tree",function(t){f(t,e)})}function f(t,e){var i=d(t,e);t.layoutInfo=i;var n=t.get("layout"),o=0,p=0,f=null;"radial"===n?(o=2*Math.PI,p=Math.min(i.height,i.width)/2,f=u(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(o=i.width,p=i.height,f=u());var g=t.getData().tree.root,m=g.children[0];if(m){s(g),a(m,l,f),g.hierNode.modifier=-m.hierNode.prelim,r(m,c);var v=m,y=m,x=m;r(m,function(t){var e=t.getLayout().x;e<v.getLayout().x&&(v=t),e>y.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)});var _=v===y?1:f(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,T=0;if("radial"===n)w=o/(y.getLayout().x+_+b),S=p/(x.depth-1||1),r(m,function(t){M=(t.getLayout().x+b)*w,T=(t.depth-1)*S;var e=h(M,T);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:T},!0)});else{var A=t.getOrient();"RL"===A||"LR"===A?(S=p/(y.getLayout().x+_+b),w=o/(x.depth-1||1),r(m,function(t){T=(t.getLayout().x+b)*S,M="LR"===A?(t.depth-1)*w:o-(t.depth-1)*w,t.setLayout({x:M,y:T},!0)})):"TB"!==A&&"BT"!==A||(w=o/(y.getLayout().x+_+b),S=p/(x.depth-1||1),r(m,function(t){M=(t.getLayout().x+b)*w,T="TB"===A?(t.depth-1)*S:p-(t.depth-1)*S,t.setLayout({x:M,y:T},!0)}))}}}t.exports=p},"62f8":function(t,e,i){"use strict";var n=i("3999"),a=i("1767"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.position=r||"bottom"};r.prototype={constructor:r,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},n.inherits(r,a);var o=r;t.exports=o},"63a1":function(t,e,i){"use strict";var n=i("ac5f");i("2b78"),i("a61c"),i("3c98"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},"63e1":function(t,e,i){"use strict";var n=i("0290"),a=i("a57a"),r=i("fae5"),o=r.detectSourceFormat,s=i("8fe7"),l=s.SERIES_LAYOUT_BY_COLUMN;n.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),a.extend({type:"dataset"})},"65df":function(t,e,i){"use strict";var n=i("a220"),a=1e-8;function r(t,e){return Math.abs(t-e)<a}function o(t,e,i){var a=0,o=t[0];if(!o)return!1;for(var s=1;s<t.length;s++){var l=t[s];a+=n(o[0],o[1],l[0],l[1],e,i),o=l}var c=t[0];return r(o[0],c[0])&&r(o[1],c[1])||(a+=n(o[0],o[1],c[0],c[1],e,i)),0!==a}e.contain=o},"66c7":function(t,e,i){"use strict";var n=i("3999"),a=n.each,r=i("578b"),o=i("2ef2"),s=i("2a8d"),l=i("f63f"),c=i("0744"),u=c.createTask,h=i("6ad5"),d=l.makeInner(),p=h();function f(){this.group=new r,this.uid=o.getUID("viewChart"),this.renderTask=u({plan:y,reset:x}),this.renderTask.context={view:this}}f.prototype={type:"chart",init:function(t,e){},render:function(t,e,i,n){},highlight:function(t,e,i,n){v(t.getData(),n,"emphasis")},downplay:function(t,e,i,n){v(t.getData(),n,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var g=f.prototype;function m(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var i=0;i<t.childCount();i++)m(t.childAt(i),e)}function v(t,e,i){var n=l.queryDataIndex(t,e);null!=n?a(l.normalizeToArray(n),function(e){m(t.getItemGraphicEl(e),i)}):t.eachItemGraphicEl(function(t){m(t,i)})}function y(t){return p(t.model)}function x(t){var e=t.model,i=t.ecModel,n=t.api,a=t.payload,r=e.pipelineContext.progressiveRender,o=t.view,s=a&&d(a).updateMethod,l=r?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,i,n,a),_[l]}g.updateView=g.updateLayout=g.updateVisual=function(t,e,i,n){this.render(t,e,i,n)},s.enableClassExtend(f,["dispose"]),s.enableClassManagement(f,{registerWhenExtend:!0}),f.markUpdateMethod=function(t,e){d(t).updateMethod=e};var _={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)}}},b=f;t.exports=b},6840:function(t,e,i){"use strict";var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var a={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=a},"68a9":function(t,e,i){"use strict";var n=i("df36"),a=i("90b2"),r=i("b04a"),o=r.encodeHTML,s=n.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(t){var e=t.edges||t.links,i=t.data||t.nodes;if(i&&e){var n=a(i,e,this,!0);return n.data}},setNodePosition:function(t,e){var i=this.option.data[t];i.localX=e[0],i.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getDataParams(t,i),a=n.data,r=a.source+" -- "+a.target;return n.value&&(r+=" : "+n.value),o(r)}return s.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}}),l=s;t.exports=l},6939:function(t,e,i){"use strict";
/*!
               * minirefresh v2.0.2
               * (c) 2017-2018 dailc
               * Released under the MIT License.
               * https://github.com/minirefresh/minirefresh
               */
/*!
               * minirefresh v2.0.2
               * (c) 2017-2018 dailc
               * Released under the MIT License.
               * https://github.com/minirefresh/minirefresh
               */
(function(e,i){t.exports=i()})(0,function(){function t(){return window.performance&&(window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date)}var e=function(){};function i(t){return Array.isArray?Array.isArray(t):t instanceof Array}function n(t){var e=Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1];return"String"!==e&&"Number"!==e&&"Boolean"!==e&&"Undefined"!==e&&"Null"!==e}function a(t){return t&&t===window}function r(t){return n(t)&&!a(t)&&Object.getPrototypeOf(t)===Object.prototype}function o(){var t=arguments,e=arguments.length,a=(arguments.length<=0?void 0:arguments[0])||{},s=1,l=!1;"boolean"===typeof a&&(l=a,a=(arguments.length<=s?void 0:arguments[s])||{},s++),n(a)||(a={});for(var c=function(){var e=t.length<=s?void 0:t[s];e&&n(e)&&Object.keys(e).forEach(function(t){var n=a[t],s=e[t],c=r(s),u=i(s),h=void 0;a!==s&&(l&&s&&(u||c)?(u?(u=!1,h=n&&i(n)?n:[]):h=n&&r(n)?n:{},a[t]=o(l,h,s)):void 0!==s&&(a[t]=s))})};s<e;s++)c();return a}function s(t){var e=t;return"string"===typeof e&&(e=document.querySelector(e)),e}function l(t){var e=t.clientHeight;return t===document.body&&"CSS1Compat"===document.compatMode&&(e=document.documentElement.clientHeight),e}function c(t,e,i){if(!e)return t;for(var n=e.split("."),a=n.length,r=t,o=0;o<a-1;o+=1){var s=n[o];r[s]=r[s]||{},r=r[s]}return r[n[a-1]]=i,i}var u=Object.freeze({getNow:t,noop:e,isArray:i,isObject:n,isWindow:a,isPlainObject:r,extend:o,selector:s,getClientHeightByDom:l,namespace:c});function h(t){var e=t,i=function(t){this.os={};var e=t.match(/(Android);?[\s\/]+([\d.]+)?/);e&&(this.os.android=!0,this.os.version=e[2],this.os.isBadAndroid=!/Chrome\/\d/.test(window.navigator.appVersion));var i=t.match(/(iPhone\sOS)\s([\d_]+)/);i&&(this.os.ios=!0,this.os.iphone=!0,this.os.version=i[2].replace(/_/g,"."));var n=t.match(/(iPad).*OS\s([\d_]+)/);n&&(this.os.ios=!0,this.os.ipad=!0,this.os.version=n[2].replace(/_/g,"."));var a=t.match(/QuickHybrid/i);a&&(this.os.quick=!0);var r=t.match(/EpointEJS/i);r&&(this.os.ejs=!0);var o=t.match(/DingTalk/i);o&&(this.os.dd=!0),r||o||a||(this.os.h5=!0)};i.call(e,navigator.userAgent)}var d=1e3/60,p=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||d)/2)}}(),f=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var m="initScroll",v="scroll",y="pull",x="upLoading",_="resetUpLoading",b="downLoading",w="cancelLoading",S="beforeDownLoading",M=1e3/60,T=function(){function t(e){g(this,t),this.contentWrap=e.contentWrap,this.scrollWrap=e.scrollWrap,this.options=e.options,this.os=e.os,this.events={},this.hooks={},this.isScrollTo=!1,this.upLoading=!1,this.downLoading=!1,this.isFinishUp=!1,this._init()}return f(t,[{key:"_init",value:function(){var t=this;this._initPullDown(),this._initPullUp(),setTimeout(function(){t.options.down&&t.options.down.isAuto&&!t.options.down.isLock?t.options.down.isAllowAutoLoading?t.triggerDownLoading():t.events[b]&&t.events[b](!0):t.options.up&&t.options.up.isAuto&&!t.options.up.isLock&&t.triggerUpLoading(),t.events[m]&&t.events[m]()})}},{key:"refreshOptions",value:function(t){this.options=t}},{key:"translateContentWrap",value:function(t,e){var i=t||0,n=e||0;if(this.downHight=i,this.options.down.isScrollCssTranslate){var a=this.contentWrap;a.style.webkitTransitionDuration=n+"ms",a.style.transitionDuration=n+"ms",a.style.webkitTransform="translate(0px, "+i+"px) translateZ(0px)",a.style.transform="translate(0px, "+i+"px) translateZ(0px)"}}},{key:"_scrollWrapAnimation",value:function(){this.scrollWrap.webkitTransitionTimingFunction="cubic-bezier(0.1, 0.57, 0.1, 1)",this.scrollWrap.transitionTimingFunction="cubic-bezier(0.1, 0.57, 0.1, 1)"}},{key:"_initPullDown",value:function(){var t=this,e=this.scrollWrap,i=document.documentElement.clientHeight;this._scrollWrapAnimation();var n=function(i){t.isScrollTo&&i.preventDefault(),t.startTop=e.scrollTop,t.startY=i.touches?i.touches[0].pageY:i.clientY,t.startX=i.touches?i.touches[0].pageX:i.clientX};e.addEventListener("touchstart",n),e.addEventListener("mousedown",n);var a=function(){var e=t.options;t.isMoveDown&&(t.downHight>=e.down.offset?t.triggerDownLoading():(t.translateContentWrap(0,e.down.bounceTime),t.events[w]&&t.events[w]()),t.isMoveDown=!1),t.startY=0,t.startX=0,t.preY=0,t.startTop=void 0,t.isBounce=!1};e.addEventListener("touchend",a),e.addEventListener("mouseup",a),e.addEventListener("mouseleave",a);var r=function(n){var r=t.options,o=!0;if(t.downLoading?o=!1:!r.down.isAways&&t.upLoading&&(o=!1),void 0!==t.startTop&&t.startTop<=0&&o&&!t.options.down.isLock){var s=n.touches?n.touches[0].pageY:n.clientY,l=n.touches?n.touches[0].pageX:n.clientX;if(s>i)return void a(n);t.preY||(t.preY=s);var c=s-t.preY;t.preY=s;var u=s-t.startY,h=l-t.startX;if(r.isLockX&&Math.abs(h)>Math.abs(u))return void n.preventDefault();if(t.isBounce&&t.os.ios)return;if(u>0){t.isMoveDown=!0,n.preventDefault(),t.downHight||(t.downHight=0);var d=r.down.offset,p=1;p=t.downHight<d?r.down.dampRateBegin:r.down.dampRate,t.downHight+=c>0?c*p:c,t.events[y]&&t.events[y](t.downHight,d),t.translateContentWrap(t.downHight)}else t.isBounce=!0,e.scrollTop<=0&&(e.scrollTop+=Math.abs(c))}};e.addEventListener("touchmove",r),e.addEventListener("mousemove",r)}},{key:"_initPullUp",value:function(){var t=this,e=this.scrollWrap,i=e===document.body?window:e;i.addEventListener("scroll",function(){var i=e.scrollTop,n=e.scrollHeight,a=l(e),r=t.options;t.events[v]&&t.events[v](i);var o=!0;if(t.upLoading?o=!1:!r.down.isAways&&t.downLoading&&(o=!1),o&&!t.options.up.isLock&&!t.isFinishUp&&n>0){var s=n-a-i;s<=r.up.offset&&t.triggerUpLoading()}})}},{key:"_loadFull",value:function(){var t=this,e=this.scrollWrap,i=this.options;setTimeout(function(){!t.options.up.isLock&&i.up.loadFull.isEnable&&0===e.scrollTop&&e.scrollHeight>0&&e.scrollHeight<=l(e)&&t.triggerUpLoading()},i.up.loadFull.delay||0)}},{key:"triggerDownLoading",value:function(){var t=this.options;this.hooks[S]&&!this.hooks[S](this.downHight,t.down.offset)||(this.downLoading=!0,this.translateContentWrap(t.down.offset,t.down.bounceTime),this.events[b]&&this.events[b]())}},{key:"endDownLoading",value:function(){var t=this.options;this.downLoading&&(this.translateContentWrap(0,t.down.bounceTime),this.downLoading=!1)}},{key:"triggerUpLoading",value:function(){this.upLoading=!0,this.events[x]&&this.events[x]()}},{key:"endUpLoading",value:function(t){this.upLoading&&(this.upLoading=!1,t?this.isFinishUp=!0:this._loadFull())}},{key:"resetUpLoading",value:function(){this.isFinishUp&&(this.isFinishUp=!1),this._loadFull(),this.events[_]&&this.events[_]()}},{key:"scrollTo",value:function(t,e){var i=this,n=this.scrollWrap,a=e||0,r=n.scrollHeight-l(n),o=t||0;o=Math.max(o,0),o=Math.min(o,r);var s=n.scrollTop-o;if(0!==s&&0!==a){var c=Math.floor(a/M),u=s/c,h=0,d=function t(){h<c?(h===c-1?n.scrollTop=o:n.scrollTop-=u,h+=1,p(t)):(n.scrollTop=o,i.isScrollTo=!1)};this.isScrollTo=!0,p(d)}else n.scrollTop=o}},{key:"on",value:function(t,e){t&&"function"===typeof e&&(this.events[t]=e)}},{key:"hook",value:function(t,e){t&&"function"===typeof e&&(this.hooks[t]=e)}}]),t}(),A=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function I(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var C={down:{isLock:!1,isAuto:!1,isAllowAutoLoading:!0,isAways:!1,isScrollCssTranslate:!0,isAutoResetUpLoading:!0,offset:75,dampRateBegin:1,dampRate:.3,bounceTime:300,successAnim:{isEnable:!1,duration:300},onPull:null,onCalcel:null,callback:e},up:{isLock:!1,isAuto:!0,isShowUpLoading:!0,offset:100,loadFull:{isEnable:!0,delay:300},onScroll:null,callback:e},container:"#minirefresh",isLockX:!0,isScrollBar:!0,isUseBodyScroll:!1},D="minirefresh-hide-scrollbar",L=function(){function t(e){I(this,t),h(this),this.options=o(!0,{},C,e),this.container=s(this.options.container),this.contentWrap=this.container.children[0],this.scrollWrap=this.options.isUseBodyScroll?document.body:this.container,this.options.isScrollBar||this.container.classList.add(D),this._initHook&&this._initHook(this.options.down.isLock,this.options.up.isLock),this.scroller=new T(this),this._initEvent(),this.options.up.isLock&&this._lockUpLoading(this.options.up.isLock),this.options.down.isLock&&this._lockDownLoading(this.options.down.isLock)}return A(t,[{key:"_initEvent",value:function(){var t=this,e=this.options;this.scroller.on("initScroll",function(){t._initScrollHook&&t._initScrollHook()}),this.scroller.on("downLoading",function(i){!i&&t._downLoaingHook&&t._downLoaingHook(),e.down.callback&&e.down.callback()}),this.scroller.on("cancelLoading",function(){t._cancelLoaingHook&&t._cancelLoaingHook(),e.down.onCalcel&&e.down.onCalcel()}),this.scroller.on("pull",function(i,n){t._pullHook&&t._pullHook(i,n),e.down.onPull&&e.down.onPull(i,n)}),this.scroller.on("upLoading",function(){t._upLoaingHook&&t._upLoaingHook(t.options.up.isShowUpLoading),e.up.callback&&e.up.callback(t.options.up.isShowUpLoading)}),this.scroller.on("resetUpLoading",function(){t._resetUpLoadingHook&&t._resetUpLoadingHook()}),this.scroller.on("scroll",function(i){t._scrollHook&&t._scrollHook(i),e.up.onScroll&&e.up.onScroll(i)}),this.scroller.hook("beforeDownLoading",function(e,i){return!t._beforeDownLoadingHook||t._beforeDownLoadingHook(e,i)})}},{key:"_endDownLoading",value:function(t,e){var i=this;if(this.options.down&&this.scroller.downLoading){var n=this.options.down.successAnim.isEnable,a=this.options.down.successAnim.duration;n?this._downLoaingSuccessHook&&this._downLoaingSuccessHook(t,e):a=0,setTimeout(function(){i.scroller.endDownLoading(),i._downLoaingEndHook&&i._downLoaingEndHook(t)},a)}}},{key:"_lockUpLoading",value:function(t){this.options.up.isLock=t,this._lockUpLoadingHook&&this._lockUpLoadingHook(t)}},{key:"_lockDownLoading",value:function(t){this.options.down.isLock=t,this._lockDownLoadingHook&&this._lockDownLoadingHook(t)}},{key:"refreshOptions",value:function(t){this.options=o(!0,{},this.options,t),this.scroller.refreshOptions(this.options),this._lockUpLoading(this.options.up.isLock),this._lockDownLoading(this.options.down.isLock),this._refreshHook&&this._refreshHook()}},{key:"endDownLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments[1];this._endDownLoading(t,e),this.options.down.isAutoResetUpLoading&&this.resetUpLoading()}},{key:"resetUpLoading",value:function(){this.scroller.resetUpLoading()}},{key:"endUpLoading",value:function(t){this.scroller.upLoading&&(this.scroller.endUpLoading(t),this._upLoaingEndHook&&this._upLoaingEndHook(t))}},{key:"triggerUpLoading",value:function(){this.scroller.triggerUpLoading()}},{key:"triggerDownLoading",value:function(){this.scroller.scrollTo(0),this.scroller.triggerDownLoading()}},{key:"scrollTo",value:function(t,e){this.scroller.scrollTo(t,e)}},{key:"getPosition",value:function(){return this.scrollWrap.scrollTop}}]),t}(),k={};Object.keys(u).forEach(function(t){k[t]=u[t]}),k.namespace=function(t,e){c(k,t,e)},k.Core=L,k.version="2.0.0",window.MiniRefreshTools=k;var P=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function O(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var N=MiniRefreshTools.Core,z=MiniRefreshTools.version,V=MiniRefreshTools.extend,B=MiniRefreshTools.namespace,W="minirefresh-theme-default",F="minirefresh-downwrap",H="minirefresh-upwrap",G="minirefresh-fade-in",Y="minirefresh-fade-out",X="minirefresh-totop",U="minirefresh-rotate",j="minirefresh-hardware-speedup",Z="minirefresh-hidden",q="body-scroll-wrap",Q="downwrap-success",K="downwrap-error",J="status-default",$="status-pull",tt="status-loading",et="status-success",it="status-error",nt="status-nomore",at=75,rt={down:{successAnim:{isEnable:!1,duration:300},contentdown:"下拉刷新",contentover:"释放刷新",contentrefresh:"加载中...",contentsuccess:"刷新成功",contenterror:"刷新失败",isWrapCssTranslate:!1},up:{toTop:{isEnable:!0,duration:300,offset:800},contentdown:"",contentrefresh:"加载中...",contentnomore:"没有更多数据了"}},ot=function(t){function e(t){R(this,e);var i=V(!0,{},rt,t);return E(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i))}return O(e,t),P(e,[{key:"_initHook",value:function(){var t=this.container,e=this.contentWrap;t.classList.add(W),e.classList.add(j),this.options.isUseBodyScroll&&(t.classList.add(q),e.classList.add(q)),this._initDownWrap(),this._initUpWrap(),this._initToTop()}},{key:"_refreshHook",value:function(){this.options.down.isWrapCssTranslate?this._transformDownWrap(-this.downWrapHeight):this._transformDownWrap(0,0,!0),this.options.up.toTop.isEnable||(this.toTopBtn&&this.toTopBtn.classList.add(Z),this.isShowToTopBtn=!1)}},{key:"_initDownWrap",value:function(){var t=this.container,i=this.contentWrap,n=this.options,a=document.createElement("div");a.className=F+" "+j,a.innerHTML=' \n            <div class="downwrap-content">\n                <p class="downwrap-progress"></p>\n                <p class="downwrap-tips">'+n.down.contentdown+"</p>\n            </div>\n        ",t.insertBefore(a,i),this.downWrap=a,this.downWrapProgress=this.downWrap.querySelector(".downwrap-progress"),this.downWrapTips=this.downWrap.querySelector(".downwrap-tips"),this.isCanPullDown=!1,this.downWrapHeight=a.offsetHeight||at,this._transformDownWrap(-this.downWrapHeight),e._changeWrapStatusClass(this.downWrap,J)}},{key:"_transformDownWrap",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2];if(i||this.options.down.isWrapCssTranslate){var n=e+"ms",a="translateY("+t+"px)  translateZ(0px)";this.downWrap.style.webkitTransitionDuration=n,this.downWrap.style.transitionDuration=n,this.downWrap.style.webkitTransform=a,this.downWrap.style.transform=a}}},{key:"_initUpWrap",value:function(){var t=this.contentWrap,i=this.options,n=document.createElement("div");n.className=H+" "+j,n.innerHTML=' \n            <p class="upwrap-progress"></p>\n            <p class="upwrap-tips">'+i.up.contentdown+"</p>\n        ",n.style.visibility="hidden",t.appendChild(n),this.upWrap=n,this.upWrapProgress=this.upWrap.querySelector(".upwrap-progress"),this.upWrapTips=this.upWrap.querySelector(".upwrap-tips"),e._changeWrapStatusClass(this.upWrap,J)}},{key:"_initToTop",value:function(){var t=this,e=this.options,i=e.up.toTop.isEnable,n=e.up.toTop.duration;if(i){var a=document.createElement("div");a.className=X+" "+W,a.onclick=function(){t.scroller.scrollTo(0,n)},a.classList.add(Z),this.toTopBtn=a,this.isShowToTopBtn=!1,this.container.appendChild(a)}}},{key:"_pullHook",value:function(t,i){var n=this.options,a=360;if(t<i?this.isCanPullDown&&(this.isCanPullDown=!1,e._changeWrapStatusClass(this.downWrap,J),this.downWrapTips.innerText=n.down.contentdown):this.isCanPullDown||(this.downWrapTips.innerText=n.down.contentover,this.isCanPullDown=!0,e._changeWrapStatusClass(this.downWrap,$)),this.downWrapProgress){var r=t/i,o=a*r,s="rotate("+o+"deg)";this.downWrapProgress.style.webkitTransform=s,this.downWrapProgress.style.transform=s}this._transformDownWrap(-this.downWrapHeight+t)}},{key:"_scrollHook",value:function(t){var e=this.options,i=e.up.toTop.isEnable,n=this.toTopBtn;i&&n&&(t>=e.up.toTop.offset?this.isShowToTopBtn||(n.classList.remove(Y),n.classList.remove(Z),n.classList.add(G),this.isShowToTopBtn=!0):this.isShowToTopBtn&&(n.classList.add(Y),n.classList.remove(G),this.isShowToTopBtn=!1))}},{key:"_downLoaingHook",value:function(){this._transformDownWrap(-this.downWrapHeight+this.options.down.offset,this.options.down.bounceTime),this.downWrapTips.innerText=this.options.down.contentrefresh,this.downWrapProgress.classList.add(U),e._changeWrapStatusClass(this.downWrap,tt)}},{key:"_downLoaingSuccessHook",value:function(t,i){this.options.down.contentsuccess=i||this.options.down.contentsuccess,this.downWrapTips.innerText=t?this.options.down.contentsuccess:this.options.down.contenterror,this.downWrapProgress.classList.remove(U),this.downWrapProgress.classList.add(Y),this.downWrapProgress.classList.add(t?Q:K),e._changeWrapStatusClass(this.downWrap,t?et:it)}},{key:"_downLoaingEndHook",value:function(t){this.downWrapTips.innerText=this.options.down.contentdown,this.downWrapProgress.classList.remove(U),this.downWrapProgress.classList.remove(Y),this.downWrapProgress.classList.remove(t?Q:K),this.isCanPullDown=!1,this._transformDownWrap(-this.downWrapHeight,this.options.down.bounceTime),e._changeWrapStatusClass(this.downWrap,J)}},{key:"_cancelLoaingHook",value:function(){this._transformDownWrap(-this.downWrapHeight,this.options.down.bounceTime),e._changeWrapStatusClass(this.downWrap,J)}},{key:"_upLoaingHook",value:function(t){t?(this.upWrapTips.innerText=this.options.up.contentrefresh,this.upWrapProgress.classList.add(U),this.upWrapProgress.classList.remove(Z),this.upWrap.style.visibility="visible"):this.upWrap.style.visibility="hidden",e._changeWrapStatusClass(this.upWrap,tt)}},{key:"_upLoaingEndHook",value:function(t){t?(this.upWrapTips.innerText=this.options.up.contentnomore,e._changeWrapStatusClass(this.upWrap,nt)):(this.upWrapTips.innerText=this.options.up.contentdown,e._changeWrapStatusClass(this.upWrap,J)),this.upWrapProgress.classList.remove(U),this.upWrapProgress.classList.add(Z)}},{key:"_resetUpLoadingHook",value:function(){this.upWrapTips.innerText=this.options.up.contentdown,this.upWrapProgress.classList.remove(U),this.upWrapProgress.classList.add(Z),e._changeWrapStatusClass(this.upWrap,J)}},{key:"_lockUpLoadingHook",value:function(t){this.upWrap.style.visibility=t?"hidden":"visible"}},{key:"_lockDownLoadingHook",value:function(t){this.downWrap.style.visibility=t?"hidden":"visible"}}],[{key:"_changeWrapStatusClass",value:function(t,e){t.classList.remove(nt),t.classList.remove(J),t.classList.remove($),t.classList.remove(tt),t.classList.remove(et),t.classList.remove(it),t.classList.add(e)}}]),e}(N);return ot.sign="default",ot.version=z,B("theme.defaults",ot),window.MiniRefresh=ot,k})},6964:function(t,e,i){"use strict";var n=i("75e6"),a=i("1637"),r=n.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=l.prototype;c.transform=null,c.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var u=[];c.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),a=this.transform;if(i||e){a=a||n.create(),i?this.getLocalTransform(a):r(a),e&&(i?n.mul(a,t.transform,a):n.copy(a,t.transform)),this.transform=a;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(u);var s=u[0]<0?-1:1,l=u[1]<0?-1:1,c=((u[0]-s)*o+s)/u[0]||0,h=((u[1]-l)*o+l)/u[1]||0;a[0]*=c,a[1]*=c,a[2]*=h,a[3]*=h}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,a)}else a&&r(a)},c.getLocalTransform=function(t){return l.getLocalTransform(this,t)},c.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},c.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[],d=n.create();c.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=this.position,a=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),n[0]=t[4],n[1]=t[5],a[0]=e,a[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},c.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(h,t.invTransform,e),e=h);var i=this.origin;i&&(i[0]||i[1])&&(d[4]=i[0],d[5]=i[1],n.mul(h,e,d),h[4]-=i[0],h[5]-=i[1],e=h),this.setLocalTransform(e)}},c.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)},c.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&a.applyTransform(i,i,n),i},c.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&a.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){e=e||[],r(e);var i=t.origin,a=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,a),o&&n.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var p=l;t.exports=p},"69b9":function(t,e,i){"use strict";var n=i("3999"),a=i("8a7d");function r(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),i=t.coordinateSystem,n={},r=i.getRect();n.rect=r;var s=t.get("boundaryGap"),l=i.getAxis();if(n.boundaryGap=s,"horizontal"===l.orient){s[0]=a.parsePercent(s[0],r.height),s[1]=a.parsePercent(s[1],r.height);var c=r.height-s[0]-s[1];o(e,t,c)}else{s[0]=a.parsePercent(s[0],r.width),s[1]=a.parsePercent(s[1],r.width);var u=r.width-s[0]-s[1];o(e,t,u)}e.setLayout("layoutInfo",n)})}function o(t,e,i){if(t.count())for(var a,r=e.coordinateSystem,o=e.getLayerSeries(),l=t.mapDimension("single"),c=t.mapDimension("value"),u=n.map(o,function(e){return n.map(e.indices,function(e){var i=r.dataToPoint(t.get(l,e));return i[1]=t.get(c,e),i})}),h=s(u),d=h.y0,p=i/h.max,f=o.length,g=o[0].indices.length,m=0;m<g;++m){a=d[m]*p,t.setItemLayout(o[0].indices[m],{layerIndex:0,x:u[0][m][0],y0:a,y:u[0][m][1]*p});for(var v=1;v<f;++v)a+=u[v-1][m][1]*p,t.setItemLayout(o[v].indices[m],{layerIndex:v,x:u[v][m][0],y0:a,y:u[v][m][1]*p})}}function s(t){for(var e=t.length,i=t[0].length,n=[],a=[],r=0,o={},s=0;s<i;++s){for(var l=0,c=0;l<e;++l)c+=t[l][s][1];c>r&&(r=c),n.push(c)}for(var u=0;u<i;++u)a[u]=(r-n[u])/2;r=0;for(var h=0;h<i;++h){var d=n[h]+a[h];d>r&&(r=d)}return o.y0=a,o.max=r,o}t.exports=r},"6a52":function(t,e,i){"use strict";var n=i("62f4"),a=function(){this._track=[]};function r(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function o(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}a.prototype={constructor:a,recognize:function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,i){var a=t.touches;if(a){for(var r={points:[],touches:[],target:e,event:t},o=0,s=a.length;o<s;o++){var l=a[o],c=n.clientToLocal(i,l,{});r.points.push([c.zrX,c.zrY]),r.touches.push(l)}this._track.push(r)}},_recognize:function(t){for(var e in s)if(s.hasOwnProperty(e)){var i=s[e](this._track,t);if(i)return i}}};var s={pinch:function(t,e){var i=t.length;if(i){var n=(t[i-1]||{}).points,a=(t[i-2]||{}).points||n;if(a&&a.length>1&&n&&n.length>1){var s=r(n)/r(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=o(n);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},l=a;t.exports=l},"6ad5":function(t,e,i){"use strict";var n=i("f63f"),a=n.makeInner;function r(){var t=a();return function(e){var i=t(e),n=e.pipelineContext,a=i.large,r=i.progressiveRender,o=i.large=n.large,s=i.progressiveRender=n.progressiveRender;return!!(a^o||r^s)&&"reset"}}t.exports=r},"6b4e":function(t,e,i){"use strict";var n=i("3999"),a=n.each,r=n.createHashMap,o=(n.assert,i("c3a9")),s=(o.__DEV__,r(["tooltip","label","itemName","itemId","seriesName"]));function l(t){var e={},i=e.encode={},n=r(),o=[],l=[];a(t.dimensions,function(e){var a=t.getDimensionInfo(e),r=a.coordDim;if(r){var c=i[r];i.hasOwnProperty(r)||(c=i[r]=[]),c[a.coordDimIndex]=e,a.isExtraCoord||(n.set(r,1),u(a.type)&&(o[0]=e)),a.defaultTooltip&&l.push(e)}s.each(function(t,e){var n=i[e];i.hasOwnProperty(e)||(n=i[e]=[]);var r=a.otherDims[e];null!=r&&!1!==r&&(n[r]=a.name)})});var c=[],h={};n.each(function(t,e){var n=i[e];h[e]=n[0],c=c.concat(n)}),e.dataDimsOnCoord=c,e.encodeFirstDimNotExtra=h;var d=i.label;d&&d.length&&(o=d.slice());var p=i.tooltip;return p&&p.length?l=p.slice():l.length||(l=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=l,e}function c(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function u(t){return!("ordinal"===t||"time"===t)}e.OTHER_DIMENSIONS=s,e.summarizeDimensions=l,e.getDimensionTypeByAxis=c},"6cc4":function(t,e,i){"use strict";var n={average:function(t){for(var e=0,i=0,n=0;n<t.length;n++)isNaN(t[n])||(e+=t[n],i++);return 0===i?NaN:e/i},sum:function(t){for(var e=0,i=0;i<t.length;i++)e+=t[i]||0;return e},max:function(t){for(var e=-1/0,i=0;i<t.length;i++)t[i]>e&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i<t.length;i++)t[i]<e&&(e=t[i]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},a=function(t,e){return Math.round(t.length/2)};function r(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,i){var r=t.getData(),o=t.get("sampling"),s=t.coordinateSystem;if("cartesian2d"===s.type&&o){var l,c=s.getBaseAxis(),u=s.getOtherAxis(c),h=c.getExtent(),d=h[1]-h[0],p=Math.round(r.count()/d);if(p>1)"string"===typeof o?l=n[o]:"function"===typeof o&&(l=o),l&&t.setData(r.downSample(r.mapDimension(u.dim),1/p,l,a))}}}}t.exports=r},"6e0f":function(t,e,i){"use strict";var n=i("b9f9");e.zrender=n;var a=i("75e6");e.matrix=a;var r=i("1637");e.vector=r;var o=i("3999"),s=i("c1ef");e.color=s;var l=i("bc9d"),c=i("8a7d");e.number=c;var u=i("b04a");e.format=u;var h=i("db34");h.throttle;e.throttle=h.throttle;var d=i("e4c5");e.helper=d;var p=i("fc70");e.parseGeoJSON=p;var f=i("c14b");e.List=f;var g=i("1c56");e.Model=g;var m=i("1767");e.Axis=m;var v=i("35c7");e.env=v;var y=p,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){x[t]=o[t]});var _={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(t){_[t]=l[t]}),e.parseGeoJson=y,e.util=x,e.graphic=_},"6e5f":function(t,e,i){"use strict";var n=i("3999"),a=n.each,r=n.createHashMap,o=i("df36"),s=i("eb1a"),l=o.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var i=this.getSource();return c(i,this),s(i,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,i=this.getData(),n=[];return e.eachActiveState(i,function(e,a){t===e&&n.push(i.getRawIndex(a))}),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function c(t,e){if(!t.encodeDefine){var i=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(i){var n=t.encodeDefine=r();a(i.dimensions,function(t){var e=u(t);n.set(t,e)})}}}function u(t){return+t.replace("dim","")}t.exports=l},"6f3e":function(t,e,i){"use strict";var n=i("3999");function a(t,e){e=e||{};var i=t.coordinateSystem,a=t.axis,r={},o=a.position,s=a.orient,l=i.getRect(),c=[l.x,l.x+l.width,l.y,l.y+l.height],u={horizontal:{top:c[2],bottom:c[3]},vertical:{left:c[0],right:c[1]}};r.position=["vertical"===s?u.vertical[o]:c[0],"horizontal"===s?u.horizontal[o]:c[3]];var h={horizontal:0,vertical:1};r.rotation=Math.PI/2*h[s];var d={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=d[o],t.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),n.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection);var p=e.rotate;return null==p&&(p=t.get("axisLabel.rotate")),r.labelRotation="top"===o?-p:p,r.z2=1,r}e.layout=a},"6f65":function(t,e,i){"use strict";var n=i("ac5f"),a=i("de13"),r=a.updateCenterAndZoom;n.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=t.dataIndex,n=e.getData().tree,a=n.getNodeByDataIndex(i);a.isExpand=!a.isExpand})}),n.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=e.coordinateSystem,n=r(i,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})})},"6f8e":function(t,e,i){"use strict";var n=i("3999"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function r(t){n.each(a,function(e){this[e]=n.bind(t[e],t)},this)}var o=r;t.exports=o},"70a3":function(t,e,i){"use strict";var n=i("3999");function a(t,e){var i={};return n.each(t,function(t){t.each(t.mapDimension("value"),function(e,n){var a="ec-"+t.getName(n);i[a]=i[a]||[],isNaN(e)||i[a].push(e)})}),t[0].map(t[0].mapDimension("value"),function(n,a){for(var r,o="ec-"+t[0].getName(a),s=0,l=1/0,c=-1/0,u=i[o].length,h=0;h<u;h++)l=Math.min(l,i[o][h]),c=Math.max(c,i[o][h]),s+=i[o][h];return r="min"===e?l:"max"===e?c:"average"===e?s/u:s,0===u?NaN:r})}function r(t){var e={};t.eachSeriesByType("map",function(t){var i=t.getHostGeoModel(),n=i?"o"+i.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)}),n.each(e,function(t,e){for(var i=a(n.map(t,function(t){return t.getData()}),t[0].get("mapValueCalculation")),r=0;r<t.length;r++)t[r].originalData=t[r].getData();for(r=0;r<t.length;r++)t[r].seriesGroup=t,t[r].needsDrawMap=0===r&&!t[r].getHostGeoModel(),t[r].setData(i.cloneShallow()),t[r].mainSeries=t[0]})}t.exports=r},"717c":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("9256"),o=n.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new r(e.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,s.apply(this,arguments)},updateTransform:s,updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:a.clone(t),$from:i})}});function s(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=o},7189:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("3999"),o=i("f63f"),s=i("bc9d"),l=i("1073");a.registerPreprocessor(function(t){var e=t.graphic;r.isArray(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])});var c=a.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,c.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var i=this.option,n=(e?i:t).elements,a=i.elements=e?[]:i.elements,s=[];this._flatten(n,s);var l=o.mappingToExists(a,s);o.makeIdAndName(l);var c=this._elOptionsToUpdate=[];r.each(l,function(t,e){var i=t.option;i&&(c.push(i),f(t,i),g(a,e,i),m(a[e],i))},this);for(var u=a.length-1;u>=0;u--)null==a[u]?a.splice(u,1):delete a[u].$action},_flatten:function(t,e,i){r.each(t,function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;"group"===t.type&&n&&this._flatten(n,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function u(t,e,i,n){var a=i.type,r=s[a.charAt(0).toUpperCase()+a.slice(1)],o=new r(i);e.add(o),n.set(t,o),o.__ecGraphicId=t}function h(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse(function(t){h(t,e)}),e.removeKey(t.__ecGraphicId),i.remove(t))}function d(t){return t=r.extend({},t),r.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),function(e){delete t[e]}),t}function p(t,e){var i;return r.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)}),i}function f(t,e){var i=t.exist;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}function g(t,e,i){var n=r.extend({},i),a=t[e],o=i.$action||"merge";"merge"===o?a?(r.merge(a,n,!0),l.mergeLayoutParam(a,n,{ignoreSize:!0}),l.copyLayoutParams(i,a)):t[e]=n:"replace"===o?t[e]=n:"remove"===o&&a&&(t[e]=null)}function m(t,e){t&&(t.hv=e.hv=[p(e,["left","right"]),p(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function v(t,e,i){var n=t.eventData;t.silent||t.ignore||n||(n=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),n&&(n.info=t.info)}a.extendComponentView({type:"graphic",init:function(t,e){this._elMap=r.createHashMap(),this._lastGraphicModel},render:function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,i)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var i=this._elMap,n=this.group;r.each(e,function(e){var a=e.$action,r=e.id,o=i.get(r),s=e.parentId,l=null!=s?i.get(s):n,c=e.style;"text"===e.type&&c&&(e.hv&&e.hv[1]&&(c.textVerticalAlign=c.textBaseline=null),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke));var p=d(e);a&&"merge"!==a?"replace"===a?(h(o,i),u(r,l,p,i)):"remove"===a&&h(o,i):o?o.attr(p):u(r,l,p,i);var f=i.get(r);f&&(f.__ecGraphicWidth=e.width,f.__ecGraphicHeight=e.height,v(f,t,e))})}},_relocate:function(t,e){for(var i=t.option.elements,n=this.group,a=this._elMap,r=i.length-1;r>=0;r--){var o=i[r],s=a.get(o.id);if(s){var c=s.parent,u=c===n?{width:e.getWidth(),height:e.getHeight()}:{width:c.__ecGraphicWidth||0,height:c.__ecGraphicHeight||0};l.positionElement(s,o,u,null,{hv:o.hv,boundingMode:o.bounding})}}},_clear:function(){var t=this._elMap;t.each(function(e){h(e,t)}),this._elMap=r.createHashMap()},dispose:function(){this._clear()}})},"727c":function(t,e,i){"use strict";var n=i("ac5f");i("e4f2"),i("3efd");var a=i("e266"),r=i("ea34"),o=i("6cc4");i("4a76"),n.registerVisual(a("line","circle","line")),n.registerLayout(r("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o("line"))},7285:function(t,e,i){"use strict";var n=i("3999");function a(t,e){return n.map(["Radius","Angle"],function(i,n){var a=this["get"+i+"Axis"](),r=e[n],o=t[n]/2,s="dataTo"+i,l="category"===a.type?a.getBandWidth():Math.abs(a[s](r-o)-a[s](r+o));return"Angle"===i&&(l=l*Math.PI/180),l},this)}function r(t){var e=t.getRadiusAxis(),i=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:n.bind(function(n){var a=e.dataToRadius(n[0]),r=i.dataToAngle(n[1]),o=t.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o}),size:n.bind(a,t)}}}t.exports=r},"74d5":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("bc9d"),o=i("b04a"),s=i("8a7d"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},c={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},u=n.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,i){var n=this.group;n.removeAll();var a=t.coordinateSystem,r=a.getRangeInfo(),o=a.getOrient();this._renderDayRect(t,r,n),this._renderLines(t,r,o,n),this._renderYearText(t,r,o,n),this._renderMonthText(t,o,n),this._renderWeekText(t,r,o,n)},_renderDayRect:function(t,e,i){for(var n=t.coordinateSystem,a=t.getModel("itemStyle").getItemStyle(),o=n.getCellWidth(),s=n.getCellHeight(),l=e.start.time;l<=e.end.time;l=n.getNextNDay(l,1).time){var c=n.dataToRect([l],!1).tl,u=new r.Rect({shape:{x:c[0],y:c[1],width:o,height:s},cursor:"default",style:a});i.add(u)}},_renderLines:function(t,e,i,n){var a=this,r=t.coordinateSystem,o=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=e.start,u=0;c.time<=e.end.time;u++){d(c.formatedDate),0===u&&(c=r.getDateInfo(e.start.y+"-"+e.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=r.getDateInfo(h)}function d(e){a._firstDayOfMonth.push(r.getDateInfo(e)),a._firstDayPoints.push(r.dataToRect([e],!1).tl);var l=a._getLinePointsOfOneWeek(t,e,i);a._tlpoints.push(l[0]),a._blpoints.push(l[l.length-1]),s&&a._drawSplitline(l,o,n)}d(r.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,l,i),o,n),s&&this._drawSplitline(a._getEdgesPoints(a._blpoints,l,i),o,n)},_getEdgesPoints:function(t,e,i){var n=[t[0].slice(),t[t.length-1].slice()],a="horizontal"===i?0:1;return n[0][a]=n[0][a]-e/2,n[1][a]=n[1][a]+e/2,n},_drawSplitline:function(t,e,i){var n=new r.Polyline({z2:20,shape:{points:t},style:e});i.add(n)},_getLinePointsOfOneWeek:function(t,e,i){var n=t.coordinateSystem;e=n.getDateInfo(e);for(var a=[],r=0;r<7;r++){var o=n.getNextNDay(e.time,r),s=n.dataToRect([o.time],!1);a[2*o.day]=s.tl,a[2*o.day+1]=s["horizontal"===i?"bl":"tr"]}return a},_formatterLabel:function(t,e){return"string"===typeof t&&t?o.formatTplSimple(t,e):"function"===typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,i,n,a){e=e.slice();var r=["center","bottom"];"bottom"===n?(e[1]+=a,r=["center","top"]):"left"===n?e[0]-=a:"right"===n?(e[0]+=a,r=["center","top"]):e[1]-=a;var o=0;return"left"!==n&&"right"!==n||(o=Math.PI/2),{rotation:o,position:e,style:{textAlign:r[0],textVerticalAlign:r[1]}}},_renderYearText:function(t,e,i,n){var a=t.getModel("yearLabel");if(a.get("show")){var o=a.get("margin"),s=a.get("position");s||(s="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(l[0][0]+l[1][0])/2,u=(l[0][1]+l[1][1])/2,h="horizontal"===i?0:1,d={top:[c,l[h][1]],bottom:[c,l[1-h][1]],left:[l[1-h][0],u],right:[l[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var f=a.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:p},m=this._formatterLabel(f,g),v=new r.Text({z2:30});r.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],i,s,o)),n.add(v)}},_monthTextPositionControl:function(t,e,i,n,a){var r="left",o="top",s=t[0],l=t[1];return"horizontal"===i?(l+=a,e&&(r="center"),"start"===n&&(o="bottom")):(s+=a,e&&(o="middle"),"start"===n&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderMonthText:function(t,e,i){var n=t.getModel("monthLabel");if(n.get("show")){var o=n.get("nameMap"),s=n.get("margin"),c=n.get("position"),u=n.get("align"),h=[this._tlpoints,this._blpoints];a.isString(o)&&(o=l[o.toUpperCase()]||[]);var d="start"===c?0:1,p="horizontal"===e?0:1;s="start"===c?-s:s;for(var f="center"===u,g=0;g<h[d].length-1;g++){var m=h[d][g].slice(),v=this._firstDayOfMonth[g];if(f){var y=this._firstDayPoints[g];m[p]=(y[p]+h[0][g+1][p])/2}var x=n.get("formatter"),_=o[+v.m-1],b={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:_},w=this._formatterLabel(x,b),S=new r.Text({z2:30});a.extend(r.setTextStyle(S.style,n,{text:w}),this._monthTextPositionControl(m,f,e,c,s)),i.add(S)}}},_weekTextPositionControl:function(t,e,i,n,a){var r="center",o="middle",s=t[0],l=t[1],c="start"===i;return"horizontal"===e?(s=s+n+(c?1:-1)*a[0]/2,r=c?"right":"left"):(l=l+n+(c?1:-1)*a[1]/2,o=c?"bottom":"top"),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderWeekText:function(t,e,i,n){var o=t.getModel("dayLabel");if(o.get("show")){var l=t.coordinateSystem,u=o.get("position"),h=o.get("nameMap"),d=o.get("margin"),p=l.getFirstDayOfWeek();a.isString(h)&&(h=c[h.toUpperCase()]||[]);var f=l.getNextNDay(e.end.time,7-e.lweek).time,g=[l.getCellWidth(),l.getCellHeight()];d=s.parsePercent(d,g["horizontal"===i?0:1]),"start"===u&&(f=l.getNextNDay(e.start.time,-(7+e.fweek)).time,d=-d);for(var m=0;m<7;m++){var v=l.getNextNDay(f,m),y=l.dataToRect([v.time],!1).center,x=m;x=Math.abs((m+p)%7);var _=new r.Text({z2:30});a.extend(r.setTextStyle(_.style,o,{text:h[x]}),this._weekTextPositionControl(y,i,u,d,g)),n.add(_)}}}});t.exports=u},"74fd":function(t,e,i){"use strict";(function(t){var e=n(i("e143"));function n(t){return t&&t.__esModule?t:{default:t}}t.__uniConfig={condition:{current:0,list:[{name:"test",path:"pages/index/index"}]},globalStyle:{titleNView:!1,navigationBarTextStyle:"black",navigationBarTitleText:"演示",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},tabBar:{color:"#7A7E83",selectedColor:"#0069ff",borderStyle:"black",backgroundColor:"#ffffff",list:[{pagePath:"pages/index/index",iconPath:"static/index/index.png",selectedIconPath:"static/index/indexSelect.png",text:"首页",redDot:!1,badge:""},{pagePath:"pages/analysis/index",iconPath:"static/index/sny.png",selectedIconPath:"static/index/snySelect.png",text:"综合分析",redDot:!1,badge:""},{pagePath:"pages/passenger/index",iconPath:"static/index/flow.png",selectedIconPath:"static/index/flowSelect.png",text:"精准客流",redDot:!1,badge:""},{pagePath:"pages/manage/index",iconPath:"static/index/manage.png",selectedIconPath:"static/index/manageSelect.png",text:"后台管理",redDot:!1,badge:""},{pagePath:"pages/profile/index",iconPath:"static/index/my.png",selectedIconPath:"static/index/mySelect.png",text:"我的",redDot:!1,badge:""}]}},t.__uniConfig.router={mode:"hash",base:"/appweb/"},t.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:3e3},t.__uniConfig.debug=!1,t.__uniConfig.networkTimeout={request:6e3,connectSocket:6e3,uploadFile:6e3,downloadFile:6e3},e.default.component("pages-login-login",function(t){var e={component:i.e("pages-login-login").then(function(){return t(i("722d"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-index-index",function(t){var e={component:i.e("pages-index-index").then(function(){return t(i("5644"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-index",function(t){var e={component:i.e("pages-analysis-index").then(function(){return t(i("7387"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-passenger-index",function(t){var e={component:i.e("pages-passenger-index").then(function(){return t(i("4ec6"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-profile-index",function(t){var e={component:i.e("pages-profile-index").then(function(){return t(i("ef6f"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-list-mallList",function(t){var e={component:Promise.all([i.e("pages-list-floorList~pages-list-mallList"),i.e("pages-list-mallList")]).then(function(){return t(i("ea11"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-list-moreMallList",function(t){var e={component:i.e("pages-list-moreMallList").then(function(){return t(i("f141"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-list-oneMallList",function(t){var e={component:i.e("pages-list-oneMallList").then(function(){return t(i("aecb"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-list-moreGateList",function(t){var e={component:i.e("pages-list-moreGateList").then(function(){return t(i("c5ce"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-list-moreFloorList",function(t){var e={component:i.e("pages-list-moreFloorList").then(function(){return t(i("74e3"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-list-oneFloorList",function(t){var e={component:i.e("pages-list-oneFloorList").then(function(){return t(i("1c03"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-list-moreStoreList",function(t){var e={component:i.e("pages-list-moreStoreList").then(function(){return t(i("0494"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-list-floorList",function(t){var e={component:Promise.all([i.e("pages-list-floorList~pages-list-mallList"),i.e("pages-list-floorList")]).then(function(){return t(i("cd6c"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-staticReport-staticDayReport",function(t){var e={component:i.e("pages-analysis-staticReport-staticDayReport").then(function(){return t(i("9419"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-staticReport-staticWeekReport",function(t){var e={component:i.e("pages-analysis-staticReport-staticWeekReport").then(function(){return t(i("02d9"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-staticReport-staticMonthReport",function(t){var e={component:i.e("pages-analysis-staticReport-staticMonthReport").then(function(){return t(i("4451"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-staticReport-staticYearReport",function(t){var e={component:i.e("pages-analysis-staticReport-staticYearReport").then(function(){return t(i("f100"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-inoutReport-inoutDayReport",function(t){var e={component:i.e("pages-analysis-inoutReport-inoutDayReport").then(function(){return t(i("5045"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-rankReport-rankDayReport",function(t){var e={component:i.e("pages-analysis-rankReport-rankDayReport").then(function(){return t(i("a4fa"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-rankReport-rankWeekReport",function(t){var e={component:i.e("pages-analysis-rankReport-rankWeekReport").then(function(){return t(i("07c4"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-staticReport-staticWeekReport",function(t){var e={component:i.e("pages-analysis-staticReport-staticWeekReport").then(function(){return t(i("02d9"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),e.default.component("pages-analysis-condition",function(t){var e={component:i.e("pages-analysis-condition").then(function(){return t(i("e0ac"))}.bind(null,i)).catch(i.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(t){return t(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(t){return t(__uniConfig["async"]["error"])}}),e}),t.__uniRoutes=[{path:"/",alias:"/pages/login/login",component:{render:function(t){return t("Page",{props:Object.assign({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTitleText:"登录"})},[t("pages-login-login",{slot:"page"})])}},meta:{id:1,name:"pages-login-login",pagePath:"pages/login/login",isQuit:!0,isEntry:!0,windowTop:44}},{path:"/pages/index/index",component:{render:function(t){return t("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:0},__uniConfig.globalStyle,{navigationBarTitleText:"首页"})},[t("pages-index-index",{slot:"page"})])}},meta:{id:2,name:"pages-index-index",pagePath:"pages/index/index",isQuit:!0,isTabBar:!0,tabBarIndex:0,windowTop:44}},{path:"/pages/analysis/index",component:{render:function(t){return t("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:1},__uniConfig.globalStyle,{navigationBarTitleText:"综合分析"})},[t("pages-analysis-index",{slot:"page"})])}},meta:{id:3,name:"pages-analysis-index",pagePath:"pages/analysis/index",isQuit:!0,isTabBar:!0,tabBarIndex:1,windowTop:44}},{path:"/pages/passenger/index",component:{render:function(t){return t("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:2},__uniConfig.globalStyle,{navigationBarTitleText:"精准客流"})},[t("pages-passenger-index",{slot:"page"})])}},meta:{id:4,name:"pages-passenger-index",pagePath:"pages/passenger/index",isQuit:!0,isTabBar:!0,tabBarIndex:2,windowTop:44}},{path:"/pages/profile/index",component:{render:function(t){return t("Page",{props:Object.assign({isQuit:!0,isTabBar:!0,tabBarIndex:4},__uniConfig.globalStyle,{navigationBarTitleText:"我的"})},[t("pages-profile-index",{slot:"page"})])}},meta:{id:5,name:"pages-profile-index",pagePath:"pages/profile/index",isQuit:!0,isTabBar:!0,tabBarIndex:4,windowTop:44}},{path:"/pages/list/mallList",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"商场列表"})},[t("pages-list-mallList",{slot:"page"})])}},meta:{name:"pages-list-mallList",pagePath:"pages/list/mallList",windowTop:44}},{path:"/pages/list/moreMallList",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"多选商场列表"})},[t("pages-list-moreMallList",{slot:"page"})])}},meta:{name:"pages-list-moreMallList",pagePath:"pages/list/moreMallList",windowTop:44}},{path:"/pages/list/oneMallList",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"单选商场列表"})},[t("pages-list-oneMallList",{slot:"page"})])}},meta:{name:"pages-list-oneMallList",pagePath:"pages/list/oneMallList",windowTop:44}},{path:"/pages/list/moreGateList",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"多选出入口列表"})},[t("pages-list-moreGateList",{slot:"page"})])}},meta:{name:"pages-list-moreGateList",pagePath:"pages/list/moreGateList",windowTop:44}},{path:"/pages/list/moreFloorList",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"多选楼层列表"})},[t("pages-list-moreFloorList",{slot:"page"})])}},meta:{name:"pages-list-moreFloorList",pagePath:"pages/list/moreFloorList",windowTop:44}},{path:"/pages/list/oneFloorList",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"单选楼层列表"})},[t("pages-list-oneFloorList",{slot:"page"})])}},meta:{name:"pages-list-oneFloorList",pagePath:"pages/list/oneFloorList",windowTop:44}},{path:"/pages/list/moreStoreList",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"多选店铺列表"})},[t("pages-list-moreStoreList",{slot:"page"})])}},meta:{name:"pages-list-moreStoreList",pagePath:"pages/list/moreStoreList",windowTop:44}},{path:"/pages/list/floorList",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"门店列表"})},[t("pages-list-floorList",{slot:"page"})])}},meta:{name:"pages-list-floorList",pagePath:"pages/list/floorList",windowTop:44}},{path:"/pages/analysis/staticReport/staticDayReport",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"基础统计"})},[t("pages-analysis-staticReport-staticDayReport",{slot:"page"})])}},meta:{name:"pages-analysis-staticReport-staticDayReport",pagePath:"pages/analysis/staticReport/staticDayReport",windowTop:44}},{path:"/pages/analysis/staticReport/staticWeekReport",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"基础统计周"})},[t("pages-analysis-staticReport-staticWeekReport",{slot:"page"})])}},meta:{name:"pages-analysis-staticReport-staticWeekReport",pagePath:"pages/analysis/staticReport/staticWeekReport",windowTop:44}},{path:"/pages/analysis/staticReport/staticMonthReport",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"基础统计月"})},[t("pages-analysis-staticReport-staticMonthReport",{slot:"page"})])}},meta:{name:"pages-analysis-staticReport-staticMonthReport",pagePath:"pages/analysis/staticReport/staticMonthReport",windowTop:44}},{path:"/pages/analysis/staticReport/staticYearReport",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"基础统计年"})},[t("pages-analysis-staticReport-staticYearReport",{slot:"page"})])}},meta:{name:"pages-analysis-staticReport-staticYearReport",pagePath:"pages/analysis/staticReport/staticYearReport",windowTop:44}},{path:"/pages/analysis/inoutReport/inoutDayReport",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"进出客流对比"})},[t("pages-analysis-inoutReport-inoutDayReport",{slot:"page"})])}},meta:{name:"pages-analysis-inoutReport-inoutDayReport",pagePath:"pages/analysis/inoutReport/inoutDayReport",windowTop:44}},{path:"/pages/analysis/rankReport/rankDayReport",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"排行榜统计"})},[t("pages-analysis-rankReport-rankDayReport",{slot:"page"})])}},meta:{name:"pages-analysis-rankReport-rankDayReport",pagePath:"pages/analysis/rankReport/rankDayReport",windowTop:44}},{path:"/pages/analysis/rankReport/rankWeekReport",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"排行榜统计"})},[t("pages-analysis-rankReport-rankWeekReport",{slot:"page"})])}},meta:{name:"pages-analysis-rankReport-rankWeekReport",pagePath:"pages/analysis/rankReport/rankWeekReport",windowTop:44}},{path:"/pages/analysis/staticReport/staticWeekReport",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:"基础统计周"})},[t("pages-analysis-staticReport-staticWeekReport",{slot:"page"})])}},meta:{name:"pages-analysis-staticReport-staticWeekReport",pagePath:"pages/analysis/staticReport/staticWeekReport",windowTop:44}},{path:"/pages/analysis/condition",component:{render:function(t){return t("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationBarTitleText:""})},[t("pages-analysis-condition",{slot:"page"})])}},meta:{name:"pages-analysis-condition",pagePath:"pages/analysis/condition",windowTop:44}},{path:"/preview-image",component:{render:function(t){return t("Page",{props:{navigationStyle:"custom"}},[t("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(t){return t("Page",{props:{navigationStyle:"custom"}},[t("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(t){return t("Page",{props:{navigationStyle:"custom"}},[t("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}]}).call(this,i("c8ba6"))},"75c9":function(t,e,i){"use strict";var n=i("9336"),a=n.retrieveRawValue,r=i("b04a"),o=r.getTooltipMarker,s=r.formatTpl,l=i("f63f"),c=l.getTooltipRenderMode,u=/\{@(.+?)\}/g,h={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),a=i.getRawIndex(t),r=i.getName(t),s=i.getRawDataItem(t),l=i.getItemVisual(t,"color"),u=this.ecModel.getComponent("tooltip"),h=u&&u.get("renderMode"),d=c(h),p=this.mainType,f="series"===p;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:f?this.subType:null,seriesIndex:this.seriesIndex,seriesId:f?this.id:null,seriesName:f?this.name:null,name:r,dataIndex:a,data:s,dataType:e,value:n,color:l,marker:o({color:l,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,n,r){e=e||"normal";var o=this.getData(i),l=o.getItemModel(t),c=this.getDataParams(t,i);null!=n&&c.value instanceof Array&&(c.value=c.value[n]);var h=l.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);if("function"===typeof h)return c.status=e,h(c);if("string"===typeof h){var d=s(h,c);return d.replace(u,function(e,i){var n=i.length;return"["===i.charAt(0)&&"]"===i.charAt(n-1)&&(i=+i.slice(1,n-1)),a(o,t,i)})}},getRawValue:function(t,e){return a(this.getData(e),t)},formatTooltip:function(){}};t.exports=h},"75e6":function(t,e,i){"use strict";var n="undefined"===typeof Float32Array?Array:Float32Array;function a(){var t=new n(6);return r(t),t}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function s(t,e,i){var n=e[0]*i[0]+e[2]*i[1],a=e[1]*i[0]+e[3]*i[1],r=e[0]*i[2]+e[2]*i[3],o=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=a,t[2]=r,t[3]=o,t[4]=s,t[5]=l,t}function l(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function c(t,e,i){var n=e[0],a=e[2],r=e[4],o=e[1],s=e[3],l=e[5],c=Math.sin(i),u=Math.cos(i);return t[0]=n*u+o*c,t[1]=-n*c+o*u,t[2]=a*u+s*c,t[3]=-a*c+u*s,t[4]=u*r+c*l,t[5]=u*l-c*r,t}function u(t,e,i){var n=i[0],a=i[1];return t[0]=e[0]*n,t[1]=e[1]*a,t[2]=e[2]*n,t[3]=e[3]*a,t[4]=e[4]*n,t[5]=e[5]*a,t}function h(t,e){var i=e[0],n=e[2],a=e[4],r=e[1],o=e[3],s=e[5],l=i*o-r*n;return l?(l=1/l,t[0]=o*l,t[1]=-r*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-o*a)*l,t[5]=(r*a-i*s)*l,t):null}function d(t){var e=a();return o(e,t),e}e.create=a,e.identity=r,e.copy=o,e.mul=s,e.translate=l,e.rotate=c,e.scale=u,e.invert=h,e.clone=d},7662:function(t,e,i){"use strict";var n=i("ac5f"),a=n.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),r=a;t.exports=r},"769f":function(t,e,i){"use strict";var n=i("3056"),a=i("1fd6");function r(t,e,i){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=a(r,o,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var l=r.length,c=0;c<(i?l:l-1);c++){var u=s[2*c],h=s[2*c+1],d=r[(c+1)%l];t.bezierCurveTo(u[0],u[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(r=n(r,i)),t.moveTo(r[0][0],r[0][1]);c=1;for(var p=r.length;c<p;c++)t.lineTo(r[c][0],r[c][1])}i&&t.closePath()}}e.buildPath=r},"76ec":function(t,e,i){"use strict";var n=i("ac5f");i("8659"),i("d621"),n.registerPreprocessor(function(t){t.markArea=t.markArea||{}})},"772b":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("20e3"),o=a.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&r.fixValue(t),o.superApply(this,"render",arguments),s(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,a){s(this,t,e,i,n,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){l(this,e),o.superApply(this,"dispose",arguments)}});function s(t,e,i,n,a,s){var c=o.getAxisPointerClass(t.axisPointerClass);if(c){var u=r.getAxisPointerModel(e);u?(t._axisPointer||(t._axisPointer=new c)).render(e,u,n,s):l(t,n)}}function l(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}var c=[];o.registerAxisPointerClass=function(t,e){c[t]=e},o.getAxisPointerClass=function(t){return t&&c[t]};var u=o;t.exports=u},"779f":function(t,e,i){"use strict";var n=Array.prototype.slice,a=function(t){this._$handlers={},this._$eventProcessor=t};function r(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}function o(t,e,i,n,a,o){var s=t._$handlers;if("function"===typeof i&&(a=n,n=i,i=null),!n||!e)return t;i=r(t,i),s[e]||(s[e]=[]);for(var l=0;l<s[e].length;l++)if(s[e][l].h===n)return t;var c={h:n,one:o,query:i,ctx:a||t,callAtLast:n.zrEventfulCallAtLast},u=s[e].length-1,h=s[e][u];return h&&h.callAtLast?s[e].splice(u,0,c):s[e].push(c),t}a.prototype={constructor:a,one:function(t,e,i,n){return o(this,t,e,i,n,!0)},on:function(t,e,i,n){return o(this,t,e,i,n,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var i=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],a=0,r=i[t].length;a<r;a++)i[t][a].h!==e&&n.push(i[t][a]);i[t]=n}i[t]&&0===i[t].length&&delete i[t]}else delete i[t];return this},trigger:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var a=arguments,r=a.length;r>3&&(a=n.call(a,1));for(var o=e.length,s=0;s<o;){var l=e[s];if(i&&i.filter&&null!=l.query&&!i.filter(t,l.query))s++;else{switch(r){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,a[1]);break;case 3:l.h.call(l.ctx,a[1],a[2]);break;default:l.h.apply(l.ctx,a);break}l.one?(e.splice(s,1),o--):s++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var a=arguments,r=a.length;r>4&&(a=n.call(a,1,a.length-1));for(var o=a[a.length-1],s=e.length,l=0;l<s;){var c=e[l];if(i&&i.filter&&null!=c.query&&!i.filter(t,c.query))l++;else{switch(r){case 1:c.h.call(o);break;case 2:c.h.call(o,a[1]);break;case 3:c.h.call(o,a[1],a[2]);break;default:c.h.apply(o,a);break}c.one?(e.splice(l,1),s--):l++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this}};var s=a;t.exports=s},"784e":function(t,e,i){"use strict";var n=i("3999"),a=i("9064"),r=i("ab9a"),o=i("5dd0");function s(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new a(t.style,this),this._rect=null,this.__clipPaths=[]}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();return n.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?r.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new a(t,this),this.dirty(!1),this}},n.inherits(s,r),n.mixin(s,o);var l=s;t.exports=l},"787d":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("bc9d"),o=i("7e37"),s=i("efc7"),l=i("b3cf"),c=i("b59c"),u=i("e321"),h=i("75e6"),d=i("34a4"),p=i("4a54"),f=a.bind,g=r.Group,m=r.Rect,v=a.each,y=3,x=["label"],_=["emphasis","label"],b=["upperLabel"],w=["emphasis","upperLabel"],S=10,M=1,T=2,A=p([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),I=function(t){var e=A(t);return e.stroke=e.fill=e.lineWidth=null,e},C=n.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage=D(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,i,n){var r=e.findComponents({mainType:"series",subType:"treemap",query:n});if(!(a.indexOf(r,t)<0)){this.seriesModel=t,this.api=i,this.ecModel=e;var o=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(n,o,t),c=n&&n.type,u=t.layoutInfo,h=!this._oldTree,d=this._storage,p="treemapRootToNode"===c&&l&&d?{rootNodeGroup:d.nodeGroup[l.node.getRawIndex()],direction:n.direction}:null,f=this._giveContainerGroup(u),g=this._doRender(f,t,p);h||c&&"treemapZoomToNode"!==c&&"treemapRootToNode"!==c?g.renderFinally():this._doAnimation(f,g,t,p),this._resetController(i),this._renderBreadcrumb(t,i,l)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new g,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,i){var n=e.getData().tree,r=this._oldTree,s=D(),l=D(),c=this._storage,u=[],h=a.curry(L,e,l,c,i,s,u);p(n.root?[n.root]:[],r&&r.root?[r.root]:[],t,n===r||!r,0);var d=f(c);return this._oldTree=n,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:g};function p(t,e,i,n,r){function s(t){return t.getId()}function l(a,o){var s=null!=a?t[a]:null,l=null!=o?e[o]:null,c=h(s,l,i,r);c&&p(s&&s.viewChildren||[],l&&l.viewChildren||[],c,n,r+1)}n?(e=t,v(t,function(t,e){!t.isRemoved()&&l(e,e)})):new o(e,t,s,s).add(l).update(l).remove(a.curry(l,null)).execute()}function f(t){var e=D();return t&&v(t,function(t,i){var n=e[i];v(t,function(t){t&&(n.push(t),t.__tmWillDelete=1)})}),e}function g(){v(d,function(t){v(t,function(t){t.parent&&t.parent.remove(t)})}),v(u,function(t){t.invisible=!0,t.dirty()})}},_doAnimation:function(t,e,i,n){if(i.get("animation")){var r=i.get("animationDurationUpdate"),o=i.get("animationEasing"),s=d.createWrap();v(e.willDeleteEls,function(t,e){v(t,function(t,i){if(!t.invisible){var a,l=t.parent;if(n&&"drillDown"===n.direction)a=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,u=0;l.__tmWillDelete||(c=l.__tmNodeWidth/2,u=l.__tmNodeHeight/2),a="nodeGroup"===e?{position:[c,u],style:{opacity:0}}:{shape:{x:c,y:u,width:0,height:0},style:{opacity:0}}}a&&s.add(t,a,r,o)}})}),v(this._storage,function(t,i){v(t,function(t,n){var l=e.lastsForAnimation[i][n],c={};l&&("nodeGroup"===i?l.old&&(c.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(c.shape=a.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),c.style={opacity:1}):1!==t.style.opacity&&(c.style={opacity:1})),s.add(t,c,r,o))})},this),this._state="animating",s.done(f(function(){this._state="ready",e.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||(e=this._controller=new c(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",f(this._onPan,this)),e.on("zoom",f(this._onZoom,this)));var i=new u(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,n){return i.contain(e,n)})},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){if("animating"!==this._state&&(Math.abs(t.dx)>y||Math.abs(t.dy)>y)){var e=this.seriesModel.getData().tree.root;if(!e)return;var i=e.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},_onZoom:function(t){var e=t.originX,i=t.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var a=n.getLayout();if(!a)return;var r=new u(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;e-=o.x,i-=o.y;var s=h.create();h.translate(s,s,[-e,-i]),h.scale(s,s,[t.scale,t.scale]),h.translate(s,s,[e,i]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(t){t.on("click",function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var i=this.findTarget(t.offsetX,t.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var a=n.hostTree.data.getItemModel(n.dataIndex),r=a.get("link",!0),o=a.get("target",!0)||"blank";r&&window.open(r,o)}}}}},this)},_renderBreadcrumb:function(t,e,i){function n(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),i||(i={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,i.node,f(n,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=D(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},function(n){var a=this._storage.background[n.getRawIndex()];if(a){var r=a.transformCoordToLocal(t,e),o=a.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;i={node:n,offsetX:r[0],offsetY:r[1]}}},this),i}});function D(){return{nodeGroup:[],background:[],content:[]}}function L(t,e,i,n,o,s,l,c,u,h){if(l){var d=l.getLayout();if(d&&d.isInView){var p=d.width,f=d.height,v=d.borderWidth,y=d.invisible,S=l.getRawIndex(),C=c&&c.getRawIndex(),D=l.viewChildren,L=d.upperHeight,P=D&&D.length,R=l.getModel("itemStyle"),E=l.getModel("emphasis.itemStyle"),O=H("nodeGroup",g);if(O){if(u.add(O),O.attr("position",[d.x||0,d.y||0]),O.__tmNodeWidth=p,O.__tmNodeHeight=f,d.isAboveViewRoot)return O;var N=H("background",m,h,M);if(N&&V(O,N,P&&d.upperHeight),!P){var z=H("content",m,h,T);z&&B(O,z)}return O}}}function V(e,i,n){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:p,height:f});var a=l.getVisual("borderColor",!0),o=E.get("borderColor");W(i,function(){var t=I(R);t.fill=a;var e=A(E);if(e.fill=o,n){var s=p-2*v;F(t,e,a,s,L,{x:v,y:0,width:s,height:L})}else t.text=e.text=null;i.setStyle(t),r.setHoverStyle(i,e)}),e.add(i)}function B(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var n=Math.max(p-2*v,0),a=Math.max(f-2*v,0);i.culling=!0,i.setShape({x:v,y:v,width:n,height:a});var o=l.getVisual("color",!0);W(i,function(){var t=I(R);t.fill=o;var e=A(E);F(t,e,o,n,a),i.setStyle(t),r.setHoverStyle(i,e)}),e.add(i)}function W(t,e){y?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function F(e,i,n,o,s,c){var u=l.getModel(),h=a.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,c?"upperLabel":"label"),u.get("name"));if(!c&&d.isLeafRoot){var p=t.get("drillDownIcon",!0);h=p?p+" "+h:h}var f=u.getModel(c?b:x),g=u.getModel(c?w:_),m=f.getShallow("show");r.setLabelStyle(e,i,f,g,{defaultText:m?h:null,autoColor:n,isRectText:!0}),c&&(e.textRect=a.clone(c)),e.truncate=m&&f.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function H(t,n,a,r){var s=null!=C&&i[t][C],l=o[t];return s?(i[t][C]=null,G(l,s,t)):y||(s=new n({z:k(a,r)}),s.__tmDepth=a,s.__tmStorageName=t,Y(l,s,t)),e[t][S]=s}function G(t,e,i){var n=t[S]={};n.old="nodeGroup"===i?e.position.slice():a.extend({},e.shape)}function Y(t,e,i){var a=t[S]={},r=l.parentNode;if(r&&(!n||"drillDown"===n.direction)){var s=0,c=0,u=o.background[r.getRawIndex()];!n&&u&&u.old&&(s=u.old.width,c=u.old.height),a.old="nodeGroup"===i?[0,c]:{x:s,y:c,width:0,height:0}}a.fadein="nodeGroup"!==i}}function k(t,e){var i=t*S+e;return(i-1)/i}t.exports=C},7965:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("3999"),o=i("e689"),s=i("bc9d"),l=["axisLine","axisTickLabel","axisName"],c=a.extendComponentView({type:"radar",render:function(t,e,i){var n=this.group;n.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes(),n=r.map(i,function(t){var i=new o(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i});r.each(n,function(t){r.each(l,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes();if(i.length){var n=t.get("shape"),a=t.getModel("splitLine"),o=t.getModel("splitArea"),l=a.getModel("lineStyle"),c=o.getModel("areaStyle"),u=a.get("show"),h=o.get("show"),d=l.get("color"),p=c.get("color");d=r.isArray(d)?d:[d],p=r.isArray(p)?p:[p];var f=[],g=[];if("circle"===n)for(var m=i[0].getTicksCoords(),v=e.cx,y=e.cy,x=0;x<m.length;x++){if(u){var _=C(f,d,x);f[_].push(new s.Circle({shape:{cx:v,cy:y,r:m[x].coord}}))}if(h&&x<m.length-1){_=C(g,p,x);g[_].push(new s.Ring({shape:{cx:v,cy:y,r0:m[x].coord,r:m[x+1].coord}}))}}else{var b,w=r.map(i,function(t,i){var n=t.getTicksCoords();return b=null==b?n.length-1:Math.min(n.length-1,b),r.map(n,function(t){return e.coordToPoint(t.coord,i)})}),S=[];for(x=0;x<=b;x++){for(var M=[],T=0;T<i.length;T++)M.push(w[T][x]);if(M[0]&&M.push(M[0].slice()),u){_=C(f,d,x);f[_].push(new s.Polyline({shape:{points:M}}))}if(h&&S){_=C(g,p,x-1);g[_].push(new s.Polygon({shape:{points:M.concat(S)}}))}S=M.slice().reverse()}}var A=l.getLineStyle(),I=c.getAreaStyle();r.each(g,function(t,e){this.group.add(s.mergePath(t,{style:r.defaults({stroke:"none",fill:p[e%p.length]},I),silent:!0}))},this),r.each(f,function(t,e){this.group.add(s.mergePath(t,{style:r.defaults({fill:"none",stroke:d[e%d.length]},A),silent:!0}))},this)}function C(t,e,i){var n=i%e.length;return t[n]=t[n]||[],n}}});t.exports=c},"79d9":function(t,e,i){"use strict";var n=i("3999"),a=i("0290"),r=i("1073"),o=r.getLayoutParams,s=r.sizeCalculable,l=r.mergeLayoutParam,c=a.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,i,n){var a=o(t);c.superApply(this,"init",arguments),u(t,a)},mergeOption:function(t,e){c.superApply(this,"mergeOption",arguments),u(this.option,t)}});function u(t,e){var i=t.cellSize;n.isArray(i)?1===i.length&&(i[1]=i[0]):i=t.cellSize=[i,i];var a=n.map([0,1],function(t){return s(e,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]});l(t,e,{type:"box",ignoreSize:a})}var h=c;t.exports=h},"7a1c":function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("2a8d"),o=r.enableClassCheck;function s(t){return"_EC_"+t}var l=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},c=l.prototype;function u(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function h(t,e,i){this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}c.type="graph",c.isDirected=function(){return this._directed},c.addNode=function(t,e){t=t||""+e;var i=this._nodesMap;if(!i[s(t)]){var n=new u(t,e);return n.hostGraph=this,this.nodes.push(n),i[s(t)]=n,n}},c.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},c.getNodeById=function(t){return this._nodesMap[s(t)]},c.addEdge=function(t,e,i){var n=this._nodesMap,a=this._edgesMap;if("number"===typeof t&&(t=this.nodes[t]),"number"===typeof e&&(e=this.nodes[e]),u.isInstance(t)||(t=n[s(t)]),u.isInstance(e)||(e=n[s(e)]),t&&e){var r=t.id+"-"+e.id;if(!a[r]){var o=new h(t,e,i);return o.hostGraph=this,this._directed&&(t.outEdges.push(o),e.inEdges.push(o)),t.edges.push(o),t!==e&&e.edges.push(o),this.edges.push(o),a[r]=o,o}}},c.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},c.getEdge=function(t,e){u.isInstance(t)&&(t=t.id),u.isInstance(e)&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},c.eachNode=function(t,e){for(var i=this.nodes,n=i.length,a=0;a<n;a++)i[a].dataIndex>=0&&t.call(e,i[a],a)},c.eachEdge=function(t,e){for(var i=this.edges,n=i.length,a=0;a<n;a++)i[a].dataIndex>=0&&i[a].node1.dataIndex>=0&&i[a].node2.dataIndex>=0&&t.call(e,i[a],a)},c.breadthFirstTraverse=function(t,e,i,n){if(u.isInstance(e)||(e=this._nodesMap[s(e)]),e){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",r=0;r<this.nodes.length;r++)this.nodes[r].__visited=!1;if(!t.call(n,e,null)){var o=[e];while(o.length){var l=o.shift(),c=l[a];for(r=0;r<c.length;r++){var h=c[r],d=h.node1===l?h.node2:h.node1;if(!d.__visited){if(t.call(n,d,l))return;o.push(d),d.__visited=!0}}}}}},c.update=function(){for(var t=this.data,e=this.edgeData,i=this.nodes,n=this.edges,a=0,r=i.length;a<r;a++)i[a].dataIndex=-1;for(a=0,r=t.count();a<r;a++)i[t.getRawIndex(a)].dataIndex=a;e.filterSelf(function(t){var i=n[e.getRawIndex(t)];return i.node1.dataIndex>=0&&i.node2.dataIndex>=0});for(a=0,r=n.length;a<r;a++)n[a].dataIndex=-1;for(a=0,r=e.count();a<r;a++)n[e.getRawIndex(a)].dataIndex=a},c.clone=function(){for(var t=new l(this._directed),e=this.nodes,i=this.edges,n=0;n<e.length;n++)t.addNode(e[n].id,e[n].dataIndex);for(n=0;n<i.length;n++){var a=i[n];t.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return t},u.prototype={constructor:u,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,i=e.data.getItemModel(this.dataIndex);return i.getModel(t)}}},h.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,i=e.edgeData.getItemModel(this.dataIndex);return i.getModel(t)}};var d=function(t,e){return{getValue:function(i){var n=this[t][e];return n.get(n.getDimension(i||"value"),this.dataIndex)},setVisual:function(i,n){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[t][e].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};a.mixin(u,d("hostGraph","data")),a.mixin(h,d("hostGraph","edgeData")),l.Node=u,l.Edge=h,o(u),o(h);var p=l;t.exports=p},"7a4b":function(t,e,i){"use strict";var n=i("ac5f");i("ad70"),i("4e3c");var a=i("e266"),r=i("ea34");n.registerVisual(a("effectScatter","circle")),n.registerLayout(r("effectScatter"))},"7afd":function(t,e,i){"use strict";var n=i("3999"),a=i("3205"),r=a.devicePixelRatio,o=i("9064"),s=i("d128");function l(){return!1}function c(t,e,i){var a=n.createCanvas(),r=e.getWidth(),o=e.getHeight(),s=a.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=r+"px",s.height=o+"px",a.setAttribute("data-zr-dom-id",t)),a.width=r*i,a.height=o*i,a}var u=function(t,e,i){var a;i=i||r,"string"===typeof t?a=c(t,e,i):n.isObject(t)&&(a=t,t=a.id),this.id=t,this.dom=a;var o=a.style;o&&(a.onselectstart=l,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o["padding"]=0,o["margin"]=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=c("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,n=this.dom,a=n.style,r=this.domBack;a&&(a.width=t+"px",a.height=e+"px"),n.width=t*i,n.height=e*i,r&&(r.width=t*i,r.height=e*i,1!==i&&this.ctxBack.scale(i,i))},clear:function(t,e){var i,n=this.dom,a=this.ctx,r=n.width,l=n.height,c=(e=e||this.clearColor,this.motionBlur&&!t),u=this.lastFrameAlpha,h=this.dpr;(c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,r/h,l/h)),a.clearRect(0,0,r,l),e&&"transparent"!==e)&&(e.colorStops?(i=e.__canvasGradient||o.getGradient(a,e,{x:0,y:0,width:r,height:l}),e.__canvasGradient=i):e.image&&(i=s.prototype.getCanvasPattern.call(e,a)),a.save(),a.fillStyle=i||e,a.fillRect(0,0,r,l),a.restore());if(c){var d=this.domBack;a.save(),a.globalAlpha=u,a.drawImage(d,0,0,r,l),a.restore()}}};var h=u;t.exports=h},"7b37":function(t,e,i){"use strict";var n=i("bc9d"),a=i("ac5f"),r=i("3999"),o=["itemStyle","opacity"],s=["lineStyle","opacity"];function l(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function c(t,e,i){var n=t.getGraphicEl(),a=l(t,e);null!=i&&(null==a&&(a=1),a*=i),n.downplay&&n.downplay(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",a)})}function u(t,e){var i=l(t,e),n=t.getGraphicEl();n.highlight&&n.highlight(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",i)})}var h=n.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(t,e){var i=e.extent,n=e.orient;"vertical"===n?(t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),t.lineTo(e.x2+i,e.y2),t.bezierCurveTo(e.cpx2+i,e.cpy2,e.cpx1+i,e.cpy1,e.x1+i,e.y1)):(t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),t.lineTo(e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i)),t.closePath()}}),d=a.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(t,e,i){var a=this,r=t.getGraph(),o=this.group,s=t.layoutInfo,l=s.width,c=s.height,u=t.getData(),d=t.getData("edge"),f=t.get("orient");this._model=t,o.removeAll(),o.attr("position",[s.x,s.y]),r.eachEdge(function(e){var i=new h;i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var a,r,s,u,p,g,m,v,y=e.getModel("lineStyle"),x=y.get("curveness"),_=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=e.node2.getLayout(),T=e.node2.getModel(),A=T.get("localX"),I=T.get("localY"),C=e.getLayout();switch(i.shape.extent=Math.max(1,C.dy),i.shape.orient=f,"vertical"===f?(a=(null!=w?w*l:_.x)+C.sy,r=(null!=S?S*c:_.y)+_.dy,s=(null!=A?A*l:M.x)+C.ty,u=null!=I?I*c:M.y,p=a,g=r*(1-x)+u*x,m=s,v=r*x+u*(1-x)):(a=(null!=w?w*l:_.x)+_.dx,r=(null!=S?S*c:_.y)+C.sy,s=null!=A?A*l:M.x,u=(null!=I?I*c:M.y)+C.ty,p=a*(1-x)+s*x,g=r,m=a*x+s*(1-x),v=u),i.setShape({x1:a,y1:r,x2:s,y2:u,cpx1:p,cpy1:g,cpx2:m,cpy2:v}),i.setStyle(y.getItemStyle()),i.style.fill){case"source":i.style.fill=e.node1.getVisual("color");break;case"target":i.style.fill=e.node2.getVisual("color");break}n.setHoverStyle(i,e.getModel("emphasis.lineStyle").getItemStyle()),o.add(i),d.setItemGraphicEl(e.dataIndex,i)}),r.eachNode(function(e){var i=e.getLayout(),a=e.getModel(),r=a.get("localX"),s=a.get("localY"),h=a.getModel("label"),d=a.getModel("emphasis.label"),p=new n.Rect({shape:{x:null!=r?r*l:i.x,y:null!=s?s*c:i.y,width:i.dx,height:i.dy},style:a.getModel("itemStyle").getItemStyle()}),f=e.getModel("emphasis.itemStyle").getItemStyle();n.setLabelStyle(p.style,f,h,d,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),p.setStyle("fill",e.getVisual("color")),n.setHoverStyle(p,f),o.add(p),u.setItemGraphicEl(e.dataIndex,p),p.dataType="node"}),u.eachItemGraphicEl(function(e,n){var r=u.getItemModel(n);r.get("draggable")&&(e.drift=function(e,r){a._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=r,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(n),localX:this.shape.x/l,localY:this.shape.y/c})},e.ondragend=function(){a._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move"),r.get("focusNodeAdjacency")&&(e.off("mouseover").on("mouseover",function(){a._focusAdjacencyDisabled||i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.off("mouseout").on("mouseout",function(){a._focusAdjacencyDisabled||i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))}),d.eachItemGraphicEl(function(e,n){var r=d.getItemModel(n);r.get("focusNodeAdjacency")&&(e.off("mouseover").on("mouseover",function(){a._focusAdjacencyDisabled||i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),e.off("mouseout").on("mouseout",function(){a._focusAdjacencyDisabled||i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))}),!this._data&&t.get("animation")&&o.setClipPath(p(o.getBoundingRect(),t,function(){o.removeClipPath()})),this._data=t.getData()},dispose:function(){},focusNodeAdjacency:function(t,e,i,n){var a=this._model.getData(),l=a.graph,h=n.dataIndex,d=a.getItemModel(h),p=n.edgeDataIndex;if(null!=h||null!=p){var f=l.getNodeByIndex(h),g=l.getEdgeByIndex(p);if(l.eachNode(function(t){c(t,o,.1)}),l.eachEdge(function(t){c(t,s,.1)}),f){u(f,o);var m=d.get("focusNodeAdjacency");"outEdges"===m?r.each(f.outEdges,function(t){t.dataIndex<0||(u(t,s),u(t.node2,o))}):"inEdges"===m?r.each(f.inEdges,function(t){t.dataIndex<0||(u(t,s),u(t.node1,o))}):"allEdges"===m&&r.each(f.edges,function(t){t.dataIndex<0||(u(t,s),u(t.node1,o),u(t.node2,o))})}g&&(u(g,s),u(g.node1,o),u(g.node2,o))}},unfocusNodeAdjacency:function(t,e,i,n){var a=this._model.getGraph();a.eachNode(function(t){c(t,o)}),a.eachEdge(function(t){c(t,s)})}});function p(t,e,i){var a=new n.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return n.initProps(a,{shape:{width:t.width+20,height:t.height+20}},e,i),a}t.exports=d},"7b7b":function(t,e,i){"use strict";var n=i("3999"),a=i("0290"),r=i("9b77"),o=i("d4d0"),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function c(t,e){return e.type||(e.data?"category":"value")}n.merge(s.prototype,o),r("single",s,c,l);var u=s;t.exports=u},"7d12":function(t,e,i){"use strict";var n=i("26a6"),a=i("c65c"),r=i("f3b5"),o=Math.sqrt,s=Math.sin,l=Math.cos,c=Math.PI,u=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(u(t)*u(e))},d=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(h(t,e))};function p(t,e,i,n,a,r,u,p,f,g,m){var v=f*(c/180),y=l(v)*(t-i)/2+s(v)*(e-n)/2,x=-1*s(v)*(t-i)/2+l(v)*(e-n)/2,_=y*y/(u*u)+x*x/(p*p);_>1&&(u*=o(_),p*=o(_));var b=(a===r?-1:1)*o((u*u*(p*p)-u*u*(x*x)-p*p*(y*y))/(u*u*(x*x)+p*p*(y*y)))||0,w=b*u*x/p,S=b*-p*y/u,M=(t+i)/2+l(v)*w-s(v)*S,T=(e+n)/2+s(v)*w+l(v)*S,A=d([1,0],[(y-w)/u,(x-S)/p]),I=[(y-w)/u,(x-S)/p],C=[(-1*y-w)/u,(-1*x-S)/p],D=d(I,C);h(I,C)<=-1&&(D=c),h(I,C)>=1&&(D=0),0===r&&D>0&&(D-=2*c),1===r&&D<0&&(D+=2*c),m.addData(g,M,T,u,p,A,D,v,r)}var f=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t){if(!t)return new a;for(var e,i=0,n=0,r=i,o=n,s=new a,l=a.CMD,c=t.match(f),u=0;u<c.length;u++){for(var h,d=c[u],m=d.charAt(0),v=d.match(g)||[],y=v.length,x=0;x<y;x++)v[x]=parseFloat(v[x]);var _=0;while(_<y){var b,w,S,M,T,A,I,C=i,D=n;switch(m){case"l":i+=v[_++],n+=v[_++],h=l.L,s.addData(h,i,n);break;case"L":i=v[_++],n=v[_++],h=l.L,s.addData(h,i,n);break;case"m":i+=v[_++],n+=v[_++],h=l.M,s.addData(h,i,n),r=i,o=n,m="l";break;case"M":i=v[_++],n=v[_++],h=l.M,s.addData(h,i,n),r=i,o=n,m="L";break;case"h":i+=v[_++],h=l.L,s.addData(h,i,n);break;case"H":i=v[_++],h=l.L,s.addData(h,i,n);break;case"v":n+=v[_++],h=l.L,s.addData(h,i,n);break;case"V":n=v[_++],h=l.L,s.addData(h,i,n);break;case"C":h=l.C,s.addData(h,v[_++],v[_++],v[_++],v[_++],v[_++],v[_++]),i=v[_-2],n=v[_-1];break;case"c":h=l.C,s.addData(h,v[_++]+i,v[_++]+n,v[_++]+i,v[_++]+n,v[_++]+i,v[_++]+n),i+=v[_-2],n+=v[_-1];break;case"S":b=i,w=n;var L=s.len(),k=s.data;e===l.C&&(b+=i-k[L-4],w+=n-k[L-3]),h=l.C,C=v[_++],D=v[_++],i=v[_++],n=v[_++],s.addData(h,b,w,C,D,i,n);break;case"s":b=i,w=n;L=s.len(),k=s.data;e===l.C&&(b+=i-k[L-4],w+=n-k[L-3]),h=l.C,C=i+v[_++],D=n+v[_++],i+=v[_++],n+=v[_++],s.addData(h,b,w,C,D,i,n);break;case"Q":C=v[_++],D=v[_++],i=v[_++],n=v[_++],h=l.Q,s.addData(h,C,D,i,n);break;case"q":C=v[_++]+i,D=v[_++]+n,i+=v[_++],n+=v[_++],h=l.Q,s.addData(h,C,D,i,n);break;case"T":b=i,w=n;L=s.len(),k=s.data;e===l.Q&&(b+=i-k[L-4],w+=n-k[L-3]),i=v[_++],n=v[_++],h=l.Q,s.addData(h,b,w,i,n);break;case"t":b=i,w=n;L=s.len(),k=s.data;e===l.Q&&(b+=i-k[L-4],w+=n-k[L-3]),i+=v[_++],n+=v[_++],h=l.Q,s.addData(h,b,w,i,n);break;case"A":S=v[_++],M=v[_++],T=v[_++],A=v[_++],I=v[_++],C=i,D=n,i=v[_++],n=v[_++],h=l.A,p(C,D,i,n,A,I,S,M,T,h,s);break;case"a":S=v[_++],M=v[_++],T=v[_++],A=v[_++],I=v[_++],C=i,D=n,i+=v[_++],n+=v[_++],h=l.A,p(C,D,i,n,A,I,S,M,T,h,s);break}}"z"!==m&&"Z"!==m||(h=l.Z,s.addData(h),i=r,n=o),e=h}return s.toStatic(),s}function v(t,e){var i=m(t);return e=e||{},e.buildPath=function(t){if(t.setData){t.setData(i.data);var e=t.getContext();e&&t.rebuildPath(e)}else{e=t;i.rebuildPath(e)}},e.applyTransform=function(t){r(i,t),this.dirty(!0)},e}function y(t,e){return new n(v(t,e))}function x(t,e){return n.extend(v(t,e))}function _(t,e){for(var i=[],a=t.length,r=0;r<a;r++){var o=t[r];o.path||o.createPathProxy(),o.__dirtyPath&&o.buildPath(o.path,o.shape,!0),i.push(o.path)}var s=new n(e);return s.createPathProxy(),s.buildPath=function(t){t.appendPath(i);var e=t.getContext();e&&t.rebuildPath(e)},s}e.createFromString=y,e.extendFromString=x,e.mergePath=_},"7d61":function(t,e,i){"use strict";var n=i("3e4d"),a=i("bc9d"),r=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(r):null)},getFont:function(){return a.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return n.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o},"7e21":function(t,e,i){"use strict";var n=i("8a7d"),a=n.round;function r(t,e,i,r){var s={},c=t[1]-t[0],u=s.interval=n.nice(c/e,!0);null!=i&&u<i&&(u=s.interval=i),null!=r&&u>r&&(u=s.interval=r);var h=s.intervalPrecision=o(u),d=s.niceTickExtent=[a(Math.ceil(t[0]/u)*u,h),a(Math.floor(t[1]/u)*u,h)];return l(d,t),s}function o(t){return n.getPrecisionSafe(t)+2}function s(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function c(t,e,i,n){var r=[];if(!t)return r;var o=1e4;e[0]<i[0]&&r.push(e[0]);var s=i[0];while(s<=i[1]){if(r.push(s),s=a(s+t,n),s===r[r.length-1])break;if(r.length>o)return[]}return e[1]>(r.length?r[r.length-1]:i[1])&&r.push(e[1]),r}e.intervalScaleNiceTicks=r,e.getIntervalPrecision=o,e.fixExtent=l,e.intervalScaleGetTicks=c},"7e37":function(t,e,i){"use strict";function n(t){return t}function a(t,e,i,a,r){this._old=t,this._new=e,this._oldKeyGetter=i||n,this._newKeyGetter=a||n,this.context=r}function r(t,e,i,n,a){for(var r=0;r<t.length;r++){var o="_ec_"+a[n](t[r],r),s=e[o];null==s?(i.push(o),e[o]=r):(s.length||(e[o]=s=[s]),s.push(r))}}a.prototype={constructor:a,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,i={},n={},a=[],o=[];for(r(t,i,a,"_oldKeyGetter",this),r(e,n,o,"_newKeyGetter",this),u=0;u<t.length;u++){var s=a[u],l=n[s];if(null!=l){var c=l.length;c?(1===c&&(n[s]=null),l=l.unshift()):n[s]=null,this._update&&this._update(l,u)}else this._remove&&this._remove(u)}for(var u=0;u<o.length;u++){s=o[u];if(n.hasOwnProperty(s)){l=n[s];if(null==l)continue;if(l.length){var h=0;for(c=l.length;h<c;h++)this._add&&this._add(l[h])}else this._add&&this._add(l)}}}};var o=a;t.exports=o},"7e47":function(t,e,i){"use strict";var n=i("ac5f");i("ff08"),i("e033"),i("1eeb");var a=i("bb2c"),r=i("e266"),o=i("2d68"),s=i("8224"),l=i("f7a1");n.registerVisual(a("radar")),n.registerVisual(r("radar","circle")),n.registerLayout(o),n.registerProcessor(s("radar")),n.registerPreprocessor(l)},"7e71":function(t,e,i){"use strict";var n=i("ac5f"),a="\0_ec_interaction_mutex";function r(t,e,i){var n=l(t);n[e]=i}function o(t,e,i){var n=l(t),a=n[e];a===i&&(n[e]=null)}function s(t,e){return!!l(t)[e]}function l(t){return t[a]||(t[a]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.take=r,e.release=o,e.isTaken=s},"7e87":function(t,e,i){"use strict";var n=i("b96a"),a=i("1073"),r=a.mergeLayoutParam,o=a.getLayoutParams,s=n.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,i,n){var a=o(t);s.superCall(this,"init",t,e,i,n),l(this,t,a)},mergeOption:function(t,e){s.superCall(this,"mergeOption",t,e),l(this,this.option,t)},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}}});function l(t,e,i){var n=t.getOrient(),a=[1,1];a[n.index]=0,r(e,i,{type:"box",ignoreSize:a})}var c=s;t.exports=c},"7ee6":function(t,e,i){"use strict";var n=i("3999"),a=i("1882"),r=i("75c9"),o=a.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});n.mixin(o,r);var s=o;t.exports=s},"7f6a":function(t,e,i){"use strict";var n=i("91cd"),a=i("3999"),r=i("75e6");function o(t,e){n.call(this,t,e,"clipPath","__clippath_in_use__")}a.inherits(o,n),o.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var i=this.getTextSvgElement(t);i&&this.updateDom(i,t.__clipPaths,!0),this.markUsed(t)},o.prototype.updateDom=function(t,e,i){if(e&&e.length>0){var n,a,o=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),n=s[l],o.contains(n)||o.appendChild(n)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,n=this.createElement("clipPath"),n.setAttribute("id",a),o.appendChild(n),s[l]=n);var c=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var u=Array.prototype.slice.call(s.transform);r.mul(s.transform,s.parent.invTransform,s.transform),c.brush(s),s.transform=u}else c.brush(s);var h=this.getSvgElement(s);n.innerHTML="",n.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(n,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&t.__clipPaths.length>0&&a.each(t.__clipPaths,function(t){t._dom&&n.prototype.markUsed.call(e,t._dom),t._textDom&&n.prototype.markUsed.call(e,t._textDom)})};var s=o;t.exports=s},"7f9c":function(t,e,i){"use strict";var n=i("3999"),a=i("8a7d"),r=a.parsePercent,o=n.each;function s(t){var e=l(t);o(e,function(t){var e=t.seriesModels;e.length&&(c(t),o(e,function(e,i){u(e,t.boxOffsetList[i],t.boxWidthList[i])}))})}function l(t){var e=[],i=[];return t.eachSeriesByType("boxplot",function(t){var a=t.getBaseAxis(),r=n.indexOf(i,a);r<0&&(r=i.length,i[r]=a,e[r]={axis:a,seriesModels:[]}),e[r].seriesModels.push(t)}),e}function c(t){var e,i,a=t.axis,s=t.seriesModels,l=s.length,c=t.boxWidthList=[],u=t.boxOffsetList=[],h=[];if("category"===a.type)i=a.getBandWidth();else{var d=0;o(s,function(t){d=Math.max(d,t.getData().count())}),e=a.getExtent(),Math.abs(e[1]-e[0])}o(s,function(t){var e=t.get("boxWidth");n.isArray(e)||(e=[e,e]),h.push([r(e[0],i)||0,r(e[1],i)||0])});var p=.8*i-2,f=p/l*.3,g=(p-f*(l-1))/l,m=g/2-p/2;o(s,function(t,e){u.push(m),m+=f+g,c.push(Math.min(Math.max(g,h[e][0]),h[e][1]))})}function u(t,e,i){var n=t.coordinateSystem,a=t.getData(),r=i/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],c=a.mapDimension(l[o]),u=a.mapDimension(l[s],!0);if(!(null==c||u.length<5))for(var h=0;h<a.count();h++){var d=a.get(c,h),p=x(d,u[2],h),f=x(d,u[0],h),g=x(d,u[1],h),m=x(d,u[3],h),v=x(d,u[4],h),y=[];_(y,g,0),_(y,m,1),y.push(f,g,v,m),b(y,f),b(y,v),b(y,p),a.setItemLayout(h,{initBaseline:p[s],ends:y})}function x(t,i,r){var l,c=a.get(i,r),u=[];return u[o]=t,u[s]=c,isNaN(t)||isNaN(c)?l=[NaN,NaN]:(l=n.dataToPoint(u),l[o]+=e),l}function _(t,e,i){var n=e.slice(),a=e.slice();n[o]+=r,a[o]-=r,i?t.push(n,a):t.push(a,n)}function b(t,e){var i=e.slice(),n=e.slice();i[o]-=r,n[o]+=r,t.push(i,n)}}t.exports=s},8073:function(t,e,i){"use strict";var n=i("3999"),a=i("0290");i("ac5e");var r=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&n.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},setAxisExpand:function(t){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);n.each(i,function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)})}});t.exports=r},"80c4":function(t,e,i){"use strict";function n(t){var e=t.getRect(),i=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(e,i){return t.dataToPoint(e,i)}}}}t.exports=n},8224:function(t,e,i){"use strict";function n(t){return{seriesType:t,reset:function(t,e){var i=e.findComponents({mainType:"legend"});if(i&&i.length){var n=t.getData();n.filterSelf(function(t){for(var e=n.getName(t),a=0;a<i.length;a++)if(!i[a].isSelected(e))return!1;return!0})}}}}t.exports=n},"824e":function(t,e,i){"use strict";var n=i("3999"),a=n.each,r=n.map,o=n.isFunction,s=n.createHashMap,l=n.noop,c=i("0744"),u=c.createTask,h=i("2ef2"),d=h.getUID,p=i("bc87"),f=i("6f8e"),g=i("f63f"),m=g.normalizeToArray;function v(t,e,i,n){this.ecInstance=t,this.api=e,this.unfinished;i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice();this._allHandlers=i.concat(n),this._stageTaskMap=s()}var y=v.prototype;function x(t,e,i,n,r){var o;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}r=r||{},a(e,function(e,a){if(!r.visualType||r.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var h,d=u.agentStubMap;d.each(function(t){s(r,t)&&(t.dirty(),h=!0)}),h&&u.dirty(),_(u,n);var p=t.getPerformArgs(u,r.block);d.each(function(t){t.perform(p)}),o|=u.perform(p)}else c&&c.each(function(a,l){s(r,a)&&a.dirty();var c=t.getPerformArgs(a,r.block);c.skip=!e.performRawSeries&&i.isSeriesFiltered(a.context.model),_(a,n),o|=a.perform(c)})}}),t.unfinished|=o}y.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},y.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context,a=!e&&i.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>i.blockIndex,r=a?i.step:null,o=n&&n.modDataCount,s=null!=o?Math.ceil(o/r):null;return{step:r,modBy:s,modDataCount:o}}},y.getPipeline=function(t){return this._pipelineMap.get(t)},y.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData(),a=n.count(),r=i.progressiveEnabled&&e.incrementalPrepareRender&&a>=i.threshold,o=t.get("large")&&a>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?a:null;t.pipelineContext=i.context={progressiveRender:r,modDataCount:s,large:o}},y.restorePipelines=function(t){var e=this,i=e._pipelineMap=s();t.eachSeries(function(t){var n=t.getProgressive(),a=t.uid;i.set(a,{id:a,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),P(e,t,t.dataTask)})},y.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;a(this._allHandlers,function(n){var a=t.get(n.uid)||t.set(n.uid,[]);n.reset&&b(this,n,a,e,i),n.overallReset&&w(this,n,a,e,i)},this)},y.prepareView=function(t,e,i,n){var a=t.renderTask,r=a.context;r.model=e,r.ecModel=i,r.api=n,a.__block=!t.incrementalPrepareRender,P(this,e,a)},y.performDataProcessorTasks=function(t,e){x(this,this._dataProcessorHandlers,t,e,{block:!0})},y.performVisualTasks=function(t,e,i){x(this,this._visualHandlers,t,e,i)},y.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},y.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)})};var _=y.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function b(t,e,i,n,a){var r=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;function c(i){var o=i.uid,s=r.get(o)||r.set(o,u({plan:I,reset:C,count:k}));s.context={model:i,ecModel:n,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},P(t,i,s)}e.createOnAllSeries?n.eachRawSeries(c):o?n.eachRawSeriesByType(o,c):l&&l(n,a).each(c);var h=t._pipelineMap;r.each(function(t,e){h.get(e)||(t.dispose(),r.removeKey(e))})}function w(t,e,i,n,r){var o=i.overallTask=i.overallTask||u({reset:S});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),c=e.seriesType,h=e.getTargetSeries,d=!0,p=e.modifyOutputEnd;function f(e){var i=e.uid,n=l.get(i);n||(n=l.set(i,u({reset:M,onDirty:A})),o.dirty()),n.context={model:e,overallProgress:d,modifyOutputEnd:p},n.agent=o,n.__block=d,P(t,e,n)}c?n.eachRawSeriesByType(c,f):h?h(n,r).each(f):(d=!1,a(n.getSeries(),f));var g=t._pipelineMap;l.each(function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))})}function S(t){t.overallReset(t.ecModel,t.api,t.payload)}function M(t,e){return t.overallProgress&&T}function T(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function I(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function C(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=m(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,function(t,e){return L(e)}):D}var D=L(0);function L(t){return function(e,i){var n=i.data,a=i.resetDefines[t];if(a&&a.dataEach)for(var r=e.start;r<e.end;r++)a.dataEach(n,r);else a&&a.progress&&a.progress(e,n)}}function k(t){return t.data.count()}function P(t,e,i){var n=e.uid,a=t._pipelineMap.get(n);!a.head&&(a.head=i),a.tail&&a.tail.pipe(i),a.tail=i,i.__idxInPipeline=a.count++,i.__pipeline=a}function R(t){E=null;try{t(O,N)}catch(e){}return E}v.wrapStageHandler=function(t,e){return o(t)&&(t={overallReset:t,seriesType:R(t)}),t.uid=d("stageHandler"),e&&(t.visualType=e),t};var E,O={},N={};function z(t,e){for(var i in e.prototype)t[i]=l}z(O,p),z(N,f),O.eachSeriesByType=O.eachRawSeriesByType=function(t){E=t},O.eachComponent=function(t){"series"===t.mainType&&t.subType&&(E=t.subType)};var V=v;t.exports=V},"826d":function(t,e,i){"use strict";var n="http://www.w3.org/2000/svg";function a(t){return document.createElementNS(n,t)}e.createElement=a},"82e1":function(t,e,i){"use strict";var n=i("3999"),a={get:function(t,e,i){var a=n.clone((r[t]||{})[e]);return i&&n.isArray(a)?a[a.length-1]:a}},r={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]}},o=a;t.exports=o},"836f":function(t,e,i){"use strict";var n=["itemStyle","borderColor"];function a(t,e){var i=t.get("color");t.eachRawSeriesByType("boxplot",function(e){var a=i[e.seriesIndex%i.length],r=e.getData();r.setVisual({legendSymbol:"roundRect",color:e.get(n)||a}),t.isSeriesFiltered(e)||r.each(function(t){var e=r.getItemModel(t);r.setItemVisual(t,{color:e.get(n,!0)})})})}t.exports=a},"83b5":function(t,e,i){"use strict";var n=i("3999"),a=i("b04a"),r=["x","y","z","radius","angle","single"],o=["cartesian2d","polar","singleAxis"];function s(t){return n.indexOf(o,t)>=0}function l(t,e){t=t.slice();var i=n.map(t,a.capitalFirst);e=(e||[]).slice();var r=n.map(e,a.capitalFirst);return function(a,o){n.each(t,function(t,n){for(var s={name:t,capital:i[n]},l=0;l<e.length;l++)s[e[l]]=t+r[l];a.call(o,s)})}}var c=l(r,["axisIndex","axis","index","id"]);function u(t,e,i){return function(i){var n,s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!i)return s;o(i,s);do{n=!1,t(l)}while(n);function l(t){!a(t,s)&&r(t,s)&&(o(t,s),n=!0)}return s};function a(t,e){return n.indexOf(e.nodes,t)>=0}function r(t,a){var r=!1;return e(function(e){n.each(i(t,e)||[],function(t){a.records[e.name][t]&&(r=!0)})}),r}function o(t,a){a.nodes.push(t),e(function(e){n.each(i(t,e)||[],function(t){a.records[e.name][t]=!0})})}}e.isCoordSupported=s,e.createNameEach=l,e.eachAxisDim=c,e.createLinkedNodesFinder=u},8501:function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r=Math.PI;function o(t,e){e=e||{},n.defaults(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var i=new a.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),o=new a.Arc({shape:{startAngle:-r/2,endAngle:-r/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new a.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*r/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*r/2}).delay(300).start("circularInOut");var l=new a.Group;return l.add(o),l.add(s),l.add(i),l.resize=function(){var e=t.getWidth()/2,n=t.getHeight()/2;o.setShape({cx:e,cy:n});var a=o.shape.r;s.setShape({x:e-a,y:n-a,width:2*a,height:2*a}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}t.exports=o},8659:function(t,e,i){"use strict";var n=i("c478"),a=n.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});t.exports=a},"86f5":function(t,e,i){"use strict";var n={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};t.exports=n},8760:function(t,e,i){"use strict";var n=i("3999"),a=i("8a7d"),r=a.parsePercent,o=i("b0c1"),s=o.isDimensionStacked,l=i("6ad5"),c="__ec_stack_",u=.5,h="undefined"!==typeof Float32Array?Float32Array:Array;function d(t){return t.get("stack")||c+t.seriesIndex}function p(t){return t.dim+t.index}function f(t){var e=[],i=t.axis,a="axis0";if("category"===i.type){for(var r=i.getBandWidth(),o=0;o<t.count;o++)e.push(n.defaults({bandWidth:r,axisKey:a,stackId:c+o},t));var s=v(e),l=[];for(o=0;o<t.count;o++){var u=s[a][c+o];u.offsetCenter=u.offset+u.width/2,l.push(u)}return l}}function g(t,e){var i=[];return e.eachSeriesByType(t,function(t){b(t)&&!w(t)&&i.push(t)}),i}function m(t){var e=[];return n.each(t,function(t){var i=t.getData(),n=t.coordinateSystem,a=n.getBaseAxis(),o=a.getExtent(),s="category"===a.type?a.getBandWidth():Math.abs(o[1]-o[0])/i.count(),l=r(t.get("barWidth"),s),c=r(t.get("barMaxWidth"),s),u=t.get("barGap"),h=t.get("barCategoryGap");e.push({bandWidth:s,barWidth:l,barMaxWidth:c,barGap:u,barCategoryGap:h,axisKey:p(a),stackId:d(t)})}),v(e)}function v(t){var e={};n.each(t,function(t,i){var n=t.axisKey,a=t.bandWidth,r=e[n]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;e[n]=r;var s=t.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(r.remainedWidth,l),r.remainedWidth-=l);var c=t.barMaxWidth;c&&(o[s].maxWidth=c);var u=t.barGap;null!=u&&(r.gap=u);var h=t.barCategoryGap;null!=h&&(r.categoryGap=h)});var i={};return n.each(e,function(t,e){i[e]={};var a=t.stacks,o=t.bandWidth,s=r(t.categoryGap,o),l=r(t.gap,1),c=t.remainedWidth,u=t.autoWidthCount,h=(c-s)/(u+(u-1)*l);h=Math.max(h,0),n.each(a,function(t,e){var i=t.maxWidth;i&&i<h&&(i=Math.min(i,c),t.width&&(i=Math.min(i,t.width)),c-=i,t.width=i,u--)}),h=(c-s)/(u+(u-1)*l),h=Math.max(h,0);var d,p=0;n.each(a,function(t,e){t.width||(t.width=h),d=t,p+=t.width*(1+l)}),d&&(p-=d.width*l);var f=-p/2;n.each(a,function(t,n){i[e][n]=i[e][n]||{offset:f,width:t.width},f+=t.width*(1+l)})}),i}function y(t,e,i){if(t&&e){var n=t[p(e)];return null!=n&&null!=i&&(n=n[d(i)]),n}}function x(t,e){var i=g(t,e),a=m(i),r={},o={};n.each(i,function(t){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),l=d(t),c=a[p(n)][l],u=c.offset,h=c.width,f=i.getOtherAxis(n),g=t.get("barMinHeight")||0;r[l]=r[l]||[],o[l]=o[l]||[],e.setLayout({offset:u,size:h});for(var m=e.mapDimension(f.dim),v=e.mapDimension(n.dim),y=s(e,m),x=f.isHorizontal(),_=S(n,f,y),b=0,w=e.count();b<w;b++){var M=e.get(m,b),T=e.get(v,b);if(!isNaN(M)){var A,I,C,D,L=M>=0?"p":"n",k=_;if(y&&(r[l][T]||(r[l][T]={p:_,n:_}),k=r[l][T][L]),x){var P=i.dataToPoint([M,T]);A=k,I=P[1]+u,C=P[0]-_,D=h,Math.abs(C)<g&&(C=(C<0?-1:1)*g),y&&(r[l][T][L]+=C)}else{P=i.dataToPoint([T,M]);A=P[0]+u,I=k,C=h,D=P[1]-_,Math.abs(D)<g&&(D=(D<=0?-1:1)*g),y&&(r[l][T][L]+=D)}e.setItemLayout(b,{x:A,y:I,width:C,height:D})}}},this)}var _={seriesType:"bar",plan:l(),reset:function(t){if(b(t)&&w(t)){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),a=i.getOtherAxis(n),r=e.mapDimension(a.dim),o=e.mapDimension(n.dim),s=a.isHorizontal(),l=s?0:1,c=y(m([t]),n,t).width;return c>u||(c=u),{progress:d}}function d(t,e){var u,d=new h(2*t.count),p=[],f=[],g=0;while(null!=(u=t.next()))f[l]=e.get(r,u),f[1-l]=e.get(o,u),p=i.dataToPoint(f,null,p),d[g++]=p[0],d[g++]=p[1];e.setLayout({largePoints:d,barWidth:c,valueAxisStart:S(n,a,!1),valueAxisHorizontal:s})}}};function b(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function w(t){return t.pipelineContext&&t.pipelineContext.large}function S(t,e,i){var n,a,r=e.getGlobalExtent();r[0]>r[1]?(n=r[1],a=r[0]):(n=r[0],a=r[1]);var o=e.toGlobalCoord(e.dataToCoord(0));return o<n&&(o=n),o>a&&(o=a),o}e.getLayoutOnAxis=f,e.prepareLayoutBarSeries=g,e.makeColumnLayout=m,e.retrieveColumnLayout=y,e.layout=x,e.largeLayout=_},"880e":function(t,e,i){"use strict";var n=i("26a6"),a=n.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(r),c=Math.sin(r);t.moveTo(l*a+i,c*a+n),t.arc(i,n,a,r,o,!s)}});t.exports=a},"890a":function(t,e,i){"use strict";var n=i("3999"),a=i("c1ef"),r=i("8a7d"),o=r.linearMap,s=n.each,l=n.isObject,c=-1,u=function(t){var e=t.mappingMethod,i=t.type,a=this.option=n.clone(t);this.type=i,this.mappingMethod=e,this._normalizeData=S[e];var r=h[i];this.applyVisual=r.applyVisual,this.getColorMapper=r.getColorMapper,this._doMap=r._doMap[e],"piecewise"===e?(f(a),d(a)):"category"===e?a.categories?p(a):f(a,!0):(n.assert("linear"!==e||a.dataExtent),f(a))};u.prototype={constructor:u,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return n.bind(this._normalizeData,this)}};var h=u.visualHandlers={color:{applyVisual:v("color"),getColorMapper:function(){var t=this.option;return n.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),y.call(this,t)}:function(e,i,n){var r=!!n;return!i&&(e=this._normalizeData(e)),n=a.fastLerp(e,t.parsedVisual,n),r?n:a.stringify(n,"rgba")},this)},_doMap:{linear:function(t){return a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")},category:y,piecewise:function(t,e){var i=b.call(this,e);return null==i&&(i=a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")),i},fixed:x}},colorHue:g(function(t,e){return a.modifyHSL(t,e)}),colorSaturation:g(function(t,e){return a.modifyHSL(t,null,e)}),colorLightness:g(function(t,e){return a.modifyHSL(t,null,null,e)}),colorAlpha:g(function(t,e){return a.modifyAlpha(t,e)}),opacity:{applyVisual:v("opacity"),_doMap:_([0,1])},liftZ:{applyVisual:v("liftZ"),_doMap:{linear:x,category:x,piecewise:x,fixed:x}},symbol:{applyVisual:function(t,e,i){var a=this.mapValueToVisual(t);if(n.isString(a))i("symbol",a);else if(l(a))for(var r in a)a.hasOwnProperty(r)&&i(r,a[r])},_doMap:{linear:m,category:y,piecewise:function(t,e){var i=b.call(this,e);return null==i&&(i=m.call(this,t)),i},fixed:x}},symbolSize:{applyVisual:v("symbolSize"),_doMap:_([0,1])}};function d(t){var e=t.pieceList;t.hasSpecialVisual=!1,n.each(e,function(e,i){e.originIndex=i,null!=e.visual&&(t.hasSpecialVisual=!0)})}function p(t){var e=t.categories,i=t.visual,a=t.categoryMap={};if(s(e,function(t,e){a[t]=e}),!n.isArray(i)){var r=[];n.isObject(i)?s(i,function(t,e){var i=a[e];r[null!=i?i:c]=t}):r[c]=i,i=w(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete a[e[o]],e.pop())}function f(t,e){var i=t.visual,a=[];n.isObject(i)?s(i,function(t){a.push(t)}):null!=i&&a.push(i);var r={color:1,symbol:1};e||1!==a.length||r.hasOwnProperty(t.type)||(a[1]=a[0]),w(t,a)}function g(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))},_doMap:_([0,1])}}function m(t){var e=this.option.visual;return e[Math.round(o(t,[0,1],[0,e.length-1],!0))]||{}}function v(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function y(t){var e=this.option.visual;return e[this.option.loop&&t!==c?t%e.length:t]}function x(){return this.option.visual[0]}function _(t){return{linear:function(e){return o(e,t,this.option.visual,!0)},category:y,piecewise:function(e,i){var n=b.call(this,i);return null==n&&(n=o(e,t,this.option.visual,!0)),n},fixed:x}}function b(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=u.findPieceIndex(t,i),a=i[n];if(a&&a.visual)return a.visual[this.type]}}function w(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,function(t){return a.parse(t)})),e}var S={linear:function(t){return o(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=u.findPieceIndex(t,e,!0);if(null!=i)return o(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?c:e},fixed:n.noop};function M(t,e,i){return t?e<=i:e<i}u.listVisualTypes=function(){var t=[];return n.each(h,function(e,i){t.push(i)}),t},u.addVisualHandler=function(t,e){h[t]=e},u.isValidType=function(t){return h.hasOwnProperty(t)},u.eachVisual=function(t,e,i){n.isObject(t)?n.each(t,e,i):e.call(i,t)},u.mapVisual=function(t,e,i){var a,r=n.isArray(t)?[]:n.isObject(t)?{}:(a=!0,null);return u.eachVisual(t,function(t,n){var o=e.call(i,t,n);a?r=o:r[n]=o}),r},u.retrieveVisuals=function(t){var e,i={};return t&&s(h,function(n,a){t.hasOwnProperty(a)&&(i[a]=t[a],e=!0)}),e?i:null},u.prepareVisualTypes=function(t){if(l(t)){var e=[];s(t,function(t,i){e.push(i)}),t=e}else{if(!n.isArray(t))return[];t=t.slice()}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},u.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},u.findPieceIndex=function(t,e,i){for(var n,a=1/0,r=0,o=e.length;r<o;r++){var s=e[r].value;if(null!=s){if(s===t||"string"===typeof s&&s===t+"")return r;i&&h(s,r)}}for(r=0,o=e.length;r<o;r++){var l=e[r],c=l.interval,u=l.close;if(c){if(c[0]===-1/0){if(M(u[1],t,c[1]))return r}else if(c[1]===1/0){if(M(u[0],c[0],t))return r}else if(M(u[0],c[0],t)&&M(u[1],t,c[1]))return r;i&&h(c[0],r),i&&h(c[1],r)}}if(i)return t===1/0?e.length-1:t===-1/0?0:n;function h(e,i){var r=Math.abs(e-t);r<a&&(a=r,n=i)}};var T=u;t.exports=T},"8a50":function(t,e,i){"use strict";var n=i("917f"),a=i("b460"),r=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new n,this._angleAxis=new a,this._radiusAxis.polar=this._angleAxis.polar=this};r.prototype={type:"polar",axisPointerEnabled:!0,constructor:r,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),a=n.getExtent(),r=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]);n.inverse?r=o-360:o=r+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;var l=Math.atan2(-i,e)/Math.PI*180,c=l<r?1:-1;while(l<r||l>o)l+=360*c;return[s,l]},coordToPoint:function(t){var e=t[0],i=t[1]/180*Math.PI,n=Math.cos(i)*e+this.cx,a=-Math.sin(i)*e+this.cy;return[n,a]}};var o=r;t.exports=o},"8a6b":function(t,e,i){"use strict";var n=i("0fee"),a=n.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t}});t.exports=a},"8a71":function(t,e,i){"use strict";var n=i("3999"),a=i("b59c"),r=i("4166"),o=i("4ed0"),s=o.onIrrelevantElement,l=i("bc9d"),c=i("ff7b"),u=i("2ef2"),h=u.getUID;function d(t,e){var i=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(i.fill=n),i}function p(t,e,i,a,r){i.off("click"),i.off("mousedown"),e.get("selectedMode")&&(i.on("mousedown",function(){t._mouseDownFlag=!0}),i.on("click",function(o){if(t._mouseDownFlag){t._mouseDownFlag=!1;var s=o.target;while(!s.__regions)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:n.map(s.__regions,function(t){return{name:t.name,from:r.uid}})};l[e.mainType+"Id"]=e.id,a.dispatchAction(l),f(e,i)}}}))}function f(t,e){e.eachChild(function(e){n.each(e.__regions,function(i){e.trigger(t.isSelected(i.name)?"emphasis":"normal")})})}function g(t,e){var i=new l.Group;this.uid=h("ec_map_draw"),this._controller=new a(t.getZr()),this._controllerHost={target:e?i:null},this.group=i,this._updateGroup=e,this._mouseDownFlag,this._mapName,this._initialized,i.add(this._regionsGroup=new l.Group),i.add(this._backgroundGroup=new l.Group)}g.prototype={constructor:g,draw:function(t,e,i,a,r){var o="geo"===t.mainType,s=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},function(e){s||e.getHostGeoModel()!==t||(s=e.getData())});var c=t.coordinateSystem;this._updateBackground(c);var u=this._regionsGroup,h=this.group,g=c.scale,m={position:c.position,scale:g};!u.childAt(0)||r?h.attr(m):l.updateProps(h,m,t),u.removeAll();var v=["itemStyle"],y=["emphasis","itemStyle"],x=["label"],_=["emphasis","label"],b=n.createHashMap();n.each(c.regions,function(e){var i=b.get(e.name)||b.set(e.name,new l.Group),a=new l.CompoundPath({shape:{paths:[]}});i.add(a);var r,c=t.getRegionModel(e.name)||t,h=c.getModel(v),p=c.getModel(y),f=d(h,g),m=d(p,g),w=c.getModel(x),S=c.getModel(_);if(s){r=s.indexOfName(e.name);var M=s.getItemVisual(r,"color",!0);M&&(f.fill=M)}n.each(e.geometries,function(t){if("polygon"===t.type){a.shape.paths.push(new l.Polygon({shape:{points:t.exterior}}));for(var e=0;e<(t.interiors?t.interiors.length:0);e++)a.shape.paths.push(new l.Polygon({shape:{points:t.interiors[e]}}))}}),a.setStyle(f),a.style.strokeNoScale=!0,a.culling=!0;var T=w.get("show"),A=S.get("show"),I=s&&isNaN(s.get(s.mapDimension("value"),r)),C=s&&s.getItemLayout(r);if(o||I&&(T||A)||C&&C.showLabel){var D,L=o?e.name:r;(!s||r>=0)&&(D=t);var k=new l.Text({position:e.center.slice(),scale:[1/g[0],1/g[1]],z2:10,silent:!0});l.setLabelStyle(k.style,k.hoverStyle={},w,S,{labelFetcher:D,labelDataIndex:L,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),i.add(k)}if(s)s.setItemGraphicEl(r,i);else{c=t.getRegionModel(e.name);a.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:c&&c.option||{}}}var P=i.__regions||(i.__regions=[]);P.push(e),l.setHoverStyle(i,m,{hoverSilentOnTouch:!!t.get("selectedMode")}),u.add(i)}),this._updateController(t,e,i),p(this,t,u,i,a),f(t,u)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&c.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&n.each(c.makeGraphic(e,this.uid),function(t){this._backgroundGroup.add(t)},this),this._mapName=e},_updateController:function(t,e,i){var a=t.coordinateSystem,o=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=a.getZoom(),o.enable(t.get("roam")||!1);var c=t.mainType;function u(){var e={type:"geoRoam",componentType:c};return e[c+"Id"]=t.id,e}o.off("pan").on("pan",function(t){this._mouseDownFlag=!1,r.updateViewOnPan(l,t.dx,t.dy),i.dispatchAction(n.extend(u(),{dx:t.dx,dy:t.dy}))},this),o.off("zoom").on("zoom",function(t){if(this._mouseDownFlag=!1,r.updateViewOnZoom(l,t.scale,t.originX,t.originY),i.dispatchAction(n.extend(u(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse(function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])})}},this),o.setPointerChecker(function(e,n,r){return a.getViewRectAfterRoam().contain(n,r)&&!s(e,i,t)})}};var m=g;t.exports=m},"8a7d":function(t,e,i){"use strict";var n=i("3999"),a=1e-4;function r(t){return t.replace(/^\s+/,"").replace(/\s+$/,"")}function o(t,e,i,n){var a=e[1]-e[0],r=i[1]-i[0];if(0===a)return 0===r?i[0]:(i[0]+i[1])/2;if(n)if(a>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/a*r+i[0]}function s(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?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function c(t){return t.sort(function(t,e){return t-e}),t}function u(t){if(t=+t,isNaN(t))return 0;var e=1,i=0;while(Math.round(t*e)/e!==t)e*=10,i++;return i}function h(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var a=e.indexOf(".");return a<0?0:e.length-1-a}function d(t,e){var i=Math.log,n=Math.LN10,a=Math.floor(i(t[1]-t[0])/n),r=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20}function p(t,e,i){if(!t[e])return 0;var a=n.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===a)return 0;var r=Math.pow(10,i),o=n.map(t,function(t){return(isNaN(t)?0:t)/a*r*100}),s=100*r,l=n.map(o,function(t){return Math.floor(t)}),c=n.reduce(l,function(t,e){return t+e},0),u=n.map(o,function(t,e){return t-l[e]});while(c<s){for(var h=Number.NEGATIVE_INFINITY,d=null,p=0,f=u.length;p<f;++p)u[p]>h&&(h=u[p],d=p);++l[d],u[d]=0,++c}return l[e]/r}var f=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function m(t){return t>-a&&t<a}var v=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function y(t){if(t instanceof Date)return t;if("string"===typeof t){var e=v.exec(t);if(!e)return new Date(NaN);if(e[8]){var i=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(i-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,i,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))}function x(t){return Math.pow(10,_(t))}function _(t){return Math.floor(Math.log(t)/Math.LN10)}function b(t,e){var i,n=_(t),a=Math.pow(10,n),r=t/a;return i=e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10,t=i*a,n>=-20?+t.toFixed(n<0?-n:0):t}function w(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),a=+t[n-1],r=i-n;return r?a+r*(t[n]-a):a}function S(t){t.sort(function(t,e){return s(t,e,0)?-1:1});for(var e=-1/0,i=1,n=0;n<t.length;){for(var a=t[n].interval,r=t[n].close,o=0;o<2;o++)a[o]<=e&&(a[o]=e,r[o]=o?1:1-i),e=a[o],i=r[o];a[0]===a[1]&&r[0]*r[1]!==1?t.splice(n,1):n++}return t;function s(t,e,i){return t.interval[i]<e.interval[i]||t.interval[i]===e.interval[i]&&(t.close[i]-e.close[i]===(i?-1:1)||!i&&s(t,e,1))}}function M(t){return t-parseFloat(t)>=0}e.linearMap=o,e.parsePercent=s,e.round=l,e.asc=c,e.getPrecision=u,e.getPrecisionSafe=h,e.getPixelPrecision=d,e.getPercentWithPrecision=p,e.MAX_SAFE_INTEGER=f,e.remRadian=g,e.isRadianAroundZero=m,e.parseDate=y,e.quantity=x,e.nice=b,e.quantile=w,e.reformIntervals=S,e.isNumeric=M},"8aac":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("35c7"),o=i("82e1"),s=i("890a"),l=i("de11"),c=i("f63f"),u=i("8a7d"),h=s.mapVisual,d=s.eachVisual,p=a.isArray,f=a.each,g=u.asc,m=u.linearMap,v=a.noop,y=n.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,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,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(t,e,i){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(t,i)},optionUpdated:function(t,e){var i=this.option;r.canvasSupported||(i.realtime=!1),!e&&l.replaceVisualOption(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=a.bind(t,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,e,t),this.targetVisuals=l.createVisualMappings(this.option.target,e,t)},getTargetSeriesIndices:function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,i){e.push(i)}):e=c.normalizeToArray(t),e},eachTargetSeries:function(t,e){a.each(this.getTargetSeriesIndices(),function(i){t.call(e,this.ecModel.getSeriesByIndex(i))},this)},isTargetSeries:function(t){var e=!1;return this.eachTargetSeries(function(i){i===t&&(e=!0)}),e},formatValueText:function(t,e,i){var n,r,o=this.option,s=o.precision,l=this.dataBound,c=o.formatter;return i=i||["<",">"],a.isArray(t)&&(t=t.slice(),n=!0),r=e?t:n?[u(t[0]),u(t[1])]:u(t),a.isString(c)?c.replace("{value}",n?r[0]:r).replace("{value2}",n?r[1]:r):a.isFunction(c)?n?c(t[0],t[1]):c(t):n?t[0]===l[0]?i[0]+" "+r[1]:t[1]===l[1]?i[1]+" "+r[0]:r[0]+" - "+r[1]:r;function u(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,i=t.dimensions;if(null!=e||i.length){if(null!=e)return t.getDimension(e);for(var n=t.dimensions,a=n.length-1;a>=0;a--){var r=n[a],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return r}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,i={inRange:e.inRange,outOfRange:e.outOfRange},n=e.target||(e.target={}),r=e.controller||(e.controller={});a.merge(n,i),a.merge(r,i);var l=this.isCategory();function c(i){p(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")},f(this.stateList,function(t){var e=i[t];if(a.isString(e)){var n=o.get(e,"active",l);n?(i[t]={},i[t][e]=n):delete i[t]}},this)}function u(t,e,i){var n=t[e],a=t[i];n&&!a&&(a=t[i]={},f(n,function(t,e){if(s.isValidType(e)){var i=o.get(e,"inactive",l);null!=i&&(a[e]=i,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}}))}function g(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor");f(this.stateList,function(r){var o=this.itemSize,s=t[r];s||(s=t[r]={color:l?n:[n]}),null==s.symbol&&(s.symbol=e&&a.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&a.clone(i)||(l?o[0]:[o[0],o[0]])),s.symbol=h(s.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var c=s.symbolSize;if(null!=c){var u=-1/0;d(c,function(t){t>u&&(u=t)}),s.symbolSize=h(c,function(t){return m(t,[0,u],[0,o[0]],!0)})}},this)}c.call(this,n),c.call(this,r),u.call(this,n,"inRange","outOfRange"),g.call(this,r)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v}),x=y;t.exports=x},"8abd":function(t,e,i){"use strict";function n(t,e,i,n,o,s){e[0]=r(e[0],i),e[1]=r(e[1],i),t=t||0;var l=i[1]-i[0];null!=o&&(o=r(o,[0,l])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===n&&(o=s=Math.abs(e[1]-e[0]),n=0);var c=a(e,n);e[n]+=t;var u=o||0,h=i.slice();c.sign<0?h[0]+=u:h[1]-=u,e[n]=r(e[n],h);var d=a(e,n);null!=o&&(d.sign!==c.sign||d.span<o)&&(e[1-n]=e[n]+c.sign*o);d=a(e,n);return null!=s&&d.span>s&&(e[1-n]=e[n]+d.sign*s),e}function a(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function r(t,e){return Math.min(e[1],Math.max(e[0],t))}t.exports=n},"8baf":function(t,e,i){"use strict";var n=i("2568"),a=n.forceLayout,r=i("f168"),o=r.simpleLayout,s=i("a2d6"),l=s.circularLayout,c=i("8a7d"),u=c.linearMap,h=i("1637"),d=i("3999");function p(t){t.eachSeriesByType("graph",function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var i=t.preservedPoints||{},n=t.getGraph(),r=n.data,s=n.edgeData,c=t.getModel("force"),p=c.get("initLayout");t.preservedPoints?r.each(function(t){var e=r.getId(t);r.setItemLayout(t,i[e]||[NaN,NaN])}):p&&"none"!==p?"circular"===p&&l(t):o(t);var f=r.getDataExtent("value"),g=s.getDataExtent("value"),m=c.get("repulsion"),v=c.get("edgeLength");d.isArray(m)||(m=[m,m]),d.isArray(v)||(v=[v,v]),v=[v[1],v[0]];var y=r.mapArray("value",function(t,e){var i=r.getItemLayout(e),n=u(t,f,m);return isNaN(n)&&(n=(m[0]+m[1])/2),{w:n,rep:n,fixed:r.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}}),x=s.mapArray("value",function(t,e){var i=n.getEdgeByIndex(e),a=u(t,g,v);return isNaN(a)&&(a=(v[0]+v[1])/2),{n1:y[i.node1.dataIndex],n2:y[i.node2.dataIndex],d:a,curveness:i.getModel().get("lineStyle.curveness")||0}}),_=(e=t.coordinateSystem,e.getBoundingRect()),b=a(y,x,{rect:_,gravity:c.get("gravity")}),w=b.step;b.step=function(t){for(var e=0,a=y.length;e<a;e++)y[e].fixed&&h.copy(y[e].p,n.getNodeByIndex(e).getLayout());w(function(e,a,o){for(var s=0,l=e.length;s<l;s++)e[s].fixed||n.getNodeByIndex(s).setLayout(e[s].p),i[r.getId(s)]=e[s].p;for(s=0,l=a.length;s<l;s++){var c=a[s],u=n.getEdgeByIndex(s),d=c.n1.p,p=c.n2.p,f=u.getLayout();f=f?f.slice():[],f[0]=f[0]||[],f[1]=f[1]||[],h.copy(f[0],d),h.copy(f[1],p),+c.curveness&&(f[2]=[(d[0]+p[0])/2-(d[1]-p[1])*c.curveness,(d[1]+p[1])/2-(p[0]-d[0])*c.curveness]),u.setLayout(f)}t&&t(o)})},t.forceLayout=b,t.preservedPoints=i,b.step()}else t.forceLayout=null})}t.exports=p},"8bee":function(t,e,i){"use strict";var n=i("26a6"),a=i("1637"),r=i("a75d"),o=a.min,s=a.max,l=a.scaleAndAdd,c=a.copy,u=[],h=[],d=[];function p(t){return isNaN(t[0])||isNaN(t[1])}function f(t,e,i,n,a,r,o,s,l,c,u){return"none"!==c&&c?g.apply(this,arguments):m.apply(this,arguments)}function g(t,e,i,n,a,r,o,s,l,u,f){for(var g=0,m=i,v=0;v<n;v++){var y=e[m];if(m>=a||m<0)break;if(p(y)){if(f){m+=r;continue}break}if(m===i)t[r>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===u?1:0,b=(y[_]-x[_])*l;c(h,x),h[_]=x[_]+b,c(d,y),d[_]=y[_]-b,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=r}return v}function m(t,e,i,n,r,f,g,m,v,y,x){for(var _=0,b=i,w=0;w<n;w++){var S=e[b];if(b>=r||b<0)break;if(p(S)){if(x){b+=f;continue}break}if(b===i)t[f>0?"moveTo":"lineTo"](S[0],S[1]),c(h,S);else if(v>0){var M=b+f,T=e[M];if(x)while(T&&p(e[M]))M+=f,T=e[M];var A=.5,I=e[_];T=e[M];if(!T||p(T))c(d,S);else{var C,D;if(p(T)&&!x&&(T=S),a.sub(u,T,I),"x"===y||"y"===y){var L="x"===y?0:1;C=Math.abs(S[L]-I[L]),D=Math.abs(S[L]-T[L])}else C=a.dist(S,I),D=a.dist(S,T);A=D/(D+C),l(d,S,u,-v*(1-A))}o(h,h,m),s(h,h,g),o(d,d,m),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,u,v*A)}else t.lineTo(S[0],S[1]);_=b,b+=f}return w}function v(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var a=0;a<t.length;a++){var r=t[a];r[0]<i[0]&&(i[0]=r[0]),r[1]<i[1]&&(i[1]=r[1]),r[0]>n[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])}return{min:e?i:n,max:e?n:i}}var y=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,a=i.length,r=v(i,e.smoothConstraint);if(e.connectNulls){for(;a>0;a--)if(!p(i[a-1]))break;for(;n<a;n++)if(!p(i[n]))break}while(n<a)n+=f(t,i,n,a,a,1,r.min,r.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),x=n.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:r(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=e.stackedOnPoints,a=0,r=i.length,o=e.smoothMonotone,s=v(i,e.smoothConstraint),l=v(n,e.smoothConstraint);if(e.connectNulls){for(;r>0;r--)if(!p(i[r-1]))break;for(;a<r;a++)if(!p(i[a]))break}while(a<r){var c=f(t,i,a,r,r,1,s.min,s.max,e.smooth,o,e.connectNulls);f(t,n,a+c-1,c,r,-1,l.min,l.max,e.stackedOnSmooth,o,e.connectNulls),a+=c+1,t.closePath()}}});e.Polyline=y,e.Polygon=x},"8cd5":function(t,e,i){"use strict";var n=i("3999"),a=i("00fa"),r=function(t,e,i,n,r,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=o||!1,a.call(this,r)};r.prototype={constructor:r},n.inherits(r,a);var o=r;t.exports=o},"8fac":function(t,e,i){"use strict";var n=i("26a6"),a=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i<e.length;i++)t=t||e[i].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1])},buildPath:function(t,e){for(var i=e.paths||[],n=0;n<i.length;n++)i[n].buildPath(t,i[n].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),n.prototype.getBoundingRect.call(this)}});t.exports=a},"8fe7":function(t,e,i){"use strict";var n="original",a="arrayRows",r="objectRows",o="keyedColumns",s="unknown",l="typedArray",c="column",u="row";e.SOURCE_FORMAT_ORIGINAL=n,e.SOURCE_FORMAT_ARRAY_ROWS=a,e.SOURCE_FORMAT_OBJECT_ROWS=r,e.SOURCE_FORMAT_KEYED_COLUMNS=o,e.SOURCE_FORMAT_UNKNOWN=s,e.SOURCE_FORMAT_TYPED_ARRAY=l,e.SERIES_LAYOUT_BY_COLUMN=c,e.SERIES_LAYOUT_BY_ROW=u},"8ffd":function(t,e,i){t.exports=i.p+"static/fonts/AB.142301ad.ttf"},9060:function(t,e,i){"use strict";var n=i("3999"),a=i("0290"),r=i("9b77"),o=i("d4d0"),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}n.merge(s.prototype,o);var c={offset:0};r("x",s,l,c),r("y",s,l,c);var u=s;t.exports=u},9064:function(t,e,i){"use strict";var n=i("3199"),a=i("9399"),r=a.ContextCachedBy,o=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(t){this.extendFrom(t,!1)};function l(t,e,i){var n=null==e.x?0:e.x,a=null==e.x2?1:e.x2,r=null==e.y?0:e.y,o=null==e.y2?0:e.y2;e.global||(n=n*i.width+i.x,a=a*i.width+i.x,r=r*i.height+i.y,o=o*i.height+i.y),n=isNaN(n)?0:n,a=isNaN(a)?1:a,r=isNaN(r)?0:r,o=isNaN(o)?0:o;var s=t.createLinearGradient(n,r,a,o);return s}function c(t,e,i){var n=i.width,a=i.height,r=Math.min(n,a),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(o=o*n+i.x,s=s*a+i.y,l*=r);var c=t.createRadialGradient(o,s,0,o,s,l);return c}s.prototype={constructor:s,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,i){var a=this,s=i&&i.style,l=!s||t.__attrCachedBy!==r.STYLE_BIND;t.__attrCachedBy=r.STYLE_BIND;for(var c=0;c<o.length;c++){var u=o[c],h=u[0];(l||a[h]!==s[h])&&(t[h]=n(t,h,a[h]||u[1]))}if((l||a.fill!==s.fill)&&(t.fillStyle=a.fill),(l||a.stroke!==s.stroke)&&(t.strokeStyle=a.stroke),(l||a.opacity!==s.opacity)&&(t.globalAlpha=null==a.opacity?1:a.opacity),(l||a.blend!==s.blend)&&(t.globalCompositeOperation=a.blend||"source-over"),this.hasStroke()){var d=a.lineWidth;t.lineWidth=d/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n="radial"===e.type?c:l,a=n(t,e,i),r=e.colorStops,o=0;o<r.length;o++)a.addColorStop(r[o].offset,r[o].color);return a}};for(var u=s.prototype,h=0;h<o.length;h++){var d=o[h];d[0]in u||(u[d[0]]=d[1])}s.getGradient=u.getGradient;var p=s;t.exports=p},"909d":function(t,e,i){"use strict";var n=i("4a54"),a=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),r={getItemStyle:function(t,e){var i=a(this,t,e),n=this.getBorderLineDash();return n&&(i.lineDash=n),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=r},"90b2":function(t,e,i){"use strict";var n=i("3999"),a=i("c14b"),r=i("7a1c"),o=i("25cc"),s=i("53ec"),l=i("e62e"),c=i("eb1a");function u(t,e,i,u,h){for(var d=new r(u),p=0;p<t.length;p++)d.addNode(n.retrieve(t[p].id,t[p].name,p),p);var f=[],g=[],m=0;for(p=0;p<e.length;p++){var v=e[p],y=v.source,x=v.target;d.addEdge(y,x,m)&&(g.push(v),f.push(n.retrieve(v.id,y+" > "+x)),m++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=c(t,i);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];n.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(t,{coordDimensions:S});_=new a(M,i),_.initData(t)}var T=new a(["value"],i);return T.initData(g,f),h&&h(_,T),o({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:T},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}t.exports=u},"917f":function(t,e,i){"use strict";var n=i("3999"),a=i("1767");function r(t,e){a.call(this,"radius",t,e),this.type="category"}r.prototype={constructor:r,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:a.prototype.dataToCoord,radiusToData:a.prototype.coordToData},n.inherits(r,a);var o=r;t.exports=o},"91c1":function(t,e,i){"use strict";var n=i("62f4"),a=n.addEventListener,r=n.removeEventListener,o=n.normalizeEvent,s=i("3999"),l=i("779f"),c=i("35c7"),u=300,h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=["touchstart","touchend","touchmove"],p={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},f=s.map(h,function(t){var e=t.replace("mouse","pointer");return p[e]?e:t});function g(t){return"mousewheel"===t&&c.browser.firefox?"DOMMouseScroll":t}function m(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var v={mousemove:function(t){t=o(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){t=o(this.dom,t);var e=t.toElement||t.relatedTarget;if(e!==this.dom)while(e&&9!==e.nodeType){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){t=o(this.dom,t),t.zrByTouch=!0,this._lastTouchMoment=new Date,this.handler.processGesture(this,t,"start"),v.mousemove.call(this,t),v.mousedown.call(this,t),m(this)},touchmove:function(t){t=o(this.dom,t),t.zrByTouch=!0,this.handler.processGesture(this,t,"change"),v.mousemove.call(this,t),m(this)},touchend:function(t){t=o(this.dom,t),t.zrByTouch=!0,this.handler.processGesture(this,t,"end"),v.mouseup.call(this,t),+new Date-this._lastTouchMoment<u&&v.click.call(this,t),m(this)},pointerdown:function(t){v.mousedown.call(this,t)},pointermove:function(t){y(t)||v.mousemove.call(this,t)},pointerup:function(t){v.mouseup.call(this,t)},pointerout:function(t){y(t)||v.mouseout.call(this,t)}};function y(t){var e=t.pointerType;return"pen"===e||"touch"===e}function x(t){function e(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}s.each(d,function(e){t._handlers[e]=s.bind(v[e],t)}),s.each(f,function(e){t._handlers[e]=s.bind(v[e],t)}),s.each(h,function(i){t._handlers[i]=e(v[i],t)})}function _(t){function e(e,i){s.each(e,function(e){a(t,g(e),i._handlers[e])},i)}l.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._handlers={},x(this),c.pointerEventsSupported?e(f,this):(c.touchEventsSupported&&e(d,this),e(h,this))}s.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){v[t]=function(e){e=o(this.dom,e),this.trigger(t,e)}});var b=_.prototype;b.dispose=function(){for(var t=h.concat(d),e=0;e<t.length;e++){var i=t[e];r(this.dom,g(i),this._handlers[i])}},b.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},s.mixin(_,l);var w=_;t.exports=w},"91cd":function(t,e,i){"use strict";var n=i("826d"),a=n.createElement,r=i("3999"),o=i("26a6"),s=i("3534"),l=i("f80c"),c=i("c495"),u=c.path,h=c.image,d=c.text,p="0",f="1";function g(t,e,i,n,a){this._zrId=t,this._svgRoot=e,this._tagNames="string"===typeof i?[i]:i,this._markLabel=n,this._domName=a||"_dom",this.nextId=0}g.prototype.createElement=a,g.prototype.getDefs=function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?t?(i=e.insertBefore(this.createElement("defs"),e.firstChild),i.contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},g.prototype.update=function(t,e){if(t){var i=this.getDefs(!1);if(t[this._domName]&&i.contains(t[this._domName]))"function"===typeof e&&e(t);else{var n=this.add(t);n&&(t[this._domName]=n)}}},g.prototype.addDom=function(t){var e=this.getDefs(!0);e.appendChild(t)},g.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},g.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return r.each(this._tagNames,function(i){var n=t.getElementsByTagName(i);e=e.concat([].slice.call(n))}),e},g.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;r.each(t,function(t){t[e._markLabel]=p})},g.prototype.markUsed=function(t){t&&(t[this._markLabel]=f)},g.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),i=this;r.each(e,function(e){e[i._markLabel]!==f&&t.removeChild(e)})}},g.prototype.getSvgProxy=function(t){return t instanceof o?u:t instanceof s?h:t instanceof l?d:u},g.prototype.getTextSvgElement=function(t){return t.__textSvgEl},g.prototype.getSvgElement=function(t){return t.__svgEl};var m=g;t.exports=m},"920a":function(t,e,i){"use strict";var n=i("3999"),a=i("62f4"),r=a.Dispatcher,o=i("1cec"),s=i("a2f3"),l=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};l.prototype={constructor:l,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i<e.length;i++)this.addClip(e[i])},removeClip:function(t){var e=n.indexOf(this._clips,t);e>=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i<e.length;i++)this.removeClip(e[i]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,i=this._clips,n=i.length,a=[],r=[],o=0;o<n;o++){var s=i[o],l=s.step(t,e);l&&(a.push(l),r.push(s))}for(o=0;o<n;)i[o]._needsRemove?(i[o]=i[n-1],i.pop(),n--):o++;n=a.length;for(o=0;o<n;o++)r[o].fire(a[o]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;function e(){t._running&&(o(e),!t._paused&&t._update())}this._running=!0,o(e)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){e=e||{};var i=new s(t,e.loop,e.getter,e.setter);return this.addAnimator(i),i}},n.mixin(l,r);var c=l;t.exports=c},9256:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("779f"),o=i("bc9d"),s=i("7e71"),l=i("7e37"),c=a.curry,u=a.each,h=a.map,d=Math.min,p=Math.max,f=Math.pow,g=1e4,m=6,v=6,y="globalPan",x={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},_={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},b={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function S(t){r.call(this),this._zr=t,this.group=new o.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},u(it,function(t,e){this._handlers[e]=a.bind(t,this)},this)}function M(t,e){var i=t._zr;t._enableGlobalPan||s.take(i,y,t._uid),u(t._handlers,function(t,e){i.on(e,t)}),t._brushType=e.brushType,t._brushOption=a.merge(a.clone(b),e,!0)}function T(t){var e=t._zr;s.release(e,y,t._uid),u(t._handlers,function(t,i){e.off(i,t)}),t._brushType=t._brushOption=null}function A(t,e){var i=at[e.brushType].createCover(t,e);return i.__brushOption=e,D(i,e),t.group.add(i),i}function I(t,e){var i=k(e);return i.endCreating&&(i.endCreating(t,e),D(e,e.__brushOption)),e}function C(t,e){var i=e.__brushOption;k(e).updateCoverShape(t,e,i.range,i)}function D(t,e){var i=e.z;null==i&&(i=g),t.traverse(function(t){t.z=i,t.z2=i})}function L(t,e){k(e).updateCommon(t,e),C(t,e)}function k(t){return at[t.__brushOption.brushType]}function P(t,e,i){var n,a=t._panels;if(!a)return!0;var r=t._transform;return u(a,function(t){t.isTargetByCursor(e,i,r)&&(n=t)}),n}function R(t,e){var i=t._panels;if(!i)return!0;var n=e.__brushOption.panelId;return null==n||i[n]}function E(t){var e=t._covers,i=e.length;return u(e,function(e){t.group.remove(e)},t),e.length=0,!!i}function O(t,e){var i=h(t._covers,function(t){var e=t.__brushOption,i=a.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:i}});t.trigger("brush",i,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function N(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],n=e[0],a=i[0]-n[0],r=i[1]-n[1],o=f(a*a+r*r,.5);return o>m}function z(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function V(t,e,i,n){var a=new o.Group;return a.add(new o.Rect({name:"main",style:H(i),silent:!0,draggable:!0,cursor:"move",drift:c(t,e,a,"nswe"),ondragend:c(O,e,{isEnd:!0})})),u(n,function(i){a.add(new o.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:c(t,e,a,i),ondragend:c(O,e,{isEnd:!0})}))}),a}function B(t,e,i,n){var a=n.brushStyle.lineWidth||0,r=p(a,v),o=i[0][0],s=i[1][0],l=o-a/2,c=s-a/2,u=i[0][1],h=i[1][1],d=u-r+a/2,f=h-r+a/2,g=u-o,m=h-s,y=g+a,x=m+a;F(t,e,"main",o,s,g,m),n.transformable&&(F(t,e,"w",l,c,r,x),F(t,e,"e",d,c,r,x),F(t,e,"n",l,c,y,r),F(t,e,"s",l,f,y,r),F(t,e,"nw",l,c,r,r),F(t,e,"ne",d,c,r,r),F(t,e,"sw",l,f,r,r),F(t,e,"se",d,f,r,r))}function W(t,e){var i=e.__brushOption,n=i.transformable,a=e.childAt(0);a.useStyle(H(i)),a.attr({silent:!n,cursor:n?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],function(i){var a=e.childOfName(i),r=X(t,i);a&&a.attr({silent:!n,invisible:!n,cursor:n?_[r]+"-resize":null})})}function F(t,e,i,n,a,r,o){var s=e.childOfName(i);s&&s.setShape(Q(q(t,e,[[n,a],[n+r,a+o]])))}function H(t){return a.defaults({strokeNoScale:!0},t.brushStyle)}function G(t,e,i,n){var a=[d(t,i),d(e,n)],r=[p(t,i),p(e,n)];return[[a[0],r[0]],[a[1],r[1]]]}function Y(t){return o.getTransform(t.group)}function X(t,e){if(e.length>1){e=e.split("");var i=[X(t,e[0]),X(t,e[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var n={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"};i=o.transformDirection(n[e],Y(t));return a[i]}function U(t,e,i,n,a,r,o,s){var l=n.__brushOption,c=t(l.range),h=Z(i,r,o);u(a.split(""),function(t){var e=x[t];c[e[0]][e[1]]+=h[e[0]]}),l.range=e(G(c[0][0],c[1][0],c[0][1],c[1][1])),L(i,n),O(i,{isEnd:!1})}function j(t,e,i,n,a){var r=e.__brushOption.range,o=Z(t,i,n);u(r,function(t){t[0]+=o[0],t[1]+=o[1]}),L(t,e),O(t,{isEnd:!1})}function Z(t,e,i){var n=t.group,a=n.transformCoordToLocal(e,i),r=n.transformCoordToLocal(0,0);return[a[0]-r[0],a[1]-r[1]]}function q(t,e,i){var n=R(t,e);return n&&!0!==n?n.clipPath(i,t._transform):a.clone(i)}function Q(t){var e=d(t[0][0],t[1][0]),i=d(t[0][1],t[1][1]),n=p(t[0][0],t[1][0]),a=p(t[0][1],t[1][1]);return{x:e,y:i,width:n-e,height:a-i}}function K(t,e,i){if(t._brushType){var n=t._zr,a=t._covers,r=P(t,e,i);if(!t._dragging)for(var o=0;o<a.length;o++){var s=a[o].__brushOption;if(r&&(!0===r||s.panelId===r.panelId)&&at[s.brushType].contain(a[o],i[0],i[1]))return}r&&n.setCursorStyle("crosshair")}}function J(t){var e=t.event;e.preventDefault&&e.preventDefault()}function $(t,e,i){return t.childOfName("main").contain(e,i)}function tt(t,e,i,n){var r,o=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(i.slice()),N(t)||o){if(s&&!o){"single"===l.brushMode&&E(t);var c=a.clone(l);c.brushType=et(c.brushType,s),c.panelId=!0===s?null:s.panelId,o=t._creatingCover=A(t,c),t._covers.push(o)}if(o){var u=at[et(t._brushType,s)],h=o.__brushOption;h.range=u.getCreatingRange(q(t,o,t._track)),n&&(I(t,o),u.updateCommon(t,o)),C(t,o),r={isEnd:n}}}else n&&"single"===l.brushMode&&l.removeOnClick&&P(t,e,i)&&E(t)&&(r={isEnd:n,removeOnClick:!0});return r}function et(t,e){return"auto"===t?e.defaultBrushType:t}S.prototype={constructor:S,enableBrush:function(t){return this._brushType&&T(this),t.brushType&&M(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};a.each(t,function(t){e[t.panelId]=a.clone(t)})}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){u(this._covers,t,e)},updateCovers:function(t){t=a.map(t,function(t){return a.merge(a.clone(b),t,!0)});var e="\0-brush-index-",i=this._covers,n=this._covers=[],r=this,o=this._creatingCover;return new l(i,t,c,s).add(u).update(u).remove(h).execute(),this;function s(t,i){return(null!=t.id?t.id:e+i)+"-"+t.brushType}function c(t,e){return s(t.__brushOption,e)}function u(e,a){var s=t[e];if(null!=a&&i[a]===o)n[e]=i[a];else{var l=n[e]=null!=a?(i[a].__brushOption=s,i[a]):I(r,A(r,s));L(r,l)}}function h(t){i[t]!==o&&r.group.remove(i[t])}},unmount:function(){return this.enableBrush(!1),E(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},a.mixin(S,r);var it={mousedown:function(t){if(this._dragging)nt.call(this,t);else if(!t.target||!t.target.draggable){J(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var i=this._creatingPanel=P(this,t,e);i&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(K(this,t,e),this._dragging){J(t);var i=tt(this,t,e,!1);i&&O(this,i)}},mouseup:nt};function nt(t){if(this._dragging){J(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY),i=tt(this,t,e,!0);this._dragging=!1,this._track=[],this._creatingCover=null,i&&O(this,i)}}var at={lineX:rt(0),lineY:rt(1),rect:{createCover:function(t,e){return V(c(U,function(t){return t},function(t){return t}),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=z(t);return G(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,i,n){B(t,e,i,n)},updateCommon:W,contain:$},polygon:{createCover:function(t,e){var i=new o.Group;return i.add(new o.Polyline({name:"main",style:H(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new o.Polygon({name:"main",draggable:!0,drift:c(j,t,e),ondragend:c(O,t,{isEnd:!0})}))},updateCoverShape:function(t,e,i,n){e.childAt(0).setShape({points:q(t,e,i)})},updateCommon:W,contain:$}};function rt(t){return{createCover:function(e,i){return V(c(U,function(e){var i=[e,[0,100]];return t&&i.reverse(),i},function(e){return e[t]}),e,i,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var i=z(e),n=d(i[0][t],i[1][t]),a=p(i[0][t],i[1][t]);return[n,a]},updateCoverShape:function(e,i,n,a){var r,o=R(e,i);if(!0!==o&&o.getLinearBrushOtherExtent)r=o.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;r=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[n,r];t&&l.reverse(),B(e,i,l,a)},updateCommon:W,contain:$}}var ot=S;t.exports=ot},9297:function(t,e,i){"use strict";var n=i("8a7d"),a=i("b04a"),r=i("346b"),o=i("7e21"),s=n.round,l=r.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(){return o.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(t,e){if(null==t)return"";var i=e&&e.precision;return null==i?i=n.getPrecisionSafe(t)||0:"auto"===i&&(i=this._intervalPrecision),t=s(t,i,!0),a.addCommas(t)},niceTicks:function(t,e,i){t=t||5;var n=this._extent,a=n[1]-n[0];if(isFinite(a)){a<0&&(a=-a,n.reverse());var r=o.intervalScaleNiceTicks(n,t,e,i);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var i=e[0];t.fixMax?e[0]-=i/2:(e[1]+=i/2,e[0]-=i/2)}else e[1]=1;var n=e[1]-e[0];isFinite(n)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var a=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/a)*a)),t.fixMax||(e[1]=s(Math.ceil(e[1]/a)*a))}});l.create=function(){return new l};var c=l;t.exports=c},"92d7":function(t,e,i){"use strict";var n=i("3999"),a=i("346b"),r=i("0b47"),o=a.prototype,s=a.extend({type:"ordinal",init:function(t,e){t&&!n.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,i=e[0];while(i<=e[1])t.push(i),i++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:n.noop,niceExtent:n.noop});s.create=function(){return new s};var l=s;t.exports=l},9336:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=(a.isTypedArray,a.extend),o=(a.assert,a.each),s=a.isObject,l=i("f63f"),c=l.getDataItemValue,u=l.isDataItemOption,h=i("8a7d"),d=h.parseDate,p=i("57c2"),f=i("8fe7"),g=f.SOURCE_FORMAT_TYPED_ARRAY,m=f.SOURCE_FORMAT_ARRAY_ROWS,v=f.SOURCE_FORMAT_ORIGINAL,y=f.SOURCE_FORMAT_OBJECT_ROWS;function x(t,e){p.isInstance(t)||(t=p.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===g&&(this._offset=0,this._dimSize=e,this._data=i);var a=b[n===m?n+"_"+t.seriesLayoutBy:n];r(this,a)}var _=x.prototype;_.pure=!1,_.persistent=!0,_.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:M},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],i=this._data,n=0;n<i.length;n++){var a=i[n];e.push(a?a[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:w,getItem:S,appendData:M},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,e=this._data[t];return e?e.length:0},getItem:function(t){for(var e=[],i=this._source.dimensionsDefine,n=0;n<i.length;n++){var a=this._data[i[n].name];e.push(a?a[t]:null)}return e},appendData:function(t){var e=this._data;o(t,function(t,i){for(var n=e[i]||(e[i]=[]),a=0;a<(t||[]).length;a++)n.push(t[a])})}},original:{count:w,getItem:S,appendData:M},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var i=this._dimSize*t,n=0;n<this._dimSize;n++)e[n]=this._data[i+n];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function w(){return this._data.length}function S(t){return this._data[t]}function M(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var T={arrayRows:A,objectRows:function(t,e,i,n){return null!=i?t[n]:t},keyedColumns:A,original:function(t,e,i,n){var a=c(t);return null!=i&&a instanceof Array?a[i]:a},typedArray:A};function A(t,e,i,n){return null!=i?t[i]:t}var I={arrayRows:C,objectRows:function(t,e,i,n){return D(t[e],this._dimensionInfos[e])},keyedColumns:C,original:function(t,e,i,n){var a=t&&(null==t.value?t:t.value);return!this._rawData.pure&&u(t)&&(this.hasItemOption=!0),D(a instanceof Array?a[n]:a,this._dimensionInfos[e])},typedArray:function(t,e,i,n){return t[n]}};function C(t,e,i,n){return D(t[n],this._dimensionInfos[e])}function D(t,e){var i=e&&e.type;if("ordinal"===i){var n=e&&e.ordinalMeta;return n?n.parseAndCollect(t):t}return"time"===i&&"number"!==typeof t&&null!=t&&"-"!==t&&(t=+d(t)),null==t||""===t?NaN:+t}function L(t,e,i){if(t){var n=t.getRawDataItem(e);if(null!=n){var a,r,o=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(i);return s&&(a=s.name,r=s.index),T[o](n,e,r,a)}}}function k(t,e,i){if(t){var n=t.getProvider().getSource().sourceFormat;if(n===v||n===y){var a=t.getRawDataItem(e);return n!==v||s(a)||(a=null),a?a[i]:void 0}}}e.DefaultDataProvider=x,e.defaultDimValueGetters=I,e.retrieveRawValue=L,e.retrieveRawAttr=k},9399:function(t,e,i){"use strict";var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},a=9;e.ContextCachedBy=n,e.WILL_BE_RESTORED=a},"94f4":function(t,e,i){"use strict";function n(t,e,i){var n,a=[t],r=[];while(n=a.pop())if(r.push(n),n.isExpand){var o=n.children;if(o.length)for(var s=0;s<o.length;s++)a.push(o[s])}while(n=r.pop())e(n,i)}function a(t,e){var i,n=[t];while(i=n.pop())if(e(i),i.isExpand){var a=i.children;if(a.length)for(var r=a.length-1;r>=0;r--)n.push(a[r])}}e.eachAfter=n,e.eachBefore=a},9555:function(t,e,i){"use strict";var n=i("b0c1"),a=n.isDimensionStacked,r=i("3999"),o=r.map;function s(t,e,i){var n,r=t.getBaseAxis(),s=t.getOtherAxis(r),c=l(s,i),u=r.dim,h=s.dim,d=e.mapDimension(h),p=e.mapDimension(u),f="x"===h||"radius"===h?1:0,g=o(t.dimensions,function(t){return e.mapDimension(t)}),m=e.getCalculationInfo("stackResultDimension");return(n|=a(e,g[0]))&&(g[0]=m),(n|=a(e,g[1]))&&(g[1]=m),{dataDimsForPoint:g,valueStart:c,valueAxisDim:h,baseAxisDim:u,stacked:!!n,valueDim:d,baseDim:p,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function l(t,e){var i=0,n=t.scale.getExtent();return"start"===e?i=n[0]:"end"===e?i=n[1]:n[0]>0?i=n[0]:n[1]<0&&(i=n[1]),i}function c(t,e,i,n){var a=NaN;t.stacked&&(a=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=i.get(t.baseDim,n),o[1-r]=a,e.dataToPoint(o)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=c},"95c2":function(t,e,i){"use strict";var n=i("4a54"),a=n([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),r={getAreaStyle:function(t,e){return a(this,t,e)}};t.exports=r},9615:function(t,e,i){"use strict";var n={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function a(t,e){if("china"===t){var i=n[e.name];if(i){var a=e.center;a[0]+=i[0]/10.5,a[1]+=-i[1]/14}}}t.exports=a},"985b":function(t,e,i){var n=i("0b69");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("4a933b80",n,!0,{sourceMap:!1,shadowMode:!1})},9870:function(t,e,i){"use strict";var n=i("bc9d"),a=i("66c7"),r=.3,o=a.extend({type:"parallel",init:function(){this._dataGroup=new n.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(t,e,i,a){var r=this._dataGroup,o=t.getData(),d=this._data,p=t.coordinateSystem,f=p.dimensions,g=u(t);function m(t){var e=c(o,r,t,f,p);h(e,o,t,g)}function v(e,i){var r=d.getItemGraphicEl(i),s=l(o,e,f,p);o.setItemGraphicEl(e,r);var c=a&&!1===a.animation?null:t;n.updateProps(r,{shape:{points:s}},c,e),h(r,o,e,g)}function y(t){var e=d.getItemGraphicEl(t);r.remove(e)}if(o.diff(d).add(m).update(v).remove(y).execute(),!this._initialized){this._initialized=!0;var x=s(p,t,function(){setTimeout(function(){r.removeClipPath()})});r.setClipPath(x)}this._data=o},incrementalPrepareRender:function(t,e,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,i){for(var n=e.getData(),a=e.coordinateSystem,r=a.dimensions,o=u(e),s=t.start;s<t.end;s++){var l=c(n,this._dataGroup,s,r,a);l.incremental=!0,h(l,n,s,o)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function s(t,e,i){var a=t.model,r=t.getRect(),o=new n.Rect({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),s="horizontal"===a.get("layout")?"width":"height";return o.setShape(s,0),n.initProps(o,{shape:{width:r.width,height:r.height}},e,i),o}function l(t,e,i,n){for(var a=[],r=0;r<i.length;r++){var o=i[r],s=t.get(t.mapDimension(o),e);d(s,n.getAxis(o).type)||a.push(n.dataToPoint(s,o))}return a}function c(t,e,i,a,r){var o=l(t,i,a,r),s=new n.Polyline({shape:{points:o},silent:!0,z2:10});return e.add(s),t.setItemGraphicEl(i,s),s}function u(t){var e=t.get("smooth",!0);return!0===e&&(e=r),{lineStyle:t.getModel("lineStyle").getLineStyle(),smooth:null!=e?e:r}}function h(t,e,i,n){var a=n.lineStyle;if(e.hasItemOption){var r=e.getItemModel(i).getModel("lineStyle");a=r.getLineStyle()}t.useStyle(a);var o=t.style;o.fill=null,o.stroke=e.getItemVisual(i,"color"),o.opacity=e.getItemVisual(i,"opacity"),n.smooth&&(t.shape.smooth=n.smooth)}function d(t,e){return"category"===e?null==t:null==t||isNaN(t)}var p=o;t.exports=p},"99eb":function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r=i("e689"),o=i("772b"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea"],c=o.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,a=i.polar,o=a.getAngleAxis(),c=i.getTicksCoords(),h=o.getExtent()[0],d=i.getExtent(),p=u(a,t,h),f=new r(t,p);n.each(s,f.add,f),this.group.add(f.getGroup()),n.each(l,function(e){t.get(e+".show")&&!i.scale.isBlank()&&this["_"+e](t,a,h,d,c)},this)}},_splitLine:function(t,e,i,r,o){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d<o.length;d++){var p=u++%c.length;h[p]=h[p]||[],h[p].push(new a.Circle({shape:{cx:e.cx,cy:e.cy,r:o[d].coord},silent:!0}))}for(d=0;d<h.length;d++)this.group.add(a.mergePath(h[d],{style:n.defaults({stroke:c[d%c.length],fill:null},l.getLineStyle()),silent:!0}))},_splitArea:function(t,e,i,r,o){if(o.length){var s=t.getModel("splitArea"),l=s.getModel("areaStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=o[0].coord,p=1;p<o.length;p++){var f=u++%c.length;h[f]=h[f]||[],h[f].push(new a.Sector({shape:{cx:e.cx,cy:e.cy,r0:d,r:o[p].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),d=o[p].coord}for(p=0;p<h.length;p++)this.group.add(a.mergePath(h[p],{style:n.defaults({fill:c[p%c.length]},l.getAreaStyle()),silent:!0}))}}});function u(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}t.exports=c},"9a0c":function(t,e,i){"use strict";var n=i("3999"),a=i("1637"),r=i("75e6"),o=i("e321"),s=i("6964"),l=a.applyTransform;function c(){s.call(this)}function u(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}function h(t,e,i,n){var a=i.seriesModel,r=a?a.coordinateSystem:null;return r===this?r[t](n):null}n.mixin(c,s),u.prototype={constructor:u,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,i,n){return this._rect=new o(t,e,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,i,n){this.transformTo(t,e,i,n),this._viewRect=new o(t,e,i,n)},transformTo:function(t,e,i,n){var a=this.getBoundingRect(),r=this._rawTransformable;r.transform=a.calculateTransform(new o(t,e,i,n)),r.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect(),e=t.x+t.width/2,i=t.y+t.height/2;return[e,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),r=this.getZoom();n=a.applyTransform([],n,t),i=a.applyTransform([],i,t),e.origin=n,e.position=[i[0]-n[0],i[1]-n[1]],e.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),r.copy(this.transform||(this.transform=[]),e.transform||r.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,i){var n=e?this._rawTransform:this.transform;return i=i||[],n?l(i,t,n):a.copy(i,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:n.curry(h,"dataToPoint"),convertFromPixel:n.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},n.mixin(u,s);var d=u;t.exports=d},"9a20":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("e321"),o=i("de11"),s=i("184b"),l=i("db34"),c=i("0635"),u=["inBrush","outOfBrush"],h="__ecBrushSelect",d="__ecInBrushSelectEvent",p=n.PRIORITY.VISUAL.BRUSH;function f(t,e,i,n,a){if(a){var r=t.getZr();if(!r[d]){r[h]||(r[h]=g);var o=l.createOrUpdate(r,h,i,e);o(t,n)}}}function g(t,e){if(!t.isDisposed()){var i=t.getZr();i[d]=!0,t.dispatchAction({type:"brushSelect",batch:e}),i[d]=!1}}function m(t,e,i,n){for(var a=0,r=e.length;a<r;a++){var o=e[a];if(t[o.brushType](n,i,o.selectors,o))return!0}}function v(t){var e=t.brushSelector;if(a.isString(e)){var i=[];return a.each(s,function(t,n){i[n]=function(i,n,a,r){var o=n.getItemLayout(i);return t[e](o,a,r)}}),i}if(a.isFunction(e)){var n={};return a.each(s,function(t,i){n[i]=e}),n}return e}function y(t,e){var i=t.option.seriesIndex;return null!=i&&"all"!==i&&(a.isArray(i)?a.indexOf(i,e)<0:e!==i)}function x(t){var e=t.selectors={};return a.each(s[t.brushType],function(i,n){e[n]=function(n){return i(n,e,t)}}),t}n.registerLayout(p,function(t,e,i){t.eachComponent({mainType:"brush"},function(e){i&&"takeGlobalCursor"===i.type&&e.setBrushOption("brush"===i.key?i.brushOption:{brushType:!1});var n=e.brushTargetManager=new c(e.option,t);n.setInputRanges(e.areas,t)})}),n.registerVisual(p,function(t,e,i){var n,r,s=[];t.eachComponent({mainType:"brush"},function(e,i){var l={brushId:e.id,brushIndex:i,brushName:e.name,areas:a.clone(e.areas),selected:[]};s.push(l);var c=e.option,h=c.brushLink,d=[],p=[],f=[],g=0;i||(n=c.throttleType,r=c.throttleDelay);var b=a.map(e.areas,function(t){return x(a.defaults({boundingRect:_[t.brushType](t)},t))}),w=o.createVisualMappings(e.option,u,function(t){t.mappingMethod="fixed"});function S(t){return"all"===h||d[t]}function M(t){return!!t.length}function T(t,e){var i=t.coordinateSystem;g|=i.hasAxisBrushed(),S(e)&&i.eachActiveState(t.getData(),function(t,e){"active"===t&&(p[e]=1)})}function A(i,n,r){var o=v(i);if(o&&!y(e,n)&&(a.each(b,function(n){o[n.brushType]&&e.brushTargetManager.controlSeries(n,i,t)&&r.push(n),g|=M(r)}),S(n)&&M(r))){var s=i.getData();s.each(function(t){m(o,r,s,t)&&(p[t]=1)})}}a.isArray(h)&&a.each(h,function(t){d[t]=1}),t.eachSeries(function(t,e){var i=f[e]=[];"parallel"===t.subType?T(t,e,i):A(t,e,i)}),t.eachSeries(function(t,e){var i={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};l.selected.push(i);var n=v(t),a=f[e],r=t.getData(),s=S(e)?function(t){return p[t]?(i.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(t){return m(n,a,r,t)?(i.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"};(S(e)?g:M(a))&&o.applyVisual(u,w,r,s)})}),f(e,n,r,s,i)});var _={lineX:a.noop,lineY:a.noop,rect:function(t){return b(t.range)},polygon:function(t){for(var e,i=t.range,n=0,a=i.length;n<a;n++){e=e||[[1/0,-1/0],[1/0,-1/0]];var r=i[n];r[0]<e[0][0]&&(e[0][0]=r[0]),r[0]>e[0][1]&&(e[0][1]=r[0]),r[1]<e[1][0]&&(e[1][0]=r[1]),r[1]>e[1][1]&&(e[1][1]=r[1])}return e&&b(e)}};function b(t){return new r(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},"9b77":function(t,e,i){"use strict";var n=i("3999"),a=i("0056"),r=i("0290"),o=i("1073"),s=o.getLayoutParams,l=o.mergeLayoutParam,c=i("0b47"),u=["value","category","time","log"];function h(t,e,i,o){n.each(u,function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,a){var o=this.layoutMode,c=o?s(e):{},u=a.getTheme();n.merge(e,u.get(r+"Axis")),n.merge(e,this.getDefaultOption()),e.type=i(t,e),o&&l(e,c,o)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=c.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:n.mergeAll([{},a[r+"Axis"],o],!0)})}),r.registerSubTypeDefaulter(t+"Axis",n.curry(i,t))}t.exports=h},"9cb2":function(t,e,i){"use strict";var n=i("3e4d");function a(t,e,i,n,a,r,o){function s(e,i,n,a){for(var r=e;r<i;r++)if(t[r].y+=n,r>e&&r+1<i&&t[r+1].y>t[r].y+t[r].height)return void l(r,n/2);l(i-1,n/2)}function l(e,i){for(var n=e;n>=0;n--)if(t[n].y-=i,n>0&&t[n].y>t[n-1].y+t[n-1].height)break}function c(t,e,i,n,a,r){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s<l;s++){var c=Math.abs(t[s].y-n),u=t[s].len,h=t[s].len2,d=c<a+u?Math.sqrt((a+u+h)*(a+u+h)-c*c):Math.abs(t[s].x-i);e&&d>=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=i+d*r,o=d}}t.sort(function(t,e){return t.y-e.y});for(var u,h=0,d=t.length,p=[],f=[],g=0;g<d;g++)u=t[g].y-h,u<0&&s(g,d,-u,a),h=t[g].y+t[g].height;o-h<0&&l(d-1,h-o);for(g=0;g<d;g++)t[g].y>=i?f.push(t[g]):p.push(t[g]);c(p,!1,e,i,n,a),c(f,!0,e,i,n,a)}function r(t,e,i,n,r,s){for(var l=[],c=[],u=0;u<t.length;u++)o(t[u])||(t[u].x<e?l.push(t[u]):c.push(t[u]));a(c,e,i,n,1,r,s),a(l,e,i,n,-1,r,s);for(u=0;u<t.length;u++)if(!o(t[u])){var h=t[u].linePoints;if(h){var d=h[1][0]-h[2][0];t[u].x<e?h[2][0]=t[u].x+3:h[2][0]=t[u].x-3,h[1][1]=h[2][1]=t[u].y,h[1][0]=h[2][0]+d}}}function o(t){return"center"===t.position}function s(t,e,i,a){var o,s,l=t.getData(),c=[],u=!1;l.each(function(i){var a,r,h,d,p=l.getItemLayout(i),f=l.getItemModel(i),g=f.getModel("label"),m=g.get("position")||f.get("emphasis.label.position"),v=f.getModel("labelLine"),y=v.get("length"),x=v.get("length2"),_=(p.startAngle+p.endAngle)/2,b=Math.cos(_),w=Math.sin(_);o=p.cx,s=p.cy;var S="inside"===m||"inner"===m;if("center"===m)a=p.cx,r=p.cy,d="center";else{var M=(S?(p.r+p.r0)/2*b:p.r*b)+o,T=(S?(p.r+p.r0)/2*w:p.r*w)+s;if(a=M+3*b,r=T+3*w,!S){var A=M+b*(y+e-p.r),I=T+w*(y+e-p.r),C=A+(b<0?-1:1)*x,D=I;a=C+(b<0?-5:5),r=D,h=[[M,T],[A,I],[C,D]]}d=S?"center":b>0?"left":"right"}var L=g.getFont(),k=g.get("rotate")?b<0?-_+Math.PI:-_:0,P=t.getFormattedLabel(i,"normal")||l.getName(i),R=n.getBoundingRect(P,L,d,"top");u=!!k,p.label={x:a,y:r,position:m,height:R.height,len:y,len2:x,linePoints:h,textAlign:d,verticalAlign:"middle",rotation:k,inside:S},S||c.push(p.label)}),!u&&t.get("avoidLabelOverlap")&&r(c,o,s,e,i,a)}t.exports=s},"9d21":function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r=i("1073"),o=i("01aa"),s=a.Group,l=["width","height"],c=["x","y"],u=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){u.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){u.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,i,r){var o=this;u.superCall(this,"renderInner",t,e,i,r);var s=this._controllerGroup,l=e.get("pageIconSize",!0);n.isArray(l)||(l=[l,l]),h("pagePrev",0);var c=e.getModel("pageTextStyle");function h(t,i){var c=t+"DataIndex",u=a.createIcon(e.get("pageIcons",!0)[e.getOrient().name][i],{onclick:n.bind(o._pageGo,o,c,e,r)},{x:-l[0]/2,y:-l[1]/2,width:l[0],height:l[1]});u.name=t,s.add(u)}s.add(new a.Text({name:"pageText",style:{textFill:c.getTextColor(),font:c.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),h("pageNext",1)},layoutInner:function(t,e,i,o){var s=this.getContentGroup(),u=this._containerGroup,h=this._controllerGroup,d=t.getOrient().index,p=l[d],f=l[1-d],g=c[1-d];r.box(t.get("orient"),s,t.get("itemGap"),d?i.width:null,d?null:i.height),r.box("horizontal",h,t.get("pageButtonItemGap",!0));var m=s.getBoundingRect(),v=h.getBoundingRect(),y=this._showController=m[p]>i[p],x=[-m.x,-m.y];o||(x[d]=s.position[d]);var _=[0,0],b=[-v.x,-v.y],w=n.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(y){var S=t.get("pageButtonPosition",!0);"end"===S?b[d]+=i[p]-v[p]:_[d]+=v[p]+w}b[1-d]+=m[f]/2-v[f]/2,s.attr("position",x),u.attr("position",_),h.attr("position",b);var M=this.group.getBoundingRect();M={x:0,y:0};if(M[p]=y?i[p]:m[p],M[f]=Math.max(m[f],v[f]),M[g]=Math.min(0,v[g]+b[1-d]),u.__rectSize=i[p],y){var T={x:0,y:0};T[p]=Math.max(i[p]-v[p]-w,0),T[f]=M[f],u.setClipPath(new a.Rect({shape:T})),u.__rectSize=T[p]}else h.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var A=this._getPageInfo(t);return null!=A.pageIndex&&a.updateProps(s,{position:A.contentPosition},!!y&&t),this._updatePageInfoView(t,A),M},_pageGo:function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},_updatePageInfoView:function(t,e){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],function(n){var a=null!=e[n+"DataIndex"],r=i.childOfName(n);r&&(r.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),r.cursor=a?"pointer":"default")});var a=i.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;a&&r&&a.setStyle("text",n.isString(r)?r.replace("{current}",s).replace("{total}",l):r({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,a=t.getOrient().index,r=l[a],o=c[a],s=this._findTargetItemIndex(e),u=i.children(),h=u[s],d=u.length,p=d?1:0,f={contentPosition:i.position.slice(),pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return f;var g=_(h);f.contentPosition[a]=-g.s;for(var m=s+1,v=g,y=g,x=null;m<=d;++m)x=_(u[m]),(!x&&y.e>v.s+n||x&&!b(x,v.s))&&(v=y.i>v.i?y:x,v&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=v.i),++f.pageCount)),y=x;for(m=s-1,v=g,y=g,x=null;m>=-1;--m)x=_(u[m]),x&&b(y,x.s)||!(v.i<y.i)||(y=v,null==f.pagePrevDataIndex&&(f.pagePrevDataIndex=v.i),++f.pageCount,++f.pageIndex),v=x;return f;function _(t){if(t){var e=t.getBoundingRect(),i=e[o]+t.position[a];return{s:i,e:i+e[r],i:t.__legendDataIndex}}}function b(t,e){return t.e>=e&&t.s<=e+n}},_findTargetItemIndex:function(t){var e,i=this.getContentGroup();return this._showController?i.eachChild(function(i,n){i.__legendDataIndex===t&&(e=n)}):e=0,e}}),h=u;t.exports=h},"9d47":function(t,e,i){"use strict";var n=i("35c7"),a=i("c8ba"),r=i("42e9"),o=a.toolbox.saveAsImage;function s(t){this.model=t}s.defaultOption={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:o.title,type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},s.prototype.unusable=!n.canvasSupported;var l=s.prototype;l.onclick=function(t,e){var i=this.model,a=i.get("name")||t.get("title.0.text")||"echarts",r=document.createElement("a"),o=i.get("type",!0)||"png";r.download=a+"."+o,r.target="_blank";var s=e.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if(r.href=s,"function"!==typeof MouseEvent||n.browser.ie||n.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),c=l.length,u=new Uint8Array(c);while(c--)u[c]=l.charCodeAt(c);var h=new Blob([u]);window.navigator.msSaveOrOpenBlob(h,a+"."+o)}else{var d=i.get("lang"),p='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(d&&d[0]||"")+'" /></body>',f=window.open();f.document.write(p)}else{var g=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(g)}},r.register("saveAsImage",s);var c=s;t.exports=c},"9d61":function(t,e,i){"use strict";var n=i("3999"),a=i("2a8d"),r=i("bc9d"),o=i("20e3"),s=i("62f4"),l=i("db34"),c=i("f63f"),u=c.makeInner,h=u(),d=n.clone,p=n.bind;function f(){}function g(t,e,i,n){m(h(i).lastProp,n)||(h(i).lastProp=n,e?r.updateProps(i,n,t):(i.stopAnimation(),i.attr(n)))}function m(t,e){if(n.isObject(t)&&n.isObject(e)){var i=!0;return n.each(e,function(e,n){i=i&&m(t[n],e)}),!!i}return t===e}function v(t,e){t[e.get("label.show")?"show":"hide"]()}function y(t){return{position:t.position.slice(),rotation:t.rotation||0}}function x(t,e,i){var n=e.get("z"),a=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=a&&(t.zlevel=a),t.silent=i)})}f.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,a){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,a||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,c=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(c&&c.hide());l&&l.show(),c&&c.show();var u={};this.makeElOption(u,o,t,e,i);var h=u.graphicKey;h!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=n.curry(g,e,d);this.updatePointerEl(l,u,p,e),this.updateLabelEl(l,u,p,e)}else l=this._group=new r.Group,this.createPointerEl(l,u,t,e),this.createLabelEl(l,u,t,e),i.getZr().add(l);x(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,a="category"===n.type,r=e.get("snap");if(!r&&!a)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(a&&n.getBandWidth()>s)return!0;if(r){var l=o.getAxisInfo(t).seriesDataCount,c=n.getExtent();return Math.abs(c[0]-c[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,a){},createPointerEl:function(t,e,i,n){var a=e.pointer;if(a){var o=h(t).pointerEl=new r[a.type](d(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,n){if(e.label){var a=h(t).labelEl=new r.Rect(d(e.label));t.add(a),v(a,n)}},updatePointerEl:function(t,e,i){var n=h(t).pointerEl;n&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var a=h(t).labelEl;a&&(a.setStyle(e.label.style),i(a,{shape:e.label.shape,position:e.label.position}),v(a,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,a=this._api.getZr(),o=this._handle,c=i.getModel("handle"),u=i.get("status");if(!c.get("show")||!u||"hide"===u)return o&&a.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(c.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:p(this._onHandleDragMove,this,0,0),drift:p(this._onHandleDragMove,this),ondragend:p(this._onHandleDragEnd,this)}),a.add(o)),x(o,i,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];o.setStyle(c.getItemStyle(null,h));var d=c.get("size");n.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",c.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){g(this._axisPointerModel,!e&&this._moveAnimation,this._handle,y(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(y(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(y(n)),h(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}},f.prototype.constructor=f,a.enableClassExtend(f);var _=f;t.exports=_},"9d68":function(t,e,i){"use strict";var n=2*Math.PI;function a(t){return t%=n,t<0&&(t+=n),t}e.normalizeRadian=a},"9efe":function(t,e,i){"use strict";var n=i("00fa"),a={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(a)||t.getColorFromPalette(t.name,null,e.getSeriesCount());if(i.setVisual("color",r),!e.isSeriesFiltered(t)){"function"!==typeof r||r instanceof n||i.each(function(e){i.setItemVisual(e,"color",r(t.getDataParams(e)))});var o=function(t,e){var i=t.getItemModel(e),n=i.get(a,!0);null!=n&&t.setItemVisual(e,"color",n)};return{dataEach:i.hasItemOption?o:null}}}};t.exports=a},"9f72":function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("8760"),o=r.layout,s=r.largeLayout;i("b4de"),i("8a6b"),i("51d5"),i("4a76"),n.registerLayout(a.curry(o,"bar")),n.registerLayout(s),n.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},a022:function(t,e,i){"use strict";var n=i("3999"),a=i("2008"),r=a.createSymbol,o=i("bc9d"),s=i("8a7d"),l=s.parsePercent,c=i("14d8"),u=c.getDefaultLabel;function h(t,e,i){o.Group.call(this),this.updateData(t,e,i)}var d=h.prototype,p=h.getSymbolSize=function(t,e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array?i.slice():[+i,+i]};function f(t){return[t[0]/2,t[1]/2]}function g(t,e){this.parent.drift(t,e)}d._createSymbol=function(t,e,i,n,a){this.removeAll();var o=e.getItemVisual(i,"color"),s=r(t,-1,-1,2,2,o,a);s.attr({z2:100,culling:!0,scale:f(n)}),s.drift=g,this._symbolType=t,this.add(s)},d.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},d.getSymbolPath=function(){return this.childAt(0)},d.getScale=function(){return this.childAt(0).scale},d.highlight=function(){this.childAt(0).trigger("emphasis")},d.downplay=function(){this.childAt(0).trigger("normal")},d.setZ=function(t,e){var i=this.childAt(0);i.zlevel=t,i.z=e},d.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":"pointer"},d.updateData=function(t,e,i){this.silent=!1;var n=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,r=p(t,e),s=n!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(n,t,e,r,l)}else{var c=this.childAt(0);c.silent=!1,o.updateProps(c,{scale:f(r)},a,e)}if(this._updateCommon(t,e,r,i),s){c=this.childAt(0);var u=i&&i.fadeIn,h={scale:c.scale.slice()};u&&(h.style={opacity:c.style.opacity}),c.scale=[0,0],u&&(c.style.opacity=0),o.initProps(c,h,a,e)}this._seriesModel=a};var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"];function _(){!o.isInEmphasis(this)&&w.call(this)}function b(){!o.isInEmphasis(this)&&S.call(this)}function w(){if(!this.incremental&&!this.useHoverLayer){var t=this.__symbolOriginalScale,e=t[1]/t[0];this.animateTo({scale:[Math.max(1.1*t[0],t[0]+3),Math.max(1.1*t[1],t[1]+3*e)]},400,"elasticOut")}}function S(){this.incremental||this.useHoverLayer||this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}d._updateCommon=function(t,e,i,a){var r=this.childAt(0),s=t.hostModel,c=t.getItemVisual(e,"color");"image"!==r.type&&r.useStyle({strokeNoScale:!0});var h=a&&a.itemStyle,d=a&&a.hoverItemStyle,p=a&&a.symbolRotate,g=a&&a.symbolOffset,M=a&&a.labelModel,T=a&&a.hoverLabelModel,A=a&&a.hoverAnimation,I=a&&a.cursorStyle;if(!a||t.hasItemOption){var C=a&&a.itemModel?a.itemModel:t.getItemModel(e);h=C.getModel(m).getItemStyle(["color"]),d=C.getModel(v).getItemStyle(),p=C.getShallow("symbolRotate"),g=C.getShallow("symbolOffset"),M=C.getModel(y),T=C.getModel(x),A=C.getShallow("hoverAnimation"),I=C.getShallow("cursor")}else d=n.extend({},d);var D=r.style;r.attr("rotation",(p||0)*Math.PI/180||0),g&&r.attr("position",[l(g[0],i[0]),l(g[1],i[1])]),I&&r.attr("cursor",I),r.setColor(c,a&&a.symbolInnerColor),r.setStyle(h);var L=t.getItemVisual(e,"opacity");null!=L&&(D.opacity=L);var k=t.getItemVisual(e,"liftZ"),P=r.__z2Origin;null!=k?null==P&&(r.__z2Origin=r.z2,r.z2+=k):null!=P&&(r.z2=P,r.__z2Origin=null);var R=a&&a.useNameLabel;function E(e,i){return R?t.getName(e):u(t,e)}o.setLabelStyle(D,d,M,T,{labelFetcher:s,labelDataIndex:e,defaultText:E,isRectText:!0,autoColor:c}),r.off("mouseover").off("mouseout").off("emphasis").off("normal"),r.hoverStyle=d,o.setHoverStyle(r),r.__symbolOriginalScale=f(i),A&&s.isAnimationEnabled()&&r.on("mouseover",_).on("mouseout",b).on("emphasis",w).on("normal",S)},d.fadeOut=function(t,e){var i=this.childAt(0);this.silent=i.silent=!0,(!e||!e.keepLabel)&&(i.style.text=null),o.updateProps(i,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},n.inherits(h,o.Group);var M=h;t.exports=M},a08d:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={index:{store:"门店",gate:"出入口",openStore:"已开业门店数量",accountReal:"商场实时客流",accountAdd:"商场累计客流",accountRank:"商场门店排名",accountTrend:"商场近期趋势",storeSelect:"门店选择",allStore:"全部门店",storeReal:"门店实时客流",storeAdd:"门店累计客流",storeTrend:"门店近期趋势",areaSelect:"区域选择",area:"区域",areaReal:"区域实时客流",areaAdd:"区域累计客流",areaTrend:"区域近期趋势"}},a=n;e.default=a},a0a4:function(t,e,i){"use strict";var n=i("bc9d"),a=i("4871"),r=i("afd6"),o=i("4289"),s=n.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var i=e.segs,n=e.curveness;if(e.polyline)for(var a=0;a<i.length;){var r=i[a++];if(r>0){t.moveTo(i[a++],i[a++]);for(var o=1;o<r;o++)t.lineTo(i[a++],i[a++])}}else for(a=0;a<i.length;){var s=i[a++],l=i[a++],c=i[a++],u=i[a++];if(t.moveTo(s,l),n>0){var h=(s+c)/2-(l-u)*n,d=(l+u)/2-(c-s)*n;t.quadraticCurveTo(h,d,c,u)}else t.lineTo(c,u)}},findDataIndex:function(t,e){var i=this.shape,n=i.segs,a=i.curveness;if(i.polyline)for(var s=0,l=0;l<n.length;){var c=n[l++];if(c>0)for(var u=n[l++],h=n[l++],d=1;d<c;d++){var p=n[l++],f=n[l++];if(r.containStroke(u,h,p,f))return s}s++}else for(s=0,l=0;l<n.length;){u=n[l++],h=n[l++],p=n[l++],f=n[l++];if(a>0){var g=(u+p)/2-(h-f)*a,m=(h+f)/2-(p-u)*a;if(o.containStroke(u,h,g,m,p,f))return s}else if(r.containStroke(u,h,p,f))return s;s++}return-1}});function l(){this.group=new n.Group}var c=l.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},c.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(t,e){var i=new s;i.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(i,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=t.start,this.group.add(i))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(t,e,i){var n=e.hostModel;t.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),t.useStyle(n.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var a=e.getVisual("color");a&&t.setStyle("stroke",a),t.setStyle("fill"),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i+t.__startIndex)}))},c._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var u=l;t.exports=u},a0b8:function(t,e,i){"use strict";var n=i("00a4"),a=n.extend({type:"dataZoom.select"});t.exports=a},a165:function(t,e,i){"use strict";
/*!
                                                                                                      * vue-i18n v8.9.0 
                                                                                                      * (c) 2019 kazuya kawaguchi
                                                                                                      * Released under the MIT License.
                                                                                                      */
function n(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function a(t){return null!==t&&"object"===typeof t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=Object.prototype.toString,o="[object Object]";function s(t){return r.call(t)===o}function l(t){return null===t||void 0===t}function c(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var i=null,n=null;return 1===t.length?a(t[0])||Array.isArray(t[0])?n=t[0]:"string"===typeof t[0]&&(i=t[0]):2===t.length&&("string"===typeof t[0]&&(i=t[0]),(a(t[1])||Array.isArray(t[1]))&&(n=t[1])),{locale:i,params:n}}function u(t){return JSON.parse(JSON.stringify(t))}function h(t,e){if(t.length){var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}var d=Object.prototype.hasOwnProperty;function p(t,e){return d.call(t,e)}function f(t){for(var e=arguments,i=Object(t),n=1;n<arguments.length;n++){var r=e[n];if(void 0!==r&&null!==r){var o=void 0;for(o in r)p(r,o)&&(a(r[o])?i[o]=f(i[o],r[o]):i[o]=r[o])}}return i}function g(t,e){if(t===e)return!0;var i=a(t),n=a(e);if(!i||!n)return!i&&!n&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every(function(t,i){return g(t,e[i])});if(r||o)return!1;var s=Object.keys(t),l=Object.keys(e);return s.length===l.length&&s.every(function(i){return g(t[i],e[i])})}catch(c){return!1}}function m(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],i=arguments.length-1;while(i-- >0)e[i]=arguments[i+1];var n=this.$i18n;return n._t.apply(n,[t,n.locale,n._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var i=[],n=arguments.length-2;while(n-- >0)i[n]=arguments[n+2];var a=this.$i18n;return a._tc.apply(a,[t,a.locale,a._getMessages(),this,e].concat(i))},t.prototype.$te=function(t,e){var i=this.$i18n;return i._te(t,i.locale,i._getMessages(),e)},t.prototype.$d=function(t){var e,i=[],n=arguments.length-1;while(n-- >0)i[n]=arguments[n+1];return(e=this.$i18n).d.apply(e,[t].concat(i))},t.prototype.$n=function(t){var e,i=[],n=arguments.length-1;while(n-- >0)i[n]=arguments[n+1];return(e=this.$i18n).n.apply(e,[t].concat(i))}}var v,y={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n)if(t.i18n instanceof lt){if(t.__i18n)try{var e={};t.__i18n.forEach(function(t){e=f(e,JSON.parse(t))}),Object.keys(e).forEach(function(i){t.i18n.mergeLocaleMessage(i,e[i])})}catch(n){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0}else if(s(t.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof lt&&(t.i18n.root=this.$root,t.i18n.formatter=this.$root.$i18n.formatter,t.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,t.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn,t.i18n.silentFallbackWarn=this.$root.$i18n.silentFallbackWarn,t.i18n.pluralizationRules=this.$root.$i18n.pluralizationRules,t.i18n.preserveDirectiveContent=this.$root.$i18n.preserveDirectiveContent),t.__i18n)try{var i={};t.__i18n.forEach(function(t){i=f(i,JSON.parse(t))}),t.i18n.messages=i}catch(n){0}this._i18n=new lt(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0,(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof lt?(this._i18n=this.$root.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof lt&&(this._i18n=t.parent.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick(function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher),t._i18n=null})}}},x={name:"i18n",functional:!0,props:{tag:{type:String,default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var i=e.props,n=e.data,a=e.children,r=e.parent,o=r.$i18n;if(a=(a||[]).filter(function(t){return t.tag||(t.text=t.text.trim())}),!o)return a;var s=i.path,l=i.locale,c={},u=i.places||{},h=(Array.isArray(u)?u.length:Object.keys(u).length,a.every(function(t){if(t.data&&t.data.attrs){var e=t.data.attrs.place;return"undefined"!==typeof e&&""!==e}}));return Array.isArray(u)?u.forEach(function(t,e){c[e]=t}):Object.keys(u).forEach(function(t){c[t]=u[t]}),a.forEach(function(t,e){var i=h?""+t.data.attrs.place:""+e;c[i]=t}),t(i.tag,n,o.i(s,l,c))}};function _(t,e,i){S(t,i)&&T(t,e,i)}function b(t,e,i,n){if(S(t,i)){var a=i.context.$i18n;M(t,i)&&g(e.value,e.oldValue)&&g(t._localeMessage,a.getLocaleMessage(a.locale))||T(t,e,i)}}function w(t,e,i,a){var r=i.context;if(r){var o=i.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else n("Vue instance does not exists in VNode context")}function S(t,e){var i=e.context;return i?!!i.$i18n||(n("VueI18n instance does not exists in Vue instance"),!1):(n("Vue instance does not exists in VNode context"),!1)}function M(t,e){var i=e.context;return t._locale===i.$i18n.locale}function T(t,e,i){var a,r,o=e.value,s=A(o),l=s.path,c=s.locale,u=s.args,h=s.choice;if(l||c||u)if(l){var d=i.context;t._vt=t.textContent=h?(a=d.$i18n).tc.apply(a,[l,h].concat(I(c,u))):(r=d.$i18n).t.apply(r,[l].concat(I(c,u))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else n("`path` is required in v-t directive");else n("value type not supported")}function A(t){var e,i,n,a;return"string"===typeof t?e=t:s(t)&&(e=t.path,i=t.locale,n=t.args,a=t.choice),{path:e,locale:i,args:n,choice:a}}function I(t,e){var i=[];return t&&i.push(t),e&&(Array.isArray(e)||s(e))&&i.push(e),i}function C(t){C.installed=!0,v=t;v.version&&Number(v.version.split(".")[0]);m(v),v.mixin(y),v.directive("t",{bind:_,update:b,unbind:w}),v.component(x.name,x);var e=v.config.optionMergeStrategies;e.i18n=function(t,e){return void 0===e?t:e}}var D=function(){this._caches=Object.create(null)};D.prototype.interpolate=function(t,e){if(!e)return[t];var i=this._caches[t];return i||(i=P(t),this._caches[t]=i),R(i,e)};var L=/^(?:\d)+/,k=/^(?:\w)+/;function P(t){var e=[],i=0,n="";while(i<t.length){var a=t[i++];if("{"===a){n&&e.push({type:"text",value:n}),n="";var r="";a=t[i++];while(void 0!==a&&"}"!==a)r+=a,a=t[i++];var o="}"===a,s=L.test(r)?"list":o&&k.test(r)?"named":"unknown";e.push({value:r,type:s})}else"%"===a?"{"!==t[i]&&(n+=a):n+=a}return n&&e.push({type:"text",value:n}),e}function R(t,e){var i=[],n=0,r=Array.isArray(e)?"list":a(e)?"named":"unknown";if("unknown"===r)return i;while(n<t.length){var o=t[n];switch(o.type){case"text":i.push(o.value);break;case"list":i.push(e[parseInt(o.value,10)]);break;case"named":"named"===r&&i.push(e[o.value]);break;case"unknown":0;break}n++}return i}var E=0,O=1,N=2,z=3,V=0,B=1,W=2,F=3,H=4,G=5,Y=6,X=7,U=8,j=[];j[V]={ws:[V],ident:[F,E],"[":[H],eof:[X]},j[B]={ws:[B],".":[W],"[":[H],eof:[X]},j[W]={ws:[W],ident:[F,E],0:[F,E],number:[F,E]},j[F]={ident:[F,E],0:[F,E],number:[F,E],ws:[B,O],".":[W,O],"[":[H,O],eof:[X,O]},j[H]={"'":[G,E],'"':[Y,E],"[":[H,N],"]":[B,z],eof:U,else:[H,E]},j[G]={"'":[H,E],eof:U,else:[G,E]},j[Y]={'"':[H,E],eof:U,else:[Y,E]};var Z=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function q(t){return Z.test(t)}function Q(t){var e=t.charCodeAt(0),i=t.charCodeAt(t.length-1);return e!==i||34!==e&&39!==e?t:t.slice(1,-1)}function K(t){if(void 0===t||null===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function J(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(q(e)?Q(e):"*"+e)}function $(t){var e,i,n,a,r,o,s,l=[],c=-1,u=V,h=0,d=[];function p(){var e=t[c+1];if(u===G&&"'"===e||u===Y&&'"'===e)return c++,n="\\"+e,d[E](),!0}d[O]=function(){void 0!==i&&(l.push(i),i=void 0)},d[E]=function(){void 0===i?i=n:i+=n},d[N]=function(){d[E](),h++},d[z]=function(){if(h>0)h--,u=H,d[E]();else{if(h=0,i=J(i),!1===i)return!1;d[O]()}};while(null!==u)if(c++,e=t[c],"\\"!==e||!p()){if(a=K(e),s=j[u],r=s[a]||s["else"]||U,r===U)return;if(u=r[0],o=d[r[1]],o&&(n=r[2],n=void 0===n?e:n,!1===o()))return;if(u===X)return l}}var tt=function(){this._cache=Object.create(null)};tt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=$(t),e&&(this._cache[t]=e)),e||[]},tt.prototype.getPathValue=function(t,e){if(!a(t))return null;var i=this.parsePath(e);if(0===i.length)return null;var n=i.length,r=t,o=0;while(o<n){var s=r[i[o]];if(void 0===s)return null;r=s,o++}return r};var et,it=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher"],nt=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,at=/^@(?:\.([a-z]+))?:/,rt=/[()]/g,ot={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()}},st=new D,lt=function(t){var e=this;void 0===t&&(t={}),!v&&"undefined"!==typeof window&&window.Vue&&C(window.Vue);var i=t.locale||"en-US",n=t.fallbackLocale||"en-US",a=t.messages||{},r=t.dateTimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||st,this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&!!t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new tt,this._dataListeners=[],this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._exist=function(t,i){return!(!t||!i)&&(!l(e._path.getPathValue(t,i))||!!t[i])},this._initVM({locale:i,fallbackLocale:n,messages:a,dateTimeFormats:r,numberFormats:o})},ct={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0}};lt.prototype._initVM=function(t){var e=v.config.silent;v.config.silent=!0,this._vm=new v({data:t}),v.config.silent=e},lt.prototype.destroyVM=function(){this._vm.$destroy()},lt.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},lt.prototype.unsubscribeDataChanging=function(t){h(this._dataListeners,t)},lt.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",function(){var e=t._dataListeners.length;while(e--)v.nextTick(function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()})},{deep:!0})},lt.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",function(e){t.$set(t,"locale",e),t.$forceUpdate()},{immediate:!0})},ct.vm.get=function(){return this._vm},ct.messages.get=function(){return u(this._getMessages())},ct.dateTimeFormats.get=function(){return u(this._getDateTimeFormats())},ct.numberFormats.get=function(){return u(this._getNumberFormats())},ct.availableLocales.get=function(){return Object.keys(this.messages).sort()},ct.locale.get=function(){return this._vm.locale},ct.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},ct.fallbackLocale.get=function(){return this._vm.fallbackLocale},ct.fallbackLocale.set=function(t){this._vm.$set(this._vm,"fallbackLocale",t)},ct.missing.get=function(){return this._missing},ct.missing.set=function(t){this._missing=t},ct.formatter.get=function(){return this._formatter},ct.formatter.set=function(t){this._formatter=t},ct.silentTranslationWarn.get=function(){return this._silentTranslationWarn},ct.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},ct.silentFallbackWarn.get=function(){return this._silentFallbackWarn},ct.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},ct.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},ct.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},lt.prototype._getMessages=function(){return this._vm.messages},lt.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},lt.prototype._getNumberFormats=function(){return this._vm.numberFormats},lt.prototype._warnDefault=function(t,e,i,n,a){if(!l(i))return i;if(this._missing){var r=this._missing.apply(null,[t,e,n,a]);if("string"===typeof r)return r}else 0;return e},lt.prototype._isFallbackRoot=function(t){return!t&&!l(this._root)&&this._fallbackRoot},lt.prototype._isSilentFallback=function(t){return this._silentFallbackWarn&&(this._isFallbackRoot()||t!==this.fallbackLocale)},lt.prototype._interpolate=function(t,e,i,n,a,r,o){if(!e)return null;var c,u=this._path.getPathValue(e,i);if(Array.isArray(u)||s(u))return u;if(l(u)){if(!s(e))return null;if(c=e[i],"string"!==typeof c)return null}else{if("string"!==typeof u)return null;c=u}return(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,n,"raw",r,o)),this._render(c,a,r,i)},lt.prototype._link=function(t,e,i,n,a,r,o){var s=this,l=i,c=l.match(nt);for(var u in c)if(c.hasOwnProperty(u)){var h=c[u],d=h.match(at),p=d[0],f=d[1],g=h.replace(p,"").replace(rt,"");if(o.includes(g))return l;o.push(g);var m=s._interpolate(t,e,g,n,"raw"===a?"string":a,"raw"===a?void 0:r,o);if(s._isFallbackRoot(m)){if(!s._root)throw Error("unexpected error");var v=s._root.$i18n;m=v._translate(v._getMessages(),v.locale,v.fallbackLocale,g,n,a,r)}m=s._warnDefault(t,g,m,n,Array.isArray(r)?r:[r]),ot.hasOwnProperty(f)&&(m=ot[f](m)),o.pop(),l=m?l.replace(h,m):l}return l},lt.prototype._render=function(t,e,i,n){var a=this._formatter.interpolate(t,i,n);return a||(a=st.interpolate(t,i,n)),"string"===e?a.join(""):a},lt.prototype._translate=function(t,e,i,n,a,r,o){var s=this._interpolate(e,t[e],n,a,r,o,[n]);return l(s)?(s=this._interpolate(i,t[i],n,a,r,o,[n]),l(s)?null:s):s},lt.prototype._t=function(t,e,i,n){var a,r=[],o=arguments.length-4;while(o-- >0)r[o]=arguments[o+4];if(!t)return"";var s=c.apply(void 0,r),l=s.locale||e,u=this._translate(i,l,this.fallbackLocale,t,n,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[t].concat(r))}return this._warnDefault(l,t,u,n,r)},lt.prototype.t=function(t){var e,i=[],n=arguments.length-1;while(n-- >0)i[n]=arguments[n+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(i))},lt.prototype._i=function(t,e,i,n,a){var r=this._translate(i,e,this.fallbackLocale,t,n,"raw",a);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,a)}return this._warnDefault(e,t,r,n,[a])},lt.prototype.i=function(t,e,i){return t?("string"!==typeof e&&(e=this.locale),this._i(t,e,this._getMessages(),null,i)):""},lt.prototype._tc=function(t,e,i,n,a){var r,o=[],s=arguments.length-5;while(s-- >0)o[s]=arguments[s+5];if(!t)return"";void 0===a&&(a=1);var l={count:a,n:a},u=c.apply(void 0,o);return u.params=Object.assign(l,u.params),o=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((r=this)._t.apply(r,[t,e,i,n].concat(o)),a)},lt.prototype.fetchChoice=function(t,e){if(!t&&"string"!==typeof t)return null;var i=t.split("|");return e=this.getChoiceIndex(e,i.length),i[e]?i[e].trim():t},lt.prototype.getChoiceIndex=function(t,e){var i=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[t,e]):i(t,e)},lt.prototype.tc=function(t,e){var i,n=[],a=arguments.length-2;while(a-- >0)n[a]=arguments[a+2];return(i=this)._tc.apply(i,[t,this.locale,this._getMessages(),null,e].concat(n))},lt.prototype._te=function(t,e,i){var n=[],a=arguments.length-3;while(a-- >0)n[a]=arguments[a+3];var r=c.apply(void 0,n).locale||e;return this._exist(i[r],t)},lt.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},lt.prototype.getLocaleMessage=function(t){return u(this._vm.messages[t]||{})},lt.prototype.setLocaleMessage=function(t,e){this._vm.$set(this._vm.messages,t,e)},lt.prototype.mergeLocaleMessage=function(t,e){this._vm.$set(this._vm.messages,t,f(this._vm.messages[t]||{},e))},lt.prototype.getDateTimeFormat=function(t){return u(this._vm.dateTimeFormats[t]||{})},lt.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e)},lt.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,f(this._vm.dateTimeFormats[t]||{},e))},lt.prototype._localizeDateTime=function(t,e,i,n,a){var r=e,o=n[r];if((l(o)||l(o[a]))&&(r=i,o=n[r]),l(o)||l(o[a]))return null;var s=o[a],c=r+"__"+a,u=this._dateTimeFormatters[c];return u||(u=this._dateTimeFormatters[c]=new Intl.DateTimeFormat(r,s)),u.format(t)},lt.prototype._d=function(t,e,i){if(!i)return new Intl.DateTimeFormat(e).format(t);var n=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),i);if(this._isFallbackRoot(n)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,i,e)}return n||""},lt.prototype.d=function(t){var e=[],i=arguments.length-1;while(i-- >0)e[i]=arguments[i+1];var n=this.locale,r=null;return 1===e.length?"string"===typeof e[0]?r=e[0]:a(e[0])&&(e[0].locale&&(n=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&("string"===typeof e[0]&&(r=e[0]),"string"===typeof e[1]&&(n=e[1])),this._d(t,n,r)},lt.prototype.getNumberFormat=function(t){return u(this._vm.numberFormats[t]||{})},lt.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e)},lt.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,f(this._vm.numberFormats[t]||{},e))},lt.prototype._localizeNumber=function(t,e,i,n,a,r){var o=e,s=n[o];if((l(s)||l(s[a]))&&(o=i,s=n[o]),l(s)||l(s[a]))return null;var c,u=s[a];if(r)c=new Intl.NumberFormat(o,Object.assign({},u,r));else{var h=o+"__"+a;c=this._numberFormatters[h],c||(c=this._numberFormatters[h]=new Intl.NumberFormat(o,u))}return c.format(t)},lt.prototype._n=function(t,e,i,n){if(!lt.availabilities.numberFormat)return"";if(!i){var a=n?new Intl.NumberFormat(e,n):new Intl.NumberFormat(e);return a.format(t)}var r=this._localizeNumber(t,e,this.fallbackLocale,this._getNumberFormats(),i,n);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:i,locale:e},n))}return r||""},lt.prototype.n=function(t){var e=[],i=arguments.length-1;while(i-- >0)e[i]=arguments[i+1];var n=this.locale,r=null,o=null;return 1===e.length?"string"===typeof e[0]?r=e[0]:a(e[0])&&(e[0].locale&&(n=e[0].locale),e[0].key&&(r=e[0].key),o=Object.keys(e[0]).reduce(function(t,i){var n;return it.includes(i)?Object.assign({},t,(n={},n[i]=e[0][i],n)):t},null)):2===e.length&&("string"===typeof e[0]&&(r=e[0]),"string"===typeof e[1]&&(n=e[1])),this._n(t,n,r,o)},Object.defineProperties(lt.prototype,ct),Object.defineProperty(lt,"availabilities",{get:function(){if(!et){var t="undefined"!==typeof Intl;et={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return et}}),lt.install=C,lt.version="8.9.0";var ut=lt;e.default=ut},a1f9:function(t,e,i){"use strict";var n=i("3999"),a=i("df36"),r=i("1898"),o=r.seriesModelMixin,s=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(s,o,!0);var l=s;t.exports=l},a220:function(t,e,i){"use strict";function n(t,e,i,n,a,r){if(r>e&&r>n||r<e&&r<n)return 0;if(n===e)return 0;var o=n<e?1:-1,s=(r-e)/(n-e);1!==s&&0!==s||(o=n<e?.5:-.5);var l=s*(i-t)+t;return l===a?1/0:l>a?o:0}t.exports=n},a266:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999");i("b4de"),i("3524"),i("3a7f");var r=i("8760"),o=r.layout,s=i("e266");i("4a76"),n.registerLayout(a.curry(o,"pictorialBar")),n.registerVisual(s("pictorialBar","roundRect"))},a2d6:function(t,e,i){"use strict";var n=i("1637");function a(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=e.getBoundingRect(),a=t.getData(),r=a.graph,o=0,s=a.getSum("value"),l=2*Math.PI/(s||a.count()),c=i.width/2+i.x,u=i.height/2+i.y,h=Math.min(i.width,i.height)/2;r.eachNode(function(t){var e=t.getValue("value");o+=l*(s?e:1)/2,t.setLayout([h*Math.cos(o)+c,h*Math.sin(o)+u]),o+=l*(s?e:1)/2}),a.setLayout({cx:c,cy:u}),r.eachEdge(function(t){var e,i=t.getModel().get("lineStyle.curveness")||0,a=n.clone(t.node1.getLayout()),r=n.clone(t.node2.getLayout()),o=(a[0]+r[0])/2,s=(a[1]+r[1])/2;+i&&(i*=3,e=[c*i+o*(1-i),u*i+s*(1-i)]),t.setLayout([a,r,e])})}}e.circularLayout=a},a2f3:function(t,e,i){"use strict";var n=i("b6d7"),a=i("c1ef"),r=i("3999"),o=r.isArrayLike,s=Array.prototype.slice;function l(t,e){return t[e]}function c(t,e,i){t[e]=i}function u(t,e,i){return(e-t)*i+t}function h(t,e,i){return i>.5?e:t}function d(t,e,i,n,a){var r=t.length;if(1===a)for(var o=0;o<r;o++)n[o]=u(t[o],e[o],i);else{var s=r&&t[0].length;for(o=0;o<r;o++)for(var l=0;l<s;l++)n[o][l]=u(t[o][l],e[o][l],i)}}function p(t,e,i){var n=t.length,a=e.length;if(n!==a){var r=n>a;if(r)t.length=a;else for(var o=n;o<a;o++)t.push(1===i?e[o]:s.call(e[o]))}var l=t[0]&&t[0].length;for(o=0;o<t.length;o++)if(1===i)isNaN(t[o])&&(t[o]=e[o]);else for(var c=0;c<l;c++)isNaN(t[o][c])&&(t[o][c]=e[o][c])}function f(t,e,i){if(t===e)return!0;var n=t.length;if(n!==e.length)return!1;if(1===i){for(var a=0;a<n;a++)if(t[a]!==e[a])return!1}else{var r=t[0].length;for(a=0;a<n;a++)for(var o=0;o<r;o++)if(t[a][o]!==e[a][o])return!1}return!0}function g(t,e,i,n,a,r,o,s,l){var c=t.length;if(1===l)for(var u=0;u<c;u++)s[u]=m(t[u],e[u],i[u],n[u],a,r,o);else{var h=t[0].length;for(u=0;u<c;u++)for(var d=0;d<h;d++)s[u][d]=m(t[u][d],e[u][d],i[u][d],n[u][d],a,r,o)}}function m(t,e,i,n,a,r,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*r+s*a+e}function v(t){if(o(t)){var e=t.length;if(o(t[0])){for(var i=[],n=0;n<e;n++)i.push(s.call(t[n]));return i}return s.call(t)}return t}function y(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function x(t){var e=t[t.length-1].value;return o(e&&e[0])?2:1}function _(t,e,i,r,s,l){var c=t._getter,v=t._setter,_="spline"===e,b=r.length;if(b){var w,S=r[0].value,M=o(S),T=!1,A=!1,I=M?x(r):0;r.sort(function(t,e){return t.time-e.time}),w=r[b-1].time;for(var C=[],D=[],L=r[0].value,k=!0,P=0;P<b;P++){C.push(r[P].time/w);var R=r[P].value;if(M&&f(R,L,I)||!M&&R===L||(k=!1),L=R,"string"===typeof R){var E=a.parse(R);E?(R=E,T=!0):A=!0}D.push(R)}if(l||!k){var O=D[b-1];for(P=0;P<b-1;P++)M?p(D[P],O,I):!isNaN(D[P])||isNaN(O)||A||T||(D[P]=O);M&&p(c(t._target,s),O,I);var N,z,V,B,W,F,H=0,G=0;if(T)var Y=[0,0,0,0];var X=function(t,e){var i;if(e<0)i=0;else if(e<G){for(N=Math.min(H+1,b-1),i=N;i>=0;i--)if(C[i]<=e)break;i=Math.min(i,b-2)}else{for(i=H;i<b;i++)if(C[i]>e)break;i=Math.min(i-1,b-2)}H=i,G=e;var n=C[i+1]-C[i];if(0!==n)if(z=(e-C[i])/n,_)if(B=D[i],V=D[0===i?i:i-1],W=D[i>b-2?b-1:i+1],F=D[i>b-3?b-1:i+2],M)g(V,B,W,F,z,z*z,z*z*z,c(t,s),I);else{if(T)a=g(V,B,W,F,z,z*z,z*z*z,Y,1),a=y(Y);else{if(A)return h(B,W,z);a=m(V,B,W,F,z,z*z,z*z*z)}v(t,s,a)}else if(M)d(D[i],D[i+1],z,c(t,s),I);else{var a;if(T)d(D[i],D[i+1],z,Y,1),a=y(Y);else{if(A)return h(D[i],D[i+1],z);a=u(D[i],D[i+1],z)}v(t,s,a)}},U=new n({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:X,ondestroy:i});return e&&"spline"!==e&&(U.easing=e),U}}}var b=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||l,this._setter=n||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var a=this._getter(this._target,n);if(null==a)continue;0!==t&&i[n].push({time:0,value:v(a)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,i=0;i<e;i++)t[i].call(this)},start:function(t,e){var i,n=this,a=0,r=function(){a--,a||n._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var s=_(this,t,r,this._tracks[o],o,e);s&&(this._clipList.push(s),a++,this.animation&&this.animation.addClip(s),i=s)}if(i){var l=i.onframe;i.onframe=function(t,e){l(t,e);for(var i=0;i<n._onframeList.length;i++)n._onframeList[i](t,e)}}return a||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,i=this.animation,n=0;n<e.length;n++){var a=e[n];t&&a.onframe(this._target,1),i&&i.removeClip(a)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var w=b;t.exports=w},a344:function(t,e,i){"use strict";var n=i("ad57"),a=i("a903"),r=i("3999"),o=r.each;function s(t){return parseInt(t,10)}function l(t,e){a.initVML(),this.root=t,this.storage=e;var i=document.createElement("div"),n=document.createElement("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",n.style.cssText="position:absolute;left:0;top:0;",t.appendChild(i),this._vmlRoot=n,this._vmlViewport=i,this.resize();var r=e.delFromStorage,o=e.addToStorage;e.delFromStorage=function(t){r.call(e,t),t&&t.onRemove&&t.onRemove(n)},e.addToStorage=function(t){t.onAdd&&t.onAdd(n),o.call(e,t)},this._firstPaint=!0}function c(t){return function(){n('In IE8.0 VML mode painter not support method "'+t+'"')}}l.prototype={constructor:l,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,i=0;i<t.length;i++){var n=t[i];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(e),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(e),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,e),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(t,e){t=null==t?this._getWidth():t,e=null==e?this._getHeight():e;if(this._width!==t||this._height!==e){this._width=t,this._height=e;var i=this._vmlViewport.style;i.width=t+"px",i.height=e+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var t=this.root,e=t.currentStyle;return(t.clientWidth||s(e.width))-s(e.paddingLeft)-s(e.paddingRight)|0},_getHeight:function(){var t=this.root,e=t.currentStyle;return(t.clientHeight||s(e.height))-s(e.paddingTop)-s(e.paddingBottom)|0}},o(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){l.prototype[t]=c(t)});var u=l;t.exports=u},a37f:function(t,e,i){"use strict";i("9060"),i("3ff9")},a441:function(t,e,i){"use strict";var n=i("3999"),a=i("346b"),r=i("8a7d"),o=i("9297"),s=a.prototype,l=o.prototype,c=r.getPrecisionSafe,u=r.round,h=Math.floor,d=Math.ceil,p=Math.pow,f=Math.log,g=a.extend({type:"log",base:10,$constructor:function(){a.apply(this,arguments),this._originalScale=new o},getTicks:function(){var t=this._originalScale,e=this._extent,i=t.getExtent();return n.map(l.getTicks.call(this),function(n){var a=r.round(p(this.base,n));return a=n===e[0]&&t.__fixMin?m(a,i[0]):a,a=n===e[1]&&t.__fixMax?m(a,i[1]):a,a},this)},getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),p(this.base,t)},setExtent:function(t,e){var i=this.base;t=f(t)/f(i),e=f(e)/f(i),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=p(t,e[0]),e[1]=p(t,e[1]);var i=this._originalScale,n=i.getExtent();return i.__fixMin&&(e[0]=m(e[0],n[0])),i.__fixMax&&(e[1]=m(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=f(t[0])/f(e),t[1]=f(t[1])/f(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=r.quantity(i),a=t/i*n;a<=.5&&(n*=10);while(!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0)n*=10;var o=[r.round(d(e[0]/n)*n),r.round(h(e[1]/n)*n)];this._interval=n,this._niceExtent=o}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return u(t,c(e))}n.each(["contain","normalize"],function(t){g.prototype[t]=function(e){return e=f(e)/f(this.base),s[t].call(this,e)}}),g.create=function(){return new g};var v=g;t.exports=v},a555:function(t,e,i){"use strict";var n=i("bc9d"),a=i("3999");function r(t,e,i){n.Group.call(this),this._createPolyline(t,e,i)}var o=r.prototype;o._createPolyline=function(t,e,i){var a=t.getItemLayout(e),r=new n.Polyline({shape:{points:a}});this.add(r),this._updateCommonStl(t,e,i)},o.updateData=function(t,e,i){var a=t.hostModel,r=this.childAt(0),o={shape:{points:t.getItemLayout(e)}};n.updateProps(r,o,a,e),this._updateCommonStl(t,e,i)},o._updateCommonStl=function(t,e,i){var r=this.childAt(0),o=t.getItemModel(e),s=t.getItemVisual(e,"color"),l=i&&i.lineStyle,c=i&&i.hoverLineStyle;i&&!t.hasItemOption||(l=o.getModel("lineStyle").getLineStyle(),c=o.getModel("emphasis.lineStyle").getLineStyle()),r.useStyle(a.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),r.hoverStyle=c,n.setHoverStyle(this)},o.updateLayout=function(t,e){var i=this.childAt(0);i.setShape("points",t.getItemLayout(e))},a.inherits(r,n.Group);var s=r;t.exports=s},a57a:function(t,e,i){"use strict";var n=i("578b"),a=i("2ef2"),r=i("2a8d"),o=function(){this.group=new n,this.uid=a.getUID("viewComponent")};o.prototype={constructor:o,init:function(t,e){},render:function(t,e,i,n){},dispose:function(){},filterForExposedEvent:null};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,i,n){},r.enableClassExtend(o),r.enableClassManagement(o,{registerWhenExtend:!0});var l=o;t.exports=l},a61c:function(t,e,i){"use strict";var n=i("ac5f"),a=n.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=a},a6d9:function(t,e,i){"use strict";var n=i("3999"),a=i("f63f"),r=n.each,o=n.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var i=0,a=s.length;i<a;i++){var r=s[i],o=e.normal,l=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?n.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),l&&l[r]&&(t[r]=t[r]||{},t[r].emphasis?n.merge(t[r].emphasis,l[r]):t[r].emphasis=l[r],l[r]=null)}}function c(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var a=t[e].normal,r=t[e].emphasis;a&&(i?(t[e].normal=t[e].emphasis=null,n.defaults(t[e],a)):t[e]=a),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r)}}function u(t){c(t,"itemStyle"),c(t,"lineStyle"),c(t,"areaStyle"),c(t,"label"),c(t,"labelLine"),c(t,"upperLabel"),c(t,"edgeLabel")}function h(t,e){var i=o(t)&&t[e],n=o(i)&&i.textStyle;if(n)for(var r=0,s=a.TEXT_STYLE_OPTIONS.length;r<s;r++){e=a.TEXT_STYLE_OPTIONS[r];n.hasOwnProperty(e)&&(i[e]=n[e])}}function d(t){t&&(u(t),h(t,"label"),t.emphasis&&h(t.emphasis,"label"))}function p(t){if(o(t)){l(t),u(t),h(t,"label"),h(t,"upperLabel"),h(t,"edgeLabel"),t.emphasis&&(h(t.emphasis,"label"),h(t.emphasis,"upperLabel"),h(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(l(e),d(e));var i=t.markLine;i&&(l(i),d(i));var a=t.markArea;a&&d(a);var r=t.data;if("graph"===t.type){r=r||t.nodes;var s=t.links||t.edges;if(s&&!n.isTypedArray(s))for(var p=0;p<s.length;p++)d(s[p]);n.each(t.categories,function(t){u(t)})}if(r&&!n.isTypedArray(r))for(p=0;p<r.length;p++)d(r[p]);e=t.markPoint;if(e&&e.data){var f=e.data;for(p=0;p<f.length;p++)d(f[p])}i=t.markLine;if(i&&i.data){var g=i.data;for(p=0;p<g.length;p++)n.isArray(g[p])?(d(g[p][0]),d(g[p][1])):d(g[p])}"gauge"===t.type?(h(t,"axisLabel"),h(t,"title"),h(t,"detail")):"treemap"===t.type?(c(t.breadcrumb,"itemStyle"),n.each(t.levels,function(t){u(t)})):"tree"===t.type&&u(t.leaves)}}function f(t){return n.isArray(t)?t:t?[t]:[]}function g(t){return(n.isArray(t)?t[0]:t)||{}}function m(t,e){r(f(t.series),function(t){o(t)&&p(t)});var i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),r(i,function(e){r(f(t[e]),function(t){t&&(h(t,"axisLabel"),h(t.axisPointer,"label"))})}),r(f(t.parallel),function(t){var e=t&&t.parallelAxisDefault;h(e,"axisLabel"),h(e&&e.axisPointer,"label")}),r(f(t.calendar),function(t){c(t,"itemStyle"),h(t,"dayLabel"),h(t,"monthLabel"),h(t,"yearLabel")}),r(f(t.radar),function(t){h(t,"name")}),r(f(t.geo),function(t){o(t)&&(d(t),r(f(t.regions),function(t){d(t)}))}),r(f(t.timeline),function(t){d(t),c(t,"label"),c(t,"itemStyle"),c(t,"controlStyle",!0);var e=t.data;n.isArray(e)&&n.each(e,function(t){n.isObject(t)&&(c(t,"label"),c(t,"itemStyle"))})}),r(f(t.toolbox),function(t){c(t,"iconStyle"),r(t.feature,function(t){c(t,"iconStyle")})}),h(g(t.axisPointer),"label"),h(g(t.tooltip).axisPointer,"label")}t.exports=m},a75d:function(t,e,i){"use strict";var n=i("35c7"),a=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function r(t){return n.browser.ie&&n.browser.version>=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var r=0;r<i.length;r++){var o=i[r],s=o&&o.shape,l=o&&o.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var c=0;c<a.length;c++)a[c][2]=n[a[c][0]],n[a[c][0]]=a[c][1];e=!0;break}}if(t.apply(this,arguments),e)for(c=0;c<a.length;c++)n[a[c][0]]=a[c][2]}:t}t.exports=r},a7cb:function(t,e,i){"use strict";i("5f27"),i("0761"),i("00a4"),i("ac2f"),i("d88c"),i("5489"),i("5ae5"),i("b211"),i("ee75")},a7e3:function(t,e,i){"use strict";i("4a76"),i("ff68"),i("2b78")},a8f2:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999");i("bd3e"),i("23f8"),i("f720");var r=i("bb2c"),o=i("4c3c"),s=i("8224");n.registerVisual(a.curry(r,"sunburst")),n.registerLayout(a.curry(o,"sunburst")),n.registerProcessor(a.curry(s,"sunburst"))},a903:function(t,e,i){"use strict";var n,a=i("35c7"),r="urn:schemas-microsoft-com:vml",o="undefined"===typeof window?null:window,s=!1,l=o&&o.document;function c(t){return n(t)}if(l&&!a.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",r),n=function(t){return l.createElement("<zrvml:"+t+' class="zrvml">')}}catch(h){n=function(t){return l.createElement("<"+t+' xmlns="'+r+'" class="zrvml">')}}function u(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}e.doc=l,e.createNode=c,e.initVML=u},a962:function(t,e,i){"use strict";var n=i("a2f3"),a=i("ad57"),r=i("3999"),o=r.isString,s=r.isFunction,l=r.isObject,c=r.isArrayLike,u=r.indexOf,h=function(){this.animators=[]};function d(t,e,i,n,a,r,l,c){o(n)?(r=a,a=n,n=0):s(a)?(r=a,a="linear",n=0):s(n)?(r=n,n=0):s(i)?(r=i,i=500):i||(i=500),t.stopAnimation(),p(t,"",t,e,i,n,c);var u=t.animators.slice(),h=u.length;function d(){h--,h||r&&r()}h||r&&r();for(var f=0;f<u.length;f++)u[f].done(d).start(a,l)}function p(t,e,i,n,a,r,o){var s={},u=0;for(var h in n)n.hasOwnProperty(h)&&(null!=i[h]?l(n[h])&&!c(n[h])?p(t,e?e+"."+h:h,i[h],n[h],a,r,o):(o?(s[h]=i[h],f(t,e,h,n[h])):s[h]=n[h],u++):null==n[h]||o||f(t,e,h,n[h]));u>0&&t.animate(e,!1).when(null==a?500:a,s).delay(r||0)}function f(t,e,i,n){if(e){var a={};a[e]={},a[e][i]=n,t.attr(a)}else t.attr(i,n)}h.prototype={constructor:h,animate:function(t,e){var i,r=!1,o=this,s=this.__zr;if(t){var l=t.split("."),c=o;r="shape"===l[0];for(var h=0,d=l.length;h<d;h++)c&&(c=c[l[h]]);c&&(i=c)}else i=o;if(i){var p=o.animators,f=new n(i,e);return f.during(function(t){o.dirty(r)}).done(function(){p.splice(u(p,f),1)}),p.push(f),s&&s.animation.addAnimator(f),f}a('Property "'+t+'" is not existed in element '+o.id)},stopAnimation:function(t){for(var e=this.animators,i=e.length,n=0;n<i;n++)e[n].stop(t);return e.length=0,this},animateTo:function(t,e,i,n,a,r){d(this,t,e,i,n,a,r)},animateFrom:function(t,e,i,n,a,r){d(this,t,e,i,n,a,r,!0)}};var g=h;t.exports=g},aa3b:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("005e"),o=i("2ae5"),s=i("b59c"),l=i("4166"),c=i("4ed0"),u=c.onIrrelevantElement,h=i("bc9d"),d=i("d29a"),p="__focusNodeAdjacency",f="__unfocusNodeAdjacency",g=["itemStyle","opacity"],m=["lineStyle","opacity"];function v(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function y(t,e,i){var n=t.getGraphicEl(),a=v(t,e);null!=i&&(null==a&&(a=1),a*=i),n.downplay&&n.downplay(),n.traverse(function(t){if("group"!==t.type){var e=t.lineLabelOriginalOpacity;null!=e&&null==i||(e=a),t.setStyle("opacity",e)}})}function x(t,e){var i=v(t,e),n=t.getGraphicEl();n.highlight&&n.highlight(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",i)})}var _=n.extendChartView({type:"graph",init:function(t,e){var i=new r,n=new o,a=this.group;this._controller=new s(e.getZr()),this._controllerHost={target:a},a.add(i.group),a.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},render:function(t,e,i){var n=t.coordinateSystem;this._model=t,this._nodeScaleRatio=t.get("nodeScaleRatio");var a=this._symbolDraw,r=this._lineDraw,o=this.group;if("view"===n.type){var s={position:n.position,scale:n.scale};this._firstRender?o.attr(s):h.updateProps(o,s,t)}d(t.getGraph(),this._getNodeGlobalScale(t));var l=t.getData();a.updateData(l);var c=t.getEdgeData();r.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,i),clearTimeout(this._layoutTimeout);var u=t.forceLayout,g=t.get("force.layoutAnimation");u&&this._startForceLayoutIteration(u,g),l.eachItemGraphicEl(function(e,n){var a=l.getItemModel(n);e.off("drag").off("dragend");var r=a.get("draggable");r&&e.on("drag",function(){u&&(u.warmUp(),!this._layouting&&this._startForceLayoutIteration(u,g),u.setFixed(n),l.setItemLayout(n,e.position))},this).on("dragend",function(){u&&u.setUnfixed(n)},this),e.setDraggable(r&&u),e[p]&&e.off("mouseover",e[p]),e[f]&&e.off("mouseout",e[f]),a.get("focusNodeAdjacency")&&(e.on("mouseover",e[p]=function(){i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e[f]=function(){i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))},this),l.graph.eachEdge(function(e){var n=e.getGraphicEl();n[p]&&n.off("mouseover",n[p]),n[f]&&n.off("mouseout",n[f]),e.getModel().get("focusNodeAdjacency")&&(n.on("mouseover",n[p]=function(){i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),n.on("mouseout",n[f]=function(){i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))});var m="circular"===t.get("layout")&&t.get("circular.rotateLabel"),v=l.getLayout("cx"),y=l.getLayout("cy");l.eachItemGraphicEl(function(t,e){var i=t.getSymbolPath();if(m){var n=l.getItemLayout(e),a=Math.atan2(n[1]-y,n[0]-v);a<0&&(a=2*Math.PI+a);var r=n[0]<v;r&&(a-=Math.PI);var o=r?"left":"right";i.setStyle({textRotation:-a,textPosition:o,textOrigin:"center"}),i.hoverStyle&&(i.hoverStyle.textPosition=o)}else i.setStyle({textRotation:0})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},focusNodeAdjacency:function(t,e,i,n){var r=this._model.getData(),o=r.graph,s=n.dataIndex,l=n.edgeDataIndex,c=o.getNodeByIndex(s),u=o.getEdgeByIndex(l);(c||u)&&(o.eachNode(function(t){y(t,g,.1)}),o.eachEdge(function(t){y(t,m,.1)}),c&&(x(c,g),a.each(c.edges,function(t){t.dataIndex<0||(x(t,m),x(t.node1,g),x(t.node2,g))})),u&&(x(u,m),x(u.node1,g),x(u.node2,g)))},unfocusNodeAdjacency:function(t,e,i,n){var a=this._model.getData().graph;a.eachNode(function(t){y(t,g)}),a.eachEdge(function(t){y(t,m)})},_startForceLayoutIteration:function(t,e){var i=this;(function n(){t.step(function(t){i.updateLayout(i._model),(i._layouting=!t)&&(e?i._layoutTimeout=setTimeout(n,16):n())})})()},_updateController:function(t,e,i){var n=this._controller,a=this._controllerHost,r=this.group;n.setPointerChecker(function(e,n,a){var o=r.getBoundingRect();return o.applyTransform(r.transform),o.contain(n,a)&&!u(e,i,t)}),"view"===t.coordinateSystem.type?(n.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),n.off("pan").off("zoom").on("pan",function(e){l.updateViewOnPan(a,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){l.updateViewOnZoom(a,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(),d(t.getGraph(),this._getNodeGlobalScale(t)),this._lineDraw.updateLayout()},this)):n.disable()},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),i=this._getNodeGlobalScale(t),n=[i,i];e.eachItemGraphicEl(function(t,e){t.attr("scale",n)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=this._nodeScaleRatio,n=e.scale,a=n&&n[0]||1,r=e.getZoom(),o=(r-1)*i+1;return o/a},updateLayout:function(t){d(t.getGraph(),this._getNodeGlobalScale(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});t.exports=_},aae0:function(t,e,i){"use strict";var n=i("9a0c"),a=i("1073"),r=a.getLayoutRect,o=i("b589");function s(t,e,i){var n=t.getBoxLayoutParams();return n.aspect=i,r(n,{width:e.getWidth(),height:e.getHeight()})}function l(t,e){var i=[];return t.eachSeriesByType("graph",function(t){var a=t.get("coordinateSystem");if(!a||"view"===a){var r=t.getData(),l=r.mapArray(function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]}),c=[],u=[];o.fromPoints(l,c,u),u[0]-c[0]===0&&(u[0]+=1,c[0]-=1),u[1]-c[1]===0&&(u[1]+=1,c[1]-=1);var h=(u[0]-c[0])/(u[1]-c[1]),d=s(t,e,h);isNaN(h)&&(c=[d.x,d.y],u=[d.x+d.width,d.y+d.height]);var p=u[0]-c[0],f=u[1]-c[1],g=d.width,m=d.height,v=t.coordinateSystem=new n;v.zoomLimit=t.get("scaleLimit"),v.setBoundingRect(c[0],c[1],p,f),v.setViewRect(d.x,d.y,g,m),v.setCenter(t.get("center")),v.setZoom(t.get("zoom")),i.push(v)}}),i}t.exports=l},ab2d:function(t,e,i){"use strict";var n=i("3999"),a=i("c14b"),r=i("8a7d"),o=i("f339"),s=i("2ae5"),l=i("0df4"),c=function(t,e,i,a){var r=t.getData(),s=a.type;if(!n.isArray(a)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=a.xAxis||null!=a.yAxis)){var l,c;if(null!=a.yAxis||null!=a.xAxis)l=null!=a.yAxis?"y":"x",e.getAxis(l),c=n.retrieve(a.yAxis,a.xAxis);else{var u=o.getAxisInfo(a,r,e,t);l=u.valueDataDim,u.valueAxis,c=o.numCalculate(r,l,s)}var h="x"===l?0:1,d=1-h,p=n.clone(a),f={};p.type=null,p.coord=[],f.coord=[],p.coord[d]=-1/0,f.coord[d]=1/0;var g=i.get("precision");g>=0&&"number"===typeof c&&(c=+c.toFixed(Math.min(g,20))),p.coord[h]=f.coord[h]=c,a=[p,f,{type:s,valueIndex:a.valueIndex,value:c}]}return a=[o.dataTransform(t,a[0]),o.dataTransform(t,a[1]),n.extend({},a[2])],a[2].type=a[2].type||"",n.merge(a[2],a[0]),n.merge(a[2],a[1]),a};function u(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,i,n){var a=1-t,r=n.dimensions[t];return u(e[a])&&u(i[a])&&e[t]===i[t]&&n.getAxis(r).containData(e[t])}function d(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(h(1,i,n,t)||h(0,i,n,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function p(t,e,i,n,a){var o,s=n.coordinateSystem,l=t.getItemModel(e),c=r.parsePercent(l.get("x"),a.getWidth()),h=r.parsePercent(l.get("y"),a.getHeight());if(isNaN(c)||isNaN(h)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,p=t.get(d[0],e),f=t.get(d[1],e);o=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;u(t.get(d[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):u(t.get(d[1],e))&&(o[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(c)||(o[0]=c),isNaN(h)||(o[1]=h)}else o=[c,h];t.setItemLayout(e,o)}var f=l.extend({type:"markLine",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markLineModel;if(e){var n=e.getData(),a=e.__from,r=e.__to;a.each(function(e){p(a,e,!0,t,i),p(r,e,!1,t,i)}),n.each(function(t){n.setItemLayout(t,[a.getItemLayout(t),r.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,i,a){var r=t.coordinateSystem,o=t.id,l=t.getData(),c=this.markerGroupMap,u=c.get(o)||c.set(o,new s);this.group.add(u.group);var h=g(r,t,e),d=h.from,f=h.to,m=h.line;e.__from=d,e.__to=f,e.setData(m);var v=e.get("symbol"),y=e.get("symbolSize");function x(e,i,n){var r=e.getItemModel(i);p(e,i,n,t,a),e.setItemVisual(i,{symbolSize:r.get("symbolSize")||y[n?0:1],symbol:r.get("symbol",!0)||v[n?0:1],color:r.get("itemStyle.color")||l.getVisual("color")})}n.isArray(v)||(v=[v,v]),"number"===typeof y&&(y=[y,y]),h.from.each(function(t){x(d,t,!0),x(f,t,!1)}),m.each(function(t){var e=m.getItemModel(t).get("lineStyle.color");m.setItemVisual(t,{color:e||d.getItemVisual(t,"color")}),m.setItemLayout(t,[d.getItemLayout(t),f.getItemLayout(t)]),m.setItemVisual(t,{fromSymbolSize:d.getItemVisual(t,"symbolSize"),fromSymbol:d.getItemVisual(t,"symbol"),toSymbolSize:f.getItemVisual(t,"symbolSize"),toSymbol:f.getItemVisual(t,"symbol")})}),u.updateData(m),h.line.eachItemGraphicEl(function(t,i){t.traverse(function(t){t.dataModel=e})}),u.__keep=!0,u.group.silent=e.get("silent")||t.get("silent")}});function g(t,e,i){var r;r=t?n.map(t&&t.dimensions,function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)}):[{name:"value",type:"float"}];var s=new a(r,i),l=new a(r,i),u=new a([],i),h=n.map(i.get("data"),n.curry(c,e,t,i));t&&(h=n.filter(h,n.curry(d,t)));var p=t?o.dimValueGetter:function(t){return t.value};return s.initData(n.map(h,function(t){return t[0]}),null,p),l.initData(n.map(h,function(t){return t[1]}),null,p),u.initData(n.map(h,function(t){return t[2]})),u.hasItemOption=!0,{from:s,to:l,line:u}}t.exports=f},ab9a:function(t,e,i){"use strict";var n=i("fbbc"),a=i("779f"),r=i("6964"),o=i("a962"),s=i("3999"),l=function(t){r.call(this,t),a.call(this,t),o.call(this,t),this.id=t.id||n()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){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.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.addAnimator(e[i]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},s.mixin(l,o),s.mixin(l,r),s.mixin(l,a);var c=l;t.exports=c},aba8:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("8a50"),o=i("8a7d"),s=o.parsePercent,l=i("08fd"),c=l.createScaleByModel,u=l.niceScaleExtent,h=i("e62e"),d=i("b0c1"),p=d.getStackedDimension;function f(t,e,i){var n=e.get("center"),a=i.getWidth(),r=i.getHeight();t.cx=s(n[0],a),t.cy=s(n[1],r);var o=t.getRadiusAxis(),l=Math.min(a,r)/2,c=s(e.get("radius"),l);o.inverse?o.setExtent(c,0):o.setExtent(0,c)}function g(t,e){var i=this,n=i.getAngleAxis(),r=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===i){var e=t.getData();a.each(e.mapDimension("radius",!0),function(t){r.scale.unionExtentFromData(e,p(e,t))}),a.each(e.mapDimension("angle",!0),function(t){n.scale.unionExtentFromData(e,p(e,t))})}}),u(n.scale,n.model),u(r.scale,r.model),"category"===n.type&&!n.onBand){var o=n.getExtent(),s=360/n.scale.count();n.inverse?o[1]+=s:o[1]-=s,n.setExtent(o[0],o[1])}}function m(t,e){if(t.type=e.get("type"),t.scale=c(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}i("5c1c");var v={dimensions:r.prototype.dimensions,create:function(t,e){var i=[];return t.eachComponent("polar",function(t,n){var a=new r(n);a.update=g;var o=a.getRadiusAxis(),s=a.getAngleAxis(),l=t.findAxisModel("radiusAxis"),c=t.findAxisModel("angleAxis");m(o,l),m(s,c),f(a,t,e),i.push(a),t.coordinateSystem=a,a.model=t}),t.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}};h.register("polar",v)},abaa:function(t,e,i){"use strict";var n=i("ac5f");i("b96a"),i("f753"),i("01aa");var a=i("2b1ca"),r=i("0290");n.registerProcessor(a),r.registerSubTypeDefaulter("legend",function(){return"plain"})},ac2f:function(t,e,i){"use strict";var n=i("0761"),a=n.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),r=a;t.exports=r},ac5e:function(t,e,i){"use strict";var n=i("3999"),a=i("0290"),r=i("4a54"),o=i("9b77"),s=i("8a7d"),l=i("d4d0"),c=a.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return r([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=n.clone(t);if(e)for(var i=e.length-1;i>=0;i--)s.asc(e[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var i=e[0];if(i[0]<=t&&t<=i[1])return"active"}else for(var n=0,a=e.length;n<a;n++)if(e[n][0]<=t&&t<=e[n][1])return"active";return"inactive"}}),u={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function h(t,e){return e.type||(e.data?"category":"value")}n.merge(c.prototype,l),o("parallel",c,h,u);var d=c;t.exports=d},ac5f:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("b9f9")),r=i("3999"),o=i("c1ef"),s=i("35c7"),l=i("2492"),c=i("779f"),u=i("bc87"),h=i("6f8e"),d=i("e62e"),p=i("c1c4"),f=i("0273"),g=i("00dc"),m=i("0290"),v=i("df36"),y=i("a57a"),x=i("66c7"),_=i("bc9d"),b=i("f63f"),w=i("db34"),S=w.throttle,M=i("9efe"),T=i("f4a1"),A=i("8501"),I=i("824e"),C=i("2c8b"),D=i("193a");i("63e1");var L=i("da4c"),k=r.assert,P=r.each,R=r.isFunction,E=r.isObject,O=m.parseClassType,N="4.2.1",z={zrender:"4.0.6"},V=1,B=1e3,W=5e3,F=1e3,H=2e3,G=3e3,Y=4e3,X=5e3,U={PROCESSOR:{FILTER:B,STATISTIC:W},VISUAL:{LAYOUT:F,GLOBAL:H,CHART:G,COMPONENT:Y,BRUSH:X}},j="__flagInMainProcess",Z="__optionUpdated",q=/^[a-zA-Z0-9_]+$/;function Q(t){return function(e,i,n){e=e&&e.toLowerCase(),c.prototype[t].call(this,e,i,n)}}function K(){c.call(this)}function J(t,e,i){i=i||{},"string"===typeof e&&(e=It[e]),this.id,this.group,this._dom=t;var n="canvas",o=this._zr=a.init(t,{renderer:i.renderer||n,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=S(r.bind(o.flush,o),17);e=r.clone(e);e&&f(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=xt(this);function u(t,e){return t.__prio-e.__prio}l(At,u),l(St,u),this._scheduler=new I(this,s,St,At),c.call(this,this._ecEventProcessor=new _t),this._messageCenter=new K,this._initEvents(),this.resize=r.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),lt(o,this),r.setAsPrimitive(this)}K.prototype.on=Q("on"),K.prototype.off=Q("off"),K.prototype.one=Q("one"),r.mixin(K,c);var $=J.prototype;function tt(t,e,i){var n,a=this._model,r=this._coordSysMgr.getCoordinateSystems();e=b.parseFinder(a,e);for(var o=0;o<r.length;o++){var s=r[o];if(s[t]&&null!=(n=s[t](a,e,i)))return n}}$._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[Z]){var e=this[Z].silent;this[j]=!0,it(this),et.update.call(this),this[j]=!1,this[Z]=!1,ot.call(this,e),st.call(this,e)}else if(t.unfinished){var i=V,n=this._model,a=this._api;t.unfinished=!1;do{var r=+new Date;t.performSeriesTasks(n),t.performDataProcessorTasks(n),at(this,n),t.performVisualTasks(n),pt(this,this._model,a,"remain"),i-=+new Date-r}while(i>0&&t.unfinished);t.unfinished||this._zr.flush()}}},$.getDom=function(){return this._dom},$.getZr=function(){return this._zr},$.setOption=function(t,e,i){var n;if(E(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[j]=!0,!this._model||e){var a=new p(this._api),r=this._theme,o=this._model=new u(null,null,r,a);o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,Mt),i?(this[Z]={silent:n},this[j]=!1):(it(this),et.update.call(this),this._zr.flush(),this[Z]=!1,this[j]=!1,ot.call(this,n),st.call(this,n))},$.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},$.getModel=function(){return this._model},$.getOption=function(){return this._model&&this._model.getOption()},$.getWidth=function(){return this._zr.getWidth()},$.getHeight=function(){return this._zr.getHeight()},$.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},$.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},$.getSvgDataUrl=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},$.getDataURL=function(t){t=t||{};var e=t.excludeComponents,i=this._model,n=[],a=this;P(e,function(t){i.eachComponent({mainType:t},function(t){var e=a._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var r="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return P(n,function(t){t.group.ignore=!1}),r},$.getConnectedDataURL=function(t){if(s.canvasSupported){var e=this.group,i=Math.min,n=Math.max,o=1/0;if(Lt[e]){var l=o,c=o,u=-o,h=-o,d=[],p=t&&t.pixelRatio||1;r.each(Dt,function(a,o){if(a.group===e){var s=a.getRenderedCanvas(r.clone(t)),p=a.getDom().getBoundingClientRect();l=i(p.left,l),c=i(p.top,c),u=n(p.right,u),h=n(p.bottom,h),d.push({dom:s,left:p.left,top:p.top})}}),l*=p,c*=p,u*=p,h*=p;var f=u-l,g=h-c,m=r.createCanvas();m.width=f,m.height=g;var v=a.init(m);return P(d,function(t){var e=new _.Image({style:{x:t.left*p-l,y:t.top*p-c,image:t.dom}});v.add(e)}),v.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},$.convertToPixel=r.curry(tt,"convertToPixel"),$.convertFromPixel=r.curry(tt,"convertFromPixel"),$.containPixel=function(t,e){var i,n=this._model;return t=b.parseFinder(n,t),r.each(t,function(t,n){n.indexOf("Models")>=0&&r.each(t,function(t){var a=t.coordinateSystem;if(a&&a.containPoint)i|=!!a.containPoint(e);else if("seriesModels"===n){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(i|=r.containPoint(e,t))}},this)},this),!!i},$.getVisual=function(t,e){var i=this._model;t=b.parseFinder(i,t,{defaultMainType:"series"});var n=t.seriesModel,a=n.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?a.indexOfRawIndex(t.dataIndex):null;return null!=r?a.getItemVisual(r,e):a.getVisual(e)},$.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},$.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var et={prepareAndUpdate:function(t){it(this),et.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,a=this._coordSysMgr,r=this._scheduler;if(e){r.restoreData(e,t),r.performSeriesTasks(e),a.create(e,i),r.performDataProcessorTasks(e,t),at(this,e),a.update(e,i),ut(e),r.performVisualTasks(e,t),ht(this,e,i,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)n.setBackgroundColor(l);else{var c=o.parse(l);l=o.stringify(c,"rgb"),0===c[3]&&(l="transparent")}ft(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var a=[];e.eachComponent(function(r,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&a.push(s)}else a.push(s)});var o=r.createHashMap();e.eachSeries(function(a){var r=i._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,e,n,t);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)}),ut(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),pt(i,e,n,t,o),ft(e,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),ut(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),ht(this,this._model,this._api,t),ft(e,this._api))},updateVisual:function(t){et.update.call(this,t)},updateLayout:function(t){et.update.call(this,t)}};function it(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ct(t,"component",e,i),ct(t,"chart",e,i),i.plan()}function nt(t,e,i,n,a){var o=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};a&&(l.subType=a);var c=i.excludeSeriesId;null!=c&&(c=r.createHashMap(b.normalizeToArray(c))),o&&o.eachComponent(l,function(e){c&&null!=c.get(e.id)||u(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else P(t._componentsViews.concat(t._chartsViews),u);function u(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function at(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,i[t.__viewId])})}function rt(t,e){var i=t.type,n=t.escapeConnect,a=bt[i],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&O(s[0]),this[j]=!0;var c=[t],u=!1;t.batch&&(u=!0,c=r.map(t.batch,function(e){return e=r.defaults(r.extend({},e),t),e.batch=null,e}));var h,d=[],p="highlight"===i||"downplay"===i;P(c,function(t){h=a.action(t,this._model,this._api),h=h||r.extend({},t),h.type=o.event||h.type,d.push(h),p?nt(this,l,t,"series"):s&&nt(this,l,t,s.main,s.sub)},this),"none"===l||p||s||(this[Z]?(it(this),et.update.call(this,t),this[Z]=!1):et[l].call(this,t)),h=u?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[j]=!1,!e&&this._messageCenter.trigger(h.type,h)}function ot(t){var e=this._pendingActions;while(e.length){var i=e.shift();rt.call(this,i,t)}}function st(t){!t&&this.trigger("updated")}function lt(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.animation.isFinished()||e[Z]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})}function ct(t,e,i,n){for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,o=a?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,c=0;c<r.length;c++)r[c].__alive=!1;function u(t){var e="_ec_"+t.id+"_"+t.type,c=o[e];if(!c){var u=O(t.type),h=a?y.getClass(u.main,u.sub):x.getClass(u.sub);c=new h,c.init(i,l),o[e]=c,r.push(c),s.add(c.group)}t.__viewId=c.__id=e,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!a&&n.prepareView(c,t,i,l)}a?i.eachComponent(function(t,e){"series"!==t&&u(e)}):i.eachSeries(u);for(c=0;c<r.length;){var h=r[c];h.__alive?c++:(!a&&h.renderTask.dispose(),s.remove(h.group),h.dispose(i,l),r.splice(c,1),delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function ut(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function ht(t,e,i,n){dt(t,e,i,n),P(t._chartsViews,function(t){t.__alive=!1}),pt(t,e,i,n),P(t._chartsViews,function(t){t.__alive||t.remove(e,i)})}function dt(t,e,i,n,a){P(a||t._componentsViews,function(t){var a=t.__model;t.render(a,e,i,n),yt(a,t)})}function pt(t,e,i,n,a){var r,o=t._scheduler;e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];i.__alive=!0;var s=i.renderTask;o.updatePayload(s,n),a&&a.get(e.uid)&&s.dirty(),r|=s.perform(o.getPerformArgs(s)),i.group.silent=!!e.get("silent"),yt(e,i),vt(e,i)}),o.unfinished|=r,mt(t._zr,e),T(t._zr.dom,e)}function ft(t,e){P(Tt,function(i){i(t,e)})}$.resize=function(t){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),n=t&&t.silent;this[j]=!0,i&&it(this),et.update.call(this),this[j]=!1,ot.call(this,n),st.call(this,n)}},$.showLoading=function(t,e){if(E(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Ct[t]){var i=Ct[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},$.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},$.makeActionFromEvent=function(t){var e=r.extend({},t);return e.type=wt[t.type],e},$.dispatchAction=function(t,e){E(e)||(e={silent:!!e}),bt[t.type]&&this._model&&(this[j]?this._pendingActions.push(t):(rt.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&s.browser.weChat&&this._throttledZrFlush(),ot.call(this,e.silent),st.call(this,e.silent)))},$.appendData=function(t){var e=t.seriesIndex,i=this.getModel(),n=i.getSeriesByIndex(e);n.appendData(t),this._scheduler.unfinished=!0},$.on=Q("on"),$.off=Q("off"),$.one=Q("one");var gt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function mt(t,e){var i=t.storage,n=0;i.traverse(function(t){t.isGroup||n++}),n>e.get("hoverLayerThreshold")&&!s.node&&i.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function vt(t,e){var i=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",i)})})}function yt(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))})}function xt(t){var e=t._coordSysMgr;return r.extend(new h(t),{getCoordinateSystems:r.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function _t(){this.eventInfo}$._initEvents=function(){P(gt,function(t){var e=function(e){var i,n=this.getModel(),a=e.target,o="globalout"===t;if(o)i={};else if(a&&null!=a.dataIndex){var s=a.dataModel||n.getSeriesByIndex(a.seriesIndex);i=s&&s.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(i=r.extend({},a.eventData));if(i){var l=i.componentType,c=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",c=i.seriesIndex);var u=l&&null!=c&&n.getComponent(l,c),h=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:i,model:u,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)},this),P(wt,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},$.isDisposed=function(){return this._disposed},$.clear=function(){this.setOption({series:[]},!0)},$.dispose=function(){if(!this._disposed){this._disposed=!0,b.setAttribute(this.getDom(),Rt,"");var t=this._api,e=this._model;P(this._componentsViews,function(i){i.dispose(e,t)}),P(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),delete Dt[this.id]}},r.mixin(J,c),_t.prototype={constructor:_t,normalizeQuery:function(t){var e={},i={},n={};if(r.isString(t)){var a=O(t);e.mainType=a.main||null,e.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,function(t,a){for(var r=!1,l=0;l<o.length;l++){var c=o[l],u=a.lastIndexOf(c);if(u>0&&u===a.length-c.length){var h=a.slice(0,u);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,r=!0)}}s.hasOwnProperty(a)&&(i[a]=t,r=!0),r||(n[a]=t)})}return{cptQuery:e,dataQuery:i,otherQuery:n}},filter:function(t,e,i){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,r=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,c=e.dataQuery;return u(l,o,"mainType")&&u(l,o,"subType")&&u(l,o,"index","componentIndex")&&u(l,o,"name")&&u(l,o,"id")&&u(c,r,"name")&&u(c,r,"dataIndex")&&u(c,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,r));function u(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var bt={},wt={},St=[],Mt=[],Tt=[],At=[],It={},Ct={},Dt={},Lt={},kt=new Date-0,Pt=new Date-0,Rt="_echarts_instance_";function Et(t){var e=0,i=1,n=2,a="__connectUpdateStatus";function r(t,e){for(var i=0;i<t.length;i++){var n=t[i];n[a]=e}}P(wt,function(o,s){t._messageCenter.on(s,function(o){if(Lt[t.group]&&t[a]!==e){if(o&&o.escapeConnect)return;var s=t.makeActionFromEvent(o),l=[];P(Dt,function(e){e!==t&&e.group===t.group&&l.push(e)}),r(l,e),P(l,function(t){t[a]!==i&&t.dispatchAction(s)}),r(l,n)}})})}function Ot(t,e,i){var n=Wt(t);if(n)return n;var a=new J(t,e,i);return a.id="ec_"+kt++,Dt[a.id]=a,b.setAttribute(t,Rt,a.id),Et(a),a}function Nt(t){if(r.isArray(t)){var e=t;t=null,P(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+Pt++,P(e,function(e){e.group=t})}return Lt[t]=!0,t}function zt(t){Lt[t]=!1}var Vt=zt;function Bt(t){"string"===typeof t?t=Dt[t]:t instanceof J||(t=Wt(t)),t instanceof J&&!t.isDisposed()&&t.dispose()}function Wt(t){return Dt[b.getAttribute(t,Rt)]}function Ft(t){return Dt[t]}function Ht(t,e){It[t]=e}function Gt(t){Mt.push(t)}function Yt(t,e){Kt(St,t,e,B)}function Xt(t){Tt.push(t)}function Ut(t,e,i){"function"===typeof e&&(i=e,e="");var n=E(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,k(q.test(n)&&q.test(e)),bt[n]||(bt[n]={action:i,actionInfo:t}),wt[e]=n}function jt(t,e){d.register(t,e)}function Zt(t){var e=d.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function qt(t,e){Kt(At,t,e,F,"layout")}function Qt(t,e){Kt(At,t,e,G,"visual")}function Kt(t,e,i,n,a){(R(e)||E(e))&&(i=e,e=n);var r=I.wrapStageHandler(i,a);return r.__prio=e,r.__raw=i,t.push(r),r}function Jt(t,e){Ct[t]=e}function $t(t){return m.extend(t)}function te(t){return y.extend(t)}function ee(t){return v.extend(t)}function ie(t){return x.extend(t)}function ne(t){r.$override("createCanvas",t)}function ae(t,e,i){L.registerMap(t,e,i)}function re(t){var e=L.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}}Qt(H,M),Gt(f),Yt(W,g),Jt("default",A),Ut({type:"highlight",event:"highlight",update:"highlight"},r.noop),Ut({type:"downplay",event:"downplay",update:"downplay"},r.noop),Ht("light",C),Ht("dark",D);var oe={};e.version=N,e.dependencies=z,e.PRIORITY=U,e.init=Ot,e.connect=Nt,e.disConnect=zt,e.disconnect=Vt,e.dispose=Bt,e.getInstanceByDom=Wt,e.getInstanceById=Ft,e.registerTheme=Ht,e.registerPreprocessor=Gt,e.registerProcessor=Yt,e.registerPostUpdate=Xt,e.registerAction=Ut,e.registerCoordinateSystem=jt,e.getCoordinateSystemDimensions=Zt,e.registerLayout=qt,e.registerVisual=Qt,e.registerLoading=Jt,e.extendComponentModel=$t,e.extendComponentView=te,e.extendSeriesModel=ee,e.extendChartView=ie,e.setCanvasCreator=ne,e.registerMap=ae,e.getMap=re,e.dataTool=oe;var se=i("6e0f");(function(){for(var t in se)se.hasOwnProperty(t)&&(e[t]=se[t])})()},ad57:function(t,e,i){"use strict";var n=i("3205"),a=n.debugMode,r=function(){};1===a?r=function(){for(var t in arguments)throw new Error(arguments[t])}:a>1&&(r=function(){for(var t in arguments)console.log(arguments[t])});var o=r;t.exports=o},ad70:function(t,e,i){"use strict";var n=i("eb1a"),a=i("df36"),r=a.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return n(this.getSource(),this)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});t.exports=r},ae63:function(t,e,i){"use strict";var n=i("df36"),a=i("53ec"),r=i("6b4e"),o=r.getDimensionTypeByAxis,s=i("c14b"),l=i("3999"),c=i("f63f"),u=c.groupData,h=i("b04a"),d=h.encodeHTML,p=2,f=n.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){f.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){var e=t.length,i=u(t,function(t){return t[2]}),n=[];i.buckets.each(function(t,e){n.push({name:e,dataList:t})});for(var a=n.length,r=-1,o=-1,s=0;s<a;++s){var l=n[s].dataList.length;l>r&&(r=l,o=s)}for(var c=0;c<a;++c)if(c!==o)for(var h=n[c].name,d=0;d<r;++d){for(var p=n[o].dataList[d][0],f=n[c].dataList.length,g=-1,m=0;m<f;++m){var v=n[c].dataList[m][0];if(v===p){g=m;break}}-1===g&&(t[e]=[],t[e][0]=p,t[e][1]=0,t[e][2]=h,e++)}return t},getInitialData:function(t,e){for(var i=e.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],n=i.get("type"),r=l.filter(t.data,function(t){return void 0!==t[2]}),c=this.fixData(r||[]),u=[],h=this.nameMap=l.createHashMap(),d=0,f=0;f<c.length;++f)u.push(c[f][p]),h.get(c[f][p])||(h.set(c[f][p],d),d++);var g=a(c,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:o(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),m=new s(g,this);return m.initData(c),m},getLayerSeries:function(){for(var t=this.getData(),e=t.count(),i=[],n=0;n<e;++n)i[n]=n;var a=t.mapDimension("single"),r=u(i,function(e){return t.get("name",e)}),o=[];return r.buckets.each(function(e,i){e.sort(function(e,i){return t.get(a,e)-t.get(a,i)}),o.push({name:i,indices:e})}),o},getAxisTooltipData:function(t,e,i){l.isArray(t)||(t=t?[t]:[]);for(var n,a=this.getData(),r=this.getLayerSeries(),o=[],s=r.length,c=0;c<s;++c){for(var u=Number.MAX_VALUE,h=-1,d=r[c].indices.length,p=0;p<d;++p){var f=a.get(t[0],r[c].indices[p]),g=Math.abs(f-e);g<=u&&(n=f,u=g,h=r[c].indices[p])}o.push(h)}return{dataIndices:o,nestestValue:n}},formatTooltip:function(t){var e=this.getData(),i=e.getName(t),n=e.get(e.mapDimension("value"),t);return(isNaN(n)||null==n)&&(n="-"),d(i+" : "+n)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),g=f;t.exports=g},aec7:function(t,e,i){"use strict";var n=i("3999"),a=i("8cd5"),r=i("62f4"),o=i("cfd5"),s=i("bc9d"),l=i("8a7d"),c=i("8abd"),u=i("5183"),h=i("f63f"),d=l.linearMap,p=n.each,f=Math.min,g=Math.max,m=12,v=6,y=o.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var a=this.visualMapModel,r=a.get("textGap"),o=a.itemSize,l=this._shapes.barGroup,c=this._applyTransform([o[0]/2,0===i?-r:o[1]+r],l),u=this._applyTransform(0===i?"bottom":"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:c[0],y:c[1],textVerticalAlign:"horizontal"===h?"middle":u,textAlign:"horizontal"===h?u:"center",text:n,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,i=this._shapes,a=e.itemSize,r=this._orient,o=this._useHandle,s=u.getItemAlign(e,this.api,a),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=x()),l.add(i.inRange=x(null,o?M(this._orient):null,n.bind(this._dragHandle,this,"all",!1),n.bind(this._dragHandle,this,"all",!0)));var c=e.textStyleModel.getTextRect("国"),h=g(c.width,c.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,a,h,r,s),this._createHandle(l,1,a,h,r,s)),this._createIndicator(l,a,h,r),t.add(l)},_createHandle:function(t,e,i,a,o){var l=n.bind(this._dragHandle,this,e,!1),c=n.bind(this._dragHandle,this,e,!0),u=x(_(e,a),M(this._orient),l,c);u.position[0]=i[0],t.add(u);var h=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(t){r.stop(t.event)},ondragend:c,style:{x:0,y:0,text:"",textFont:h.getFont(),textFill:h.getTextColor()}});this.group.add(d);var p=["horizontal"===o?a/2:1.5*a,"horizontal"===o?0===e?-1.5*a:1.5*a:0===e?-a/2:a/2],f=this._shapes;f.handleThumbs[e]=u,f.handleLabelPoints[e]=p,f.handleLabels[e]=d},_createIndicator:function(t,e,i,n){var a=x([[0,0]],"move");a.position[0]=e[0],a.attr({invisible:!0,silent:!0}),t.add(a);var r=this.visualMapModel.textStyleModel,o=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:r.getFont(),textFill:r.getTextColor()}});this.group.add(o);var l=["horizontal"===n?i/2:v+3,0],c=this._shapes;c.indicator=a,c.indicatorLabel=o,c.indicatorLabelPoint=l},_dragHandle:function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var a=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(t,a[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[d(e[0],i,n,!0),d(e[1],i,n,!0)]},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,a=[0,i.itemSize[1]];c(e,n,a,t,0);var r=i.getExtent();this._dataInterval=[d(n[0],a,r,!0),d(n[1],a,r,!0)]},_updateView:function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,a=[0,e.itemSize[1]],r=t?a:this._handleEnds,o=this._createBarVisual(this._dataInterval,i,r,"inRange"),s=this._createBarVisual(i,i,a,"outOfRange");n.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(r,o)},_createBarVisual:function(t,e,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),s=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],l=this._createBarPoints(i,s);return{barColor:new a(0,0,0,1,o),barPoints:l,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(t,e){var i=100,n=[],a=(t[1]-t[0])/i;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<i;r++){var o=t[0]+a*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/i})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||i?"horizontal"===e&&i?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||i?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,a=i.handleThumbs,r=i.handleLabels;p([0,1],function(o){var l=a[o];l.setStyle("fill",e.handlesColor[o]),l.position[1]=t[o];var c=s.applyTransform(i.handleLabelPoints[o],s.getTransform(l,this.group));r[o].setStyle({x:c[0],y:c[1],text:n.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",i.barGroup)})},this)}},_showIndicator:function(t,e,i,n){var a=this.visualMapModel,r=a.getExtent(),o=a.itemSize,l=[0,o[1]],c=d(t,r,l,!0),u=this._shapes,h=u.indicator;if(h){h.position[1]=c,h.attr("invisible",!1),h.setShape("points",b(!!i,n,c,o[1]));var p={convertOpacityToAlpha:!0},f=this.getControllerVisual(t,"color",p);h.setStyle("fill",f);var g=s.applyTransform(u.indicatorLabelPoint,s.getTransform(h,this.group)),m=u.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",u.barGroup),y=this._orient;m.setStyle({text:(i||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);n[1]=f(g(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var a=[0,n[1]],r=i.getExtent();t=f(g(a[0],t),a[1]);var o=w(i,r,a),s=[t-o,t+o],l=d(t,a,r,!0),c=[d(s[0],a,r,!0),d(s[1],a,r,!0)];s[0]<a[0]&&(c[0]=-1/0),s[1]>a[1]&&(c[1]=1/0),e&&(c[0]===-1/0?this._showIndicator(l,c[1],"< ",o):c[1]===1/0?this._showIndicator(l,c[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var p=this._hoverLinkDataIndices,m=[];(e||S(i))&&(m=this._hoverLinkDataIndices=i.findTargetDataIndices(c));var v=h.compressBatches(p,m);this._dispatchHighDown("downplay",u.convertDataIndex(v[0])),this._dispatchHighDown("highlight",u.convertDataIndex(v[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=e.dataIndex){var n=this.ecModel.getSeriesByIndex(e.seriesIndex);if(i.isTargetSeries(n)){var a=n.getData(e.dataType),r=a.get(i.getDataDimension(a),e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",u.convertDataIndex(t)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,i,a){var r=s.getTransform(e,a?null:this.group);return s[n.isArray(t)?"applyTransform":"transformDirection"](t,r,i)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(t,e,i,n){return new s.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){r.stop(t.event)},ondragend:n})}function _(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function b(t,e,i,n){return t?[[0,-f(e,g(i,0))],[v,0],[0,f(e,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function w(t,e,i){var n=m/2,a=t.get("hoverLinkDataSize");return a&&(n=d(a,e,i,!0)/2),n}function S(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function M(t){return"vertical"===t?"ns-resize":"ew-resize"}var T=y;t.exports=T},afd6:function(t,e,i){"use strict";function n(t,e,i,n,a,r,o){if(0===a)return!1;var s=a,l=0,c=t;if(o>e+s&&o>n+s||o<e-s&&o<n-s||r>t+s&&r>i+s||r<t-s&&r<i-s)return!1;if(t===i)return Math.abs(r-t)<=s/2;l=(e-n)/(t-i),c=(t*n-i*e)/(t-i);var u=l*r-o+c,h=u*u/(l*l+1);return h<=s/2*s/2}e.containStroke=n},b03d:function(t,e,i){"use strict";var n=i("3999"),a=i("42e9"),r=i("c8ba"),o=r.toolbox.brush;function s(t,e,i){this.model=t,this.ecModel=e,this.api=i,this._brushType,this._brushMode}s.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.clone(o.title)};var l=s.prototype;l.render=l.updateView=function(t,e,i){var a,r,o;e.eachComponent({mainType:"brush"},function(t){a=t.brushType,r=t.brushOption.brushMode||"single",o|=t.areas.length}),this._brushType=a,this._brushMode=r,n.each(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===a)?"emphasis":"normal")})},l.getIcons=function(){var t=this.model,e=t.get("icon",!0),i={};return n.each(t.get("type",!0),function(t){e[t]&&(i[t]=e[t])}),i},l.onclick=function(t,e,i){var n=this._brushType,a=this._brushMode;"clear"===i?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===a?"single":"multiple":a}})},a.register("brush",s);var c=s;t.exports=c},b04a:function(t,e,i){"use strict";var n=i("3999"),a=i("3e4d"),r=i("8a7d");function o(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:""))}function s(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 l=n.normalizeCssArray,c=/([&<>"'])/g,u={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function h(t){return null==t?"":(t+"").replace(c,function(t,e){return u[e]})}var d=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function f(t,e,i){n.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var s=d[o];t=t.replace(p(s),p(s,0))}for(var l=0;l<a;l++)for(var c=0;c<r.length;c++){var u=e[l][r[c]];t=t.replace(p(d[c],l),i?h(u):u)}return t}function g(t,e,i){return n.each(e,function(e,n){t=t.replace("{"+n+"}",i?h(e):e)}),t}function m(t,e){t=n.isString(t)?{color:t,extraCssText:e}:t||{};var i=t.color,a=t.type,r=(e=t.extraCssText,t.renderMode||"html"),o=t.markerId||"X";return i?"html"===r?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+h(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+h(i)+";"+(e||"")+'"></span>':{renderMode:r,content:"{marker"+o+"|}  ",style:{color:i}}:""}function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function y(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=r.parseDate(e),a=i?"UTC":"",o=n["get"+a+"FullYear"](),s=n["get"+a+"Month"]()+1,l=n["get"+a+"Date"](),c=n["get"+a+"Hours"](),u=n["get"+a+"Minutes"](),h=n["get"+a+"Seconds"](),d=n["get"+a+"Milliseconds"]();return t=t.replace("MM",v(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",v(l,2)).replace("d",l).replace("hh",v(c,2)).replace("h",c).replace("mm",v(u,2)).replace("m",u).replace("ss",v(h,2)).replace("s",h).replace("SSS",v(d,3)),t}function x(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var _=a.truncateText;function b(t){return a.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,i,n,r,o,s,l){return a.getBoundingRect(t,e,i,n,r,l,o,s)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=h,e.formatTpl=f,e.formatTplSimple=g,e.getTooltipMarker=m,e.formatTime=y,e.capitalFirst=x,e.truncateText=_,e.getTextBoundingRect=b,e.getTextRect=w},b0c1:function(t,e,i){"use strict";var n=i("3999"),a=n.each,r=n.isString;function o(t,e,i){i=i||{};var n,o,s,l,c=i.byIndex,u=i.stackedCoordDimension,h=!(!t||!t.get("stack"));if(a(e,function(t,i){r(t)&&(e[i]=t={name:t}),h&&!t.isExtraCoord&&(c||n||!t.ordinalMeta||(n=t),o||"ordinal"===t.type||"time"===t.type||u&&u!==t.coordDim||(o=t))}),!o||c||n||(c=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var d=o.coordDim,p=o.type,f=0;a(e,function(t){t.coordDim===d&&f++}),e.push({name:s,coordDim:d,coordDimIndex:f,type:p,isExtraCoord:!0,isCalculationCoord:!0}),f++,e.push({name:l,coordDim:l,coordDimIndex:f,type:p,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:n&&n.name,isStackedByIndex:c,stackedOverDimension:l,stackResultDimension:s}}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function l(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.enableDataStack=o,e.isDimensionStacked=s,e.getStackedDimension=l},b0f7:function(t,e,i){"use strict";var n=["lineStyle","normal","opacity"],a={seriesType:"parallel",reset:function(t,e,i){var a=t.getModel("itemStyle"),r=t.getModel("lineStyle"),o=e.get("color"),s=r.get("color")||a.get("color")||o[t.seriesIndex%o.length],l=t.get("inactiveOpacity"),c=t.get("activeOpacity"),u=t.getModel("lineStyle").getLineStyle(),h=t.coordinateSystem,d=t.getData(),p={normal:u.opacity,active:c,inactive:l};function f(t,e){h.eachActiveState(e,function(t,i){var a=p[t];if("normal"===t&&e.hasItemOption){var r=e.getItemModel(i).get(n,!0);null!=r&&(a=r)}e.setItemVisual(i,"opacity",a)},t.start,t.end)}return d.setVisual("color",s),{progress:f}}};t.exports=a},b0fa:function(t,e,i){"use strict";var n=i("ac5f"),a=i("f419");i("5da4"),i("b204"),i("0eec"),i("c3f5"),i("2f09"),n.registerPreprocessor(a)},b204:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("de11"),o=i("890a"),s=n.PRIORITY.VISUAL.COMPONENT;function l(t,e,i,n){for(var a=e.targetVisuals[n],r=o.prepareVisualTypes(a),s={color:t.getData().getVisual("color")},l=0,c=r.length;l<c;l++){var u=r[l],h=a["opacity"===u?"__alphaForOpacity":u];h&&h.applyVisual(i,d,p)}return s.color;function d(t){return s[t]}function p(t,e){s[t]=e}}n.registerVisual(s,{createOnAllSeries:!0,reset:function(t,e){var i=[];return e.eachComponent("visualMap",function(e){var n=t.pipelineContext;!e.isTargetSeries(t)||n&&n.large||i.push(r.incrementalApplyVisual(e.stateList,e.targetVisuals,a.bind(e.getValueState,e),e.getDataDimension(t.getData())))}),i}}),n.registerVisual(s,{createOnAllSeries:!0,reset:function(t,e){var i=t.getData(),n=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(a.bind(l,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimension(i),s=i.getDimensionInfo(o);null!=s&&(r.dimension=s.index,n.push(r))}}),t.getData().setVisual("visualMeta",n)}})},b211:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=a.createHashMap,o=a.each;n.registerProcessor({getTargetSeries:function(t){var e=r();return t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,i,n){var a=n.getAxisProxy(t.name,i);o(a.getTargetSeriesModels(),function(t){e.set(t.uid,t)})})}),e},modifyOutputEnd:!0,overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,i,n){n.getAxisProxy(t.name,i).reset(n,e)}),t.eachTargetAxis(function(t,i,n){n.getAxisProxy(t.name,i).filterData(n,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setRawRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]},!0)})}})},b329:function(t,e,i){"use strict";var n=i("3999"),a=i("35c7"),r=i("578b"),o=i("2492");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,n=0,r=e.length;n<r;n++)this._updateAndAddDisplayable(e[n],null,t);i.length=this._displayListLen,a.canvasSupported&&o(i,s)},_updateAndAddDisplayable:function(t,e,i){if(!t.ignore||i){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var n=t.clipPath;if(n){e=e?e.slice():[];var a=n,r=t;while(a)a.parent=r,a.updateTransform(),e.push(a),r=a,a=a.clipPath}if(t.isGroup){for(var o=t._children,s=0;s<o.length;s++){var l=o[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,i)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof r&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var i=this._roots[e];i instanceof r&&i.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){e=0;for(var a=t.length;e<a;e++)this.delRoot(t[e])}else{var o=n.indexOf(this._roots,t);o>=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var c=l;t.exports=c},b3b3:function(t,e,i){"use strict";var n={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,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},elasticOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},elasticInOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.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-n.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*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}},a=n;t.exports=a},b3cf:function(t,e,i){"use strict";var n=i("bc9d"),a=i("1073"),r=i("3999"),o=i("efc7"),s=o.wrapTreePathInfo,l=8,c=8,u=5;function h(t){this.group=new n.Group,t.add(this.group)}function d(t,e,i,n,a,r){var o=[[a?t:t-u,e],[t+i,e],[t+i,e+n],[a?t:t-u,e+n]];return!r&&o.splice(2,0,[t+i+u,e+n/2]),!a&&o.push([t,e+n/2]),o}function p(t,e,i){t.eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&s(i,e)}}h.prototype={constructor:h,render:function(t,e,i,n){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&i){var s=r.getModel("itemStyle"),l=s.getModel("textStyle"),c={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,c,l),this._renderContent(t,c,s,l,n),a.positionElement(o,c.pos,c.box)}},_prepare:function(t,e,i){for(var n=t;n;n=n.parentNode){var a=n.getModel().get("name"),r=i.getTextRect(a),o=Math.max(r.width+2*l,e.emptyItemWidth);e.totalWidth+=o+c,e.renderList.push({node:n,text:a,width:o})}},_renderContent:function(t,e,i,o,s){for(var l=0,u=e.emptyItemWidth,h=t.get("breadcrumb.height"),f=a.getAvailableSize(e.pos,e.box),g=e.totalWidth,m=e.renderList,v=m.length-1;v>=0;v--){var y=m[v],x=y.node,_=y.width,b=y.text;g>f.width&&(g-=_-u,_=u,b=null);var w=new n.Polygon({shape:{points:d(l,0,_,h,v===m.length-1,0===v)},style:r.defaults(i.getItemStyle(),{lineJoin:"bevel",text:b,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:r.curry(s,x)});this.group.add(w),p(w,t,x),l+=_+c}},remove:function(){this.group.removeAll()}};var f=h;t.exports=f},b428:function(t,e,i){"use strict";var n=i("ac5f");n.registerAction("legendScroll","legendscroll",function(t,e){var i=t.scrollDataIndex;null!=i&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(i)})})},b460:function(t,e,i){"use strict";var n=i("3999"),a=i("3e4d"),r=i("1767"),o=i("f63f"),s=o.makeInner,l=s();function c(t,e){e=e||[0,360],r.call(this,"angle",t,e),this.type="category"}c.prototype={constructor:c,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:r.prototype.dataToCoord,angleToData:r.prototype.coordToData,calculateCategoryInterval:function(){var t=this,e=t.getLabelModel(),i=t.scale,n=i.getExtent(),r=i.count();if(n[1]-n[0]<1)return 0;var o=n[0],s=t.dataToCoord(o+1)-t.dataToCoord(o),c=Math.abs(s),u=a.getBoundingRect(o,e.getFont(),"center","top"),h=Math.max(u.height,7),d=h/c;isNaN(d)&&(d=1/0);var p=Math.max(0,Math.floor(d)),f=l(t.model),g=f.lastAutoInterval,m=f.lastTickCount;return null!=g&&null!=m&&Math.abs(g-p)<=1&&Math.abs(m-r)<=1&&g>p?p=g:(f.lastTickCount=r,f.lastAutoInterval=p),p}},n.inherits(c,r);var u=c;t.exports=u},b4de:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=a.isObject,o=a.each,s=a.map,l=a.indexOf,c=(a.retrieve,i("1073")),u=c.getLayoutRect,h=i("08fd"),d=h.createScaleByModel,p=h.ifAxisCrossZero,f=h.niceScaleExtent,g=h.estimateLabelUnionRect,m=i("ebfa"),v=i("62f8"),y=i("e62e"),x=i("b0c1"),_=x.getStackedDimension;function b(t,e,i){return t.getCoordSysModel()===e}function w(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this.model=t}i("f0ab");var S=w.prototype;function M(t,e,i,n){i.getAxesOnZeroOf=function(){return a?[a]:[]};var a,r=t[e],o=i.model,s=o.get("axisLine.onZero"),l=o.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)T(r[l])&&(a=r[l]);else for(var c in r)if(r.hasOwnProperty(c)&&T(r[c])&&!n[u(r[c])]){a=r[c];break}a&&(n[u(a)]=!0)}function u(t){return t.dim+"_"+t.index}}function T(t){return t&&"category"!==t.type&&"time"!==t.type&&p(t)}function A(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),o(i.x,function(t){f(t.scale,t.model)}),o(i.y,function(t){f(t.scale,t.model)});var n={};o(i.x,function(t){M(i,"y",t,n)}),o(i.y,function(t){M(i,"x",t,n)}),this.resize(this.model,e)},S.resize=function(t,e,i){var n=u(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=n;var a=this._axesList;function r(){o(a,function(t){var e=t.isHorizontal(),i=e?[0,n.width]:[0,n.height],a=t.inverse?1:0;t.setExtent(i[a],i[1-a]),A(t,e?n.x:n.y)})}r(),!i&&t.get("containLabel")&&(o(a,function(t){if(!t.model.get("axisLabel.inside")){var e=g(t);if(e){var i=t.isHorizontal()?"height":"width",a=t.model.get("axisLabel.margin");n[i]-=e[i]+a,"top"===t.position?n.y+=e.height+a:"left"===t.position&&(n.x+=e.width+a)}}}),r())},S.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i){if(null==e)for(var n in i)if(i.hasOwnProperty(n))return i[n];return i[e]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}r(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,a=this._coordsList;n<a.length;n++)if(a[n].getAxis("x").index===t||a[n].getAxis("y").index===e)return a[n]},S.getCartesians=function(){return this._coordsList.slice()},S.convertToPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian.dataToPoint(i):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(i)):null},S.convertFromPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian.pointToData(i):n.axis?n.axis.coordToData(n.axis.toLocalCoord(i)):null},S._findConvertTarget=function(t,e){var i,n,a=e.seriesModel,r=e.xAxisModel||a&&a.getReferringComponents("xAxis")[0],o=e.yAxisModel||a&&a.getReferringComponents("yAxis")[0],s=e.gridModel,c=this._coordsList;if(a)i=a.coordinateSystem,l(c,i)<0&&(i=null);else if(r&&o)i=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(s){var u=s.coordinateSystem;u===this&&(i=this._coordsList[0])}return{cartesian:i,axis:n}},S.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},S._initCartesian=function(t,e,i){var n={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},r={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!r.x||!r.y)return this._axesMap={},void(this._axesList=[]);function s(i){return function(o,s){if(b(o,t,e)){var l=o.get("position");"x"===i?"top"!==l&&"bottom"!==l&&(l="bottom",n[l]&&(l="top"===l?"bottom":"top")):"left"!==l&&"right"!==l&&(l="left",n[l]&&(l="left"===l?"right":"left")),n[l]=!0;var c=new v(i,d(o),[0,0],o.get("type"),l),u="category"===c.type;c.onBand=u&&o.get("boundaryGap"),c.inverse=o.get("inverse"),o.axis=c,c.model=o,c.grid=this,c.index=s,this._axesList.push(c),a[i][s]=c,r[i]++}}}this._axesMap=a,o(a.x,function(e,i){o(a.y,function(n,a){var r="x"+i+"y"+a,o=new m(r);o.grid=this,o.model=t,this._coordsMap[r]=o,this._coordsList.push(o),o.addAxis(e),o.addAxis(n)},this)},this)},S._updateScale=function(t,e){function i(t,e,i){o(t.mapDimension(e.dim,!0),function(i){e.scale.unionExtentFromData(t,_(t,i))})}o(this._axesList,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeries(function(n){if(D(n)){var a=C(n,t),r=a[0],o=a[1];if(!b(r,e,t)||!b(o,e,t))return;var s=this.getCartesian(r.componentIndex,o.componentIndex),l=n.getData(),c=s.getAxis("x"),u=s.getAxis("y");"list"===l.type&&(i(l,c,n),i(l,u,n))}},this)},S.getTooltipAxes=function(t){var e=[],i=[];return o(this.getCartesians(),function(n){var a=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),r=n.getOtherAxis(a);l(e,a)<0&&e.push(a),l(i,r)<0&&i.push(r)}),{baseAxes:e,otherAxes:i}};var I=["xAxis","yAxis"];function C(t,e){return s(I,function(e){var i=t.getReferringComponents(e)[0];return i})}function D(t){return"cartesian2d"===t.get("coordinateSystem")}w.create=function(t,e){var i=[];return t.eachComponent("grid",function(n,a){var r=new w(n,t,e);r.name="grid_"+a,r.resize(n,e,!0),n.coordinateSystem=r,i.push(r)}),t.eachSeries(function(e){if(D(e)){var i=C(e,t),n=i[0],a=i[1],r=n.getCoordSysModel(),o=r.coordinateSystem;e.coordinateSystem=o.getCartesian(n.componentIndex,a.componentIndex)}}),i},w.dimensions=w.prototype.dimensions=m.prototype.dimensions,y.register("cartesian2d",w);var L=w;t.exports=L},b531:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("62f4"),o=i("c8ba"),s=i("42e9"),l=o.toolbox.dataView,c=new Array(60).join("-"),u="\t";function h(t){var e={},i=[],n=[];return t.eachRawSeries(function(t){var a=t.coordinateSystem;if(!a||"cartesian2d"!==a.type&&"polar"!==a.type)i.push(t);else{var r=a.getBaseAxis();if("category"===r.type){var o=r.dim+"_"+r.index;e[o]||(e[o]={categoryAxis:r,valueAxis:a.getOtherAxis(r),series:[]},n.push({axisDim:r.dim,axisIndex:r.index})),e[o].series.push(t)}else i.push(t)}}),{seriesGroupByCategoryAxis:e,other:i,meta:n}}function d(t){var e=[];return a.each(t,function(t,i){var n=t.categoryAxis,r=t.valueAxis,o=r.dim,s=[" "].concat(a.map(t.series,function(t){return t.name})),l=[n.model.getCategories()];a.each(t.series,function(t){l.push(t.getRawData().mapArray(o,function(t){return t}))});for(var c=[s.join(u)],h=0;h<l[0].length;h++){for(var d=[],p=0;p<l.length;p++)d.push(l[p][h]);c.push(d.join(u))}e.push(c.join("\n"))}),e.join("\n\n"+c+"\n\n")}function p(t){return a.map(t,function(t){var e=t.getRawData(),i=[t.name],n=[];return e.each(e.dimensions,function(){for(var t=arguments.length,a=arguments[t-1],r=e.getName(a),o=0;o<t-1;o++)n[o]=arguments[o];i.push((r?r+u:"")+n.join(u))}),i.join("\n")}).join("\n\n"+c+"\n\n")}function f(t){var e=h(t);return{value:a.filter([d(e.seriesGroupByCategoryAxis),p(e.other)],function(t){return t.replace(/[\n\t\s]/g,"")}).join("\n\n"+c+"\n\n"),meta:e.meta}}function g(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function m(t){var e=t.slice(0,t.indexOf("\n"));if(e.indexOf(u)>=0)return!0}var v=new RegExp("["+u+"]+","g");function y(t){for(var e=t.split(/\n+/g),i=g(e.shift()).split(v),n=[],r=a.map(i,function(t){return{name:t,data:[]}}),o=0;o<e.length;o++){var s=g(e[o]).split(v);n.push(s.shift());for(var l=0;l<s.length;l++)r[l]&&(r[l].data[o]=s[l])}return{series:r,categories:n}}function x(t){for(var e=t.split(/\n+/g),i=g(e.shift()),n=[],a=0;a<e.length;a++){var r,o=g(e[a]).split(v),s="",l=!1;isNaN(o[0])?(l=!0,s=o[0],o=o.slice(1),n[a]={name:s,value:[]},r=n[a].value):r=n[a]=[];for(var c=0;c<o.length;c++)r.push(+o[c]);1===r.length&&(l?n[a].value=r[0]:n[a]=r[0])}return{name:i,data:n}}function _(t,e){var i=t.split(new RegExp("\n*"+c+"\n*","g")),n={series:[]};return a.each(i,function(t,i){if(m(t)){var a=y(t),r=e[i],o=r.axisDim+"Axis";r&&(n[o]=n[o]||[],n[o][r.axisIndex]={data:a.categories},n.series=n.series.concat(a.series))}else{a=x(t);n.series.push(a)}}),n}function b(t){this._dom=null,this.model=t}function w(t,e){return a.map(t,function(t,i){var n=e&&e[i];return a.isObject(n)&&!a.isArray(n)?(a.isObject(t)&&!a.isArray(t)&&(t=t.value),a.defaults({value:t},n)):t})}b.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:a.clone(l.title),lang:a.clone(l.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},b.prototype.onclick=function(t,e){var i=e.getDom(),n=this.model;this._dom&&i.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",o.style.backgroundColor=n.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=n.get("lang")||[];s.innerHTML=l[0]||n.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=n.get("textColor");var c=document.createElement("div"),h=document.createElement("textarea");c.style.cssText="display:block;width:100%;overflow:auto;";var d=n.get("optionToContent"),p=n.get("contentToOption"),g=f(t);if("function"===typeof d){var m=d(e.getOption());"string"===typeof m?c.innerHTML=m:a.isDom(m)&&c.appendChild(m)}else c.appendChild(h),h.readOnly=n.get("readOnly"),h.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",h.style.color=n.get("textColor"),h.style.borderColor=n.get("textareaBorderColor"),h.style.backgroundColor=n.get("textareaColor"),h.value=g.value;var v=g.meta,y=document.createElement("div");y.style.cssText="position:absolute;bottom:0;left:0;right:0;";var x="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",b=document.createElement("div"),w=document.createElement("div");x+=";background-color:"+n.get("buttonColor"),x+=";color:"+n.get("buttonTextColor");var S=this;function M(){i.removeChild(o),S._dom=null}r.addEventListener(b,"click",M),r.addEventListener(w,"click",function(){var t;try{t="function"===typeof p?p(c,e.getOption()):_(h.value,v)}catch(i){throw M(),new Error("Data view format error "+i)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),M()}),b.innerHTML=l[1],w.innerHTML=l[2],w.style.cssText=x,b.style.cssText=x,!n.get("readOnly")&&y.appendChild(w),y.appendChild(b),r.addEventListener(h,"keydown",function(t){if(9===(t.keyCode||t.which)){var e=this.value,i=this.selectionStart,n=this.selectionEnd;this.value=e.substring(0,i)+u+e.substring(n),this.selectionStart=this.selectionEnd=i+1,r.stop(t)}}),o.appendChild(s),o.appendChild(c),o.appendChild(y),c.style.height=i.clientHeight-80+"px",i.appendChild(o),this._dom=o},b.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},b.prototype.dispose=function(t,e){this.remove(t,e)},s.register("dataView",b),n.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var i=[];a.each(t.newOption.series,function(t){var n=e.getSeriesByName(t.name)[0];if(n){var r=n.get("data");i.push({name:t.name,data:w(t.data,r)})}else i.push(a.extend({type:"scatter"},t))}),e.mergeOption(a.defaults({series:i},t.newOption))});var S=b;t.exports=S},b576:function(t,e,i){"use strict";var n=i("ac5f"),a=i("bc9d"),r=i("1073"),o=r.getLayoutRect;n.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},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:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),n.extendComponentView({type:"title",render:function(t,e,i){if(this.group.removeAll(),t.get("show")){var n=this.group,r=t.getModel("textStyle"),s=t.getModel("subtextStyle"),l=t.get("textAlign"),c=t.get("textBaseline"),u=new a.Text({style:a.setTextStyle({},r,{text:t.get("text"),textFill:r.getTextColor()},{disableBox:!0}),z2:10}),h=u.getBoundingRect(),d=t.get("subtext"),p=new a.Text({style:a.setTextStyle({},s,{text:d,textFill:s.getTextColor(),y:h.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),f=t.get("link"),g=t.get("sublink"),m=t.get("triggerEvent",!0);u.silent=!f&&!m,p.silent=!g&&!m,f&&u.on("click",function(){window.open(f,"_"+t.get("target"))}),g&&p.on("click",function(){window.open(g,"_"+t.get("subtarget"))}),u.eventData=p.eventData=m?{componentType:"title",componentIndex:t.componentIndex}:null,n.add(u),d&&n.add(p);var v=n.getBoundingRect(),y=t.getBoxLayoutParams();y.width=v.width,y.height=v.height;var x=o(y,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));l||(l=t.get("left")||t.get("right"),"middle"===l&&(l="center"),"right"===l?x.x+=x.width:"center"===l&&(x.x+=x.width/2)),c||(c=t.get("top")||t.get("bottom"),"center"===c&&(c="middle"),"bottom"===c?x.y+=x.height:"middle"===c&&(x.y+=x.height/2),c=c||"top"),n.attr("position",[x.x,x.y]);var _={textAlign:l,textVerticalAlign:c};u.setStyle(_),p.setStyle(_),v=n.getBoundingRect();var b=x.margin,w=t.getItemStyle(["color","opacity"]);w.fill=t.get("backgroundColor");var S=new a.Rect({shape:{x:v.x-b[3],y:v.y-b[0],width:v.width+b[1]+b[3],height:v.height+b[0]+b[2],r:t.get("borderRadius")},style:w,silent:!0});a.subPixelOptimizeRect(S),n.add(S)}}})},b589:function(t,e,i){"use strict";var n=i("1637"),a=i("1b25"),r=Math.min,o=Math.max,s=Math.sin,l=Math.cos,c=2*Math.PI,u=n.create(),h=n.create(),d=n.create();function p(t,e,i){if(0!==t.length){var n,a=t[0],s=a[0],l=a[0],c=a[1],u=a[1];for(n=1;n<t.length;n++)a=t[n],s=r(s,a[0]),l=o(l,a[0]),c=r(c,a[1]),u=o(u,a[1]);e[0]=s,e[1]=c,i[0]=l,i[1]=u}}function f(t,e,i,n,a,s){a[0]=r(t,i),a[1]=r(e,n),s[0]=o(t,i),s[1]=o(e,n)}var g=[],m=[];function v(t,e,i,n,s,l,c,u,h,d){var p,f=a.cubicExtrema,v=a.cubicAt,y=f(t,i,s,c,g);for(h[0]=1/0,h[1]=1/0,d[0]=-1/0,d[1]=-1/0,p=0;p<y;p++){var x=v(t,i,s,c,g[p]);h[0]=r(x,h[0]),d[0]=o(x,d[0])}for(y=f(e,n,l,u,m),p=0;p<y;p++){var _=v(e,n,l,u,m[p]);h[1]=r(_,h[1]),d[1]=o(_,d[1])}h[0]=r(t,h[0]),d[0]=o(t,d[0]),h[0]=r(c,h[0]),d[0]=o(c,d[0]),h[1]=r(e,h[1]),d[1]=o(e,d[1]),h[1]=r(u,h[1]),d[1]=o(u,d[1])}function y(t,e,i,n,s,l,c,u){var h=a.quadraticExtremum,d=a.quadraticAt,p=o(r(h(t,i,s),1),0),f=o(r(h(e,n,l),1),0),g=d(t,i,s,p),m=d(e,n,l,f);c[0]=r(t,s,g),c[1]=r(e,l,m),u[0]=o(t,s,g),u[1]=o(e,l,m)}function x(t,e,i,a,r,o,p,f,g){var m=n.min,v=n.max,y=Math.abs(r-o);if(y%c<1e-4&&y>1e-4)return f[0]=t-i,f[1]=e-a,g[0]=t+i,void(g[1]=e+a);if(u[0]=l(r)*i+t,u[1]=s(r)*a+e,h[0]=l(o)*i+t,h[1]=s(o)*a+e,m(f,u,h),v(g,u,h),r%=c,r<0&&(r+=c),o%=c,o<0&&(o+=c),r>o&&!p?o+=c:r<o&&p&&(r+=c),p){var x=o;o=r,r=x}for(var _=0;_<o;_+=Math.PI/2)_>r&&(d[0]=l(_)*i+t,d[1]=s(_)*a+e,m(f,d,f),v(g,d,g))}e.fromPoints=p,e.fromLine=f,e.fromCubic=v,e.fromQuadratic=y,e.fromArc=x},b59c:function(t,e,i){"use strict";var n=i("3999"),a=i("779f"),r=i("62f4"),o=i("7e71");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=n.bind,i=e(l,this),r=e(c,this),o=e(u,this),s=e(h,this),p=e(d,this);a.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,a){this.disable(),this._opt=n.defaults(n.clone(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",i),t.on("mousemove",r),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",p))},this.disable=function(){t.off("mousedown",i),t.off("mousemove",r),t.off("mouseup",o),t.off("mousewheel",s),t.off("pinch",p)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(r.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function c(t){if(this._dragging&&g("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!o.isTaken(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,a=this._y,s=e-n,l=i-a;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&r.stop(t.event),f(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:n,oldY:a,newX:e,newY:i})}}function u(t){r.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function h(t){var e=g("zoomOnMouseWheel",t,this._opt),i=g("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,a=Math.abs(n),r=t.offsetX,o=t.offsetY;if(0!==n&&(e||i)){if(e){var s=a>3?1.4:a>1?1.2:1.1,l=n>0?s:1/s;p(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:r,originY:o})}if(i){var c=Math.abs(n),u=(n>0?1:-1)*(c>3?.4:c>1?.15:.05);p(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:u,originX:r,originY:o})}}}function d(t){if(!o.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;p(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY})}}function p(t,e,i,n,a){t.pointerChecker&&t.pointerChecker(n,a.originX,a.originY)&&(r.stop(n.event),f(t,e,i,n,a))}function f(t,e,i,a,r){r.isAvailableBehavior=n.bind(g,null,i,a),t.trigger(e,r)}function g(t,e,i){var a=i[t];return!t||a&&(!n.isString(a)||e.event[a+"Key"])}n.mixin(s,a);var m=s;t.exports=m},b6d7:function(t,e,i){"use strict";var n=i("b3b3");function a(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,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,this._pausedTime=0,this._paused=!1}a.prototype={constructor:a,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var i=(t-this._startTime-this._pausedTime)/this._life;if(!(i<0)){i=Math.min(i,1);var a=this.easing,r="string"===typeof a?n[a]:a,o="function"===typeof r?r(i):i;return this.fire("frame",o),1===i?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var r=a;t.exports=r},b6d8:function(t,e,i){"use strict";i("6021"),i("21a1"),i("9d47"),i("f798"),i("b531"),i("20bd"),i("bd90")},b6f5:function(t,e,i){"use strict";var n=i("ac5f");i("2583"),i("cd3a"),i("173a"),i("2894");var a=i("d553"),r=i("dd06"),o=i("70a3"),s=i("ded2"),l=i("ba3f");n.registerLayout(a),n.registerVisual(r),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o),n.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},b939:function(t,e,i){"use strict";var n=i("578b"),a=i("3534"),r=i("f80c"),o=i("f7e4"),s=i("fa28"),l=i("d0dc"),c=i("3e45"),u=i("26a6"),h=i("2f5f"),d=i("d708"),p=i("8cd5"),f=i("9064"),g=i("75e6"),m=i("7d12"),v=m.createFromString,y=i("3999"),x=y.isString,_=y.extend,b=y.defaults,w=y.trim,S=y.each,M=/[\s,]+/;function T(t){if(x(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}9===t.nodeType&&(t=t.firstChild);while("svg"!==t.nodeName.toLowerCase()||1!==t.nodeType)t=t.nextSibling;return t}function A(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}A.prototype.parse=function(t,e){e=e||{};var i=T(t);if(!i)throw new Error("Illegal svg");var a=new n;this._root=a;var r=i.getAttribute("viewBox")||"",o=parseFloat(i.getAttribute("width")||e.width),l=parseFloat(i.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),R(i,a,null,!0);var c,u,h=i.firstChild;while(h)this._parseNode(h,a),h=h.nextSibling;if(r){var d=w(r).split(M);d.length>=4&&(c={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(c&&null!=o&&null!=l&&(u=W(c,o,l),!e.ignoreViewBox)){var p=a;a=new n,a.add(p),p.scale=u.scale.slice(),p.position=u.position.slice()}return e.ignoreRootClip||null==o||null==l||a.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:c,viewBoxTransform:u}},A.prototype._parseNode=function(t,e){var i,n=t.nodeName.toLowerCase();if("defs"===n?this._isDefine=!0:"text"===n&&(this._isText=!0),this._isDefine){var a=C[n];if(a){var r=a.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=r)}}else{a=I[n];a&&(i=a.call(this,t,e),e.add(i))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===n?this._isDefine=!1:"text"===n&&(this._isText=!1)},A.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var a=new r({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});L(e,a),R(t,a,this._defs);var o=a.style.fontSize;o&&o<9&&(a.style.fontSize=9,a.scale=a.scale||[1,1],a.scale[0]*=o/9,a.scale[1]*=o/9);var s=a.getBoundingRect();return this._textX+=s.width,e.add(a),a};var I={g:function(t,e){var i=new n;return L(e,i),R(t,i,this._defs),i},rect:function(t,e){var i=new s;return L(e,i),R(t,i,this._defs),i.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)}),i},circle:function(t,e){var i=new o;return L(e,i),R(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new c;return L(e,i),R(t,i,this._defs),i.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)}),i},ellipse:function(t,e){var i=new l;return L(e,i),R(t,i,this._defs),i.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)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=k(i));var n=new h({shape:{points:i||[]}});return L(e,n),R(t,n,this._defs),n},polyline:function(t,e){var i=new u;L(e,i),R(t,i,this._defs);var n=t.getAttribute("points");n&&(n=k(n));var a=new d({shape:{points:n||[]}});return a},image:function(t,e){var i=new a;return L(e,i),R(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,a=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(a)+parseFloat(o);var s=new n;return L(e,s),R(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),a=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=a&&(this._textY=parseFloat(a));var r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new n;return L(e,s),R(t,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",n=v(i);return L(e,n),R(t,n,this._defs),n}},C={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),n=parseInt(t.getAttribute("x2")||10,10),a=parseInt(t.getAttribute("y2")||0,10),r=new p(e,i,n,a);return D(t,r),r},radialgradient:function(t){}};function D(t,e){var i=t.firstChild;while(i){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var a=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,a)}i=i.nextSibling}}function L(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function k(t){for(var e=w(t).split(M),i=[],n=0;n<e.length;n+=2){var a=parseFloat(e[n]),r=parseFloat(e[n+1]);i.push([a,r])}return i}var P={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function R(t,e,i,n){var a=e.__inheritedStyle||{},r="text"===e.type;if(1===t.nodeType&&(z(t,e),_(a,B(t)),!n))for(var o in P)if(P.hasOwnProperty(o)){var s=t.getAttribute(o);null!=s&&(a[P[o]]=s)}var l=r?"textFill":"fill",c=r?"textStroke":"stroke";e.style=e.style||new f;var u=e.style;null!=a.fill&&u.set(l,O(a.fill,i)),null!=a.stroke&&u.set(c,O(a.stroke,i)),S(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){var e="lineWidth"===t&&r?"textStrokeWidth":t;null!=a[t]&&u.set(e,parseFloat(a[t]))}),a.textBaseline&&"auto"!==a.textBaseline||(a.textBaseline="alphabetic"),"alphabetic"===a.textBaseline&&(a.textBaseline="bottom"),"start"===a.textAlign&&(a.textAlign="left"),"end"===a.textAlign&&(a.textAlign="right"),S(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(t){null!=a[t]&&u.set(t,a[t])}),a.lineDash&&(e.style.lineDash=w(a.lineDash).split(M)),u[c]&&"none"!==u[c]&&(e[c]=!0),e.__inheritedStyle=a}var E=/url\(\s*#(.*?)\)/;function O(t,e){var i=e&&t&&t.match(E);if(i){var n=w(i[1]),a=e[n];return a}return t}var N=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function z(t,e){var i=t.getAttribute("transform");if(i){i=i.replace(/,/g," ");var n=null,a=[];i.replace(N,function(t,e,i){a.push(e,i)});for(var r=a.length-1;r>0;r-=2){var o=a[r],s=a[r-1];switch(n=n||g.create(),s){case"translate":o=w(o).split(M),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(M),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(M),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=w(o).split(M),console.warn("Skew transform is not supported yet");break;case"matrix":o=w(o).split(M);n[0]=parseFloat(o[0]),n[1]=parseFloat(o[1]),n[2]=parseFloat(o[2]),n[3]=parseFloat(o[3]),n[4]=parseFloat(o[4]),n[5]=parseFloat(o[5]);break}}e.setLocalTransform(n)}}var V=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n,a={};V.lastIndex=0;while(null!=(n=V.exec(e)))a[n[1]]=n[2];for(var r in P)P.hasOwnProperty(r)&&null!=a[r]&&(i[P[r]]=a[r]);return i}function W(t,e,i){var n=e/t.width,a=i/t.height,r=Math.min(n,a),o=[r,r],s=[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+i/2];return{scale:o,position:s}}function F(t,e){var i=new A;return i.parse(t,e)}e.parseXML=T,e.makeViewBoxTransform=W,e.parseSVG=F},b94a:function(t,e,i){"use strict";var n=i("3999"),a=i("8a7d"),r=a.parsePercent,o=i("b0c1"),s=o.isDimensionStacked;function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function c(t){return t.dim}function u(t,e,i){i.getWidth(),i.getHeight();var a={},r=h(n.filter(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),o=l(t),u=r[c(n)][o],h=u.offset,d=u.width,p=i.getOtherAxis(n),f=t.coordinateSystem.cx,g=t.coordinateSystem.cy,m=t.get("barMinHeight")||0,v=t.get("barMinAngle")||0;a[o]=a[o]||[];for(var y=e.mapDimension(p.dim),x=e.mapDimension(n.dim),_=s(e,y),b=p.getExtent()[0],w=0,S=e.count();w<S;w++){var M=e.get(y,w),T=e.get(x,w);if(!isNaN(M)){var A,I,C,D,L=M>=0?"p":"n",k=b;if(_&&(a[o][T]||(a[o][T]={p:b,n:b}),k=a[o][T][L]),"radius"===p.dim){var P=p.dataToRadius(M)-b,R=n.dataToAngle(T);Math.abs(P)<m&&(P=(P<0?-1:1)*m),A=k,I=k+P,C=R-h,D=C-d,_&&(a[o][T][L]=I)}else{var E=p.dataToAngle(M,!0)-b,O=n.dataToRadius(T);Math.abs(E)<v&&(E=(E<0?-1:1)*v),A=O+h,I=A+d,C=k,D=k+E,_&&(a[o][T][L]=D)}e.setItemLayout(w,{cx:f,cy:g,r0:A,r:I,startAngle:-C*Math.PI/180,endAngle:-D*Math.PI/180})}}}},this)}function h(t,e){var i={};n.each(t,function(t,e){var n=t.getData(),a=t.coordinateSystem,o=a.getBaseAxis(),s=o.getExtent(),u="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/n.count(),h=i[c(o)]||{bandWidth:u,remainedWidth:u,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=h.stacks;i[c(o)]=h;var p=l(t);d[p]||h.autoWidthCount++,d[p]=d[p]||{width:0,maxWidth:0};var f=r(t.get("barWidth"),u),g=r(t.get("barMaxWidth"),u),m=t.get("barGap"),v=t.get("barCategoryGap");f&&!d[p].width&&(f=Math.min(h.remainedWidth,f),d[p].width=f,h.remainedWidth-=f),g&&(d[p].maxWidth=g),null!=m&&(h.gap=m),null!=v&&(h.categoryGap=v)});var a={};return n.each(i,function(t,e){a[e]={};var i=t.stacks,o=t.bandWidth,s=r(t.categoryGap,o),l=r(t.gap,1),c=t.remainedWidth,u=t.autoWidthCount,h=(c-s)/(u+(u-1)*l);h=Math.max(h,0),n.each(i,function(t,e){var i=t.maxWidth;i&&i<h&&(i=Math.min(i,c),t.width&&(i=Math.min(i,t.width)),c-=i,t.width=i,u--)}),h=(c-s)/(u+(u-1)*l),h=Math.max(h,0);var d,p=0;n.each(i,function(t,e){t.width||(t.width=h),d=t,p+=t.width*(1+l)}),d&&(p-=d.width*l);var f=-p/2;n.each(i,function(t,i){a[e][i]=a[e][i]||{offset:f,width:t.width},f+=t.width*(1+l)})}),a}var d=u;t.exports=d},b96a:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("1c56"),o=i("f63f"),s=o.isNameSpecified,l=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{}},mergeOption:function(t){l.superCall(this,"mergeOption",t)},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i<t.length;i++){var n=t[i].get("name");if(this.isSelected(n)){this.select(n),e=!0;break}}!e&&this.select(t[0].get("name"))}},_updateData:function(t){var e=[],i=[];t.eachRawSeries(function(n){var a,r=n.name;if(i.push(r),n.legendDataProvider){var o=n.legendDataProvider(),l=o.mapArray(o.getName);t.isSeriesFiltered(n)||(i=i.concat(l)),l.length?e=e.concat(l):a=!0}else a=!0;a&&s(n)&&e.push(n.name)}),this._availableNames=i;var n=this.get("data")||e,o=a.map(n,function(t){return"string"!==typeof t&&"number"!==typeof t||(t={name:t}),new r(t,this,this.ecModel)},this);this._data=o},getData:function(){return this._data},select:function(t){var e=this.option.selected,i=this.get("selectedMode");if("single"===i){var n=this._data;a.each(n,function(t){e[t.get("name")]=!1})}e[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&a.indexOf(this._availableNames,t)>=0},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,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}}),c=l;t.exports=c},b9f9:function(t,e,i){"use strict";var n=i("fbbc"),a=i("35c7"),r=i("3999"),o=i("4e6b"),s=i("b329"),l=i("2573"),c=i("920a"),u=i("91c1"),h=!a.canvasSupported,d={canvas:l},p={},f="4.0.7";function g(t,e){var i=new _(n(),t,e);return p[i.id]=i,i}function m(t){if(t)t.dispose();else{for(var e in p)p.hasOwnProperty(e)&&p[e].dispose();p={}}return this}function v(t){return p[t]}function y(t,e){d[t]=e}function x(t){delete p[t]}var _=function(t,e,i){i=i||{},this.dom=e,this.id=t;var n=this,l=new s,p=i.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");p="vml"}else p&&d[p]||(p="canvas");var f=new d[p](e,l,i,t);this.storage=l,this.painter=f;var g=a.node||a.worker?null:new u(f.getViewportRoot());this.handler=new o(l,f,g,f.root),this.animation=new c({stage:{update:r.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=l.delFromStorage,v=l.addToStorage;l.delFromStorage=function(t){m.call(l,t),t&&t.removeSelfFromZr(n)},l.addToStorage=function(t){v.call(l,t),t.addSelfToZr(n)}};_.prototype={constructor:_,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var i=this.painter.addHover(t,e);return this.refreshHover(),i}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,i){this.handler.on(t,e,i)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,x(this.id)}},e.version=f,e.init=g,e.dispose=m,e.getInstance=v,e.registerPainter=y},ba0b:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=a.createHashMap,o=(a.retrieve,a.each);function s(t){var e=t.get("coordinateSystem"),i={coordSysName:e,coordSysDims:[],axisMap:r(),categoryAxisMap:r()},n=l[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}var l={cartesian2d:function(t,e,i,n){var a=t.getReferringComponents("xAxis")[0],r=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],i.set("x",a),i.set("y",r),c(a)&&(n.set("x",a),e.firstCategoryDimIndex=0),c(r)&&(n.set("y",r),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,i,n){var a=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],i.set("single",a),c(a)&&(n.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var a=t.getReferringComponents("polar")[0],r=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",r),i.set("angle",o),c(r)&&(n.set("radius",r),e.firstCategoryDimIndex=0),c(o)&&(n.set("angle",o),e.firstCategoryDimIndex=1)},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,n){var a=t.ecModel,r=a.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=r.dimensions.slice();o(r.parallelAxisIndex,function(t,r){var o=a.getComponent("parallelAxis",t),l=s[r];i.set(l,o),c(o)&&null==e.firstCategoryDimIndex&&(n.set(l,o),e.firstCategoryDimIndex=r)})}};function c(t){return"category"===t.get("type")}e.getCoordSysDefineBySeries=s},ba3f:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999");function r(t,e){a.each(e,function(e){e.update="updateView",n.registerAction(e,function(i,n){var a={};return n.eachComponent({mainType:"series",subType:t,query:i},function(t){t[e.method]&&t[e.method](i.name,i.dataIndex);var n=t.getData();n.each(function(e){var i=n.getName(e);a[i]=t.isSelected(i)||!1})}),{name:i.name,selected:a}})})}t.exports=r},ba8a:function(t,e,i){"use strict";var n=i("ac5f"),a=i("f419");i("5da4"),i("b204"),i("1821"),i("aec7"),i("2f09"),n.registerPreprocessor(a)},bab2:function(t,e,i){"use strict";var n=i("c65c"),a=i("afd6"),r=i("d68e"),o=i("4289"),s=i("f608"),l=i("9d68"),c=l.normalizeRadian,u=i("1b25"),h=i("a220"),d=n.CMD,p=2*Math.PI,f=1e-4;function g(t,e){return Math.abs(t-e)<f}var m=[-1,-1,-1],v=[-1,-1];function y(){var t=v[0];v[0]=v[1],v[1]=t}function x(t,e,i,n,a,r,o,s,l,c){if(c>e&&c>n&&c>r&&c>s||c<e&&c<n&&c<r&&c<s)return 0;var h=u.cubicRootAt(e,n,r,s,c,m);if(0===h)return 0;for(var d,p,f=0,g=-1,x=0;x<h;x++){var _=m[x],b=0===_||1===_?.5:1,w=u.cubicAt(t,i,a,o,_);w<l||(g<0&&(g=u.cubicExtrema(e,n,r,s,v),v[1]<v[0]&&g>1&&y(),d=u.cubicAt(e,n,r,s,v[0]),g>1&&(p=u.cubicAt(e,n,r,s,v[1]))),2===g?_<v[0]?f+=d<e?b:-b:_<v[1]?f+=p<d?b:-b:f+=s<p?b:-b:_<v[0]?f+=d<e?b:-b:f+=s<d?b:-b)}return f}function _(t,e,i,n,a,r,o,s){if(s>e&&s>n&&s>r||s<e&&s<n&&s<r)return 0;var l=u.quadraticRootAt(e,n,r,s,m);if(0===l)return 0;var c=u.quadraticExtremum(e,n,r);if(c>=0&&c<=1){for(var h=0,d=u.quadraticAt(e,n,r,c),p=0;p<l;p++){var f=0===m[p]||1===m[p]?.5:1,g=u.quadraticAt(t,i,a,m[p]);g<o||(m[p]<c?h+=d<e?f:-f:h+=r<d?f:-f)}return h}f=0===m[0]||1===m[0]?.5:1,g=u.quadraticAt(t,i,a,m[0]);return g<o?0:r<e?f:-f}function b(t,e,i,n,a,r,o,s){if(s-=e,s>i||s<-i)return 0;var l=Math.sqrt(i*i-s*s);m[0]=-l,m[1]=l;var u=Math.abs(n-a);if(u<1e-4)return 0;if(u%p<1e-4){n=0,a=p;var h=r?1:-1;return o>=m[0]+t&&o<=m[1]+t?h:0}if(r){l=n;n=c(a),a=c(l)}else n=c(n),a=c(a);n>a&&(a+=p);for(var d=0,f=0;f<2;f++){var g=m[f];if(g+t>o){var v=Math.atan2(s,g);h=r?1:-1;v<0&&(v=p+v),(v>=n&&v<=a||v+p>=n&&v+p<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),d+=h)}}return d}function w(t,e,i,n,l){for(var c=0,u=0,p=0,f=0,m=0,v=0;v<t.length;){var y=t[v++];switch(y===d.M&&v>1&&(i||(c+=h(u,p,f,m,n,l))),1===v&&(u=t[v],p=t[v+1],f=u,m=p),y){case d.M:f=t[v++],m=t[v++],u=f,p=m;break;case d.L:if(i){if(a.containStroke(u,p,t[v],t[v+1],e,n,l))return!0}else c+=h(u,p,t[v],t[v+1],n,l)||0;u=t[v++],p=t[v++];break;case d.C:if(i){if(r.containStroke(u,p,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],e,n,l))return!0}else c+=x(u,p,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],n,l)||0;u=t[v++],p=t[v++];break;case d.Q:if(i){if(o.containStroke(u,p,t[v++],t[v++],t[v],t[v+1],e,n,l))return!0}else c+=_(u,p,t[v++],t[v++],t[v],t[v+1],n,l)||0;u=t[v++],p=t[v++];break;case d.A:var w=t[v++],S=t[v++],M=t[v++],T=t[v++],A=t[v++],I=t[v++];v+=1;var C=1-t[v++],D=Math.cos(A)*M+w,L=Math.sin(A)*T+S;v>1?c+=h(u,p,D,L,n,l):(f=D,m=L);var k=(n-w)*T/M+w;if(i){if(s.containStroke(w,S,T,A,A+I,C,e,k,l))return!0}else c+=b(w,S,T,A,A+I,C,k,l);u=Math.cos(A+I)*M+w,p=Math.sin(A+I)*T+S;break;case d.R:f=u=t[v++],m=p=t[v++];var P=t[v++],R=t[v++];D=f+P,L=m+R;if(i){if(a.containStroke(f,m,D,m,e,n,l)||a.containStroke(D,m,D,L,e,n,l)||a.containStroke(D,L,f,L,e,n,l)||a.containStroke(f,L,f,m,e,n,l))return!0}else c+=h(D,m,D,L,n,l),c+=h(f,L,f,m,n,l);break;case d.Z:if(i){if(a.containStroke(u,p,f,m,e,n,l))return!0}else c+=h(u,p,f,m,n,l);u=f,p=m;break}}return i||g(p,m)||(c+=h(u,p,f,m,n,l)||0),0!==c}function S(t,e,i){return w(t,0,!1,e,i)}function M(t,e,i,n){return w(t,e,!0,i,n)}e.contain=S,e.containStroke=M},bae9:function(t,e,i){"use strict";var n=i("ac5f");i("fa16"),i("299c");var a=i("e266"),r=i("ea34");i("4a76"),n.registerVisual(a("scatter","circle")),n.registerLayout(r("scatter"))},bb2c:function(t,e,i){"use strict";var n=i("3999"),a=n.createHashMap;function r(t){return{getTargetSeries:function(e){var i={},n=a();return e.eachSeriesByType(t,function(t){t.__paletteScope=i,n.set(t.uid,t)}),n},reset:function(t,e){var i=t.getRawData(),n={},a=t.getData();a.each(function(t){var e=a.getRawIndex(t);n[e]=t}),i.each(function(e){var r=n[e],o=null!=r&&a.getItemVisual(r,"color",!0);if(o)i.setItemVisual(e,"color",o);else{var s=i.getItemModel(e),l=s.get("itemStyle.color")||t.getColorFromPalette(i.getName(e)||e+"",t.__paletteScope,i.count());i.setItemVisual(e,"color",l),null!=r&&a.setItemVisual(r,"color",l)}})}}}t.exports=r},bb85:function(t,e,i){"use strict";var n=i("1073"),a=n.getLayoutRect,r=n.box,o=n.positionElement,s=i("b04a"),l=i("bc9d");function c(t,e,i){var n=e.getBoxLayoutParams(),s=e.get("padding"),l={width:i.getWidth(),height:i.getHeight()},c=a(n,l,s);r(e.get("orient"),t,e.get("itemGap"),c.width,c.height),o(t,n,l,s)}function u(t,e){var i=s.normalizeCssArray(e.get("padding")),n=e.getItemStyle(["color","opacity"]);n.fill=e.get("backgroundColor");t=new l.Rect({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1});return t}e.layout=c,e.makeBackground=u},bc87:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=a.each,o=a.filter,s=a.map,l=a.isArray,c=a.indexOf,u=a.isObject,h=a.isString,d=a.createHashMap,p=a.assert,f=a.clone,g=a.merge,m=a.extend,v=a.mixin,y=i("f63f"),x=i("1c56"),_=i("0290"),b=i("6840"),w=i("31f5"),S=i("fae5"),M=S.resetSourceDefaulter,T="\0_ec_inner",A=x.extend({init:function(t,e,i,n){i=i||{},this.option=null,this._theme=new x(i),this._optionManager=n},setOption:function(t,e){p(!(T in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,i=this._optionManager;if(!t||"recreate"===t){var n=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(n)):D.call(this,n),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(this.mergeOption(a),e=!0)}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this,this._api);o.length&&r(o,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var e=this.option,i=this._componentsMap,n=[];function a(n,a){var o=y.normalizeToArray(t[n]),s=y.mappingToExists(i.get(n),o);y.makeIdAndName(s),r(s,function(t,e){var i=t.option;u(i)&&(t.keyInfo.mainType=n,t.keyInfo.subType=k(n,i,t.exist))});var l=L(i,a);e[n]=[],i.set(n,[]),r(s,function(t,a){var r=t.exist,o=t.option;if(p(u(o)||r,"Empty component definition"),o){var s=_.getClass(n,t.keyInfo.subType,!0);if(r&&r instanceof s)r.name=t.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var c=m({dependentModels:l,componentIndex:a},t.keyInfo);r=new s(o,this,this,c),m(r,c),r.init(o,this,this,c),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);i.get(n)[a]=r,e[n][a]=r.option},this),"series"===n&&P(this,i.get("series"))}M(this),r(t,function(t,i){null!=t&&(_.hasClass(i)?i&&n.push(i):e[i]=null==e[i]?f(t):g(e[i],t,!0))}),_.topologicalTravel(n,_.getAllClassMainTypes(),a,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=f(this.option);return r(t,function(e,i){if(_.hasClass(i)){e=y.normalizeToArray(e);for(var n=e.length-1;n>=0;n--)y.isIdInner(e[n])&&e.splice(n,1);t[i]=e}}),delete t[T],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,a=t.id,r=t.name,u=this._componentsMap.get(e);if(!u||!u.length)return[];if(null!=n)l(n)||(n=[n]),i=o(s(n,function(t){return u[t]}),function(t){return!!t});else if(null!=a){var h=l(a);i=o(u,function(t){return h&&c(a,t.id)>=0||!h&&t.id===a})}else if(null!=r){var d=l(r);i=o(u,function(t){return d&&c(r,t.name)>=0||!d&&t.name===r})}else i=u.slice();return R(i,t)},findComponents:function(t){var e=t.query,i=t.mainType,n=r(e),a=n?this.queryComponents(n):this._componentsMap.get(i);return s(R(a,t));function r(t){var e=i+"Index",n=i+"Id",a=i+"Name";return!t||null==t[e]&&null==t[n]&&null==t[a]?null:{mainType:i,index:t[e],id:t[n],name:t[a]}}function s(e){return t.filter?o(e,t.filter):e}},eachComponent:function(t,e,i){var n=this._componentsMap;if("function"===typeof t)i=e,e=t,n.each(function(t,n){r(t,function(t,a){e.call(i,n,t,a)})});else if(h(t))r(n.get(t),e,i);else if(u(t)){var a=this.findComponents(t);r(a,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return o(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){E(this),r(this._seriesIndices,function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){r(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){E(this),r(this._seriesIndices,function(n){var a=this._componentsMap.get("series")[n];a.subType===t&&e.call(i,a,n)},this)},eachRawSeriesByType:function(t,e,i){return r(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return E(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){E(this);var i=o(this._componentsMap.get("series"),t,e);P(this,i)},restoreData:function(t){var e=this._componentsMap;P(this,e.get("series"));var i=[];e.each(function(t,e){i.push(e)}),_.topologicalTravel(i,_.getAllClassMainTypes(),function(i,n){r(e.get(i),function(e){("series"!==i||!I(e,t))&&e.restoreData()})})}});function I(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,a=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=a&&t.name!==a}}function C(t,e){var i=t.color&&!t.colorLayer;r(e,function(e,n){"colorLayer"===n&&i||_.hasClass(n)||("object"===typeof e?t[n]=t[n]?g(t[n],e,!1):f(e):null==t[n]&&(t[n]=e))})}function D(t){t=t,this.option={},this.option[T]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(t,this._theme.option),g(t,b,!1),this.mergeOption(t)}function L(t,e){l(e)||(e=e?[e]:[]);var i={};return r(e,function(e){i[e]=(t.get(e)||[]).slice()}),i}function k(t,e,i){var n=e.type?e.type:i?i.subType:_.determineSubType(t,e);return n}function P(t,e){t._seriesIndicesMap=d(t._seriesIndices=s(e,function(t){return t.componentIndex})||[])}function R(t,e){return e.hasOwnProperty("subType")?o(t,function(t){return t.subType===e.subType}):t}function E(t){}v(A,w);var O=A;t.exports=O},bc9d:function(t,e,i){"use strict";var n=i("3999"),a=i("7d12"),r=i("c1ef"),o=i("75e6"),s=i("1637"),l=i("26a6"),c=i("6964"),u=i("3534");e.Image=u;var h=i("578b");e.Group=h;var d=i("f80c");e.Text=d;var p=i("f7e4");e.Circle=p;var f=i("628b");e.Sector=f;var g=i("0d67");e.Ring=g;var m=i("2f5f");e.Polygon=m;var v=i("d708");e.Polyline=v;var y=i("fa28");e.Rect=y;var x=i("3e45");e.Line=x;var _=i("36ca");e.BezierCurve=_;var b=i("880e");e.Arc=b;var w=i("8fac");e.CompoundPath=w;var S=i("8cd5");e.LinearGradient=S;var M=i("55a1");e.RadialGradient=M;var T=i("e321");e.BoundingRect=T;var A=i("4871");e.IncrementalDisplayable=A;var I=Math.round,C=Math.max,D=Math.min,L={},k=1;function P(t){return l.extend(t)}function R(t,e){return a.extendFromString(t,e)}function E(t,e,i,n){var r=a.createFromString(t,e);return i&&("center"===n&&(i=N(i,r.getBoundingRect())),V(r,i)),r}function O(t,e,i){var n=new u({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var a={width:t.width,height:t.height};n.setStyle(N(e,a))}}});return n}function N(t,e){var i,n=e.width/e.height,a=t.height*n;a<=t.width?i=t.height:(a=t.width,i=a/n);var r=t.x+t.width/2,o=t.y+t.height/2;return{x:r-a/2,y:o-i/2,width:a,height:i}}var z=a.mergePath;function V(t,e){if(t.applyTransform){var i=t.getBoundingRect(),n=i.calculateTransform(e);t.applyTransform(n)}}function B(t){var e=t.shape,i=t.style.lineWidth;return I(2*e.x1)===I(2*e.x2)&&(e.x1=e.x2=F(e.x1,i,!0)),I(2*e.y1)===I(2*e.y2)&&(e.y1=e.y2=F(e.y1,i,!0)),t}function W(t){var e=t.shape,i=t.style.lineWidth,n=e.x,a=e.y,r=e.width,o=e.height;return e.x=F(e.x,i,!0),e.y=F(e.y,i,!0),e.width=Math.max(F(n+r,i,!1)-e.x,0===r?0:1),e.height=Math.max(F(a+o,i,!1)-e.y,0===o?0:1),t}function F(t,e,i){var n=I(2*t);return(n+I(e))%2===0?n/2:(n+(i?1:-1))/2}function H(t){return null!=t&&"none"!==t}var G=n.createHashMap(),Y=0;function X(t){if("string"!==typeof t)return t;var e=G.get(t);return e||(e=r.lift(t,-.1),Y<1e4&&(G.set(t,e),Y++)),e}function U(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var n=t.style;for(var a in e)null!=e[a]&&(i[a]=n[a]);i.fill=n.fill,i.stroke=n.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function j(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.useHoverLayer;t.__highlighted=i?"layer":"plain";var n=t.__zr;if(n||!i){var a=t,r=t.style;i&&(a=n.addHover(t),r=a.style),pt(r),i||U(a),r.extendFrom(e),Z(r,e,"fill"),Z(r,e,"stroke"),dt(r),i||(t.dirty(!1),t.z2+=k)}}}function Z(t,e,i){!H(e[i])&&H(t[i])&&(t[i]=X(t[i]))}function q(t){var e=t.__highlighted;if(e)if(t.__highlighted=!1,"layer"===e)t.__zr&&t.__zr.removeHover(t);else if(e){var i=t.style,n=t.__cachedNormalStl;n&&(pt(i),t.setStyle(n),dt(i));var a=t.__cachedNormalZ2;null!=a&&t.z2-a===k&&(t.z2=a)}}function Q(t,e){t.isGroup?t.traverse(function(t){!t.isGroup&&e(t)}):e(t)}function K(t,e){e=t.__hoverStl=!1!==e&&(e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,q(t),j(t))}function J(t){return t&&t.__isEmphasisEntered}function $(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&Q(this,j)}function tt(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&Q(this,q)}function et(){this.__isEmphasisEntered=!0,Q(this,j)}function it(){this.__isEmphasisEntered=!1,Q(this,q)}function nt(t,e,i){t.isGroup?t.traverse(function(t){!t.isGroup&&K(t,t.hoverStyle||e)}):K(t,t.hoverStyle||e),at(t,i)}function at(t,e){var i=!1===e;if(t.__hoverSilentOnTouch=null!=e&&e.hoverSilentOnTouch,!i||t.__hoverStyleTrigger){var n=i?"off":"on";t[n]("mouseover",$)[n]("mouseout",tt),t[n]("emphasis",et)[n]("normal",it),t.__hoverStyleTrigger=!i}}function rt(t,e,i,a,r,o,s){r=r||L;var l,c=r.labelFetcher,u=r.labelDataIndex,h=r.labelDimIndex,d=i.getShallow("show"),p=a.getShallow("show");(d||p)&&(c&&(l=c.getFormattedLabel(u,"normal",null,h)),null==l&&(l=n.isFunction(r.defaultText)?r.defaultText(u,r):r.defaultText));var f=d?l:null,g=p?n.retrieve2(c?c.getFormattedLabel(u,"emphasis",null,h):null,l):null;null==f&&null==g||(ot(t,i,o,r),ot(e,a,s,r,!0)),t.text=f,e.text=g}function ot(t,e,i,a,r){return lt(t,e,a,r),i&&n.extend(t,i),t}function st(t,e,i){var n,a={isRectText:!0};!1===i?n=!0:a.autoColor=i,lt(t,e,a,n)}function lt(t,e,i,a){if(i=i||L,i.isRectText){var r=e.getShallow("position")||(a?null:"inside");"outside"===r&&(r="top"),t.textPosition=r,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=n.retrieve2(e.getShallow("distance"),a?null:5)}var s,l=e.ecModel,c=l&&l.option.textStyle,u=ct(e);if(u)for(var h in s={},u)if(u.hasOwnProperty(h)){var d=e.getModel(["rich",h]);ut(s[h]={},d,c,i,a)}return t.rich=s,ut(t,e,c,i,a,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function ct(t){var e;while(t&&t!==t.ecModel){var i=(t.option||L).rich;if(i)for(var n in e=e||{},i)i.hasOwnProperty(n)&&(e[n]=1);t=t.parentModel}return e}function ut(t,e,i,a,r,o){i=!r&&i||L,t.textFill=ht(e.getShallow("color"),a)||i.color,t.textStroke=ht(e.getShallow("textBorderColor"),a)||i.textBorderColor,t.textStrokeWidth=n.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),t.insideRawTextPosition=t.textPosition,r||(o&&(t.insideRollbackOpt=a,dt(t)),null==t.textFill&&(t.textFill=a.autoColor)),t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&a.disableBox||(t.textBackgroundColor=ht(e.getShallow("backgroundColor"),a),t.textPadding=e.getShallow("padding"),t.textBorderColor=ht(e.getShallow("borderColor"),a),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function ht(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function dt(t){var e=t.insideRollbackOpt;if(e&&null==t.textFill){var i,n=e.useInsideStyle,a=t.insideRawTextPosition,r=e.autoColor;!1!==n&&(!0===n||e.isRectText&&a&&"string"===typeof a&&a.indexOf("inside")>=0)?(i={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))):null!=r&&(i={textFill:null},t.textFill=r),i&&(t.insideRollback=i)}}function pt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function ft(t,e){var i=e||e.getModel("textStyle");return n.trim([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function gt(t,e,i,n,a,r){"function"===typeof a&&(r=a,a=null);var o=n&&n.isAnimationEnabled();if(o){var s=t?"Update":"",l=n.getShallow("animationDuration"+s),c=n.getShallow("animationEasing"+s),u=n.getShallow("animationDelay"+s);"function"===typeof u&&(u=u(a,n.getAnimationDelayParams?n.getAnimationDelayParams(e,a):null)),"function"===typeof l&&(l=l(a)),l>0?e.animateTo(i,l,u||0,c,r,!!r):(e.stopAnimation(),e.attr(i),r&&r())}else e.stopAnimation(),e.attr(i),r&&r()}function mt(t,e,i,n,a){gt(!0,t,e,i,n,a)}function vt(t,e,i,n,a){gt(!1,t,e,i,n,a)}function yt(t,e){var i=o.identity([]);while(t&&t!==e)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function xt(t,e,i){return e&&!n.isArrayLike(e)&&(e=c.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function _t(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-n:"right"===t?n:0,"top"===t?-a:"bottom"===t?a:0];return r=xt(r,e,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function bt(t,e,i,a){if(t&&e){var r=o(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=l(t);t.attr(l(e)),mt(t,n,i,t.dataIndex)}}})}function o(t){var e={};return t.traverse(function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=n.extend({},t.shape)),e}}function wt(t,e){return n.map(t,function(t){var i=t[0];i=C(i,e.x),i=D(i,e.x+e.width);var n=t[1];return n=C(n,e.y),n=D(n,e.y+e.height),[i,n]})}function St(t,e){var i=C(t.x,e.x),n=D(t.x+t.width,e.x+e.width),a=C(t.y,e.y),r=D(t.y+t.height,e.y+e.height);if(n>=i&&r>=a)return{x:i,y:a,width:n-i,height:r-a}}function Mt(t,e,i){e=n.extend({rectHover:!0},e);var a=e.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),n.defaults(a,i),new u(e)):E(t.replace("path://",""),e,i,"center")}e.Z2_EMPHASIS_LIFT=k,e.extendShape=P,e.extendPath=R,e.makePath=E,e.makeImage=O,e.mergePath=z,e.resizePath=V,e.subPixelOptimizeLine=B,e.subPixelOptimizeRect=W,e.subPixelOptimize=F,e.setElementHoverStyle=K,e.isInEmphasis=J,e.setHoverStyle=nt,e.setAsHoverStyleTrigger=at,e.setLabelStyle=rt,e.setTextStyle=ot,e.setText=st,e.getFont=ft,e.updateProps=mt,e.initProps=vt,e.getTransform=yt,e.applyTransform=xt,e.transformDirection=_t,e.groupTransition=bt,e.clipPointsByRect=wt,e.clipRectByRect=St,e.createIcon=Mt},bcd3:function(t,e,i){"use strict";var n=i("ac5f");i("37a0"),i("ae63"),i("fcda");var a=i("69b9"),r=i("bf1e"),o=i("8224");n.registerLayout(a),n.registerVisual(r),n.registerProcessor(o("themeRiver"))},bd3e:function(t,e,i){"use strict";var n=i("3999"),a=i("df36"),r=i("ec6c"),o=i("efc7"),s=o.wrapTreePathInfo,l=a.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var i={name:t.name,children:t.data};c(i);var n=t.levels||[],a={};return a.levels=n,r.createTree(i,this,a).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=s(i,this),e},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0,emphasis:{}},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1,emphasis:{},highlight:{opacity:1},downplay:{opacity:.9}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});function c(t){var e=0;n.each(t.children,function(t){c(t);var i=t.value;n.isArray(i)&&(i=i[0]),e+=i});var i=t.value;n.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),n.isArray(t.value)?t.value[0]=i:t.value=i}t.exports=l},bd79:function(t,e,i){"use strict";var n=i("3999"),a=i("8a7d"),r=i("b04a"),o=i("7e21"),s=i("9297"),l=s.prototype,c=Math.ceil,u=Math.floor,h=1e3,d=60*h,p=60*d,f=24*p,g=function(t,e,i,n){while(i<n){var a=i+n>>>1;t[a][1]<e?i=a+1:n=a}return i},m=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return r.formatTime(e[0],i,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=f,e[1]+=f),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-f}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=a.round(u(e[0]/n)*n)),t.fixMax||(e[1]=a.round(c(e[1]/n)*n))},niceTicks:function(t,e,i){t=t||10;var n=this._extent,r=n[1]-n[0],s=r/t;null!=e&&s<e&&(s=e),null!=i&&s>i&&(s=i);var l=v.length,h=g(v,s,0,l),d=v[Math.min(h,l-1)],p=d[1];if("year"===d[0]){var f=r/p,m=a.nice(f/t,!0);p*=m}var y=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,x=[Math.round(c((n[0]-y)/p)*p+y),Math.round(u((n[1]-y)/p)*p+y)];o.fixExtent(x,n),this._stepLvl=d,this._interval=p,this._niceExtent=x},parse:function(t){return+a.parseDate(t)}});n.each(["contain","normalize"],function(t){m.prototype[t]=function(e){return l[t].call(this,this.parse(e))}});var v=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",p],["hh:mm\nMM-dd",2*p],["hh:mm\nMM-dd",6*p],["hh:mm\nMM-dd",12*p],["MM-dd\nyyyy",f],["MM-dd\nyyyy",2*f],["MM-dd\nyyyy",3*f],["MM-dd\nyyyy",4*f],["MM-dd\nyyyy",5*f],["MM-dd\nyyyy",6*f],["week",7*f],["MM-dd\nyyyy",10*f],["week",14*f],["week",21*f],["month",31*f],["week",42*f],["month",62*f],["week",70*f],["quarter",95*f],["month",31*f*4],["month",31*f*5],["half-year",380*f/2],["month",31*f*8],["month",31*f*10],["year",380*f]];m.create=function(t){return new m({useUTC:t.ecModel.get("useUTC")})};var y=m;t.exports=y},bd90:function(t,e,i){"use strict";var n=i("ac5f"),a=i("bf7a"),r=i("c8ba"),o=i("42e9"),s=r.toolbox.restore;function l(t){this.model=t}l.defaultOption={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:s.title};var c=l.prototype;c.onclick=function(t,e,i){a.clear(t),e.dispatchAction({type:"restore",from:this.uid})},o.register("restore",l),n.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var u=l;t.exports=u},bdfe:function(t,e,i){"use strict";var n=i("ac5f"),a=i("1878");i("9a20"),i("3f6c"),i("717c"),i("0a2c"),i("b03d"),n.registerPreprocessor(a)},bf1e:function(t,e,i){"use strict";var n=i("3999"),a=n.createHashMap;function r(t){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),i=t.getRawData(),n=t.get("color"),r=a();e.each(function(t){r.set(e.getRawIndex(t),t)}),i.each(function(a){var o=i.getName(a),s=n[(t.nameMap.get(o)-1)%n.length];i.setItemVisual(a,"color",s);var l=r.get(a);null!=l&&e.setItemVisual(l,"color",s)})})}t.exports=r},bf7a:function(t,e,i){"use strict";var n=i("3999"),a=n.each,r="\0_ec_hist_store";function o(t,e){var i=u(t);a(e,function(e,n){for(var a=i.length-1;a>=0;a--){var r=i[a];if(r[n])break}if(a<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(o){var s=o.getPercentRange();i[0][n]={dataZoomId:n,start:s[0],end:s[1]}}}}),i.push(e)}function s(t){var e=u(t),i=e[e.length-1];e.length>1&&e.pop();var n={};return a(i,function(t,i){for(var a=e.length-1;a>=0;a--){t=e[a][i];if(t){n[i]=t;break}}}),n}function l(t){t[r]=null}function c(t){return u(t).length}function u(t){var e=t[r];return e||(e=t[r]=[{}]),e}e.push=o,e.pop=s,e.clear=l,e.count=c},bfe7:function(t,e,i){"use strict";var n=i("c78a"),a=i.n(n);a.a},c02b1:function(t,e,i){"use strict";function n(t){return t instanceof Array||(t=[t,t]),t}function a(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),i=t.getEdgeData(),a=n(t.get("edgeSymbol")),r=n(t.get("edgeSymbolSize")),o="lineStyle.color".split("."),s="lineStyle.opacity".split(".");i.setVisual("fromSymbol",a&&a[0]),i.setVisual("toSymbol",a&&a[1]),i.setVisual("fromSymbolSize",r&&r[0]),i.setVisual("toSymbolSize",r&&r[1]),i.setVisual("color",t.get(o)),i.setVisual("opacity",t.get(s)),i.each(function(t){var a=i.getItemModel(t),r=e.getEdgeByIndex(t),l=n(a.getShallow("symbol",!0)),c=n(a.getShallow("symbolSize",!0)),u=a.get(o),h=a.get(s);switch(u){case"source":u=r.node1.getVisual("color");break;case"target":u=r.node2.getVisual("color");break}l[0]&&r.setVisual("fromSymbol",l[0]),l[1]&&r.setVisual("toSymbol",l[1]),c[0]&&r.setVisual("fromSymbolSize",c[0]),c[1]&&r.setVisual("toSymbolSize",c[1]),r.setVisual("color",u),r.setVisual("opacity",h)})})}t.exports=a},c0dc:function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r=i("1c56"),o=i("772b"),s=["axisLine","axisLabel","axisTick","splitLine","splitArea"];function l(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),a=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function c(t){var e=t.getRadiusAxis();return e.inverse?0:1}function u(t){var e=t[0],i=t[t.length-1];e&&i&&Math.abs(Math.abs(e.coord-i.coord)-360)<1e-4&&t.pop()}var h=o.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,a=i.polar,r=a.getRadiusAxis().getExtent(),o=i.getTicksCoords(),l=n.map(i.getViewLabels(),function(t){t=n.clone(t);return t.coord=i.dataToCoord(t.tickValue),t});u(l),u(o),n.each(s,function(e){!t.get(e+".show")||i.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,a,o,r,l)},this)}},_axisLine:function(t,e,i,n){var r=t.getModel("axisLine.lineStyle"),o=new a.Circle({shape:{cx:e.cx,cy:e.cy,r:n[c(e)]},style:r.getLineStyle(),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,i,r){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),u=r[c(e)],h=n.map(i,function(t){return new a.Line({shape:l(e,[u,u+s],t.coord)})});this.group.add(a.mergePath(h,{style:n.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,i,o,s){var l=t.getCategories(!0),u=t.getModel("axisLabel"),h=u.get("margin");n.each(s,function(i,n){var s=u,d=i.tickValue,p=o[c(e)],f=e.coordToPoint([p+h,i.coord]),g=e.cx,m=e.cy,v=Math.abs(f[0]-g)/p<.3?"center":f[0]>g?"left":"right",y=Math.abs(f[1]-m)/p<.3?"middle":f[1]>m?"top":"bottom";l&&l[d]&&l[d].textStyle&&(s=new r(l[d].textStyle,u,u.ecModel));var x=new a.Text({silent:!0});this.group.add(x),a.setTextStyle(x.style,s,{x:f[0],y:f[1],textFill:s.getTextColor()||t.get("axisLine.lineStyle.color"),text:i.formattedLabel,textAlign:v,textVerticalAlign:y})},this)},_splitLine:function(t,e,i,r){var o=t.getModel("splitLine"),s=o.getModel("lineStyle"),c=s.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d<i.length;d++){var p=u++%c.length;h[p]=h[p]||[],h[p].push(new a.Line({shape:l(e,r,i[d].coord)}))}for(d=0;d<h.length;d++)this.group.add(a.mergePath(h[d],{style:n.defaults({stroke:c[d%c.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},_splitArea:function(t,e,i,r){if(i.length){var o=t.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var u=[],h=Math.PI/180,d=-i[0].coord*h,p=Math.min(r[0],r[1]),f=Math.max(r[0],r[1]),g=t.get("clockwise"),m=1;m<i.length;m++){var v=c++%l.length;u[v]=u[v]||[],u[v].push(new a.Sector({shape:{cx:e.cx,cy:e.cy,r0:p,r:f,startAngle:d,endAngle:-i[m].coord*h,clockwise:g},silent:!0})),d=-i[m].coord*h}for(m=0;m<u.length;m++)this.group.add(a.mergePath(u[m],{style:n.defaults({fill:l[m%l.length]},s.getAreaStyle()),silent:!0}))}}});t.exports=h},c14b:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("1c56"),o=i("7e37"),s=i("57c2"),l=i("9336"),c=l.defaultDimValueGetters,u=l.DefaultDataProvider,h=i("6b4e"),d=h.summarizeDimensions,p=a.isObject,f="undefined",g=-1,m="e\0\0",v={float:typeof Float64Array===f?Array:Float64Array,int:typeof Int32Array===f?Array:Int32Array,ordinal:Array,number:Array,time:Array},y=typeof Uint32Array===f?Array:Uint32Array,x=typeof Int32Array===f?Array:Int32Array,_=typeof Uint16Array===f?Array:Uint16Array;function b(t){return t._rawCount>65535?y:_}function w(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],M=["_extent","_approximateExtent","_rawExtent"];function T(t,e){a.each(S.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods,a.each(M,function(i){t[i]=a.clone(e[i])}),t._calculationInfo=a.extend(e._calculationInfo)}var A=function(t,e){t=t||["x","y"];for(var i={},n=[],r={},o=0;o<t.length;o++){var s=t[o];a.isString(s)&&(s={name:s});var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},n.push(l),i[l]=s,s.index=o,s.createInvertedIndices&&(r[l]=[])}this.dimensions=n,this._dimensionInfos=i,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=d(this),this._invertedIndicesMap=r,this._calculationInfo={}},I=A.prototype;function C(t,e,i,n,a){var r=v[e.type],o=n-1,s=e.name,l=t[s][o];if(l&&l.length<i){for(var c=new r(Math.min(a-o*i,i)),u=0;u<l.length;u++)c[u]=l[u];t[s][o]=c}for(var h=n*i;h<a;h+=i)t[s].push(new r(Math.min(a-h,i)))}function D(t){var e=t._invertedIndicesMap;a.each(e,function(i,n){var a=t._dimensionInfos[n],r=a.ordinalMeta;if(r){i=e[n]=new x(r.categories.length);for(var o=0;o<i.length;o++)i[o]=g;for(o=0;o<t._count;o++)i[t.get(n,o)]=o}})}function L(t,e,i){var n;if(null!=e){var a=t._chunkSize,r=Math.floor(i/a),o=i%a,s=t.dimensions[e],l=t._storage[s][r];if(l){n=l[o];var c=t._dimensionInfos[s].ordinalMeta;c&&c.categories.length&&(n=c.categories[n])}}return n}function k(t){return t}function P(t){return t<this._count&&t>=0?this._indices[t]:-1}function R(t,e){var i=t._idList[e];return null==i&&(i=L(t,t._idDimIdx,e)),null==i&&(i=m+e),i}function E(t){return a.isArray(t)||(t=[t]),t}function O(t,e){var i=t.dimensions,n=new A(a.map(i,t.getDimensionInfo,t),t.hostModel);T(n,t);for(var r=n._storage={},o=t._storage,s=0;s<i.length;s++){var l=i[s];o[l]&&(a.indexOf(e,l)>=0?(r[l]=N(o[l]),n._rawExtent[l]=z(),n._extent[l]=null):r[l]=o[l])}return n}function N(t){for(var e=new Array(t.length),i=0;i<t.length;i++)e[i]=w(t[i]);return e}function z(){return[1/0,-1/0]}I.type="list",I.hasItemOption=!0,I.getDimension=function(t){return isNaN(t)||(t=this.dimensions[t]||t),t},I.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},I.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},I.mapDimension=function(t,e){var i=this._dimensionsSummary;if(null==e)return i.encodeFirstDimNotExtra[t];var n=i.encode[t];return!0===e?(n||[]).slice():n&&n[e]},I.initData=function(t,e,i){var n=s.isInstance(t)||a.isArrayLike(t);n&&(t=new u(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},i||(this.hasItemOption=!1),this.defaultDimValueGetter=c[this._rawData.getSource().sourceFormat],this._dimValueGetter=i=i||this.defaultDimValueGetter,this._dimValueGetterArrayRows=c.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},I.getProvider=function(){return this._rawData},I.appendData=function(t){var e=this._rawData,i=this.count();e.appendData(t);var n=e.count();e.persistent||(n+=i),this._initDataFromProvider(i,n)},I.appendValues=function(t,e){for(var i=this._chunkSize,n=this._storage,a=this.dimensions,r=a.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e?e.length:0),c=this._chunkCount,u=0;u<r;u++){var h=a[u];o[h]||(o[h]=z()),n[h]||(n[h]=[]),C(n,this._dimensionInfos[h],i,c,l),this._chunkCount=n[h].length}for(var d=new Array(r),p=s;p<l;p++){for(var f=p-s,g=Math.floor(p/i),m=p%i,v=0;v<r;v++){h=a[v];var y=this._dimValueGetterArrayRows(t[f]||d,h,f,v);n[h][g][m]=y;var x=o[h];y<x[0]&&(x[0]=y),y>x[1]&&(x[1]=y)}e&&(this._nameList[p]=e[f])}this._rawCount=this._count=l,this._extent={},D(this)},I._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,a=this._rawData,r=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,c=this._nameList,u=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},p=this._chunkCount,f=0;f<s;f++){var g=o[f];h[g]||(h[g]=z());var m=l[g];0===m.otherDims.itemName&&(i=this._nameDimIdx=f),0===m.otherDims.itemId&&(this._idDimIdx=f),r[g]||(r[g]=[]),C(r,m,n,p,e),this._chunkCount=r[g].length}for(var v=new Array(s),y=t;y<e;y++){v=a.getItem(y,v);for(var x=Math.floor(y/n),_=y%n,b=0;b<s;b++){g=o[b];var w=r[g][x],S=this._dimValueGetter(v,g,y,b);w[_]=S;var M=h[g];S<M[0]&&(M[0]=S),S>M[1]&&(M[1]=S)}if(!a.pure){var T=c[y];if(v&&null==T)if(null!=v.name)c[y]=T=v.name;else if(null!=i){var A=o[i],I=r[A][x];if(I){T=I[_];var L=l[A].ordinalMeta;L&&L.categories.length&&(T=L.categories[T])}}var k=null==v?null:v.id;null==k&&null!=T&&(d[T]=d[T]||0,k=T,d[T]>0&&(k+="__ec__"+d[T]),d[T]++),null!=k&&(u[y]=k)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent={},D(this)}},I.count=function(){return this._count},I.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){a=new e(i);for(var n=0;n<i;n++)a[n]=t[n]}else a=new e(t.buffer,0,i)}else{e=b(this);var a=new e(this.count());for(n=0;n<a.length;n++)a[n]=n}return a},I.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var i=this._storage;if(!i[t])return NaN;e=this.getRawIndex(e);var n=Math.floor(e/this._chunkSize),a=e%this._chunkSize,r=i[t][n],o=r[a];return o},I.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var i=this._storage[t];if(!i)return NaN;var n=Math.floor(e/this._chunkSize),a=e%this._chunkSize,r=i[n];return r[a]},I._getFast=function(t,e){var i=Math.floor(e/this._chunkSize),n=e%this._chunkSize,a=this._storage[t][i];return a[n]},I.getValues=function(t,e){var i=[];a.isArray(t)||(e=t,t=this.dimensions);for(var n=0,r=t.length;n<r;n++)i.push(this.get(t[n],e));return i},I.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,i=this._dimensionInfos,n=0,a=e.length;n<a;n++)if("ordinal"!==i[e[n]].type&&isNaN(this.get(e[n],t)))return!1;return!0},I.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],i=z();if(!e)return i;var n,a=this.count(),r=!this._indices;if(r)return this._rawExtent[t].slice();if(n=this._extent[t],n)return n.slice();n=i;for(var o=n[0],s=n[1],l=0;l<a;l++){var c=this._getFast(t,this.getRawIndex(l));c<o&&(o=c),c>s&&(s=c)}return n=[o,s],this._extent[t]=n,n},I.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},I.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},I.getCalculationInfo=function(t){return this._calculationInfo[t]},I.setCalculationInfo=function(t,e){p(t)?a.extend(this._calculationInfo,t):this._calculationInfo[t]=e},I.getSum=function(t){var e=this._storage[t],i=0;if(e)for(var n=0,a=this.count();n<a;n++){var r=this.get(t,n);isNaN(r)||(i+=r)}return i},I.getMedian=function(t){var e=[];this.each(t,function(t,i){isNaN(t)||e.push(t)});var i=[].concat(e).sort(function(t,e){return t-e}),n=this.count();return 0===n?0:n%2===1?i[(n-1)/2]:(i[n/2]+i[n/2-1])/2},I.rawIndexOf=function(t,e){var i=t&&this._invertedIndicesMap[t],n=i[e];return null==n||isNaN(n)?g:n},I.indexOfName=function(t){for(var e=0,i=this.count();e<i;e++)if(this.getName(e)===t)return e;return-1},I.indexOfRawIndex=function(t){if(!this._indices)return t;if(t>=this._rawCount||t<0)return-1;var e=this._indices,i=e[t];if(null!=i&&i<this._count&&i===t)return t;var n=0,a=this._count-1;while(n<=a){var r=(n+a)/2|0;if(e[r]<t)n=r+1;else{if(!(e[r]>t))return r;a=r-1}}return-1},I.indicesOfNearest=function(t,e,i){var n=this._storage,a=n[t],r=[];if(!a)return r;null==i&&(i=1/0);for(var o=Number.MAX_VALUE,s=-1,l=0,c=this.count();l<c;l++){var u=e-this.get(t,l),h=Math.abs(u);u<=i&&h<=o&&((h<o||u>=0&&s<0)&&(o=h,s=u,r.length=0),r.push(l))}return r},I.getRawIndex=k,I.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i<this.dimensions.length;i++){var n=this.dimensions[i];e.push(this.get(n,t))}return e},I.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||L(this,this._nameDimIdx,e)||""},I.getId=function(t){return R(this,this.getRawIndex(t))},I.each=function(t,e,i,n){if(this._count){"function"===typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this,t=a.map(E(t),this.getDimension,this);for(var r=t.length,o=0;o<this.count();o++)switch(r){case 0:e.call(i,o);break;case 1:e.call(i,this.get(t[0],o),o);break;case 2:e.call(i,this.get(t[0],o),this.get(t[1],o),o);break;default:for(var s=0,l=[];s<r;s++)l[s]=this.get(t[s],o);l[s]=o,e.apply(i,l)}}},I.filterSelf=function(t,e,i,n){if(this._count){"function"===typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this,t=a.map(E(t),this.getDimension,this);for(var r=this.count(),o=b(this),s=new o(r),l=[],c=t.length,u=0,h=t[0],d=0;d<r;d++){var p,f=this.getRawIndex(d);if(0===c)p=e.call(i,d);else if(1===c){var g=this._getFast(h,f);p=e.call(i,g,d)}else{for(var m=0;m<c;m++)l[m]=this._getFast(h,f);l[m]=d,p=e.apply(i,l)}p&&(s[u++]=f)}return u<r&&(this._indices=s),this._count=u,this._extent={},this.getRawIndex=this._indices?P:k,this}},I.selectRange=function(t){if(this._count){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);var n=e.length;if(n){var a=this.count(),r=b(this),o=new r(a),s=0,l=e[0],c=t[l][0],u=t[l][1],h=!1;if(!this._indices){var d=0;if(1===n){for(var p=this._storage[e[0]],f=0;f<this._chunkCount;f++)for(var g=p[f],m=Math.min(this._count-f*this._chunkSize,this._chunkSize),v=0;v<m;v++){var y=g[v];(y>=c&&y<=u||isNaN(y))&&(o[s++]=d),d++}h=!0}else if(2===n){p=this._storage[l];var x=this._storage[e[1]],_=t[e[1]][0],w=t[e[1]][1];for(f=0;f<this._chunkCount;f++){g=p[f];var S=x[f];for(m=Math.min(this._count-f*this._chunkSize,this._chunkSize),v=0;v<m;v++){y=g[v];var M=S[v];(y>=c&&y<=u||isNaN(y))&&(M>=_&&M<=w||isNaN(M))&&(o[s++]=d),d++}}h=!0}}if(!h)if(1===n)for(v=0;v<a;v++){var T=this.getRawIndex(v);y=this._getFast(l,T);(y>=c&&y<=u||isNaN(y))&&(o[s++]=T)}else for(v=0;v<a;v++){var A=!0;for(T=this.getRawIndex(v),f=0;f<n;f++){var I=e[f];y=this._getFast(i,T);(y<t[I][0]||y>t[I][1])&&(A=!1)}A&&(o[s++]=this.getRawIndex(v))}return s<a&&(this._indices=o),this._count=s,this._extent={},this.getRawIndex=this._indices?P:k,this}}},I.mapArray=function(t,e,i,n){"function"===typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this;var a=[];return this.each(t,function(){a.push(e&&e.apply(this,arguments))},i),a},I.map=function(t,e,i,n){i=i||n||this,t=a.map(E(t),this.getDimension,this);var r=O(this,t);r._indices=this._indices,r.getRawIndex=r._indices?P:k;for(var o=r._storage,s=[],l=this._chunkSize,c=t.length,u=this.count(),h=[],d=r._rawExtent,p=0;p<u;p++){for(var f=0;f<c;f++)h[f]=this.get(t[f],p);h[c]=p;var g=e&&e.apply(i,h);if(null!=g){"object"!==typeof g&&(s[0]=g,g=s);for(var m=this.getRawIndex(p),v=Math.floor(m/l),y=m%l,x=0;x<g.length;x++){var _=t[x],b=g[x],w=d[_],S=o[_];S&&(S[v][y]=b),b<w[0]&&(w[0]=b),b>w[1]&&(w[1]=b)}}}return r},I.downSample=function(t,e,i,n){for(var a=O(this,[t]),r=a._storage,o=[],s=Math.floor(1/e),l=r[t],c=this.count(),u=this._chunkSize,h=a._rawExtent[t],d=new(b(this))(c),p=0,f=0;f<c;f+=s){s>c-f&&(s=c-f,o.length=s);for(var g=0;g<s;g++){var m=this.getRawIndex(f+g),v=Math.floor(m/u),y=m%u;o[g]=l[v][y]}var x=i(o),_=this.getRawIndex(Math.min(f+n(o,x)||0,c-1)),w=Math.floor(_/u),S=_%u;l[w][S]=x,x<h[0]&&(h[0]=x),x>h[1]&&(h[1]=x),d[p++]=_}return a._count=p,a._indices=d,a.getRawIndex=P,a},I.getItemModel=function(t){var e=this.hostModel;return new r(this.getRawDataItem(t),e,e&&e.ecModel)},I.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),function(e){return R(t,e)},function(t){return R(e,t)})},I.getVisual=function(t){var e=this._visual;return e&&e[t]},I.setVisual=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},I.setLayout=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},I.getLayout=function(t){return this._layout[t]},I.getItemLayout=function(t){return this._itemLayouts[t]},I.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?a.extend(this._itemLayouts[t]||{},e):e},I.clearItemLayouts=function(){this._itemLayouts.length=0},I.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],a=n&&n[e];return null!=a||i?a:this.getVisual(e)},I.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=n,p(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r],a[r]=!0);else n[e]=i,a[e]=!0},I.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var V=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};I.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(V,e)),this._graphicEls[t]=e},I.getItemGraphicEl=function(t){return this._graphicEls[t]},I.eachItemGraphicEl=function(t,e){a.each(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},I.cloneShallow=function(t){if(!t){var e=a.map(this.dimensions,this.getDimensionInfo,this);t=new A(e,this.hostModel)}if(t._storage=this._storage,T(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?P:k,t},I.wrapMethod=function(t,e){var i=this[t];"function"===typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(a.slice(arguments)))})},I.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],I.CHANGABLE_METHODS=["filterSelf","selectRange"];var B=A;t.exports=B},c1c4:function(t,e,i){"use strict";var n=i("3999"),a=i("f63f"),r=i("0290"),o=n.each,s=n.clone,l=n.map,c=n.merge,u=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(t,e,i){var a,r,s=[],l=[],c=t.timeline;if(t.baseOption&&(r=t.baseOption),(c||t.options)&&(r=r||{},s=(t.options||[]).slice()),t.media){r=r||{};var u=t.media;o(u,function(t){t&&t.option&&(t.query?l.push(t):a||(a=t))})}return r||(r=t),r.timeline||(r.timeline=c),o([r].concat(s).concat(n.map(l,function(t){return t.option})),function(t){o(e,function(e){e(t,i)})}),{baseOption:r,timelineOptions:s,mediaDefault:a,mediaList:l}}function p(t,e,i){var a={width:e,height:i,aspectratio:e/i},r=!0;return n.each(t,function(t,e){var i=e.match(u);if(i&&i[1]&&i[2]){var n=i[1],o=i[2].toLowerCase();f(a[o],t,n)||(r=!1)}}),r}function f(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e}function g(t,e){return t.join(",")===e.join(",")}function m(t,e){e=e||{},o(e,function(e,i){if(null!=e){var n=t[i];if(r.hasClass(i)){e=a.normalizeToArray(e),n=a.normalizeToArray(n);var o=a.mappingToExists(n,e);t[i]=l(o,function(t){return t.option&&t.exist?c(t.exist,t.option,!0):t.exist||t.option})}else t[i]=c(n,e,!0)}})}h.prototype={constructor:h,setOption:function(t,e){t&&n.each(a.normalizeToArray(t.series),function(t){t&&t.data&&n.isTypedArray(t.data)&&n.setAsPrimitive(t.data)}),t=s(t,!0);var i=this._optionBackup,r=d.call(this,t,e,!i);this._newBaseOption=r.baseOption,i?(m(i.baseOption,r.baseOption),r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=s(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,a=this._mediaDefault,r=[],o=[];if(!n.length&&!a)return o;for(var c=0,u=n.length;c<u;c++)p(n[c].query,e,i)&&r.push(c);return!r.length&&a&&(r=[-1]),r.length&&!g(r,this._currentMediaIndices)&&(o=l(r,function(t){return s(-1===t?a.option:n[t].option)})),this._currentMediaIndices=r,o}};var v=h;t.exports=v},c1e1:function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r=i("3e4d"),o=i("b04a"),s=i("75e6"),l=i("08fd"),c=i("e689");function u(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle(),e.fill=null):"shadow"===i&&(e=n.getAreaStyle(),e.stroke=null),e}function h(t,e,i,n,a){var s=i.get("value"),l=p(s,e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),c=i.getModel("label"),u=o.normalizeCssArray(c.get("padding")||0),h=c.getFont(),f=r.getBoundingRect(l,h),g=a.position,m=f.width+u[1]+u[3],v=f.height+u[0]+u[2],y=a.align;"right"===y&&(g[0]-=m),"center"===y&&(g[0]-=m/2);var x=a.verticalAlign;"bottom"===x&&(g[1]-=v),"middle"===x&&(g[1]-=v/2),d(g,m,v,n);var _=c.get("backgroundColor");_&&"auto"!==_||(_=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:m,height:v,r:c.get("borderRadius")},position:g.slice(),style:{text:l,textFont:h,textFill:c.getTextColor(),textPosition:"inside",fill:_,stroke:c.get("borderColor")||"transparent",lineWidth:c.get("borderWidth")||0,shadowBlur:c.get("shadowBlur"),shadowColor:c.get("shadowColor"),shadowOffsetX:c.get("shadowOffsetX"),shadowOffsetY:c.get("shadowOffsetY")},z2:10}}function d(t,e,i,n){var a=n.getWidth(),r=n.getHeight();t[0]=Math.min(t[0]+e,a)-e,t[1]=Math.min(t[1]+i,r)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function p(t,e,i,a,r){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:r.precision}),s=r.formatter;if(s){var c={value:l.getAxisRawValue(e,t),seriesData:[]};n.each(a,function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,a=e&&e.getDataParams(n);a&&c.seriesData.push(a)}),n.isString(s)?o=s.replace("{value}",o):n.isFunction(s)&&(o=s(c))}return o}function f(t,e,i){var n=s.create();return s.rotate(n,n,i.rotation),s.translate(n,n,i.position),a.applyTransform([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function g(t,e,i,n,a,r){var o=c.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=a.get("label.margin"),h(e,n,a,r,{position:f(n.axis,t,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function m(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function v(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}function y(t,e,i,n,a,r){return{cx:t,cy:e,r0:i,r:n,startAngle:a,endAngle:r,clockwise:!0}}e.buildElStyle=u,e.buildLabelElOption=h,e.getValueLabel=p,e.getTransformedPosition=f,e.buildCartesianSingleLabelElOption=g,e.makeLineShape=m,e.makeRectShape=v,e.makeSectorShape=y},c1ef:function(t,e,i){"use strict";var n=i("fd9b"),a={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 r(t){return t=Math.round(t),t<0?0:t>255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100*255):r(parseInt(t,10))}function c(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function u(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function h(t,e,i){return t+(e-t)*i}function d(t,e,i,n,a){return t[0]=e,t[1]=i,t[2]=n,t[3]=a,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new n(20),g=null;function m(t,e){g&&p(g,e),g=f.put(t,g||e.slice())}function v(t,e){if(t){e=e||[];var i=f.get(t);if(i)return p(e,i);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in a)return p(e,a[n]),m(t,e),e;if("#"!==n.charAt(0)){var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===n.length){var s=n.substr(0,r),u=n.substr(r+1,o-(r+1)).split(","),h=1;switch(s){case"rgba":if(4!==u.length)return void d(e,0,0,0,1);h=c(u.pop());case"rgb":return 3!==u.length?void d(e,0,0,0,1):(d(e,l(u[0]),l(u[1]),l(u[2]),h),m(t,e),e);case"hsla":return 4!==u.length?void d(e,0,0,0,1):(u[3]=c(u[3]),y(u,e),m(t,e),e);case"hsl":return 3!==u.length?void d(e,0,0,0,1):(y(u,e),m(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=4095?(d(e,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),m(t,e),e):void d(e,0,0,0,1)}if(7===n.length){g=parseInt(n.substr(1),16);return g>=0&&g<=16777215?(d(e,(16711680&g)>>16,(65280&g)>>8,255&g,1),m(t,e),e):void d(e,0,0,0,1)}}}}function y(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=c(t[1]),a=c(t[2]),o=a<=.5?a*(n+1):a+n-a*n,s=2*a-o;return e=e||[],d(e,r(255*u(s,o,i+1/3)),r(255*u(s,o,i)),r(255*u(s,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function x(t){if(t){var e,i,n=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(n,a,r),s=Math.max(n,a,r),l=s-o,c=(s+o)/2;if(0===l)e=0,i=0;else{i=c<.5?l/(s+o):l/(2-s-o);var u=((s-n)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-r)/6+l/2)/l;n===s?e=d-h:a===s?e=1/3+u-d:r===s&&(e=2/3+h-u),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,i,c];return null!=t[3]&&p.push(t[3]),p}}function _(t,e){var i=v(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return C(i,4===i.length?"rgba":"rgb")}}function b(t){var e=v(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),a=Math.floor(n),o=Math.ceil(n),l=e[a],c=e[o],u=n-a;return i[0]=r(h(l[0],c[0],u)),i[1]=r(h(l[1],c[1],u)),i[2]=r(h(l[2],c[2],u)),i[3]=s(h(l[3],c[3],u)),i}}var S=w;function M(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),a=Math.floor(n),o=Math.ceil(n),l=v(e[a]),c=v(e[o]),u=n-a,d=C([r(h(l[0],c[0],u)),r(h(l[1],c[1],u)),r(h(l[2],c[2],u)),s(h(l[3],c[3],u))],"rgba");return i?{color:d,leftIndex:a,rightIndex:o,value:n}:d}}var T=M;function A(t,e,i,n){if(t=v(t),t)return t=x(t),null!=e&&(t[0]=o(e)),null!=i&&(t[1]=c(i)),null!=n&&(t[2]=c(n)),C(y(t),"rgba")}function I(t,e){if(t=v(t),t&&null!=e)return t[3]=s(e),C(t,"rgba")}function C(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=v,e.lift=_,e.toHex=b,e.fastLerp=w,e.fastMapToColor=S,e.lerp=M,e.mapToColor=T,e.modifyHSL=A,e.modifyAlpha=I,e.stringify=C},c27b:function(t,e,i){"use strict";var n=i("a2d6"),a=n.circularLayout;function r(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&a(t)})}t.exports=r},c3a9:function(t,e,i){"use strict";(function(t){var i;"undefined"!==typeof window?i=window.__DEV__:"undefined"!==typeof t&&(i=t.__DEV__),"undefined"===typeof i&&(i=!0);var n=i;e.__DEV__=n}).call(this,i("c8ba6"))},c3f5:function(t,e,i){"use strict";var n=i("3999"),a=i("cfd5"),r=i("bc9d"),o=i("2008"),s=o.createSymbol,l=i("1073"),c=i("5183"),u=a.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),a=e.textStyleModel,o=a.getFont(),s=a.getTextColor(),c=this._getItemAlign(),u=e.itemSize,h=this._getViewData(),d=h.endsText,p=n.retrieve(e.get("showLabel",!0),!d);function f(a){var l=a.piece,h=new r.Group;h.onclick=n.bind(this._onItemClick,this,l),this._enableHoverLink(h,a.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(h,d,[0,0,u[0],u[1]]),p){var f=this.visualMapModel.getValueState(d);h.add(new r.Text({style:{x:"right"===c?-i:u[0]+i,y:u[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:c,textFont:o,textFill:s,opacity:"outOfRange"===f?.5:1}}))}t.add(h)}d&&this._renderEndsText(t,d[0],u,p,c),n.each(h.viewPieceList,f,this),d&&this._renderEndsText(t,d[1],u,p,c),l.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function i(t){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:t,batch:c.convertDataIndex(i.findTargetDataIndices(e))})}t.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return c.getItemAlign(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i,n,a){if(e){var o=new r.Group,s=this.visualMapModel.textStyleModel;o.add(new r.Text({style:{x:n?"right"===a?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?a:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(o)}},_getViewData:function(){var t=this.visualMapModel,e=n.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),i=t.get("text"),a=t.get("orient"),r=t.get("inverse");return("horizontal"===a?r:!r)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},_createItemSymbol:function(t,e,i){t.add(s(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,i=e.option,a=n.clone(i.selected),r=e.getSelectedMapKey(t);"single"===i.selectedMode?(a[r]=!0,n.each(a,function(t,e){a[e]=e===r})):a[r]=!a[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}}),h=u;t.exports=h},c478:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("ac5f")),r=i("3999"),o=i("35c7"),s=i("f63f"),l=i("b04a"),c=i("75c9"),u=l.addCommas,h=l.encodeHTML;function d(t){s.defaultEmphasis(t,"label",["show"])}var p=a.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,i,n){this.mergeDefaultAndTheme(t,i),this.mergeOption(t,i,n.createdBySelf,!0)},isAnimationEnabled:function(){if(o.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e,i,n){var a=this.constructor,o=this.mainType+"Model";i||e.eachSeries(function(t){var i=t.get(this.mainType,!0),s=t[o];i&&i.data?(s?s.mergeOption(i,e,!0):(n&&d(i),r.each(i.data,function(t){t instanceof Array?(d(t[0]),d(t[1])):d(t)}),s=new a(i,this,e),r.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[o]=s):t[o]=null},this)},formatTooltip:function(t){var e=this.getData(),i=this.getRawValue(t),n=r.isArray(i)?r.map(i,u).join(", "):u(i),a=e.getName(t),o=h(this.name);return(null!=i||a)&&(o+="<br />"),a&&(o+=h(a),null!=i&&(o+=" : ")),null!=i&&(o+=h(n)),o},getData:function(){return this._data},setData:function(t){this._data=t}});r.mixin(p,c);var f=p;t.exports=f},c495:function(t,e,i){"use strict";var n=i("826d"),a=n.createElement,r=i("c65c"),o=i("e321"),s=i("75e6"),l=i("3e4d"),c=i("4e33"),u=i("f80c"),h=r.CMD,d=Array.prototype.join,p="none",f=Math.round,g=Math.sin,m=Math.cos,v=Math.PI,y=2*Math.PI,x=180/v,_=1e-4;function b(t){return f(1e4*t)/1e4}function w(t){return t<_&&t>-_}function S(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==p}function M(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==p}function T(t,e){e&&A(t,"transform","matrix("+d.call(e,",")+")")}function A(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttribute(e,i)}function I(t,e,i){t.setAttributeNS("http://www.w3.org/1999/xlink",e,i)}function C(t,e,i,n){if(S(e,i)){var a=i?e.textFill:e.fill;a="transparent"===a?p:a,"none"!==t.getAttribute("clip-path")&&a===p&&(a="rgba(0, 0, 0, 0.002)"),A(t,"fill",a),A(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else A(t,"fill",p);if(M(e,i)){var r=i?e.textStroke:e.stroke;r="transparent"===r?p:r,A(t,"stroke",r);var o=i?e.textStrokeWidth:e.lineWidth,s=!i&&e.strokeNoScale?n.getLineScale():1;A(t,"stroke-width",o/s),A(t,"paint-order",i?"stroke":"fill"),A(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity);var l=e.lineDash;l?(A(t,"stroke-dasharray",e.lineDash.join(",")),A(t,"stroke-dashoffset",f(e.lineDashOffset||0))):A(t,"stroke-dasharray",""),e.lineCap&&A(t,"stroke-linecap",e.lineCap),e.lineJoin&&A(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&A(t,"stroke-miterlimit",e.miterLimit)}else A(t,"stroke",p)}function D(t){for(var e=[],i=t.data,n=t.len(),a=0;a<n;){var r=i[a++],o="",s=0;switch(r){case h.M:o="M",s=2;break;case h.L:o="L",s=2;break;case h.Q:o="Q",s=4;break;case h.C:o="C",s=6;break;case h.A:var l=i[a++],c=i[a++],u=i[a++],d=i[a++],p=i[a++],_=i[a++],S=i[a++],M=i[a++],T=Math.abs(_),A=w(T-y)&&!w(T),I=!1;I=T>=y||!w(T)&&(_>-v&&_<0||_>v)===!!M;var C=b(l+u*m(p)),D=b(c+d*g(p));A&&(_=M?y-1e-4:1e-4-y,I=!0,9===a&&e.push("M",C,D));var L=b(l+u*m(p+_)),k=b(c+d*g(p+_));e.push("A",b(u),b(d),f(S*x),+I,+M,L,k);break;case h.Z:o="Z";break;case h.R:L=b(i[a++]),k=b(i[a++]);var P=b(i[a++]),R=b(i[a++]);e.push("M",L,k,"L",L+P,k,"L",L+P,k+R,"L",L,k+R,"L",L,k);break}o&&e.push(o);for(var E=0;E<s;E++)e.push(b(i[a++]))}return e.join(" ")}var L={brush:function(t){var e=t.style,i=t.__svgEl;i||(i=a("path"),t.__svgEl=i),t.path||t.createPathProxy();var n=t.path;if(t.__dirtyPath){n.beginPath(),n.subPixelOptimize=!1,t.buildPath(n,t.shape),t.__dirtyPath=!1;var r=D(n);r.indexOf("NaN")<0&&A(i,"d",r)}C(i,e,!1,t),T(i,t.transform),null!=e.text&&E(t,t.getBoundingRect())}},k={brush:function(t){var e=t.style,i=e.image;if(i instanceof HTMLImageElement){var n=i.src;i=n}if(i){var r=e.x||0,o=e.y||0,s=e.width,l=e.height,c=t.__svgEl;c||(c=a("image"),t.__svgEl=c),i!==t.__imageSrc&&(I(c,"href",i),t.__imageSrc=i),A(c,"width",s),A(c,"height",l),A(c,"x",r),A(c,"y",o),T(c,t.transform),null!=e.text&&E(t,t.getBoundingRect())}}},P={},R=new o,E=function(t,e,i){var n=t.style;t.__dirty&&c.normalizeTextStyle(n,!0);var r=n.text;if(null!=r){r+="";var o,h,d=t.__textSvgEl;d||(d=a("text"),t.__textSvgEl=d);var p=n.textPosition,f=n.textDistance,g=n.textAlign||"left";"number"===typeof n.fontSize&&(n.fontSize+="px");var m=n.font||[n.fontStyle||"",n.fontWeight||"",n.fontSize||"",n.fontFamily||""].join(" ")||l.DEFAULT_FONT,v=O(n.textVerticalAlign);i=l.getBoundingRect(r,m,g,v,n.textPadding,n.textLineHeight);var y=i.lineHeight;if(p instanceof Array)o=e.x+p[0],h=e.y+p[1];else{var x=l.adjustTextPositionOnRect(p,e,f);o=x.x,h=x.y,v=O(x.textVerticalAlign),g=x.textAlign}A(d,"alignment-baseline",v),m&&(d.style.font=m);var _=n.textPadding;if(A(d,"x",o),A(d,"y",h),C(d,n,!0,t),t instanceof u||t.style.transformText)T(d,t.transform);else{if(t.transform)R.copy(e),R.applyTransform(t.transform),e=R;else{var b=t.transformCoordToGlobal(e.x,e.y);e.x=b[0],e.y=b[1],t.transform=s.identity(s.create())}var w=n.textOrigin;"center"===w?(o=i.width/2+o,h=i.height/2+h):w&&(o=w[0]+o,h=w[1]+h);var S=-n.textRotation||0,M=s.create();s.rotate(M,M,S);b=[t.transform[4],t.transform[5]];s.translate(M,M,b),T(d,M)}var I=r.split("\n"),D=I.length,L=g;"left"===L?(L="start",_&&(o+=_[3])):"right"===L?(L="end",_&&(o-=_[1])):"center"===L&&(L="middle",_&&(o+=(_[3]-_[1])/2));var k=0;if("after-edge"===v?(k=-i.height+y,_&&(k-=_[2])):"middle"===v?(k=(-i.height+y)/2,_&&(h+=(_[0]-_[2])/2)):_&&(k+=_[0]),t.__text!==r||t.__textFont!==m){var P=t.__tspanList||[];t.__tspanList=P;for(var E=0;E<D;E++){var N=P[E];N?N.innerHTML="":(N=P[E]=a("tspan"),d.appendChild(N),A(N,"alignment-baseline",v),A(N,"text-anchor",L)),A(N,"x",o),A(N,"y",h+E*y+k),N.appendChild(document.createTextNode(I[E]))}for(;E<P.length;E++)d.removeChild(P[E]);P.length=D,t.__text=r,t.__textFont=m}else if(t.__tspanList.length){var z=t.__tspanList.length;for(E=0;E<z;++E){N=t.__tspanList[E];N&&(A(N,"x",o),A(N,"y",h+E*y+k))}}}};function O(t){return"middle"===t?"middle":"bottom"===t?"after-edge":"hanging"}P.drawRectText=E,P.brush=function(t){var e=t.style;null!=e.text&&(e.textPosition=[0,0],E(t,{x:e.x||0,y:e.y||0,width:0,height:0},t.getBoundingRect()))},e.path=L,e.image=k,e.text=P},c65c:function(t,e,i){"use strict";var n=i("1b25"),a=i("1637"),r=i("b589"),o=i("e321"),s=i("3205"),l=s.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],h=[],d=[],p=[],f=Math.min,g=Math.max,m=Math.cos,v=Math.sin,y=Math.sqrt,x=Math.abs,_="undefined"!==typeof Float32Array,b=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};b.prototype={constructor:b,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e){this._ux=x(1/l/t)||0,this._uy=x(1/l/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(c.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var i=x(t-this._xi)>this._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(c.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,a,r){return this.addData(c.C,t,e,i,n,a,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,a,r):this._ctx.bezierCurveTo(t,e,i,n,a,r)),this._xi=a,this._yi=r,this},quadraticCurveTo:function(t,e,i,n){return this.addData(c.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,a,r){return this.addData(c.A,t,e,i,i,n,a-n,0,r?0:1),this._ctx&&this._ctx.arc(t,e,i,n,a,r),this._xi=m(a)*i+t,this._yi=v(a)*i+e,this},arcTo:function(t,e,i,n,a){return this._ctx&&this._ctx.arcTo(t,e,i,n,a),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(c.R,t,e,i,n),this},closePath:function(){this.addData(c.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;i<t.length;i++)e+=t[i];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!_||(this.data=new Float32Array(e));for(var i=0;i<e;i++)this.data[i]=t[i];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,i=0,n=this._len,a=0;a<e;a++)i+=t[a].len();_&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i));for(a=0;a<e;a++)for(var r=t[a].data,o=0;o<r.length;o++)this.data[n++]=r[o];this._len=n},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var i=0;i<arguments.length;i++)e[this._len++]=arguments[i];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var i,n,a=this._dashSum,r=this._dashOffset,o=this._lineDash,s=this._ctx,l=this._xi,c=this._yi,u=t-l,h=e-c,d=y(u*u+h*h),p=l,m=c,v=o.length;u/=d,h/=d,r<0&&(r=a+r),r%=a,p-=r*u,m-=r*h;while(u>0&&p<=t||u<0&&p>=t||0===u&&(h>0&&m<=e||h<0&&m>=e))n=this._dashIdx,i=o[n],p+=u*i,m+=h*i,this._dashIdx=(n+1)%v,u>0&&p<l||u<0&&p>l||h>0&&m<c||h<0&&m>c||s[n%2?"moveTo":"lineTo"](u>=0?f(p,t):g(p,t),h>=0?f(m,e):g(m,e));u=p-t,h=m-e,this._dashOffset=-y(u*u+h*h)},_dashedBezierTo:function(t,e,i,a,r,o){var s,l,c,u,h,d=this._dashSum,p=this._dashOffset,f=this._lineDash,g=this._ctx,m=this._xi,v=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=f.length,S=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(m,t,i,r,s+.1)-x(m,t,i,r,s),c=x(v,e,a,o,s+.1)-x(v,e,a,o,s),_+=y(l*l+c*c);for(;b<w;b++)if(S+=f[b],S>p)break;s=(S-p)/_;while(s<=1)u=x(m,t,i,r,s),h=x(v,e,a,o,s),b%2?g.moveTo(u,h):g.lineTo(u,h),s+=f[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(r,o),l=r-u,c=o-h,this._dashOffset=-y(l*l+c*c)},_dashedQuadraticTo:function(t,e,i,n){var a=i,r=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,a,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=p[0]=p[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,l=0;l<t.length;){var f=t[l++];switch(1===l&&(e=t[l],i=t[l+1],n=e,s=i),f){case c.M:n=t[l++],s=t[l++],e=n,i=s,d[0]=n,d[1]=s,p[0]=n,p[1]=s;break;case c.L:r.fromLine(e,i,t[l],t[l+1],d,p),e=t[l++],i=t[l++];break;case c.C:r.fromCubic(e,i,t[l++],t[l++],t[l++],t[l++],t[l],t[l+1],d,p),e=t[l++],i=t[l++];break;case c.Q:r.fromQuadratic(e,i,t[l++],t[l++],t[l],t[l+1],d,p),e=t[l++],i=t[l++];break;case c.A:var g=t[l++],y=t[l++],x=t[l++],_=t[l++],b=t[l++],w=t[l++]+b;l+=1;var S=1-t[l++];1===l&&(n=m(b)*x+g,s=v(b)*_+y),r.fromArc(g,y,x,_,b,w,S,d,p),e=m(w)*x+g,i=v(w)*_+y;break;case c.R:n=e=t[l++],s=i=t[l++];var M=t[l++],T=t[l++];r.fromLine(n,s,n+M,s+T,d,p);break;case c.Z:e=n,i=s;break}a.min(u,u,d),a.max(h,h,p)}return 0===l&&(u[0]=u[1]=h[0]=h[1]=0),new o(u[0],u[1],h[0]-u[0],h[1]-u[1])},rebuildPath:function(t){for(var e,i,n,a,r,o,s=this.data,l=this._ux,u=this._uy,h=this._len,d=0;d<h;){var p=s[d++];switch(1===d&&(n=s[d],a=s[d+1],e=n,i=a),p){case c.M:e=n=s[d++],i=a=s[d++],t.moveTo(n,a);break;case c.L:r=s[d++],o=s[d++],(x(r-n)>l||x(o-a)>u||d===h-1)&&(t.lineTo(r,o),n=r,a=o);break;case c.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case c.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case c.A:var f=s[d++],g=s[d++],y=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],T=y>_?y:_,A=y>_?1:y/_,I=y>_?_/y:1,C=Math.abs(y-_)>.001,D=b+w;C?(t.translate(f,g),t.rotate(S),t.scale(A,I),t.arc(0,0,T,b,D,1-M),t.scale(1/A,1/I),t.rotate(-S),t.translate(-f,-g)):t.arc(f,g,T,b,D,1-M),1===d&&(e=m(b)*y+f,i=v(b)*_+g),n=m(D)*y+f,a=v(D)*_+g;break;case c.R:e=n=s[d],i=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case c.Z:t.closePath(),n=e,a=i}}}},b.CMD=c;var w=b;t.exports=w},c677:function(t,e,i){"use strict";var n=i("3999"),a=256;function r(){var t=n.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}r.prototype={update:function(t,e,i,n,r,o){var s=this._getBrush(),l=this._getGradient(t,r,"inRange"),c=this._getGradient(t,r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,d=h.getContext("2d"),p=t.length;h.width=e,h.height=i;for(var f=0;f<p;++f){var g=t[f],m=g[0],v=g[1],y=g[2],x=n(y);d.globalAlpha=x,d.drawImage(s,m-u,v-u)}if(!h.width||!h.height)return h;var _=d.getImageData(0,0,h.width,h.height),b=_.data,w=0,S=b.length,M=this.minOpacity,T=this.maxOpacity,A=T-M;while(w<S){x=b[w+3]/256;var I=4*Math.floor(x*(a-1));if(x>0){var C=o(x)?l:c;x>0&&(x=x*A+M),b[w++]=C[I],b[w++]=C[I+1],b[w++]=C[I+2],b[w++]=C[I+3]*x*256}else w+=4}return d.putImageData(_,0,0),h},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=n.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var a=t.getContext("2d");return a.clearRect(0,0,i,i),a.shadowOffsetX=i,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},_getGradient:function(t,e,i){for(var n=this._gradientPixels,a=n[i]||(n[i]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,s=0;s<256;s++)e[i](s/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a}};var o=r;t.exports=o},c76f:function(t,e,i){"use strict";var n=i("c478"),a=n.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=a},c78a:function(t,e,i){var n=i("3c8c");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("42379d86",n,!0,{sourceMap:!1,shadowMode:!1})},c7b6:function(t,e,i){"use strict";i("5f27"),i("0761"),i("00a4"),i("3856"),i("a0b8"),i("b211"),i("ee75")},c8a1:function(t,e,i){"use strict";var n=i("c478"),a=n.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});t.exports=a},c8ba:function(t,e,i){"use strict";var n={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:""}}}};t.exports=n},ca5f:function(t,e,i){"use strict";var n=i("df36"),a=i("eb1a"),r=i("e62e"),o=n.extend({type:"series.heatmap",getInitialData:function(t,e){return a(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=r.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=o},cbdb:function(t,e,i){"use strict";var n=i("ac5f");i("4a8e"),i("aa3b"),i("34f6");var a=i("f76e"),r=i("e266"),o=i("1fa7"),s=i("c02b1"),l=i("3eb3"),c=i("c27b"),u=i("8baf"),h=i("aae0");n.registerProcessor(a),n.registerVisual(r("graph","circle",null)),n.registerVisual(o),n.registerVisual(s),n.registerLayout(l),n.registerLayout(c),n.registerLayout(u),n.registerCoordinateSystem("graphView",{create:h})},cc87:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("bc9d"),o=i("14d8"),s=o.getDefaultLabel,l=i("eb1a"),c=i("8760"),u=c.getLayoutOnAxis,h=i("7e37"),d=i("df36"),p=i("66c7"),f=i("61ab"),g=i("ce26"),m=i("2110"),v=i("7285"),y=i("80c4"),x=["itemStyle"],_=["emphasis","itemStyle"],b=["label"],w=["emphasis","label"],S="e\0\0",M={cartesian2d:f,geo:g,singleAxis:m,polar:v,calendar:y};function T(t){var e,i=t.type;if("path"===i){var n=t.shape,a=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=z(n);e=r.makePath(o,null,a,n.layout||"center"),e.__customPathData=o}else if("image"===i)e=new r.Image({}),e.__customImagePath=t.style.image;else if("text"===i)e=new r.Text({}),e.__customText=t.style.text;else{var s=r[i.charAt(0).toUpperCase()+i.slice(1)];e=new s}return e.__customGraphicType=i,e.name=t.name,e}function A(t,e,i,n,o,s,l){var c={},u=i.style||{};if(i.shape&&(c.shape=a.clone(i.shape)),i.position&&(c.position=i.position.slice()),i.scale&&(c.scale=i.scale.slice()),i.origin&&(c.origin=i.origin.slice()),i.rotation&&(c.rotation=i.rotation),"image"===t.type&&i.style){var h=c.style={};a.each(["x","y","width","height"],function(e){I(e,h,u,t.style,s)})}if("text"===t.type&&i.style){h=c.style={};a.each(["x","y"],function(e){I(e,h,u,t.style,s)}),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke)}if("group"!==t.type&&(t.useStyle(u),s)){t.style.opacity=0;var d=u.opacity;null==d&&(d=1),r.initProps(t,{style:{opacity:d}},n,e)}s?t.attr(c):r.updateProps(t,c,n,e),i.hasOwnProperty("z2")&&t.attr("z2",i.z2||0),i.hasOwnProperty("silent")&&t.attr("silent",i.silent),i.hasOwnProperty("invisible")&&t.attr("invisible",i.invisible),i.hasOwnProperty("ignore")&&t.attr("ignore",i.ignore),i.hasOwnProperty("info")&&t.attr("info",i.info);var p=i.styleEmphasis,f=!1===p;t.__cusHasEmphStl&&null==p||!t.__cusHasEmphStl&&f||(r.setElementHoverStyle(t,p),t.__cusHasEmphStl=!f),l&&r.setAsHoverStyleTrigger(t,!f)}function I(t,e,i,n,a){null==i[t]||a||(e[t]=i[t],i[t]=n[t])}function C(t,e,i,n){var o=t.get("renderItem"),l=t.coordinateSystem,c={};l&&(c=l.prepareCustoms?l.prepareCustoms():M[l.type](l));var h,d,p,f,g,m=a.defaults({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:T,style:A,styleEmphasis:I,visual:C,barLayout:L,currentSeriesIndices:k,font:P},c.api||{}),v={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:c.coordSys,dataInsideLength:e.count(),encode:D(t.getData())},y=!0;return function(t,i){return h=t,y=!0,o&&o(a.defaults({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:i?i.type:null},v),m)};function S(t){null==t&&(t=h),y&&(d=e.getItemModel(t),p=d.getModel(b),f=d.getModel(w),g=e.getItemVisual(t,"color"),y=!1)}function T(t,i){return null==i&&(i=h),e.get(e.getDimension(t||0),i)}function A(i,n){null==n&&(n=h),S(n);var o=d.getModel(x).getItemStyle();null!=g&&(o.fill=g);var l=e.getItemVisual(n,"opacity");return null!=l&&(o.opacity=l),r.setTextStyle(o,p,null,{autoColor:g,isRectText:!0}),o.text=p.getShallow("show")?a.retrieve2(t.getFormattedLabel(n,"normal"),s(e,n)):null,i&&a.extend(o,i),o}function I(i,n){null==n&&(n=h),S(n);var o=d.getModel(_).getItemStyle();return r.setTextStyle(o,f,null,{isRectText:!0},!0),o.text=f.getShallow("show")?a.retrieve3(t.getFormattedLabel(n,"emphasis"),t.getFormattedLabel(n,"normal"),s(e,n)):null,i&&a.extend(o,i),o}function C(t,i){return null==i&&(i=h),e.getItemVisual(i,t)}function L(t){if(l.getBaseAxis){var e=l.getBaseAxis();return u(a.defaults({axis:e},t),n)}}function k(){return i.getCurrentSeriesIndices()}function P(t){return r.getFont(t,i)}}function D(t){var e={};return a.each(t.dimensions,function(i,n){var a=t.getDimensionInfo(i);if(!a.isExtraCoord){var r=a.coordDim,o=e[r]=e[r]||[];o[a.coordDimIndex]=n}}),e}function L(t,e,i,n,a,r){return t=k(t,e,i,n,a,r,!0),t&&r.setItemGraphicEl(e,t),t}function k(t,e,i,n,a,r,o){var s=!i;i=i||{};var l=i.type,c=i.shape,u=i.style;if(t&&(s||null!=l&&l!==t.__customGraphicType||"path"===l&&V(c)&&z(c)!==t.__customPathData||"image"===l&&B(u,"image")&&u.image!==t.__customImagePath||"text"===l&&B(c,"text")&&u.text!==t.__customText)&&(a.remove(t),t=null),!s){var h=!t;return!t&&(t=T(i)),A(t,e,i,n,r,h,o),"group"===l&&P(t,e,i,n,r),a.add(t),t}}function P(t,e,i,n,a){var r=i.children,o=r?r.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,c=!1===s;if(o||l||c)if(l)R({oldChildren:t.children()||[],newChildren:r||[],dataIndex:e,animatableModel:n,group:t,data:a});else{c&&t.removeAll();for(var u=0;u<o;u++)r[u]&&k(t.childAt(u),e,r[u],n,t,a)}}function R(t){new h(t.oldChildren,t.newChildren,E,E,t).add(O).update(O).remove(N).execute()}function E(t,e){var i=t&&t.name;return null!=i?i:S+e}function O(t,e){var i=this.context,n=null!=t?i.newChildren[t]:null,a=null!=e?i.oldChildren[e]:null;k(a,i.dataIndex,n,i.animatableModel,i.group,i.data)}function N(t){var e=this.context,i=e.oldChildren[t];i&&e.group.remove(i)}function z(t){return t&&(t.pathData||t.d)}function V(t){return t&&(t.hasOwnProperty("pathData")||t.hasOwnProperty("d"))}function B(t,e){return t&&t.hasOwnProperty(e)}d.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0},getInitialData:function(t,e){return l(this.getSource(),this)},getDataParams:function(t,e,i){var n=d.prototype.getDataParams.apply(this,arguments);return i&&(n.info=i.info),n}}),p.extend({type:"custom",_data:null,render:function(t,e,i,n){var a=this._data,r=t.getData(),o=this.group,s=C(t,r,e,i);r.diff(a).add(function(e){L(null,e,s(e,n),t,o,r)}).update(function(e,i){var l=a.getItemGraphicEl(i);L(l,e,s(e,n),t,o,r)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&o.remove(e)}).execute(),this._data=r},incrementalPrepareRender:function(t,e,i){this.group.removeAll(),this._data=null},incrementalRender:function(t,e,i,n,a){var r=e.getData(),o=C(e,r,i,n);function s(t){t.isGroup||(t.incremental=!0,t.useHoverLayer=!0)}for(var l=t.start;l<t.end;l++){var c=L(null,l,o(l,a),e,this.group,r);c.traverse(s)}},dispose:a.noop,filterForExposedEvent:function(t,e,i,n){var a=e.element;if(null==a||i.name===a)return!0;while((i=i.parent)&&i!==this.group)if(i.name===a)return!0;return!1}})},ccee:function(t,e,i){"use strict";for(var n=i("ac5f"),a=i("efc7"),r=function(){},o=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<o.length;s++)n.registerAction({type:o[s],update:"updateView"},r);n.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,e){function i(e,i){var n=["treemapZoomToNode","treemapRootToNode"],r=a.retrieveTargetInfo(t,n,e);if(r){var o=e.getViewRoot();o&&(t.direction=a.aboveViewRoot(o,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}e.eachComponent({mainType:"series",subType:"treemap",query:t},i)})},cd3a:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("bc9d"),o=i("8a71"),s="__seriesMapHighDown",l="__seriesMapCallKey",c=n.extendChartView({type:"map",render:function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var a=this.group;if(a.removeAll(),!t.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id){r=this._mapDraw;r&&a.add(r.group)}else if(t.needsDrawMap){var r=this._mapDraw||new o(i,!0);a.add(r.group),r.draw(t,e,i,this,n),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,e,i){var n=t.originalData,o=this.group;n.each(n.mapDimension("value"),function(e,i){if(!isNaN(e)){var c=n.getItemLayout(i);if(c&&c.point){var d=c.point,p=c.offset,f=new r.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:d[0]+9*p,cy:d[1],r:3},silent:!0,z2:8+(p?0:r.Z2_EMPHASIS_LIFT+1)});if(!p){var g=t.mainSeries.getData(),m=n.getName(i),v=g.indexOfName(m),y=n.getItemModel(i),x=y.getModel("label"),_=y.getModel("emphasis.label"),b=g.getItemGraphicEl(v),w=a.retrieve2(t.getFormattedLabel(v,"normal"),m),S=a.retrieve2(t.getFormattedLabel(v,"emphasis"),w),M=b[s],T=Math.random();if(!M){M=b[s]={};var A=a.curry(u,!0),I=a.curry(u,!1);b.on("mouseover",A).on("mouseout",I).on("emphasis",A).on("normal",I)}b[l]=T,a.extend(M,{recordVersion:T,circle:f,labelModel:x,hoverLabelModel:_,emphasisText:S,normalText:w}),h(M,!1)}o.add(f)}}})}});function u(t){var e=this[s];e&&e.recordVersion===this[l]&&h(e,t)}function h(t,e){var i=t.circle,n=t.labelModel,a=t.hoverLabelModel,o=t.emphasisText,s=t.normalText;e?(i.style.extendFrom(r.setTextStyle({},a,{text:a.get("show")?o:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=r.Z2_EMPHASIS_LIFT):(r.setTextStyle(i.style,n,{text:n.get("show")?s:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}t.exports=c},cd3c:function(t,e,i){"use strict";var n=i("410a"),a=i("e62e");function r(t,e){var i=[];return t.eachComponent("parallel",function(a,r){var o=new n(a,t,e);o.name="parallel_"+r,o.resize(a,e),a.coordinateSystem=o,o.model=a,i.push(o)}),t.eachSeries(function(e){if("parallel"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}a.register("parallel",{create:r})},ce13:function(t,e,i){"use strict";var n=i("6ad5"),a=["itemStyle","borderColor"],r=["itemStyle","borderColor0"],o=["itemStyle","color"],s=["itemStyle","color0"],l={seriesType:"candlestick",plan:n(),performRawSeries:!0,reset:function(t,e){var i=t.getData(),n=t.pipelineContext.large;if(i.setVisual({legendSymbol:"roundRect",colorP:c(1,t),colorN:c(-1,t),borderColorP:u(1,t),borderColorN:u(-1,t)}),!e.isSeriesFiltered(t))return!n&&{progress:l};function l(t,e){var i;while(null!=(i=t.next())){var n=e.getItemModel(i),a=e.getItemLayout(i).sign;e.setItemVisual(i,{color:c(a,n),borderColor:u(a,n)})}}function c(t,e){return e.get(t>0?o:s)}function u(t,e){return e.get(t>0?a:r)}}};t.exports=l},ce26:function(t,e,i){"use strict";var n=i("3999");function a(t,e){return e=e||[0,0],n.map([0,1],function(i){var n=e[i],a=t[i]/2,r=[],o=[];return r[i]=n-a,o[i]=n+a,r[1-i]=o[1-i]=e[1-i],Math.abs(this.dataToPoint(r)[i]-this.dataToPoint(o)[i])},this)}function r(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}t.exports=r},ce8d:function(t,e,i){"use strict";i("3dd3");var n=i("b9f9"),a=n.registerPainter,r=i("a344");a("vml",r)},cfd5:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("bc9d"),o=i("b04a"),s=i("1073"),l=i("890a"),c=n.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,i,n){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,i=o.normalizeCssArray(e.get("padding")||0),n=t.getBoundingRect();t.add(new r.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,i){i=i||{};var n=i.forceState,r=this.visualMapModel,o={};if("symbol"===e&&(o.symbol=r.get("itemSymbol")),"color"===e){var s=r.get("contentColor");o.color=s}function c(t){return o[t]}function u(t,e){o[t]=e}var h=r.controllerVisuals[n||r.getValueState(t)],d=l.prepareVisualTypes(h);return a.each(d,function(n){var a=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(n,e)&&a&&a.applyVisual(t,c,u)}),o[e]},positionGroup:function(t){var e=this.visualMapModel,i=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:a.noop});t.exports=c},d0dc:function(t,e,i){"use strict";var n=i("26a6"),a=n.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var i=.5522848,n=e.cx,a=e.cy,r=e.rx,o=e.ry,s=r*i,l=o*i;t.moveTo(n-r,a),t.bezierCurveTo(n-r,a-l,n-s,a-o,n,a-o),t.bezierCurveTo(n+s,a-o,n+r,a-l,n+r,a),t.bezierCurveTo(n+r,a+l,n+s,a+o,n,a+o),t.bezierCurveTo(n-s,a+o,n-r,a+l,n-r,a),t.closePath()}});t.exports=a},d128:function(t,e,i){"use strict";var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var a=n;t.exports=a},d12e:function(t,e,i){"use strict";var n=i("3999"),a=i("66c7"),r=i("bc9d"),o=i("26a6"),s=["itemStyle"],l=["emphasis","itemStyle"],c=["color","color0","borderColor","borderColor0"],u=a.extend({type:"candlestick",render:function(t,e,i){this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,n){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t){var e=t.getData(),i=this._data,n=this.group,a=e.getLayout("isSimpleBox");this._data||n.removeAll(),e.diff(i).add(function(i){if(e.hasValue(i)){var o,s=e.getItemLayout(i);o=d(s,i,!0),r.initProps(o,{shape:{points:s.ends}},t,i),p(o,e,i,a),n.add(o),e.setItemGraphicEl(i,o)}}).update(function(o,s){var l=i.getItemGraphicEl(s);if(e.hasValue(o)){var c=e.getItemLayout(o);l?r.updateProps(l,{shape:{points:c.ends}},t,o):l=d(c,o),p(l,e,o,a),n.add(l),e.setItemGraphicEl(o,l)}else n.remove(l)}).remove(function(t){var e=i.getItemGraphicEl(t);e&&n.remove(e)}).execute(),this._data=e},_renderLarge:function(t){this._clear(),m(t,this.group)},_incrementalRenderNormal:function(t,e){var i,n=e.getData(),a=n.getLayout("isSimpleBox");while(null!=(i=t.next())){var r,o=n.getItemLayout(i);r=d(o,i),p(r,n,i,a),r.incremental=!0,this.group.add(r)}},_incrementalRenderLarge:function(t,e){m(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:n.noop}),h=o.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){var i=e.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))}});function d(t,e,i){var n=t.ends;return new h({shape:{points:i?f(n,t):n},z2:100})}function p(t,e,i,n){var a=e.getItemModel(i),o=a.getModel(s),u=e.getItemVisual(i,"color"),h=e.getItemVisual(i,"borderColor")||u,d=o.getItemStyle(c);t.useStyle(d),t.style.strokeNoScale=!0,t.style.fill=u,t.style.stroke=h,t.__simpleBox=n;var p=a.getModel(l).getItemStyle();r.setHoverStyle(t,p)}function f(t,e){return n.map(t,function(t){return t=t.slice(),t[1]=e.initBaseline,t})}var g=o.extend({type:"largeCandlestickBox",shape:{},buildPath:function(t,e){for(var i=e.points,n=0;n<i.length;)if(this.__sign===i[n++]){var a=i[n++];t.moveTo(a,i[n++]),t.lineTo(a,i[n++])}else n+=3}});function m(t,e,i){var n=t.getData(),a=n.getLayout("largePoints"),r=new g({shape:{points:a},__sign:1});e.add(r);var o=new g({shape:{points:a},__sign:-1});e.add(o),v(1,r,t,n),v(-1,o,t,n),i&&(r.incremental=!0,o.incremental=!0)}function v(t,e,i,n){var a=t>0?"P":"N",r=n.getVisual("borderColor"+a)||n.getVisual("color"+a),o=i.getModel(s).getItemStyle(c);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var y=u;t.exports=y},d1f3:function(t,e,i){"use strict";var n=i("3999"),a=i("8a7d"),r=i("83b5"),o=n.each,s=a.asc,l=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=n,this._dataZoomModel=i};function c(t,e,i){var n=[1/0,-1/0];return o(i,function(t){var i=t.getData();i&&o(i.mapDimension(e,!0),function(t){var e=i.getApproximateExtent(t);e[0]<n[0]&&(n[0]=e[0]),e[1]>n[1]&&(n[1]=e[1])})}),n[1]<n[0]&&(n=[NaN,NaN]),u(t,n),n}function u(t,e){var i=t.getAxisModel(),n=i.getMin(!0),a="category"===i.get("type"),r=a&&i.getCategories().length;null!=n&&"dataMin"!==n&&"function"!==typeof n?e[0]=n:a&&(e[0]=r>0?0:NaN);var o=i.getMax(!0);return null!=o&&"dataMax"!==o&&"function"!==typeof o?e[1]=o:a&&(e[1]=r>0?r-1:NaN),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0)),e}function h(t,e){var i=t.getAxisModel(),n=t._percentWindow,r=t._valueWindow;if(n){var o=a.getPixelPrecision(r,[0,500]);o=Math.min(o,20);var s=e||0===n[0]&&100===n[1];i.setRange(s?null:+r[0].toFixed(o),s?null:+r[1].toFixed(o))}}function d(t){var e=t._minMaxSpan={},i=t._dataZoomModel;o(["min","max"],function(n){e[n+"Span"]=i.get(n+"Span");var r=i.get(n+"ValueSpan");if(null!=r&&(e[n+"ValueSpan"]=r,r=t.getAxisModel().axis.scale.parse(r),null!=r)){var o=t._dataExtent;e[n+"Span"]=a.linearMap(o[0]+r,o,[0,100],!0)}})}l.prototype={constructor:l,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries(function(i){if(r.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,a=e.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&t.push(i)}},this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,i,n=this._dimName,a=this.ecModel,r=this.getAxisModel(),o="x"===n||"y"===n;return o?(e="gridIndex",t="x"===n?"y":"x"):(e="polarIndex",t="angle"===n?"radius":"angle"),a.eachComponent(t+"Axis",function(t){(t.get(e)||0)===(r.get(e)||0)&&(i=t)}),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e=this._dataExtent,i=this.getAxisModel(),n=i.axis.scale,r=this._dataZoomModel.getRangePropMode(),l=[0,100],c=[t.start,t.end],u=[];return o(["startValue","endValue"],function(e){u.push(null!=t[e]?n.parse(t[e]):null)}),o([0,1],function(t){var i=u[t],o=c[t];"percent"===r[t]?(null==o&&(o=l[t]),i=n.parse(a.linearMap(o,l,e,!0))):o=a.linearMap(i,e,l,!0),u[t]=i,c[t]=o}),{valueWindow:s(u),percentWindow:s(c)}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,e);var i=this.calculateDataWindow(t.option);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,d(this),h(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,h(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),a=t.get("filterMode"),r=this._valueWindow;"none"!==a&&o(n,function(t){var e=t.getData(),n=e.mapDimension(i,!0);n.length&&("weakFilter"===a?e.filterSelf(function(t){for(var i,a,o,s=0;s<n.length;s++){var l=e.get(n[s],t),c=!isNaN(l),u=l<r[0],h=l>r[1];if(c&&!u&&!h)return!0;c&&(o=!0),u&&(i=!0),h&&(a=!0)}return o&&i&&a}):o(n,function(i){if("empty"===a)t.setData(e.map(i,function(t){return s(t)?t:NaN}));else{var n={};n[i]=r,e.selectRange(n)}}),o(n,function(t){e.setApproximateExtent(r,t)}))})}function s(t){return t>=r[0]&&t<=r[1]}}};var p=l;t.exports=p},d287:function(t,e,i){"use strict";var n=i("089c"),a=i("bc9d"),r=i("66c7"),o=i("8a7d"),s=o.parsePercent,l=o.round,c=o.linearMap;function u(t,e){var i=t.get("center"),n=e.getWidth(),a=e.getHeight(),r=Math.min(n,a),o=s(i[0],e.getWidth()),l=s(i[1],e.getHeight()),c=s(t.get("radius"),r/2);return{cx:o,cy:l,r:c}}function h(t,e){return e&&("string"===typeof e?t=e.replace("{value}",null!=t?t:""):"function"===typeof e&&(t=e(t))),t}var d=2*Math.PI,p=r.extend({type:"gauge",render:function(t,e,i){this.group.removeAll();var n=t.get("axisLine.lineStyle.color"),a=u(t,i);this._renderMain(t,e,i,n,a)},dispose:function(){},_renderMain:function(t,e,i,n,r){for(var o=this.group,s=t.getModel("axisLine"),l=s.getModel("lineStyle"),c=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,h=-t.get("endAngle")/180*Math.PI,p=(h-u)%d,f=u,g=l.get("width"),m=0;m<n.length;m++){var v=Math.min(Math.max(n[m][0],0),1),y=(h=u+p*v,new a.Sector({shape:{startAngle:f,endAngle:h,cx:r.cx,cy:r.cy,clockwise:c,r0:r.r-g,r:r.r},silent:!0}));y.setStyle({fill:n[m][1]}),y.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),o.add(y),f=h}var x=function(t){if(t<=0)return n[0][1];for(var e=0;e<n.length;e++)if(n[e][0]>=t&&(0===e?0:n[e-1][0])<t)return n[e][1];return n[e-1][1]};if(!c){var _=u;u=h,h=_}this._renderTicks(t,e,i,x,r,u,h,c),this._renderPointer(t,e,i,x,r,u,h,c),this._renderTitle(t,e,i,x,r),this._renderDetail(t,e,i,x,r)},_renderTicks:function(t,e,i,n,r,o,c,u){for(var d=this.group,p=r.cx,f=r.cy,g=r.r,m=+t.get("min"),v=+t.get("max"),y=t.getModel("splitLine"),x=t.getModel("axisTick"),_=t.getModel("axisLabel"),b=t.get("splitNumber"),w=x.get("splitNumber"),S=s(y.get("length"),g),M=s(x.get("length"),g),T=o,A=(c-o)/b,I=A/w,C=y.getModel("lineStyle").getLineStyle(),D=x.getModel("lineStyle").getLineStyle(),L=0;L<=b;L++){var k=Math.cos(T),P=Math.sin(T);if(y.get("show")){var R=new a.Line({shape:{x1:k*g+p,y1:P*g+f,x2:k*(g-S)+p,y2:P*(g-S)+f},style:C,silent:!0});"auto"===C.stroke&&R.setStyle({stroke:n(L/b)}),d.add(R)}if(_.get("show")){var E=h(l(L/b*(v-m)+m),_.get("formatter")),O=_.get("distance"),N=n(L/b);d.add(new a.Text({style:a.setTextStyle({},_,{text:E,x:k*(g-S-O)+p,y:P*(g-S-O)+f,textVerticalAlign:P<-.4?"top":P>.4?"bottom":"middle",textAlign:k<-.4?"left":k>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){k=Math.cos(T),P=Math.sin(T);var V=new a.Line({shape:{x1:k*g+p,y1:P*g+f,x2:k*(g-M)+p,y2:P*(g-M)+f},silent:!0,style:D});"auto"===D.stroke&&V.setStyle({stroke:n((L+z/w)/b)}),d.add(V),T+=I}T-=I}else T+=A}},_renderPointer:function(t,e,i,r,o,l,u,h){var d=this.group,p=this._data;if(t.get("pointer.show")){var f=[+t.get("min"),+t.get("max")],g=[l,u],m=t.getData(),v=m.mapDimension("value");m.diff(p).add(function(e){var i=new n({shape:{angle:l}});a.initProps(i,{shape:{angle:c(m.get(v,e),f,g,!0)}},t),d.add(i),m.setItemGraphicEl(e,i)}).update(function(e,i){var n=p.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:c(m.get(v,e),f,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)}).remove(function(t){var e=p.getItemGraphicEl(t);d.remove(e)}).execute(),m.eachItemGraphicEl(function(t,e){var i=m.getItemModel(e),n=i.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:s(n.get("width"),o.r),r:s(n.get("length"),o.r)}),t.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",r(c(m.get(v,e),f,[0,1],!0))),a.setHoverStyle(t,i.getModel("emphasis.itemStyle").getItemStyle())}),this._data=m}else p&&p.eachItemGraphicEl(function(t){d.remove(t)})},_renderTitle:function(t,e,i,n,r){var o=t.getData(),l=o.mapDimension("value"),u=t.getModel("title");if(u.get("show")){var h=u.get("offsetCenter"),d=r.cx+s(h[0],r.r),p=r.cy+s(h[1],r.r),f=+t.get("min"),g=+t.get("max"),m=t.getData().get(l,0),v=n(c(m,[f,g],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},u,{x:d,y:p,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(t,e,i,n,r){var o=t.getModel("detail"),l=+t.get("min"),u=+t.get("max");if(o.get("show")){var d=o.get("offsetCenter"),p=r.cx+s(d[0],r.r),f=r.cy+s(d[1],r.r),g=s(o.get("width"),r.r),m=s(o.get("height"),r.r),v=t.getData(),y=v.get(v.mapDimension("value"),0),x=n(c(y,[l,u],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},o,{x:p,y:f,text:h(y,o.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}}),f=p;t.exports=f},d29a:function(t,e,i){"use strict";var n=i("1b25"),a=i("1637"),r=[],o=[],s=[],l=n.quadraticAt,c=a.distSquare,u=Math.abs;function h(t,e,i){for(var n,a=t[0],h=t[1],d=t[2],p=1/0,f=i*i,g=.1,m=.1;m<=.9;m+=.1){r[0]=l(a[0],h[0],d[0],m),r[1]=l(a[1],h[1],d[1],m);var v=u(c(r,e)-f);v<p&&(p=v,n=m)}for(var y=0;y<32;y++){var x=n+g;o[0]=l(a[0],h[0],d[0],n),o[1]=l(a[1],h[1],d[1],n),s[0]=l(a[0],h[0],d[0],x),s[1]=l(a[1],h[1],d[1],x);v=c(o,e)-f;if(u(v)<.01)break;var _=c(s,e)-f;g/=2,v<0?_>=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}function d(t,e){var i=[],r=n.quadraticSubdivide,o=[[],[],[]],s=[[],[]],l=[];function c(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),e}e/=2,t.eachEdge(function(t,n){var u=t.getLayout(),d=t.getVisual("fromSymbol"),p=t.getVisual("toSymbol");u.__original||(u.__original=[a.clone(u[0]),a.clone(u[1])],u[2]&&u.__original.push(a.clone(u[2])));var f=u.__original;if(null!=u[2]){if(a.copy(o[0],f[0]),a.copy(o[1],f[2]),a.copy(o[2],f[1]),d&&"none"!==d){var g=c(t.node1),m=h(o,f[0],g*e);r(o[0][0],o[1][0],o[2][0],m,i),o[0][0]=i[3],o[1][0]=i[4],r(o[0][1],o[1][1],o[2][1],m,i),o[0][1]=i[3],o[1][1]=i[4]}if(p&&"none"!==p){g=c(t.node2),m=h(o,f[1],g*e);r(o[0][0],o[1][0],o[2][0],m,i),o[1][0]=i[1],o[2][0]=i[2],r(o[0][1],o[1][1],o[2][1],m,i),o[1][1]=i[1],o[2][1]=i[2]}a.copy(u[0],o[0]),a.copy(u[1],o[2]),a.copy(u[2],o[1])}else{if(a.copy(s[0],f[0]),a.copy(s[1],f[1]),a.sub(l,s[1],s[0]),a.normalize(l,l),d&&"none"!==d){g=c(t.node1);a.scaleAndAdd(s[0],s[0],l,g*e)}if(p&&"none"!==p){g=c(t.node2);a.scaleAndAdd(s[1],s[1],l,-g*e)}a.copy(u[0],s[0]),a.copy(u[1],s[1])}})}t.exports=d},d2b8:function(t,e,i){"use strict";i("cd3c"),i("1b75"),i("ec3f")},d2f1:function(t,e,i){"use strict";var n=i("3999");function a(t,e,i){i=i||{};var a=t.coordinateSystem,r=e.axis,o={},s=r.getAxesOnZeroOf()[0],l=r.position,c=s?"onZero":l,u=r.dim,h=a.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,g="x"===u?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(s){var m=s.toGlobalCoord(s.dataToCoord(0));g[p.onZero]=Math.max(Math.min(m,g[1]),g[0])}o.position=["y"===u?g[p[c]]:d[0],"x"===u?g[p[c]]:d[3]],o.rotation=Math.PI/2*("x"===u?0:1);var v={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=v[l],o.labelOffset=s?g[p[l]]-g[p.onZero]:0,e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),n.retrieve(i.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var y=e.get("axisLabel.rotate");return o.labelRotate="top"===c?-y:y,o.z2=1,o}e.layout=a},d4d0:function(t,e,i){"use strict";var n=i("3999"),a={getMin:function(t){var e=this.option,i=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&"function"!==typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(t){var e=this.option,i=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&"function"!==typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:n.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=a},d4ff:function(t,e,i){"use strict";var n=i("3999"),a=i("1767"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.axisIndex=r};r.prototype={constructor:r,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},n.inherits(r,a);var o=r;t.exports=o},d553:function(t,e,i){"use strict";var n=i("3999");function a(t){var e={};t.eachSeriesByType("map",function(i){var a=i.getMapType();if(!i.getHostGeoModel()&&!e[a]){var r={};n.each(i.seriesGroup,function(e){var i=e.coordinateSystem,n=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&n.each(n.mapDimension("value"),function(t,e){var a=n.getName(e),o=i.getRegion(a);if(o&&!isNaN(t)){var s=r[a]||0,l=i.dataToPoint(o.center);r[a]=s+1,n.setItemLayout(e,{point:l,offset:s})}})});var o=i.getData();o.each(function(t){var e=o.getName(t),i=o.getItemLayout(t)||{};i.showLabel=!r[e],o.setItemLayout(t,i)}),e[a]=!0}})}t.exports=a},d5a0:function(t,e,i){"use strict";var n=i("3999"),a=i("bc9d"),r=i("66c7");function o(t,e,i,n){var a=e.getData(),r=this.dataIndex,o=a.getName(r),l=e.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),a.each(function(t){s(a.getItemGraphicEl(t),a.getItemLayout(t),e.isSelected(a.getName(t)),l,i)})}function s(t,e,i,n,a){var r=(e.startAngle+e.endAngle)/2,o=Math.cos(r),s=Math.sin(r),l=i?n:0,c=[o*l,s*l];a?t.animate().when(200,{position:c}).start("bounceOut"):t.attr("position",c)}function l(t,e){a.Group.call(this);var i=new a.Sector({z2:2}),n=new a.Polyline,r=new a.Text;function o(){n.ignore=n.hoverIgnore,r.ignore=r.hoverIgnore}function s(){n.ignore=n.normalIgnore,r.ignore=r.normalIgnore}this.add(i),this.add(n),this.add(r),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var c=l.prototype;c.updateData=function(t,e,i){var r=this.childAt(0),o=t.hostModel,l=t.getItemModel(e),c=t.getItemLayout(e),u=n.extend({},c);if(u.label=null,i){r.setShape(u);var h=o.getShallow("animationType");"scale"===h?(r.shape.r=c.r0,a.initProps(r,{shape:{r:c.r}},o,e)):(r.shape.endAngle=c.startAngle,a.updateProps(r,{shape:{endAngle:c.endAngle}},o,e))}else a.updateProps(r,{shape:u},o,e);var d=t.getItemVisual(e,"color");r.useStyle(n.defaults({lineJoin:"bevel",fill:d},l.getModel("itemStyle").getItemStyle())),r.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var p=l.getShallow("cursor");function f(){r.stopAnimation(!0),r.animateTo({shape:{r:c.r+o.get("hoverOffset")}},300,"elasticOut")}function g(){r.stopAnimation(!0),r.animateTo({shape:{r:c.r}},300,"elasticOut")}p&&r.attr("cursor",p),s(this,t.getItemLayout(e),o.isSelected(null,e),o.get("selectedOffset"),o.get("animation")),r.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.get("hoverAnimation")&&o.isAnimationEnabled()&&r.on("mouseover",f).on("mouseout",g).on("emphasis",f).on("normal",g),this._updateLabel(t,e),a.setHoverStyle(this)},c._updateLabel=function(t,e){var i=this.childAt(1),n=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,c=t.getItemVisual(e,"color");a.updateProps(i,{shape:{points:l.linePoints||[[l.x,l.y],[l.x,l.y],[l.x,l.y]]}},r,e),a.updateProps(n,{style:{x:l.x,y:l.y}},r,e),n.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var u=o.getModel("label"),h=o.getModel("emphasis.label"),d=o.getModel("labelLine"),p=o.getModel("emphasis.labelLine");c=t.getItemVisual(e,"color");a.setLabelStyle(n.style,n.hoverStyle={},u,h,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:c,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),n.ignore=n.normalIgnore=!u.get("show"),n.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!d.get("show"),i.hoverIgnore=!p.get("show"),i.setStyle({stroke:c,opacity:t.getItemVisual(e,"opacity")}),i.setStyle(d.getModel("lineStyle").getLineStyle()),i.hoverStyle=p.getModel("lineStyle").getLineStyle();var f=d.get("smooth");f&&!0===f&&(f=.4),i.setShape({smooth:f})},n.inherits(l,a.Group);var u=r.extend({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,e,i,a){if(!a||a.from!==this.uid){var r=t.getData(),s=this._data,c=this.group,u=e.get("animation"),h=!s,d=t.get("animationType"),p=n.curry(o,this.uid,t,u,i),f=t.get("selectedMode");if(r.diff(s).add(function(t){var e=new l(r,t);h&&"scale"!==d&&e.eachChild(function(t){t.stopAnimation(!0)}),f&&e.on("click",p),r.setItemGraphicEl(t,e),c.add(e)}).update(function(t,e){var i=s.getItemGraphicEl(e);i.updateData(r,t),i.off("click"),f&&i.on("click",p),c.add(i),r.setItemGraphicEl(t,i)}).remove(function(t){var e=s.getItemGraphicEl(t);c.remove(e)}).execute(),u&&h&&r.count()>0&&"scale"!==d){var g=r.getItemLayout(0),m=Math.max(i.getWidth(),i.getHeight())/2,v=n.bind(c.removeClipPath,c);c.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,t))}else c.removeClipPath();this._data=r}},dispose:function(){},_createClipPath:function(t,e,i,n,r,o,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:r}});return a.initProps(l,{shape:{endAngle:n+(r?1:-1)*Math.PI*2}},s,o),l},containPoint:function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var a=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(a*a+r*r);return o<=n.r&&o>=n.r0}}}),h=u;t.exports=h},d5b7:function(t,e,i){"use strict";var n=i("14ab"),a=i("08fd"),r=i("1073"),o=r.getLayoutRect,s=i("3999"),l=s.each;function c(t,e,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,i),this.model=t}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(t,e,i){var r=this.dimension,o=new n(r,a.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),s="category"===o.type;o.onBand=s&&t.get("boundaryGap"),o.inverse=t.get("inverse"),o.orient=t.get("orient"),t.axis=o,o.model=t,o.coordinateSystem=this,this._axis=o},update:function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();l(e.mapDimension(this.dimension,!0),function(t){this._axis.scale.unionExtentFromData(e,t)},this),a.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(t,e){this._rect=o({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,i=e.isHorizontal(),n=i?[0,t.width]:[0,t.height],a=e.reverse?1:0;e.setExtent(n[a],n[1-a]),this._updateAxisTransform(e,i?t.x:t.y)},_updateAxisTransform:function(t,e){var i=t.getExtent(),n=i[0]+i[1],a=t.isHorizontal();t.toGlobalCoord=a?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord=a?function(t){return t-e}:function(t){return n-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),i=this.getAxis(),n=i.orient;return"horizontal"===n?i.contain(i.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:i.contain(i.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),i=this.getRect(),n=[],a="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[a]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-a]=0===a?i.y+i.height/2:i.x+i.width/2,n}};var u=c;t.exports=u},d621:function(t,e,i){"use strict";var n=i("3999"),a=i("c1ef"),r=i("c14b"),o=i("8a7d"),s=i("bc9d"),l=i("f339"),c=i("0df4"),u=function(t,e,i,a){var r=l.dataTransform(t,a[0]),o=l.dataTransform(t,a[1]),s=n.retrieve,c=r.coord,u=o.coord;c[0]=s(c[0],-1/0),c[1]=s(c[1],-1/0),u[0]=s(u[0],1/0),u[1]=s(u[1],1/0);var h=n.mergeAll([{},r,o]);return h.coord=[r.coord,o.coord],h.x0=r.x,h.y0=r.y,h.x1=o.x,h.y1=o.y,h};function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,i,n){var a=1-t;return h(e[a])&&h(i[a])}function p(t,e){var i=e.coord[0],n=e.coord[1];return!("cartesian2d"!==t.type||!i||!n||!d(1,i,n,t)&&!d(0,i,n,t))||(l.dataFilter(t,{coord:i,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:n,x:e.x1,y:e.y1}))}function f(t,e,i,n,a){var r,s=n.coordinateSystem,l=t.getItemModel(e),c=o.parsePercent(l.get(i[0]),a.getWidth()),u=o.parsePercent(l.get(i[1]),a.getHeight());if(isNaN(c)||isNaN(u)){if(n.getMarkerPosition)r=n.getMarkerPosition(t.getValues(i,e));else{var d=t.get(i[0],e),p=t.get(i[1],e),f=[d,p];s.clampData&&s.clampData(f,f),r=s.dataToPoint(f,!0)}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=t.get(i[0],e),p=t.get(i[1],e);h(d)?r[0]=g.toGlobalCoord(g.getExtent()["x0"===i[0]?0:1]):h(p)&&(r[1]=m.toGlobalCoord(m.getExtent()["y0"===i[1]?0:1]))}isNaN(c)||(r[0]=c),isNaN(u)||(r[1]=u)}else r=[c,u];return r}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function m(t,e,i){var a,o,s=["x0","y0","x1","y1"];t?(a=n.map(t&&t.dimensions,function(t){var i=e.getData(),a=i.getDimensionInfo(i.mapDimension(t))||{};return n.defaults({name:t},a)}),o=new r(n.map(s,function(t,e){return{name:t,type:a[e%2].type}}),i)):(a=[{name:"value",type:"float"}],o=new r(a,i));var l=n.map(i.get("data"),n.curry(u,e,t,i));t&&(l=n.filter(l,n.curry(p,t)));var c=t?function(t,e,i,n){return t.coord[Math.floor(n/2)][n%2]}:function(t){return t.value};return o.initData(l,null,c),o.hasItemOption=!0,o}c.extend({type:"markArea",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markAreaModel;if(e){var a=e.getData();a.each(function(e){var r=n.map(g,function(n){return f(a,e,n,t,i)});a.setItemLayout(e,r);var o=a.getItemGraphicEl(e);o.setShape("points",r)})}},this)},renderSeries:function(t,e,i,r){var o=t.coordinateSystem,l=t.id,c=t.getData(),u=this.markerGroupMap,h=u.get(l)||u.set(l,{group:new s.Group});this.group.add(h.group),h.__keep=!0;var d=m(o,t,e);e.setData(d),d.each(function(e){d.setItemLayout(e,n.map(g,function(i){return f(d,e,i,t,r)})),d.setItemVisual(e,{color:c.getVisual("color")})}),d.diff(h.__data).add(function(t){var e=new s.Polygon({shape:{points:d.getItemLayout(t)}});d.setItemGraphicEl(t,e),h.group.add(e)}).update(function(t,i){var n=h.__data.getItemGraphicEl(i);s.updateProps(n,{shape:{points:d.getItemLayout(t)}},e,t),h.group.add(n),d.setItemGraphicEl(t,n)}).remove(function(t){var e=h.__data.getItemGraphicEl(t);h.group.remove(e)}).execute(),d.eachItemGraphicEl(function(t,i){var r=d.getItemModel(i),o=r.getModel("label"),l=r.getModel("emphasis.label"),c=d.getItemVisual(i,"color");t.useStyle(n.defaults(r.getModel("itemStyle").getItemStyle(),{fill:a.modifyAlpha(c,.4),stroke:c})),t.hoverStyle=r.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,o,l,{labelFetcher:e,labelDataIndex:i,defaultText:d.getName(i)||"",isRectText:!0,autoColor:c}),s.setHoverStyle(t,{}),t.dataModel=e}),h.__data=d,h.group.silent=e.get("silent")||t.get("silent")}})},d68a:function(t,e,i){"use strict";var n=i("a555"),a=i("3999"),r=i("45e8"),o=i("1637");function s(t,e,i){r.call(this,t,e,i),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(t,e,i){return new n(t,e,i)},l.updateAnimationPoints=function(t,e){this._points=e;for(var i=[0],n=0,a=1;a<e.length;a++){var r=e[a-1],s=e[a];n+=o.dist(r,s),i.push(n)}if(0!==n){for(a=0;a<i.length;a++)i[a]/=n;this._offsets=i,this._length=n}},l.getLineLength=function(t){return this._length},l.updateSymbolPosition=function(t){var e=t.__t,i=this._points,n=this._offsets,a=i.length;if(n){var r=this._lastFrame;if(e<this._lastFramePercent){var s=Math.min(r+1,a-1);for(l=s;l>=0;l--)if(n[l]<=e)break;l=Math.min(l,a-2)}else{for(var l=r;l<a;l++)if(n[l]>e)break;l=Math.min(l-1,a-2)}o.lerp(t.position,i[l],i[l+1],(e-n[l])/(n[l+1]-n[l]));var c=i[l+1][0]-i[l][0],u=i[l+1][1]-i[l][1];t.rotation=-Math.atan2(u,c)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=e,t.ignore=!1}},a.inherits(s,r);var c=s;t.exports=c},d68e:function(t,e,i){"use strict";var n=i("1b25");function a(t,e,i,a,r,o,s,l,c,u,h){if(0===c)return!1;var d=c;if(h>e+d&&h>a+d&&h>o+d&&h>l+d||h<e-d&&h<a-d&&h<o-d&&h<l-d||u>t+d&&u>i+d&&u>r+d&&u>s+d||u<t-d&&u<i-d&&u<r-d&&u<s-d)return!1;var p=n.cubicProjectPoint(t,e,i,a,r,o,s,l,u,h,null);return p<=d/2}e.containStroke=a},d6a0:function(t,e,i){"use strict";var n=i("3999");function a(t){t&&n.isArray(t.series)&&n.each(t.series,function(t){n.isObject(t)&&"k"===t.type&&(t.type="candlestick")})}t.exports=a},d708:function(t,e,i){"use strict";var n=i("26a6"),a=i("769f"),r=n.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){a.buildPath(t,e,!1)}});t.exports=r},d776:function(t,e,i){"use strict";var n=i("3999"),a=i("1637"),r=i("2008"),o=i("317f"),s=i("bc9d"),l=i("8a7d"),c=l.round,u=["fromSymbol","toSymbol"];function h(t){return"_"+t+"Type"}function d(t,e,i){var a=e.getItemVisual(i,"color"),o=e.getItemVisual(i,t),s=e.getItemVisual(i,t+"Size");if(o&&"none"!==o){n.isArray(s)||(s=[s,s]);var l=r.createSymbol(o,-s[0]/2,-s[1]/2,s[0],s[1],a);return l.name=t,l}}function p(t){var e=new o({name:"line"});return f(e.shape,t),e}function f(t,e){var i=e[0],n=e[1],a=e[2];t.x1=i[0],t.y1=i[1],t.x2=n[0],t.y2=n[1],t.percent=1,a?(t.cpx1=a[0],t.cpy1=a[1]):(t.cpx1=NaN,t.cpy1=NaN)}function g(){var t=this,e=t.childOfName("fromSymbol"),i=t.childOfName("toSymbol"),n=t.childOfName("label");if(e||i||!n.ignore){var r=1,o=this.parent;while(o)o.scale&&(r/=o.scale[0]),o=o.parent;var s=t.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,c=s.pointAt(0),u=s.pointAt(l),h=a.sub([],u,c);if(a.normalize(h,h),e){e.attr("position",c);var d=s.tangentAt(0);e.attr("rotation",Math.PI/2-Math.atan2(d[1],d[0])),e.attr("scale",[r*l,r*l])}if(i){i.attr("position",u);d=s.tangentAt(1);i.attr("rotation",-Math.PI/2-Math.atan2(d[1],d[0])),i.attr("scale",[r*l,r*l])}if(!n.ignore){var p,f,g;n.attr("position",u);var m=5*r;if("end"===n.__position)p=[h[0]*m+u[0],h[1]*m+u[1]],f=h[0]>.8?"left":h[0]<-.8?"right":"center",g=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var v=l/2,y=(d=s.tangentAt(v),[d[1],-d[0]]),x=s.pointAt(v);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]),p=[x[0]+y[0]*m,x[1]+y[1]*m],f="center",g="bottom";var _=-Math.atan2(d[1],d[0]);u[0]<c[0]&&(_=Math.PI+_),n.attr("rotation",_)}else p=[-h[0]*m+c[0],-h[1]*m+c[1]],f=h[0]>.8?"right":h[0]<-.8?"left":"center",g=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||g,textAlign:n.__textAlign||f},position:p,scale:[r,r]})}}}}function m(t,e,i){s.Group.call(this),this._createLine(t,e,i)}var v=m.prototype;v.beforeUpdate=g,v._createLine=function(t,e,i){var a=t.hostModel,r=t.getItemLayout(e),o=p(r);o.shape.percent=0,s.initProps(o,{shape:{percent:1}},a,e),this.add(o);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),n.each(u,function(i){var n=d(i,t,e);this.add(n),this[h(i)]=t.getItemVisual(e,i)},this),this._updateCommonStl(t,e,i)},v.updateData=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),l={shape:{}};f(l.shape,o),s.updateProps(r,l,a,e),n.each(u,function(i){var n=t.getItemVisual(e,i),a=h(i);if(this[a]!==n){this.remove(this.childOfName(i));var r=d(i,t,e);this.add(r)}this[a]=n},this),this._updateCommonStl(t,e,i)},v._updateCommonStl=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=i&&i.lineStyle,l=i&&i.hoverLineStyle,h=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||t.hasItemOption){var p=t.getItemModel(e);o=p.getModel("lineStyle").getLineStyle(),l=p.getModel("emphasis.lineStyle").getLineStyle(),h=p.getModel("label"),d=p.getModel("emphasis.label")}var f=t.getItemVisual(e,"color"),g=n.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);r.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:f,opacity:g},o)),r.hoverStyle=l,n.each(u,function(t){var e=this.childOfName(t);e&&(e.setColor(f),e.setStyle({opacity:g}))},this);var m,v,y=h.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=f||"#000",v=a.getFormattedLabel(e,"normal",t.dataType),null==v)){var b=a.getRawValue(e);v=null==b?t.getName(e):isFinite(b)?c(b):b}var w=y?v:null,S=x?n.retrieve2(a.getFormattedLabel(e,"emphasis",t.dataType),v):null,M=_.style;null==w&&null==S||(s.setTextStyle(_.style,h,{text:w},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=h.get("position")||"middle"),_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},v.highlight=function(){this.trigger("emphasis")},v.downplay=function(){this.trigger("normal")},v.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},v.setLinePoints=function(t){var e=this.childOfName("line");f(e.shape,t),e.dirty()},n.inherits(m,s.Group);var y=m;t.exports=y},d88c:function(t,e,i){"use strict";var n=i("3999"),a=i("62f4"),r=i("bc9d"),o=i("db34"),s=i("00a4"),l=i("8a7d"),c=i("1073"),u=i("8abd"),h=r.Rect,d=l.linearMap,p=l.asc,f=n.bind,g=n.each,m=7,v=1,y=30,x="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){S.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},r=this._orient===x?{right:a.width-i.x-i.width,top:a.height-y-m,width:i.width,height:y}:{right:m,top:i.y,width:y,height:i.height},o=c.getLayoutParams(t.option);n.each(["right","top","width","height"],function(t){"ph"===o[t]&&(o[t]=r[t])});var s=c.getLayoutRect(o,a,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),a=n&&n.get("inverse"),r=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(i!==x||a?i===x&&a?{scale:o?[-1,1]:[-1,-1]}:i!==_||a?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=t.getBoundingRect([r]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new h({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new h({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,a=i.getRawData(),o=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=o){var s=a.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var c,u=[0,e[1]],h=[0,e[0]],p=[[e[0],0],[0,0]],f=[],g=h[1]/(a.count()-1),m=0,v=Math.round(a.count()/e[0]);a.each([o],function(t,e){if(v>0&&e%v)m+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:d(t,s,u,!0);i&&!c&&e?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!i&&c&&(p.push([m,0]),f.push([m,0])),p.push([m,n]),f.push([m,n]),m+=g,c=i}});var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:p},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,a=this.ecModel;return t.eachTargetAxis(function(r,o){var s=t.getAxisProxy(r.name,o).getTargetSeriesModels();n.each(s,function(t){if(!i&&!(!0!==e&&n.indexOf(w,t.get("type"))<0)){var s,l=a.getComponent(r.axis,o).axis,c=M(r.name),u=t.coordinateSystem;null!=c&&u.getOtherAxis&&(s=u.getOtherAxis(l).inverse),c=t.getData().mapDimension(c),i={thisAxis:l,series:t,thisDim:r.name,otherDim:c,otherAxisInverse:s}}},this)},this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,o=this._size,s=this.dataZoomModel;n.add(t.filler=new h({draggable:!0,cursor:T(this._orient),drift:f(this._onDragMove,this,"all"),onmousemove:function(t){a.stop(t.event)},ondragstart:f(this._showDataInfo,this,!0),ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),n.add(new h(r.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:v,fill:"rgba(0,0,0,0)"}}))),g([0,1],function(t){var o=r.createIcon(s.get("handleIcon"),{cursor:T(this._orient),draggable:!0,drift:f(this._onDragMove,this,t),onmousemove:function(t){a.stop(t.event)},ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),c=o.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=c.width/c.height*this._handleHeight,o.setStyle(s.getModel("handleStyle").getItemStyle());var u=s.get("handleColor");null!=u&&(o.style.fill=u),n.add(e[t]=o);var h=s.textStyleModel;this.group.add(i[t]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,a=this._getViewExtent(),r=i.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];u(e,n,a,i.get("zoomLock")?"all":t,null!=r.minSpan?d(r.minSpan,o,a,!0):null,null!=r.maxSpan?d(r.maxSpan,o,a,!0):null);var s=this._range,l=this._range=p([d(n[0],a,o,!0),d(n[1],a,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=p(i.slice()),a=this._size;g([0,1],function(t){var n=e.handles[t],r=this._handleHeight;n.attr({scale:[r/2,r/2],position:[i[t],a[1]/2-r/2]})},this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:a[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,a=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,c=this._range,u=t?s.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(u[0],l),this._formatLabel(u[1],l)]}}var h=p(this._handleEnds.slice());function d(t){var e=r.getTransform(i.handles[t].parent,this.group),s=r.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+b,c=r.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);n[t].setStyle({x:c[0],y:c[1],textVerticalAlign:a===x?"middle":s,textAlign:a===x?s:"center",text:o[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,a=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(r,20));return n.isFunction(a)?a(t,o):n.isString(a)?a.replace("{value}",o):o},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,i){this._dragging=!0;var n=this._displayables.barGroup.getLocalTransform(),a=r.applyTransform([e,i],n,!0),o=this._updateInterval(t,a[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),o&&s&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,a=(n[0]+n[1])/2,r=this._updateInterval("all",i[0]-a);this._updateView(),r&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),function(e){if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}}),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});function M(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function T(t){return"vertical"===t?"ns-resize":"ew-resize"}var A=S;t.exports=A},d8ed:function(t,e,i){"use strict";var n=i("3999"),a=i("e321"),r=i("75e6"),o=i("bc9d"),s=i("1073"),l=i("1647"),c=i("0b14"),u=i("2008"),h=u.createSymbol,d=i("08fd"),p=i("8a7d"),f=i("b04a"),g=f.encodeHTML,m=n.bind,v=n.each,y=Math.PI,x=l.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,i,n){if(this.model=t,this.api=i,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var a=this._layout(t,i),r=this._createGroup("mainGroup"),o=this._createGroup("labelGroup"),s=this._axis=this._createAxis(a,t);t.formatTooltip=function(t){return g(s.scale.getLabel(t))},v(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](a,r,s,t)},this),this._renderAxisLabel(a,o,s,t),this._position(a,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var i=t.get("label.position"),n=t.get("orient"),a=_(t,e);null==i||"auto"===i?i="horizontal"===n?a.y+a.height/2<e.getHeight()/2?"-":"+":a.x+a.width/2<e.getWidth()/2?"+":"-":isNaN(i)&&(i={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[n][i]);var r,o,s,l,c={horizontal:"center",vertical:i>=0||"+"===i?"left":"right"},u={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:y/2},d="vertical"===n?a.height:a.width,p=t.getModel("controlStyle"),f=p.get("show",!0),g=f?p.get("itemSize"):0,m=f?p.get("itemGap"):0,v=g+m,x=t.get("label.rotate")||0;x=x*y/180;var b=p.get("position",!0),w=f&&p.get("showPlayBtn",!0),S=f&&p.get("showPrevBtn",!0),M=f&&p.get("showNextBtn",!0),T=0,A=d;return"left"===b||"bottom"===b?(w&&(r=[0,0],T+=v),S&&(o=[T,0],T+=v),M&&(s=[A-g,0],A-=v)):(w&&(r=[A-g,0],A-=v),S&&(o=[0,0],T+=v),M&&(s=[A-g,0],A-=v)),l=[T,A],t.get("inverse")&&l.reverse(),{viewRect:a,mainLength:d,orient:n,rotation:h[n],labelRotation:x,labelPosOpt:i,labelAlign:t.get("label.align")||c[n],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||u[n],playPosition:r,prevBtnPosition:o,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:m}},_position:function(t,e){var i=this._mainGroup,n=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var o=r.create(),s=a.x,l=a.y+a.height;r.translate(o,o,[-s,-l]),r.rotate(o,o,-y/2),r.translate(o,o,[s,l]),a=a.clone(),a.applyTransform(o)}var c=v(a),u=v(i.getBoundingRect()),h=v(n.getBoundingRect()),d=i.position,p=n.position;p[0]=d[0]=c[0][0];var f=t.labelPosOpt;if(isNaN(f)){var g="+"===f?0:1;x(d,u,c,1,g),x(p,h,c,1,1-g)}else{g=f>=0?0:1;x(d,u,c,1,g),p[1]=d[1]+f}function m(t){var e=t.position;t.origin=[c[0][0]-e[0],c[1][0]-e[1]]}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,i,n,a){t[n]+=i[n][a]-e[n][a]}i.attr("position",d),n.attr("position",p),i.rotation=n.rotation=t.rotation,m(i),m(n)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),a=d.createScaleByModel(e,n);a.getTicks=function(){return i.mapArray(["value"],function(t){return t})};var r=i.getDataExtent("value");a.setExtent(r[0],r[1]),a.niceTicks();var o=new c("value",a,t.axisExtent,n);return o.model=e,o},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,a){var r=i.getExtent();a.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:n.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var a=n.getData(),r=i.scale.getTicks();v(r,function(t){var r=i.dataToCoord(t),s=a.getItemModel(t),l=s.getModel("itemStyle"),c=s.getModel("emphasis.itemStyle"),u={position:[r,0],onclick:m(this._changeTimeline,this,t)},h=w(s,l,e,u);o.setHoverStyle(h,c.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=n):h.dataIndex=h.dataModel=null},this)},_renderAxisLabel:function(t,e,i,n){var a=i.getLabelModel();if(a.get("show")){var r=n.getData(),s=i.getViewLabels();v(s,function(n){var a=n.tickValue,s=r.getItemModel(a),l=s.getModel("label"),c=s.getModel("emphasis.label"),u=i.dataToCoord(n.tickValue),h=new o.Text({position:[u,0],rotation:t.labelRotation-t.rotation,onclick:m(this._changeTimeline,this,a),silent:!1});o.setTextStyle(h.style,l,{text:n.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),o.setHoverStyle(h,o.setTextStyle({},c))},this)}},_renderControl:function(t,e,i,n){var a=t.controlSize,r=t.rotation,s=n.getModel("controlStyle").getItemStyle(),l=n.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-a/2,a,a],u=n.getPlayState(),h=n.get("inverse",!0);function d(t,i,u,h){if(t){var d={position:t,origin:[a/2,0],rotation:h?-r:0,rectHover:!0,style:s,onclick:u},p=b(n,i,c,d);e.add(p),o.setHoverStyle(p,l)}}d(t.nextBtnPosition,"controlStyle.nextIcon",m(this._changeTimeline,this,h?"-":"+")),d(t.prevBtnPosition,"controlStyle.prevIcon",m(this._changeTimeline,this,h?"+":"-")),d(t.playPosition,"controlStyle."+(u?"stopIcon":"playIcon"),m(this._handlePlayClick,this,!u),!0)},_renderCurrentPointer:function(t,e,i,n){var a=n.getData(),r=n.getCurrentIndex(),o=a.getItemModel(r).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=m(s._handlePointerDrag,s),t.ondragend=m(s._handlePointerDragend,s),S(t,r,i,n,!0)},onUpdate:function(t){S(t,r,i,n)}};this._currentPointer=w(o,o,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,a=p.asc(n.getExtent().slice());i>a[1]&&(i=a[1]),i<a[0]&&(i=a[0]),this._currentPointer.position[0]=i,this._currentPointer.dirty();var r=this._findNearestTick(i),o=this.model;(e||r!==o.getCurrentIndex()&&o.get("realtime"))&&this._changeTimeline(r)},_doPlayStop:function(){function t(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(m(t,this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup.getLocalTransform();return o.applyTransform(t,e,!0)},_findNearestTick:function(t){var e,i=this.model.getData(),n=1/0,a=this._axis;return i.each(["value"],function(i,r){var o=a.dataToCoord(i),s=Math.abs(o-t);s<n&&(n=s,e=r)}),e},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})}});function _(t,e){return s.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function b(t,e,i,r){var s=o.makePath(t.get(e).replace(/^path:\/\//,""),n.clone(r||{}),new a(i[0],i[1],i[2],i[3]),"center");return s}function w(t,e,i,a,r,o){var s=e.get("color");if(r)r.setColor(s),i.add(r),o&&o.onUpdate(r);else{var l=t.get("symbol");r=h(l,-1,-1,2,2,s),r.setStyle("strokeNoScale",!0),i.add(r),o&&o.onCreate(r)}var c=e.getItemStyle(["color","symbol","symbolSize"]);r.setStyle(c),a=n.merge({rectHover:!0,z2:100},a,!0);var u=t.get("symbolSize");u=u instanceof Array?u.slice():[+u,+u],u[0]/=2,u[1]/=2,a.scale=u;var d=t.get("symbolOffset");if(d){var f=a.position=a.position||[0,0];f[0]+=p.parsePercent(d[0],u[0]),f[1]+=p.parsePercent(d[1],u[1])}var g=t.get("symbolRotate");return a.rotation=(g||0)*Math.PI/180||0,r.attr(a),r.updateTransform(),r}function S(t,e,i,n,a){if(!t.dragging){var r=n.getModel("checkpointStyle"),o=i.dataToCoord(n.getData().get(["value"],e));a||!r.get("animation",!0)?t.attr({position:[o,0]}):(t.stopAnimation(!0),t.animateTo({position:[o,0]},r.get("animationDuration",!0),r.get("animationEasing",!0)))}}t.exports=x},da4c:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=a.createHashMap,o=a.isString,s=a.isArray,l=a.each,c=(a.assert,i("b939")),u=c.parseXML,h=r(),d={registerMap:function(t,e,i){var n;return s(e)?n=e:e.svg?n=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),n=[{type:"geoJSON",source:e,specialAreas:i}]),l(n,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var i=p[e];i(t)}),h.set(t,n)},retrieveMap:function(t){return h.get(t)}},p={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=u(t.source)}};t.exports=d},db34:function(t,e,i){"use strict";var n="\0__throttleOriginMethod",a="\0__throttleRate",r="\0__throttleType";function o(t,e,i){var n,a,r,o,s,l=0,c=0,u=null;function h(){c=(new Date).getTime(),u=null,t.apply(r,o||[])}e=e||0;var d=function(){n=(new Date).getTime(),r=this,o=arguments;var t=s||e,d=s||i;s=null,a=n-(d?l:c)-t,clearTimeout(u),d?u=setTimeout(h,t):a>=0?h():u=setTimeout(h,-a),l=n};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(t){s=t},d}function s(t,e,i,s){var l=t[e];if(l){var c=l[n]||l,u=l[r],h=l[a];if(h!==i||u!==s){if(null==i||!s)return t[e]=c;l=t[e]=o(c,i,"debounce"===s),l[n]=c,l[r]=s,l[a]=i}return l}}function l(t,e){var i=t[e];i&&i[n]&&(t[e]=i[n])}e.throttle=o,e.createOrUpdate=s,e.clear=l},db71:function(t,e,i){"use strict";var n=i("e321"),a=i("4ed0"),r=a.onIrrelevantElement,o=i("bc9d");function s(t){return t=u(t),function(e,i){return o.clipPointsByRect(e,t)}}function l(t,e){return t=u(t),function(i){var n=null!=e?e:i,a=n?t.width:t.height,r=n?t.x:t.y;return[r,r+(a||0)]}}function c(t,e,i){return t=u(t),function(n,a,o){return t.contain(a[0],a[1])&&!r(n,e,i)}}function u(t){return n.create(t)}e.makeRectPanelClipPath=s,e.makeLinearBrushOtherExtent=l,e.makeRectIsTargetByCursor=c},dbc1:function(t,e,i){"use strict";var n=i("826d"),a=n.createElement,r=i("3999"),o=i("ad57"),s=i("26a6"),l=i("3534"),c=i("f80c"),u=i("5c57"),h=i("f44c"),d=i("7f6a"),p=i("3ca54"),f=i("c495"),g=f.path,m=f.image,v=f.text;function y(t){return parseInt(t,10)}function x(t){return t instanceof s?g:t instanceof l?m:t instanceof c?v:g}function _(t,e){return e&&t&&e.parentNode!==t}function b(t,e,i){if(_(t,e)&&i){var n=i.nextSibling;n?t.insertBefore(e,n):t.appendChild(e)}}function w(t,e){if(_(t,e)){var i=t.firstChild;i?t.insertBefore(e,i):t.appendChild(e)}}function S(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function M(t){return t.__textSvgEl}function T(t){return t.__svgEl}var A=function(t,e,i,n){this.root=t,this.storage=e,this._opts=i=r.extend({},i||{});var o=a("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new h(n,o),this.clipPathManager=new d(n,o),this.shadowManager=new p(n,o);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=s,t.appendChild(s),s.appendChild(o),this.resize(i.width,i.height),this._visibleList=[]};function I(t){return function(){o('In SVG mode painter not support method "'+t+'"')}}A.prototype={constructor:A,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._viewport.style.background=t},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,i=this._svgRoot,n=this._visibleList,a=t.length,r=[];for(e=0;e<a;e++){var o=t[e],s=x(o),l=T(o)||M(o);o.invisible||(o.__dirty&&(s&&s.brush(o),this.clipPathManager.update(o),o.style&&(this.gradientManager.update(o.style.fill),this.gradientManager.update(o.style.stroke),this.shadowManager.update(l,o)),o.__dirty=!1),r.push(o))}var c,h=u(n,r);for(e=0;e<h.length;e++){var d=h[e];if(d.removed)for(var p=0;p<d.count;p++){o=n[d.indices[p]],l=T(o);var f=M(o);S(i,l),S(i,f)}}for(e=0;e<h.length;e++){d=h[e];if(d.added)for(p=0;p<d.count;p++){o=r[d.indices[p]],l=T(o),f=M(o);c?b(i,l,c):w(i,l),l?b(i,f,l):c?b(i,f,c):w(i,f),b(i,f,l),c=f||l||c,this.gradientManager.addWithoutUpdate(l,o),this.shadowManager.addWithoutUpdate(c,o),this.clipPathManager.markUsed(o)}else if(!d.removed)for(p=0;p<d.count;p++){o=r[d.indices[p]];c=l=M(o)||T(o)||c,this.gradientManager.markUsed(o),this.gradientManager.addWithoutUpdate(l,o),this.shadowManager.markUsed(o),this.shadowManager.addWithoutUpdate(l,o),this.clipPathManager.markUsed(o)}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=r},_getDefs:function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");if(0===i.length){if(t){i=e.insertBefore(a("defs"),e.firstChild);return i.contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),i}return null}return i[0]},resize:function(t,e){var i=this._viewport;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var a=i.style;a.width=t+"px",a.height=e+"px";var r=this._svgRoot;r.setAttribute("width",t),r.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[n]||y(s[i])||y(o.style[i]))-(y(s[a])||0)-(y(s[r])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){this.refresh();var t=this._svgRoot.outerHTML;return"data:image/svg+xml;charset=UTF-8,"+t}},r.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){A.prototype[t]=I(t)});var C=A;t.exports=C},dd06:function(t,e,i){"use strict";function n(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),i=t.getModel("itemStyle"),n=i.get("areaColor"),a=i.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:n,color:a})})}t.exports=n},ddf3:function(t,e,i){"use strict";var n=i("ac5f");n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},de11:function(t,e,i){"use strict";var n=i("3999"),a=i("890a"),r=n.each;function o(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function s(t,e,i){var o={};return r(e,function(e){var l=o[e]=s();r(t[e],function(t,r){if(a.isValidType(r)){var o={type:r,visual:t};i&&i(o,e),l[r]=new a(o),"opacity"===r&&(o=n.clone(o),o.type="colorAlpha",l.__hidden.__alphaForOpacity=new a(o))}})}),o;function s(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function l(t,e,i){var a;n.each(i,function(t){e.hasOwnProperty(t)&&o(e[t])&&(a=!0)}),a&&n.each(i,function(i){e.hasOwnProperty(i)&&o(e[i])?t[i]=n.clone(e[i]):delete t[i]})}function c(t,e,i,r,o,s){var l,c={};function u(t){return i.getItemVisual(l,t)}function h(t,e){i.setItemVisual(l,t,e)}function d(t,n){l=null==s?t:n;var a=i.getRawDataItem(l);if(!a||!1!==a.visualMap)for(var d=r.call(o,t),p=e[d],f=c[d],g=0,m=f.length;g<m;g++){var v=f[g];p[v]&&p[v].applyVisual(t,u,h)}}n.each(t,function(t){var i=a.prepareVisualTypes(e[t]);c[t]=i}),null==s?i.each(d):i.each([s],d)}function u(t,e,i,r){var o={};function s(t,n){function a(t){return n.getItemVisual(l,t)}function s(t,e){n.setItemVisual(l,t,e)}var l;null!=r&&(r=n.getDimension(r));while(null!=(l=t.next())){var c=n.getRawDataItem(l);if(!c||!1!==c.visualMap)for(var u=null!=r?n.get(r,l,!0):l,h=i(u),d=e[h],p=o[h],f=0,g=p.length;f<g;f++){var m=p[f];d[m]&&d[m].applyVisual(u,a,s)}}}return n.each(t,function(t){var i=a.prepareVisualTypes(e[t]);o[t]=i}),{progress:s}}e.createVisualMappings=s,e.replaceVisualOption=l,e.applyVisual=c,e.incrementalApplyVisual=u},de13:function(t,e,i){"use strict";function n(t,e,i){var n=t.getZoom(),a=t.getCenter(),r=e.zoom,o=t.dataToPoint(a);if(null!=e.dx&&null!=e.dy){o[0]-=e.dx,o[1]-=e.dy;a=t.pointToData(o);t.setCenter(a)}if(null!=r){if(i){var s=i.min||0,l=i.max||1/0;r=Math.max(Math.min(n*r,l),s)/n}t.scale[0]*=r,t.scale[1]*=r;var c=t.position,u=(e.originX-c[0])*(r-1),h=(e.originY-c[1])*(r-1);c[0]-=u,c[1]-=h,t.updateTransform();a=t.pointToData(o);t.setCenter(a),t.setZoom(r*n)}return{center:t.getCenter(),zoom:t.getZoom()}}e.updateCenterAndZoom=n},de63:function(t,e,i){"use strict";i("aba8"),i("99eb")},ded2:function(t,e,i){"use strict";var n=i("3999");function a(t){var e=[];n.each(t.series,function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,n.defaults(t,t.mapLocation))})}t.exports=a},df36:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=i("35c7"),o=i("b04a"),s=o.formatTime,l=o.encodeHTML,c=o.addCommas,u=o.getTooltipMarker,h=i("f63f"),d=i("0290"),p=i("31f5"),f=i("75c9"),g=i("1073"),m=g.getLayoutParams,v=g.mergeLayoutParam,y=i("0744"),x=y.createTask,_=i("fae5"),b=_.prepareSource,w=_.getSource,S=i("9336"),M=S.retrieveRawValue,T=h.makeInner(),A=d.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",layoutMode:null,init:function(t,e,i,n){this.seriesIndex=this.componentIndex,this.dataTask=x({count:D,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),b(this);var a=this.getInitialData(t,i);P(a,this),this.dataTask.context.data=a,T(this).dataBeforeProcessed=a,I(this)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,n=i?m(t):{},r=this.subType;d.hasClass(r)&&(r+="Series"),a.merge(t,e.getTheme().get(this.subType)),a.merge(t,this.getDefaultOption()),h.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&v(t,n,i)},mergeOption:function(t,e){t=a.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&v(this.option,t,i),b(this);var n=this.getInitialData(t,e);P(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,T(this).dataBeforeProcessed=n,I(this)},fillDataTextStyle:function(t){if(t&&!a.isTypedArray(t))for(var e=["show"],i=0;i<t.length;i++)t[i]&&t[i].label&&h.defaultEmphasis(t[i],"label",e)},getInitialData:function(){},appendData:function(t){var e=this.getRawData();e.appendData(t.data)},getData:function(t){var e=E(this);if(e){var i=e.context.data;return null==t?i:i.getLinkedData(t)}return T(this).data},setData:function(t){var e=E(this);if(e){var i=e.context;i.data!==t&&e.modifyOutputEnd&&e.setOutputEnd(t.count()),i.outputData=t,e!==this.dataTask&&(i.data=t)}T(this).data=t},getSource:function(){return w(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,i,n){var r=this;n=n||"html";var o="html"===n?"<br/>":"\n",d="richText"===n,p={},f=0;function g(i){var o=a.reduce(i,function(t,e,i){var n=v.getDimensionInfo(i);return t|(n&&!1!==n.tooltip&&null!=n.displayName)},0),h=[];function g(t,i){var a=v.getDimensionInfo(i);if(a&&!1!==a.otherDims.tooltip){var g=a.type,m="sub"+r.seriesIndex+"at"+f,y=u({color:w,type:"subItem",renderMode:n,markerId:m}),x="string"===typeof y?y:y.content,_=(o?x+l(a.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):c(t));_&&h.push(_),d&&(p[m]=w,++f)}}y.length?a.each(y,function(e){g(M(v,t,e),e)}):a.each(i,g);var m=o?d?"\n":"<br/>":"",x=m+h.join(m||", ");return{renderMode:n,content:x,style:p}}function m(t){return{renderMode:n,content:l(c(t)),style:p}}var v=this.getData(),y=v.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(t),b=a.isArray(_),w=v.getItemVisual(t,"color");a.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?g(_):m(x?M(v,t,y[0]):b?_[0]:_),T=S.content,A=r.seriesIndex+"at"+f,I=u({color:w,type:"item",renderMode:n,markerId:A});p[A]=w,++f;var C=v.getName(t),D=this.name;h.isNameSpecified(this)||(D=""),D=D?l(D)+(e?": ":o):"";var L="string"===typeof I?I:I.content,k=e?L+D+T:D+L+(C?l(C)+": "+T:T);return{html:k,markers:p}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var n=this.ecModel,a=p.getColorFromPalette.call(this,t,e,i);return a||(a=n.getColorFromPalette(t,e,i)),a},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function I(t){var e=t.name;h.isNameSpecified(t)||(t.name=C(t)||e)}function C(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),n=[];return a.each(i,function(t){var i=e.getDimensionInfo(t);i.displayName&&n.push(i.displayName)}),n.join(" ")}function D(t){return t.model.getRawData().count()}function L(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),k}function k(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function P(t,e){a.each(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,a.curry(R,e))})}function R(t){var e=E(t);e&&e.setOutputEnd(this.count())}function E(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var a=n.agentStubMap;a&&(n=a.get(t.uid))}return n}}a.mixin(A,f),a.mixin(A,p);var O=A;t.exports=O},e033:function(t,e,i){"use strict";var n=i("df36"),a=i("0565"),r=i("3999"),o=i("b04a"),s=o.encodeHTML,l=n.extend({type:"series.radar",dependencies:["radar"],init:function(t){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t,e){return a(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t){var e=this.getData(),i=this.coordinateSystem,n=i.getIndicatorAxes(),a=this.getData().getName(t);return s(""===a?this.name:a)+"<br/>"+r.map(n,function(i,n){var a=e.get(e.mapDimension(i.dim),t);return s(i.name+" : "+a)}).join("<br />")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),c=l;t.exports=c},e249:function(t,e,i){"use strict";i("aba8"),i("c0dc")},e266:function(t,e,i){"use strict";function n(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,n,a){var r=t.getData(),o=t.get("symbol")||e,s=t.get("symbolSize"),l=t.get("symbolKeepAspect");if(r.setVisual({legendSymbol:i||o,symbol:o,symbolSize:s,symbolKeepAspect:l}),!n.isSeriesFiltered(t)){var c="function"===typeof s;return{dataEach:r.hasItemOption||c?u:null}}function u(e,i){if("function"===typeof s){var n=t.getRawValue(i),a=t.getDataParams(i);e.setItemVisual(i,"symbolSize",s(n,a))}if(e.hasItemOption){var r=e.getItemModel(i),o=r.getShallow("symbol",!0),l=r.getShallow("symbolSize",!0),c=r.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(i,"symbol",o),null!=l&&e.setItemVisual(i,"symbolSize",l),null!=c&&e.setItemVisual(i,"symbolKeepAspect",c)}}}}}t.exports=n},e287:function(t,e,i){"use strict";var n=i("1073"),a=i("3999"),r=i("f63f"),o=r.groupData,s=i("c3a9");s.__DEV__;function l(t,e,i){t.eachSeriesByType("sankey",function(t){var i=t.get("nodeWidth"),n=t.get("nodeGap"),r=c(t,e);t.layoutInfo=r;var o=r.width,s=r.height,l=t.getGraph(),d=l.nodes,p=l.edges;h(d);var f=a.filter(d,function(t){return 0===t.getLayout().value}),g=0!==f.length?0:t.get("layoutIterations"),m=t.get("orient");u(d,p,i,n,o,s,g,m)})}function c(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u(t,e,i,n,a,r,o,s){d(t,e,i,a,r,s),g(t,e,r,a,n,o,s),A(t,s)}function h(t){a.each(t,function(t){var e=M(t.outEdges,S),i=M(t.inEdges,S),n=Math.max(e,i);t.setLayout({value:n},!0)})}function d(t,e,i,n,a,r){for(var o=[],s=[],l=[],c=[],u=0,h=0,d=0;d<e.length;d++)o[d]=1;for(d=0;d<t.length;d++)s[d]=t[d].inEdges.length,0===s[d]&&l.push(t[d]);while(l.length){for(var g=0;g<l.length;g++){var m=l[g];"vertical"===r?(m.setLayout({y:u},!0),m.setLayout({dy:i},!0)):(m.setLayout({x:u},!0),m.setLayout({dx:i},!0));for(var v=0;v<m.outEdges.length;v++){var y=m.outEdges[v],x=e.indexOf(y);o[x]=0;var _=y.node2,b=t.indexOf(_);0===--s[b]&&c.push(_)}}++u,l=c,c=[]}for(d=0;d<o.length;d++);p(t,u,r),h="vertical"===r?(a-i)/(u-1):(n-i)/(u-1),f(t,h,r)}function p(t,e,i){a.each(t,function(t){t.outEdges.length||("vertical"===i?t.setLayout({y:e-1},!0):t.setLayout({x:e-1},!0))})}function f(t,e,i){a.each(t,function(t){if("vertical"===i){var n=t.getLayout().y*e;t.setLayout({y:n},!0)}else{var a=t.getLayout().x*e;t.setLayout({x:a},!0)}})}function g(t,e,i,n,a,r,o){var s=m(t,o);v(t,s,e,i,n,a,o),y(s,a,i,n,o);for(var l=1;r>0;r--)l*=.99,x(s,l,o),y(s,a,i,n,o),T(s,l,o),y(s,a,i,n,o)}function m(t,e){var i=[],n="vertical"===e?"y":"x",r=o(t,function(t){return t.getLayout()[n]});return r.keys.sort(function(t,e){return t-e}),a.each(r.keys,function(t){i.push(r.buckets.get(t))}),i}function v(t,e,i,n,r,o,s){var l=[];a.each(e,function(t){var e=t.length,i=0,c=0;a.each(t,function(t){i+=t.getLayout().value}),c="vertical"===s?(r-(e-1)*o)/i:(n-(e-1)*o)/i,l.push(c)}),l.sort(function(t,e){return t-e});var c=l[0];a.each(e,function(t){a.each(t,function(t,e){var i=t.getLayout().value*c;"vertical"===s?(t.setLayout({x:e},!0),t.setLayout({dx:i},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:i},!0))})}),a.each(i,function(t){var e=+t.getValue()*c;t.setLayout({dy:e},!0)})}function y(t,e,i,n,r){a.each(t,function(t){var a,o,s,l=0,c=t.length;if("vertical"===r){var u;for(t.sort(function(t,e){return t.getLayout().x-e.getLayout().x}),s=0;s<c;s++)a=t[s],o=l-a.getLayout().x,o>0&&(u=a.getLayout().x+o,a.setLayout({x:u},!0)),l=a.getLayout().x+a.getLayout().dx+e;if(o=l-e-n,o>0)for(u=a.getLayout().x-o,a.setLayout({x:u},!0),l=u,s=c-2;s>=0;--s)a=t[s],o=a.getLayout().x+a.getLayout().dx+e-l,o>0&&(u=a.getLayout().x-o,a.setLayout({x:u},!0)),l=a.getLayout().x}else{var h;for(t.sort(function(t,e){return t.getLayout().y-e.getLayout().y}),s=0;s<c;s++)a=t[s],o=l-a.getLayout().y,o>0&&(h=a.getLayout().y+o,a.setLayout({y:h},!0)),l=a.getLayout().y+a.getLayout().dy+e;if(o=l-e-i,o>0)for(h=a.getLayout().y-o,a.setLayout({y:h},!0),l=h,s=c-2;s>=0;--s)a=t[s],o=a.getLayout().y+a.getLayout().dy+e-l,o>0&&(h=a.getLayout().y-o,a.setLayout({y:h},!0)),l=a.getLayout().y}})}function x(t,e,i){a.each(t.slice().reverse(),function(t){a.each(t,function(t){if(t.outEdges.length){var n=M(t.outEdges,_,i)/M(t.outEdges,S,i);if("vertical"===i){var a=t.getLayout().x+(n-w(t,i))*e;t.setLayout({x:a},!0)}else{var r=t.getLayout().y+(n-w(t,i))*e;t.setLayout({y:r},!0)}}})})}function _(t,e){return w(t.node2,e)*t.getValue()}function b(t,e){return w(t.node1,e)*t.getValue()}function w(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function S(t){return t.getValue()}function M(t,e,i){var n=0,a=t.length,r=-1;while(++r<a){var o=+e.call(t,t[r],i);isNaN(o)||(n+=o)}return n}function T(t,e,i){a.each(t,function(t){a.each(t,function(t){if(t.inEdges.length){var n=M(t.inEdges,b,i)/M(t.inEdges,S,i);if("vertical"===i){var a=t.getLayout().x+(n-w(t,i))*e;t.setLayout({x:a},!0)}else{var r=t.getLayout().y+(n-w(t,i))*e;t.setLayout({y:r},!0)}}})})}function A(t,e){a.each(t,function(t){"vertical"===e?(t.outEdges.sort(function(t,e){return t.node2.getLayout().x-e.node2.getLayout().x}),t.inEdges.sort(function(t,e){return t.node1.getLayout().x-e.node1.getLayout().x})):(t.outEdges.sort(function(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}),t.inEdges.sort(function(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}))}),a.each(t,function(t){var e=0,i=0;a.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),a.each(t.inEdges,function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy})})}t.exports=l},e2f8:function(t,e,i){"use strict";var n=i("3999"),a=i("df36"),r=i("ec6c"),o=i("1c56"),s=i("b04a"),l=s.encodeHTML,c=s.addCommas,u=i("efc7"),h=u.wrapTreePathInfo,d=a.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(t,e){var i={name:t.name,children:t.data};p(i);var n=t.levels||[];n=t.levels=f(n,e);var a={};return a.levels=n,r.createTree(i,this,a).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),i=this.getRawValue(t),a=n.isArray(i)?c(i[0]):c(i),r=e.getName(t);return l(r+": "+a)},getDataParams:function(t){var e=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=h(i,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},n.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=n.createHashMap(),this._idIndexMapCount=0);var i=e.get(t);return null==i&&e.set(t,i=this._idIndexMapCount++),i},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});function p(t){var e=0;n.each(t.children,function(t){p(t);var i=t.value;n.isArray(i)&&(i=i[0]),e+=i});var i=t.value;n.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),n.isArray(t.value)?t.value[0]=i:t.value=i}function f(t,e){var i=e.get("color");if(i){var a;if(t=t||[],n.each(t,function(t){var e=new o(t),i=e.get("color");(e.get("itemStyle.color")||i&&"none"!==i)&&(a=!0)}),!a){var r=t[0]||(t[0]={});r.color=i.slice()}return t}}t.exports=d},e321:function(t,e,i){"use strict";var n=i("1637"),a=i("75e6"),r=n.applyTransform,o=Math.min,s=Math.max;function l(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}l.prototype={constructor:l,union:function(t){var e=o(t.x,this.x),i=o(t.y,this.y);this.width=s(t.x+t.width,this.x+this.width)-e,this.height=s(t.y+t.height,this.y+this.height)-i,this.x=e,this.y=i},applyTransform:function(){var t=[],e=[],i=[],n=[];return function(a){if(a){t[0]=i[0]=this.x,t[1]=n[1]=this.y,e[0]=n[0]=this.x+this.width,e[1]=i[1]=this.y+this.height,r(t,t,a),r(e,e,a),r(i,i,a),r(n,n,a),this.x=o(t[0],e[0],i[0],n[0]),this.y=o(t[1],e[1],i[1],n[1]);var l=s(t[0],e[0],i[0],n[0]),c=s(t[1],e[1],i[1],n[1]);this.width=l-this.x,this.height=c-this.y}}}(),calculateTransform:function(t){var e=this,i=t.width/e.width,n=t.height/e.height,r=a.create();return a.translate(r,r,[-e.x,-e.y]),a.scale(r,r,[i,n]),a.translate(r,r,[t.x,t.y]),r},intersect:function(t){if(!t)return!1;t instanceof l||(t=l.create(t));var e=this,i=e.x,n=e.x+e.width,a=e.y,r=e.y+e.height,o=t.x,s=t.x+t.width,c=t.y,u=t.y+t.height;return!(n<o||s<i||r<c||u<a)},contain:function(t,e){var i=this;return t>=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var c=l;t.exports=c},e4bc:function(t,e,i){"use strict";var n=i("ac5f");(function(){for(var t in n){if(null==n||!n.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=n[t]}})();var a=i("6e0f");(function(){for(var t in a){if(null==a||!a.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=a[t]}})(),i("63e1"),i("727c"),i("9f72"),i("1ae6"),i("bae9"),i("7e47"),i("b6f5"),i("54e3"),i("4499"),i("cbdb"),i("155a"),i("ea2e"),i("2e8c"),i("ed09"),i("584e"),i("fc04"),i("7a4b"),i("f230"),i("55e7"),i("a266"),i("bcd3"),i("a8f2"),i("cc87"),i("7189"),i("a7e3"),i("3af3"),i("63a1"),i("2b78"),i("08ab"),i("5606"),i("33ef"),i("37a0"),i("bdfe"),i("2b80"),i("b576"),i("a7cb"),i("f567"),i("5687"),i("ee75d"),i("76ec"),i("f97c"),i("b6d8"),i("ce8d"),i("ea0a")},e4c5:function(t,e,i){"use strict";var n=i("3999"),a=i("eb1a"),r=i("08fd"),o=i("d4d0"),s=i("1c56"),l=i("1073");l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var c=i("b0c1"),u=c.enableDataStack,h=c.isDimensionStacked,d=c.getStackedDimension,p=i("f6b0");e.completeDimensions=p;var f=i("53ec");e.createDimensions=f;var g=i("2008");function m(t){return a(t.getSource(),t)}e.createSymbol=g.createSymbol;var v={isDimensionStacked:h,enableDataStack:u,getStackedDimension:d};function y(t,e){var i=e;s.isInstance(e)||(i=new s(e),n.mixin(i,o));var a=r.createScaleByModel(i);return a.setExtent(t[0],t[1]),r.niceScaleExtent(a,i),a}function x(t){n.mixin(t,o)}e.createList=m,e.dataStack=v,e.createScale=y,e.mixinAxisModelCommonMethods=x},e4f2:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("eb1a")),r=i("df36"),o=r.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return a(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=o},e575:function(t,e,i){"use strict";var n=i("6ad5"),a={seriesType:"lines",plan:n(),reset:function(t){var e=t.coordinateSystem,i=t.get("polyline"),n=t.pipelineContext.large;function a(a,r){var o=[];if(n){var s,l=a.end-a.start;if(i){for(var c=0,u=a.start;u<a.end;u++)c+=t.getLineCoordsCount(u);s=new Float32Array(l+2*c)}else s=new Float32Array(4*l);var h=0,d=[];for(u=a.start;u<a.end;u++){var p=t.getLineCoords(u,o);i&&(s[h++]=p);for(var f=0;f<p;f++)d=e.dataToPoint(o[f],!1,d),s[h++]=d[0],s[h++]=d[1]}r.setLayout("linesPoints",s)}else for(u=a.start;u<a.end;u++){var g=r.getItemModel(u),m=(p=t.getLineCoords(u,o),[]);if(i)for(var v=0;v<p;v++)m.push(e.dataToPoint(o[v]));else{m[0]=e.dataToPoint(o[0]),m[1]=e.dataToPoint(o[1]);var y=g.get("lineStyle.curveness");+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}r.setItemLayout(u,m)}}return{progress:a}}};t.exports=a},e588:function(t,e,i){"use strict";var n=i("ac5f"),a=i("29e9"),r=n.extendComponentView({type:"axisPointer",render:function(t,e,i){var n=e.getComponent("tooltip"),r=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";a.register("axisPointer",i,function(t,e,i){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){a.unregister(e.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(t,e){a.unregister("axisPointer",e),r.superApply(this._model,"dispose",arguments)}}),o=r;t.exports=o},e62e:function(t,e,i){"use strict";var n=i("3999"),a={};function r(){this._coordinateSystems=[]}r.prototype={constructor:r,create:function(t,e){var i=[];n.each(a,function(n,a){var r=n.create(t,e);i=i.concat(r||[])}),this._coordinateSystems=i},update:function(t,e){n.each(this._coordinateSystems,function(i){i.update&&i.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},r.register=function(t,e){a[t]=e},r.get=function(t){return a[t]};var o=r;t.exports=o},e689:function(t,e,i){"use strict";var n=i("3999"),a=n.retrieve,r=n.defaults,o=n.extend,s=n.each,l=i("b04a"),c=i("bc9d"),u=i("1c56"),h=i("8a7d"),d=h.isRadianAroundZero,p=h.remRadian,f=i("2008"),g=f.createSymbol,m=i("75e6"),v=i("1637"),y=v.applyTransform,x=i("08fd"),_=x.shouldShowAllLabels,b=Math.PI;function w(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e}var S=function(t,e){this.opt=e,this.axisModel=t,r(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var i=new c.Group({position:e.position.slice(),rotation:e.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};S.prototype={constructor:S,hasBuilder:function(t){return!!M[t]},add:function(t){M[t].call(this)},getGroup:function(){return this.group}};var M={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),n=this._transform,a=[i[0],0],r=[i[1],0];n&&(y(a,a,n),y(r,r,n));var l=o({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line(c.subPixelOptimizeLine({anid:"line",shape:{x1:a[0],y1:a[1],x2:r[0],y2:r[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1})));var u=e.get("axisLine.symbol"),h=e.get("axisLine.symbolSize"),d=e.get("axisLine.symbolOffset")||0;if("number"===typeof d&&(d=[d,d]),null!=u){"string"===typeof u&&(u=[u,u]),"string"!==typeof h&&"number"!==typeof h||(h=[h,h]);var p=h[0],f=h[1];s([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((a[0]-r[0])*(a[0]-r[0])+(a[1]-r[1])*(a[1]-r[1]))}],function(e,i){if("none"!==u[i]&&null!=u[i]){var n=g(u[i],-p/2,-f/2,p,f,l.stroke,!0),r=e.r+e.offset,o=[a[0]+r*Math.cos(t.rotation),a[1]-r*Math.sin(t.rotation)];n.attr({rotation:e.rotate,position:o,silent:!0,z2:11}),this.group.add(n)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,i=P(this,t,e),n=R(this,t,e);C(t,n,i)},axisName:function(){var t=this.opt,e=this.axisModel,i=a(t.axisName,e.get("name"));if(i){var n,r,s=e.get("nameLocation"),u=t.nameDirection,h=e.getModel("nameTextStyle"),d=e.get("nameGap")||0,p=this.axisModel.axis.getExtent(),f=p[0]>p[1]?-1:1,g=["start"===s?p[0]-f*d:"end"===s?p[1]+f*d:(p[0]+p[1])/2,k(s)?t.labelOffset+u*d:0],m=e.get("nameRotate");null!=m&&(m=m*b/180),k(s)?n=T(t.rotation,null!=m?m:t.rotation,u):(n=A(t,s,m||0,p),r=t.axisNameAvailableWidth,null!=r&&(r=Math.abs(r/Math.sin(n.rotation)),!isFinite(r)&&(r=null)));var v=h.getFont(),y=e.get("nameTruncate",!0)||{},x=y.ellipsis,_=a(t.nameTruncateMaxWidth,y.maxWidth,r),S=null!=x&&null!=_?l.truncateText(i,_,v,x,{minChar:2,placeholder:y.placeholder}):i,M=e.get("tooltip",!0),C=e.mainType,D={componentType:C,name:i,$vars:["name"]};D[C+"Index"]=e.componentIndex;var L=new c.Text({anid:"name",__fullText:i,__truncatedText:S,position:g,rotation:n.rotation,silent:I(e),z2:1,tooltip:M&&M.show?o({content:i,formatter:function(){return i},formatterParams:D},M):null});c.setTextStyle(L.style,h,{text:S,textFont:v,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:n.textAlign,textVerticalAlign:n.textVerticalAlign}),e.get("triggerEvent")&&(L.eventData=w(e),L.eventData.targetType="axisName",L.eventData.name=i),this._dumbGroup.add(L),L.updateTransform(),this.group.add(L),L.decomposeTransform()}}},T=S.innerTextLayout=function(t,e,i){var n,a,r=p(e-t);return d(r)?(a=i>0?"top":"bottom",n="center"):d(r-b)?(a=i>0?"bottom":"top",n="center"):(a="middle",n=r>0&&r<b?i>0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:n,textVerticalAlign:a}};function A(t,e,i,n){var a,r,o=p(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return d(o-b/2)?(r=l?"bottom":"top",a="center"):d(o-1.5*b)?(r=l?"top":"bottom",a="center"):(r="middle",a=o<1.5*b&&o>b/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:a,textVerticalAlign:r}}function I(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}function C(t,e,i){if(!_(t.axis)){var n=t.get("axisLabel.showMinLabel"),a=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var r=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],c=i[0],u=i[1],h=i[i.length-1],d=i[i.length-2];!1===n?(D(r),D(c)):L(r,o)&&(n?(D(o),D(u)):(D(r),D(c))),!1===a?(D(s),D(h)):L(l,s)&&(a?(D(l),D(d)):(D(s),D(h)))}}function D(t){t&&(t.ignore=!0)}function L(t,e,i){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var r=m.identity([]);return m.rotate(r,r,-t.rotation),n.applyTransform(m.mul([],r,t.getLocalTransform())),a.applyTransform(m.mul([],r,e.getLocalTransform())),n.intersect(a)}}function k(t){return"middle"===t||"center"===t}function P(t,e,i){var n=e.axis;if(e.get("axisTick.show")&&!n.scale.isBlank()){for(var a=e.getModel("axisTick"),o=a.getModel("lineStyle"),s=a.get("length"),l=n.getTicksCoords(),u=[],h=[],d=t._transform,p=[],f=0;f<l.length;f++){var g=l[f].coord;u[0]=g,u[1]=0,h[0]=g,h[1]=i.tickDirection*s,d&&(y(u,u,d),y(h,h,d));var m=new c.Line(c.subPixelOptimizeLine({anid:"tick_"+l[f].tickValue,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:r(o.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0}));t.group.add(m),p.push(m)}return p}}function R(t,e,i){var n=e.axis,r=a(i.axisLabelShow,e.get("axisLabel.show"));if(r&&!n.scale.isBlank()){var o=e.getModel("axisLabel"),l=o.get("margin"),h=n.getViewLabels(),d=(a(i.labelRotate,o.get("rotate"))||0)*b/180,p=T(i.rotation,d,i.labelDirection),f=e.getCategories(!0),g=[],m=I(e),v=e.get("triggerEvent");return s(h,function(a,r){var s=a.tickValue,h=a.formattedLabel,d=a.rawLabel,y=o;f&&f[s]&&f[s].textStyle&&(y=new u(f[s].textStyle,o,e.ecModel));var x=y.getTextColor()||e.get("axisLine.lineStyle.color"),_=n.dataToCoord(s),b=[_,i.labelOffset+i.labelDirection*l],S=new c.Text({anid:"label_"+s,position:b,rotation:p.rotation,silent:m,z2:10});c.setTextStyle(S.style,y,{text:h,textAlign:y.getShallow("align",!0)||p.textAlign,textVerticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||p.textVerticalAlign,textFill:"function"===typeof x?x("category"===n.type?d:"value"===n.type?s+"":s,r):x}),v&&(S.eventData=w(e),S.eventData.targetType="axisLabel",S.eventData.value=d),t._dumbGroup.add(S),S.updateTransform(),g.push(S),t.group.add(S),S.decomposeTransform()}),g}}var E=S;t.exports=E},e8bb:function(t,e,i){"use strict";var n=i("6939");t.exports=n},e97a:function(t,e,i){"use strict";var n=i("890a"),a=i("c1ef"),r=i("3999"),o=r.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(t,e,i,n){var a=t.getData().tree,o=a.root,l=t.getModel(s);if(!o.isRemoved()){var u=r.map(a.levelModels,function(t){return t?t.get(s):null});c(o,{},u,l,t.getViewRoot().getAncestors(),t)}}};function c(t,e,i,n,a,o){var l=t.getModel(),p=t.getLayout();if(p&&!p.invisible&&p.isInView){var g,v=t.getModel(s),y=i[t.depth],x=u(v,e,y,n),_=v.get("borderColor"),b=v.get("borderColorSaturation");null!=b&&(g=h(x,t),_=d(b,g)),t.setVisual("borderColor",_);var w=t.viewChildren;if(w&&w.length){var S=f(t,l,p,v,x,w);r.each(w,function(t,e){if(t.depth>=a.length||t===a[t.depth]){var r=m(l,x,t,e,S,o);c(t,r,i,n,a,o)}})}else g=h(x,t),t.setVisual("color",g)}}function u(t,e,i,n){var a=r.extend({},e);return r.each(["color","colorAlpha","colorSaturation"],function(r){var o=t.get(r,!0);null==o&&i&&(o=i[r]),null==o&&(o=e[r]),null==o&&(o=n.get(r)),null!=o&&(a[r]=o)}),a}function h(t){var e=p(t,"color");if(e){var i=p(t,"colorAlpha"),n=p(t,"colorSaturation");return n&&(e=a.modifyHSL(e,null,null,n)),i&&(e=a.modifyAlpha(e,i)),e}}function d(t,e){return null!=e?a.modifyHSL(e,null,null,t):null}function p(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function f(t,e,i,a,r,o){if(o&&o.length){var s=g(e,"color")||null!=r.color&&"none"!==r.color&&(g(e,"colorAlpha")||g(e,"colorSaturation"));if(s){var l=e.get("visualMin"),c=e.get("visualMax"),u=i.dataExtent.slice();null!=l&&l<u[0]&&(u[0]=l),null!=c&&c>u[1]&&(u[1]=c);var h=e.get("colorMappingBy"),d={type:s.name,dataExtent:u,visual:s.range};"color"!==d.type||"index"!==h&&"id"!==h?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var p=new n(d);return p.__drColorMappingBy=h,p}}}function g(t,e){var i=t.get(e);return o(i)&&i.length?{name:e,range:i}:null}function m(t,e,i,n,a,o){var s=r.extend({},e);if(a){var l=a.type,c="color"===l&&a.__drColorMappingBy,u="index"===c?n:"id"===c?o.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(u)}return s}t.exports=l},ea0a:function(t,e,i){"use strict";i("c495");var n=i("b9f9"),a=n.registerPainter,r=i("dbc1");a("svg",r)},ea2e:function(t,e,i){"use strict";var n=i("ac5f");i("4048"),i("44ed");var a=i("bb2c"),r=i("2daa"),o=i("8224");n.registerVisual(a("funnel")),n.registerLayout(r),n.registerProcessor(o("funnel"))},ea34:function(t,e,i){"use strict";var n=i("3999"),a=n.map,r=i("6ad5"),o=i("b0c1"),s=o.isDimensionStacked;function l(t){return{seriesType:t,plan:r(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,n=t.pipelineContext,r=n.large;if(i){var o=a(i.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),l=o.length,c=e.getCalculationInfo("stackResultDimension");return s(e,o[0])&&(o[0]=c),s(e,o[1])&&(o[1]=c),l&&{progress:u}}function u(t,e){for(var n=t.end-t.start,a=r&&new Float32Array(n*l),s=t.start,c=0,u=[],h=[];s<t.end;s++){var d;if(1===l){var p=e.get(o[0],s);d=!isNaN(p)&&i.dataToPoint(p,null,h)}else{p=u[0]=e.get(o[0],s);var f=u[1]=e.get(o[1],s);d=!isNaN(p)&&!isNaN(f)&&i.dataToPoint(u,null,h)}r?(a[c++]=d?d[0]:NaN,a[c++]=d?d[1]:NaN):e.setItemLayout(s,d&&d.slice()||[NaN,NaN])}r&&e.setLayout("symbolPoints",a)}}}}t.exports=l},eb1a:function(t,e,i){"use strict";var n=i("3999"),a=i("c14b"),r=i("53ec"),o=i("8fe7"),s=o.SOURCE_FORMAT_ORIGINAL,l=i("6b4e"),c=l.getDimensionTypeByAxis,u=i("f63f"),h=u.getDataItemValue,d=i("e62e"),p=i("ba0b"),f=p.getCoordSysDefineBySeries,g=i("57c2"),m=i("b0c1"),v=m.enableDataStack;function y(t,e,i){i=i||{},g.isInstance(t)||(t=g.seriesDataToSource(t));var o,s=e.get("coordinateSystem"),l=d.get(s),u=f(e);u&&(o=n.map(u.coordSysDims,function(t){var e={name:t},i=u.axisMap.get(t);if(i){var n=i.get("type");e.type=c(n)}return e})),o||(o=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,p,m=r(t,{coordDimensions:o,generateCoord:i.generateCoord});u&&n.each(m,function(t,e){var i=t.coordDim,n=u.categoryAxisMap.get(i);n&&(null==h&&(h=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(p=!0)}),p||null==h||(m[h].otherDims.itemName=0);var y=v(e,m),_=new a(m,e);_.setCalculationInfo(y);var b=null!=h&&x(t)?function(t,e,i,n){return n===h?i:this.defaultDimValueGetter(t,e,i,n)}:null;return _.hasItemOption=!1,_.initData(t,null,b),_}function x(t){if(t.sourceFormat===s){var e=_(t.data||[]);return null!=e&&!n.isArray(h(e))}}function _(t){var e=0;while(e<t.length&&null==t[e])e++;return t[e]}var b=y;t.exports=b},ebfa:function(t,e,i){"use strict";var n=i("3999"),a=i("3a51");function r(t){a.call(this,t)}r.prototype={constructor:r,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,i){var n=this.getAxis("x"),a=this.getAxis("y");return i=i||[],i[0]=n.toGlobalCoord(n.dataToCoord(t[0])),i[1]=a.toGlobalCoord(a.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,a=i.getExtent(),r=n.getExtent(),o=i.parse(t[0]),s=n.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(a[0],a[1]),o),Math.max(a[0],a[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),e},pointToData:function(t,e){var i=this.getAxis("x"),n=this.getAxis("y");return e=e||[],e[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=n.coordToData(n.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")}},n.inherits(r,a);var o=r;t.exports=o},ec3f:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("e689"),o=i("9256"),s=i("db71"),l=i("bc9d"),c=["axisLine","axisTickLabel","axisName"],u=n.extendComponentView({type:"parallelAxis",init:function(t,e){u.superApply(this,"init",arguments),(this._brushController=new o(e.getZr())).on("brush",a.bind(this._onBrush,this))},render:function(t,e,i,n){if(!h(t,e,n)){this.axisModel=t,this.api=i,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")){var s=p(t,e),u=s.coordinateSystem,d=t.getAreaSelectStyle(),f=d.width,g=t.axis.dim,m=u.getAxisLayout(g),v=a.extend({strokeContainThreshold:f},m),y=new r(t,v);a.each(c,y.add,y),this._axisGroup.add(y.getGroup()),this._refreshBrushController(v,d,t,s,f,i);var x=n&&!1===n.animation?null:t;l.groupTransition(o,this._axisGroup,x)}}},_refreshBrushController:function(t,e,i,n,a,r){var o=i.axis.getExtent(),c=o[1]-o[0],u=Math.min(30,.1*Math.abs(c)),h=l.BoundingRect.create({x:o[0],y:-a/2,width:c,height:a});h.x-=u,h.width+=2*u,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(h),isTargetByCursor:s.makeRectIsTargetByCursor(h,r,n),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(d(i))},_onBrush:function(t,e){var i=this.axisModel,n=i.axis,r=a.map(t,function(t){return[n.coordToData(t.range[0],!0),n.coordToData(t.range[1],!0)]});(!i.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:r})},dispose:function(){this._brushController.dispose()}});function h(t,e,i){return i&&"axisAreaSelect"===i.type&&e.findComponents({mainType:"parallelAxis",query:i})[0]===t}function d(t){var e=t.axis;return a.map(t.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}function p(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var f=u;t.exports=f},ec4b:function(t,e,i){"use strict";var n=i("3999"),a=n.each,r=i("fc70"),o=i("f63f"),s=o.makeInner,l=i("1cf8"),c=i("9615"),u=i("2c82"),h=i("08a4"),d=s(),p={load:function(t,e){var i=d(e).parsed;if(i)return i;var n,o=e.specialAreas||{},s=e.geoJSON;try{n=s?r(s):[]}catch(p){throw new Error("Invalid geoJson format\n"+p.message)}return a(n,function(e){var i=e.name;c(t,e),u(t,e),h(t,e);var n=o[i];n&&e.transformTo(n.left,n.top,n.width,n.height)}),l(t,n),d(e).parsed={regions:n,boundingRect:f(n)}}};function f(t){for(var e,i=0;i<t.length;i++){var n=t[i].getBoundingRect();e=e||n.clone(),e.union(n)}return e}t.exports=p},ec4f:function(t,e,i){"use strict";var n=i("0290");n.registerSubTypeDefaulter("timeline",function(){return"slider"})},ec6c:function(t,e,i){"use strict";var n=i("3999"),a=i("1c56"),r=i("25cc"),o=i("c14b"),s=i("53ec"),l=function(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};function c(t,e,i){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=n.map(e||[],function(e){return new a(e,t,t.ecModel)}),this.leavesModel=new a(i||{},t,t.ecModel)}function u(t,e){var i=e.children;t.parentNode!==e&&(i.push(t),t.parentNode=e)}l.prototype={constructor:l,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,i){"function"===typeof t&&(i=e,e=t,t=null),t=t||{},n.isString(t)&&(t={order:t});var a,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(a=e.call(i,this));for(var s=0;!a&&s<o.length;s++)o[s].eachNode(t,e,i);"postorder"===r&&e.call(i,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(t+1),n.height>e&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e<n;e++){var a=i[e].getNodeById(t);if(a)return a}},contains:function(t){if(t===this)return!0;for(var e=0,i=this.children,n=i.length;e<n;e++){var a=i[e].contains(t);if(a)return a}},getAncestors:function(t){var e=[],i=t?this:this.parentNode;while(i)e.push(i),i=i.parentNode;return e.reverse(),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,i=this.hostTree,n=i.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),n.getModel(t,(a||e||i.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},c.prototype={constructor:c,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,i=0,n=e.length;i<n;i++)e[i].dataIndex=-1;for(i=0,n=t.count();i<n;i++)e[t.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},c.createTree=function(t,e,i){var a=new c(e,i.levels,i.leaves),h=[],d=1;function p(t,e){var i=t.value;d=Math.max(d,n.isArray(i)?i.length:1),h.push(t);var r=new l(t.name,a);e?u(r,e):a.root=r,a._nodes.push(r);var o=t.children;if(o)for(var s=0;s<o.length;s++)p(o[s],r)}p(t),a.root.updateDepthAndHeight(0);var f=s(h,{coordDimensions:["value"],dimensionsCount:d}),g=new o(f,e);return g.initData(h),r({mainData:g,struct:a,structAttr:"tree"}),a.update(),a};var h=c;t.exports=h},ed09:function(t,e,i){"use strict";var n=i("ac5f");i("68a9"),i("7b37"),i("02e7");var a=i("e287"),r=i("13c4");n.registerLayout(a),n.registerVisual(r)},ee75:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("83b5");n.registerAction("dataZoom",function(t,e){var i=r.createLinkedNodesFinder(a.bind(e.eachComponent,e,"dataZoom"),r.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),n=[];e.eachComponent({mainType:"dataZoom",query:t},function(t,e){n.push.apply(n,i(t).nodes)}),a.each(n,function(e,i){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})},ee75d:function(t,e,i){"use strict";var n=i("ac5f");i("c76f"),i("ab2d"),n.registerPreprocessor(function(t){t.markLine=t.markLine||{}})},efc7:function(t,e,i){"use strict";var n=i("3999");function a(t,e,i){if(t&&n.indexOf(e,t.type)>=0){var a=i.getData().tree.root,r=t.targetNode;if("string"===typeof r&&(r=a.getNodeById(r)),r&&a.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=a.getNodeById(o)))return{node:r}}}function r(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function o(t,e){var i=r(t);return n.indexOf(i,e)>=0}function s(t,e){var i=[];while(t){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}e.retrieveTargetInfo=a,e.getPathToRoot=r,e.aboveViewRoot=o,e.wrapTreePathInfo=s},f0ab:function(t,e,i){"use strict";i("9060");var n=i("0290"),a=n.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=a},f168:function(t,e,i){"use strict";var n=i("1637");function a(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t.getGraph();i.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),r(i)}}function r(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle.curveness")||0,i=n.clone(t.node1.getLayout()),a=n.clone(t.node2.getLayout()),r=[i,a];+e&&r.push([(i[0]+a[0])/2-(i[1]-a[1])*e,(i[1]+a[1])/2-(a[0]-i[0])*e]),t.setLayout(r)})}e.simpleLayout=a,e.simpleLayoutEdge=r},f230:function(t,e,i){"use strict";var n=i("ac5f");i("3e79"),i("03fc");var a=i("e575"),r=i("2c2e");n.registerLayout(a),n.registerVisual(r)},f339:function(t,e,i){"use strict";var n=i("3999"),a=i("8a7d"),r=i("b0c1"),o=r.isDimensionStacked,s=n.indexOf;function l(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function c(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function u(t,e,i,n,r,s){var l=[],c=o(e,n),u=c?e.getCalculationInfo("stackResultDimension"):n,h=y(e,u,t),d=e.indicesOfNearest(u,h)[0];l[r]=e.get(i,d),l[s]=e.get(n,d);var p=a.getPrecision(e.get(n,d));return p=Math.min(p,20),p>=0&&(l[s]=+l[s].toFixed(p)),l}var h=n.curry,d={min:h(u,"min"),max:h(u,"max"),average:h(u,"average")};function p(t,e){var i=t.getData(),a=t.coordinateSystem;if(e&&!c(e)&&!n.isArray(e.coord)&&a){var r=a.dimensions,o=f(e,i,a,t);if(e=n.clone(e),e.type&&d[e.type]&&o.baseAxis&&o.valueAxis){var l=s(r,o.baseAxis.dim),u=s(r,o.valueAxis.dim);e.coord=d[e.type](i,o.baseDataDim,o.valueDataDim,l,u),e.value=e.coord[u]}else{for(var h=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],p=0;p<2;p++)d[h[p]]&&(h[p]=y(i,i.mapDimension(r[p]),h[p]));e.coord=h}}return e}function f(t,e,i,n){var a={};return null!=t.valueIndex||null!=t.valueDim?(a.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,a.valueAxis=i.getAxis(g(n,a.valueDataDim)),a.baseAxis=i.getOtherAxis(a.valueAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim)):(a.baseAxis=n.getBaseAxis(),a.valueAxis=i.getOtherAxis(a.baseAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim),a.valueDataDim=e.mapDimension(a.valueAxis.dim)),a}function g(t,e){var i=t.getData(),n=i.dimensions;e=i.getDimension(e);for(var a=0;a<n.length;a++){var r=i.getDimensionInfo(n[a]);if(r.name===e)return r.coordDim}}function m(t,e){return!(t&&t.containData&&e.coord&&!l(e))||t.containData(e.coord)}function v(t,e,i,n){return n<2?t.coord&&t.coord[n]:t.value}function y(t,e,i){if("average"===i){var n=0,a=0;return t.each(e,function(t,e){isNaN(t)||(n+=t,a++)}),n/a}return"median"===i?t.getMedian(e):t.getDataExtent(e,!0)["max"===i?1:0]}e.dataTransform=p,e.getAxisInfo=f,e.dataFilter=m,e.dimValueGetter=v,e.numCalculate=y},f3b5:function(t,e,i){"use strict";var n=i("c65c"),a=i("1637"),r=a.applyTransform,o=n.CMD,s=[[],[],[]],l=Math.sqrt,c=Math.atan2;function u(t,e){var i,n,a,u,h,d=t.data,p=o.M,f=o.C,g=o.L,m=o.R,v=o.A,y=o.Q;for(a=0,u=0;a<d.length;){switch(i=d[a++],u=a,n=0,i){case p:n=1;break;case g:n=1;break;case f:n=3;break;case y:n=2;break;case v:var x=e[4],_=e[5],b=l(e[0]*e[0]+e[1]*e[1]),w=l(e[2]*e[2]+e[3]*e[3]),S=c(-e[1]/w,e[0]/b);d[a]*=b,d[a++]+=x,d[a]*=w,d[a++]+=_,d[a++]*=b,d[a++]*=w,d[a++]+=S,d[a++]+=S,a+=2,u=a;break;case m:M[0]=d[a++],M[1]=d[a++],r(M,M,e),d[u++]=M[0],d[u++]=M[1],M[0]+=d[a++],M[1]+=d[a++],r(M,M,e),d[u++]=M[0],d[u++]=M[1]}for(h=0;h<n;h++){var M=s[h];M[0]=d[a++],M[1]=d[a++],r(M,M,e),d[u++]=M[0],d[u++]=M[1]}}}t.exports=u},f419:function(t,e,i){"use strict";var n=i("3999"),a=n.each;function r(t){var e=t&&t.visualMap;n.isArray(e)||(e=e?[e]:[]),a(e,function(t){if(t){o(t,"splitList")&&!o(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&n.isArray(e)&&a(e,function(t){n.isObject(t)&&(o(t,"start")&&!o(t,"min")&&(t.min=t.start),o(t,"end")&&!o(t,"max")&&(t.max=t.end))})}})}function o(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=r},f44c:function(t,e,i){"use strict";var n=i("91cd"),a=i("3999"),r=i("ad57"),o=i("c1ef");function s(t,e){n.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}a.inherits(s,n),s.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var i=this;a.each(["fill","stroke"],function(n){if(e.style[n]&&("linear"===e.style[n].type||"radial"===e.style[n].type)){var a,r=e.style[n],o=i.getDefs(!0);r._dom?(a=r._dom,o.contains(r._dom)||i.addDom(a)):a=i.add(r),i.markUsed(e);var s=a.getAttribute("id");t.setAttribute(n,"url(#"+s+")")}})}},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return r("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;n.prototype.update.call(this,t,function(){var i=t.type,n=t._dom.tagName;"linear"===i&&"linearGradient"===n||"radial"===i&&"radialGradient"===n?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))})},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void r("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var i=t.colorStops,n=0,a=i.length;n<a;++n){var s=this.createElement("stop");s.setAttribute("offset",100*i[n].offset+"%");var l=i[n].color;if(l.indexOf(!1)){var c=o.parse(l)[3],u=o.toHex(l);s.setAttribute("stop-color","#"+u),s.setAttribute("stop-opacity",c)}else s.setAttribute("stop-color",i[n].color);e.appendChild(s)}t._dom=e},s.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&n.prototype.markUsed.call(this,e._dom),e=t.style.stroke,e&&e._dom&&n.prototype.markUsed.call(this,e._dom)}};var l=s;t.exports=l},f4a1:function(t,e,i){"use strict";var n=i("3999"),a=i("c8ba"),r=i("9336"),o=r.retrieveRawValue;function s(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var r=0;e.eachSeries(function(t,e){++r},this);var s,l=i.get("data.maxCount")||10,c=i.get("series.maxCount")||10,u=Math.min(r,c);if(!(r<1)){var h=m();s=h?f(g("general.withTitle"),{title:h}):g("general.withoutTitle");var d=[],p=r>1?"series.multiple.prefix":"series.single.prefix";s+=f(g(p),{seriesCount:r}),e.eachSeries(function(t,e){if(e<u){var i,n=t.get("name"),a="series."+(r>1?"multiple":"single")+".";i=g(n?a+"withName":a+"withoutName"),i=f(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:v(t.subType)});var s=t.getData();window.data=s,s.count()>l?i+=f(g("data.partialData"),{displayCnt:l}):i+=g("data.allData");for(var c=[],h=0;h<s.count();h++)if(h<l){var p=s.getName(h),m=o(s,h);c.push(f(g(p?"data.withName":"data.withoutName"),{name:p,value:m}))}i+=c.join(g("data.separator.middle"))+g("data.separator.end"),d.push(i)}}),s+=d.join(g("series.multiple.separator.middle"))+g("series.multiple.separator.end"),t.setAttribute("aria-label",s)}}function f(t,e){if("string"!==typeof t)return t;var i=t;return n.each(e,function(t,e){i=i.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),i}function g(t){var e=i.get(t);if(null==e){for(var n=t.split("."),r=a.aria,o=0;o<n.length;++o)r=r[n[o]];return r}return e}function m(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}function v(t){return a.series.typeNames[t]||"自定义图"}}t.exports=s},f567:function(t,e,i){"use strict";i("ba8a"),i("b0fa")},f608:function(t,e,i){"use strict";var n=i("9d68"),a=n.normalizeRadian,r=2*Math.PI;function o(t,e,i,n,o,s,l,c,u){if(0===l)return!1;var h=l;c-=t,u-=e;var d=Math.sqrt(c*c+u*u);if(d-h>i||d+h<i)return!1;if(Math.abs(n-o)%r<1e-4)return!0;if(s){var p=n;n=a(o),o=a(p)}else n=a(n),o=a(o);n>o&&(o+=r);var f=Math.atan2(u,c);return f<0&&(f+=r),f>=n&&f<=o||f+r>=n&&f+r<=o}e.containStroke=o},f63f:function(t,e,i){"use strict";var n=i("3999"),a=i("35c7"),r=n.each,o=n.isObject,s=n.isArray,l="series\0";function c(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,a=i.length;n<a;n++){var r=i[n];!t.emphasis[e].hasOwnProperty(r)&&t[e].hasOwnProperty(r)&&(t.emphasis[e][r]=t[e][r])}}}var h=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function d(t){return!o(t)||s(t)||t instanceof Date?t:t.value}function p(t){return o(t)&&!(t instanceof Array)}function f(t,e){e=(e||[]).slice();var i=n.map(t||[],function(t,e){return{exist:t}});return r(e,function(t,n){if(o(t)){for(var a=0;a<i.length;a++)if(!i[a].option&&null!=t.id&&i[a].exist.id===t.id+"")return i[a].option=t,void(e[n]=null);for(a=0;a<i.length;a++){var r=i[a].exist;if(!i[a].option&&(null==r.id||null==t.id)&&null!=t.name&&!v(t)&&!v(r)&&r.name===t.name+"")return i[a].option=t,void(e[n]=null)}}}),r(e,function(t,e){if(o(t)){for(var n=0;n<i.length;n++){var a=i[n].exist;if(!i[n].option&&!v(a)&&null==t.id){i[n].option=t;break}}n>=i.length&&i.push({option:t})}}),i}function g(t){var e=n.createHashMap();r(t,function(t,i){var n=t.exist;n&&e.set(n.id,t)}),r(t,function(t,i){var a=t.option;n.assert(!a||null==a.id||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&null!=a.id&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})}),r(t,function(t,i){var n=t.exist,a=t.option,r=t.keyInfo;if(o(a)){if(r.name=null!=a.name?a.name+"":n?n.name:l+i,n)r.id=n.id;else if(null!=a.id)r.id=a.id+"";else{var s=0;do{r.id="\0"+r.name+"\0"+s++}while(e.get(r.id))}e.set(r.id,t)}})}function m(t){var e=t.name;return!(!e||!e.indexOf(l))}function v(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function y(t,e){var i={},n={};return a(t||[],i),a(e||[],n,i),[r(i),r(n)];function a(t,e,i){for(var n=0,a=t.length;n<a;n++)for(var r=t[n].seriesId,o=c(t[n].dataIndex),s=i&&i[r],l=0,u=o.length;l<u;l++){var h=o[l];s&&s[h]?s[h]=null:(e[r]||(e[r]={}))[h]=1}}function r(t,e){var i=[];for(var n in t)if(t.hasOwnProperty(n)&&null!=t[n])if(e)i.push(+n);else{var a=r(t[n],!0);a.length&&i.push({seriesId:n,dataIndex:a})}return i}}function x(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?n.isArray(e.dataIndex)?n.map(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?n.isArray(e.name)?n.map(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function _(){var t="__\0ec_inner_"+b+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}}var b=0;function w(t,e,i){if(n.isString(e)){var a={};a[e+"Index"]=0,e=a}var o=i&&i.defaultMainType;!o||S(e,o+"Index")||S(e,o+"Id")||S(e,o+"Name")||(e[o+"Index"]=0);var s={};return r(e,function(a,r){a=e[r];if("dataIndex"!==r&&"dataIndexInside"!==r){var o=r.match(/^(\w+)(Index|Id|Name)$/)||[],l=o[1],c=(o[2]||"").toLowerCase();if(!(!l||!c||null==a||"index"===c&&"none"===a||i&&i.includeMainTypes&&n.indexOf(i.includeMainTypes,l)<0)){var u={mainType:l};"index"===c&&"all"===a||(u[c]=a);var h=t.queryComponents(u);s[l+"Models"]=h,s[l+"Model"]=h[0]}}else s[r]=a}),s}function S(t,e){return t&&t.hasOwnProperty(e)}function M(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i}function T(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function A(t){return"auto"===t?a.domSupported?"html":"richText":t||"html"}function I(t,e){var i=n.createHashMap(),a=[];return n.each(t,function(t){var n=e(t);(i.get(n)||(a.push(n),i.set(n,[]))).push(t)}),{keys:a,buckets:i}}e.normalizeToArray=c,e.defaultEmphasis=u,e.TEXT_STYLE_OPTIONS=h,e.getDataItemValue=d,e.isDataItemOption=p,e.mappingToExists=f,e.makeIdAndName=g,e.isNameSpecified=m,e.isIdInner=v,e.compressBatches=y,e.queryDataIndex=x,e.makeInner=_,e.parseFinder=w,e.setAttribute=M,e.getAttribute=T,e.getTooltipRenderMode=A,e.groupData=I},f63f3:function(t,e,i){"use strict";var n=i("3999"),a=i("5fdf"),r=i("9297"),o=i("8a7d"),s=i("08fd"),l=s.getScaleExtent,c=s.niceScaleExtent,u=i("e62e");function h(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=n.map(t.getIndicatorModels(),function(t,e){var i="indicator_"+e,n=new a(i,new r);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n},this),this.resize(t,i),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e],n=i.angle,a=this.cx+t*Math.cos(n),r=this.cy-t*Math.sin(n);return[a,r]},h.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var a,r=Math.atan2(-i,e),o=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var c=this._indicatorAxes[l],u=Math.abs(r-c.angle);u<o&&(a=c,s=l,o=u)}return[s,+(a&&a.coodToData(n))]},h.prototype.resize=function(t,e){var i=t.get("center"),a=e.getWidth(),r=e.getHeight(),s=Math.min(a,r)/2;this.cx=o.parsePercent(i[0],a),this.cy=o.parsePercent(i[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var l=t.get("radius");"string"!==typeof l&&"number"!==typeof l||(l=[0,l]),this.r0=o.parsePercent(l[0],s),this.r=o.parsePercent(l[1],s),n.each(this._indicatorAxes,function(t,e){t.setExtent(this.r0,this.r);var i=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;i=Math.atan2(Math.sin(i),Math.cos(i)),t.angle=i},this)},h.prototype.update=function(t,e){var i=this._indicatorAxes,a=this._model;n.each(i,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===a){var o=e.getData();n.each(i,function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))})}},this);var r=a.get("splitNumber");function s(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),i=t/e;return 2===i?i=5:i*=2,i*e}n.each(i,function(t,e){var i=l(t.scale,t.model);c(t.scale,t.model);var n=t.model,a=t.scale,u=n.getMin(),h=n.getMax(),d=a.getInterval();if(null!=u&&null!=h)a.setExtent(+u,+h),a.setInterval((h-u)/r);else if(null!=u){var p;do{p=u+d*r,a.setExtent(+u,p),a.setInterval(d),d=s(d)}while(p<i[1]&&isFinite(p)&&isFinite(i[1]))}else if(null!=h){var f;do{f=h-d*r,a.setExtent(f,+h),a.setInterval(d),d=s(d)}while(f>i[0]&&isFinite(f)&&isFinite(i[0]))}else{var g=a.getTicks().length-1;g>r&&(d=s(d));var m=Math.round((i[0]+i[1])/2/d)*d,v=Math.round(r/2);a.setExtent(o.round(m-v*d),o.round(m+(r-v)*d)),a.setInterval(d)}})},h.dimensions=[],h.create=function(t,e){var i=[];return t.eachComponent("radar",function(n){var a=new h(n,t,e);i.push(a),n.coordinateSystem=a}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},u.register("radar",h);var d=h;t.exports=d},f6b0:function(t,e,i){"use strict";var n=i("3999"),a=n.createHashMap,r=n.each,o=n.isString,s=n.defaults,l=n.extend,c=n.isObject,u=n.clone,h=i("f63f"),d=h.normalizeToArray,p=i("fae5"),f=p.guessOrdinal,g=i("57c2"),m=i("6b4e"),v=m.OTHER_DIMENSIONS;function y(t,e,i){g.isInstance(e)||(e=g.seriesDataToSource(e)),i=i||{},t=(t||[]).slice();for(var n=(i.dimsDef||[]).slice(),h=a(i.encodeDef),p=a(),m=a(),y=[],b=x(e,t,n,i.dimCount),w=0;w<b;w++){var S=n[w]=l({},c(n[w])?n[w]:{name:n[w]}),M=S.name,T=y[w]={otherDims:{}};null!=M&&null==p.get(M)&&(T.name=T.displayName=M,p.set(M,w)),null!=S.type&&(T.type=S.type),null!=S.displayName&&(T.displayName=S.displayName)}h.each(function(t,e){if(t=d(t).slice(),1===t.length&&t[0]<0)h.set(e,!1);else{var i=h.set(e,[]);r(t,function(t,n){o(t)&&(t=p.get(t)),null!=t&&t<b&&(i[n]=t,I(y[t],e,n))})}});var A=0;function I(t,e,i){null!=v.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,m.set(e,!0))}r(t,function(t,e){var i,n,a;if(o(t))i=t,t={};else{i=t.name;var l=t.ordinalMeta;t.ordinalMeta=null,t=u(t),t.ordinalMeta=l,n=t.dimsDef,a=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var p=h.get(i);if(!1!==p){p=d(p);if(!p.length)for(var f=0;f<(n&&n.length||1);f++){while(A<y.length&&null!=y[A].coordDim)A++;A<y.length&&p.push(A++)}r(p,function(e,r){var o=y[e];if(I(s(o,t),i,r),null==o.name&&n){var l=n[r];!c(l)&&(l={name:l}),o.name=o.displayName=l.name,o.defaultTooltip=l.defaultTooltip}a&&s(o.otherDims,a)})}});var C=i.generateCoord,D=i.generateCoordCount,L=null!=D;D=C?D||1:0;for(var k=C||"value",P=0;P<b;P++){T=y[P]=y[P]||{};var R=T.coordDim;null==R&&(T.coordDim=_(k,m,L),T.coordDimIndex=0,(!C||D<=0)&&(T.isExtraCoord=!0),D--),null==T.name&&(T.name=_(T.coordDim,p)),null==T.type&&f(e,P,T.name)&&(T.type="ordinal")}return y}function x(t,e,i,n){var a=Math.max(t.dimensionsDetectCount||1,e.length,i.length,n||0);return r(e,function(t){var e=t.dimsDef;e&&(a=Math.max(a,e.length))}),a}function _(t,e,i){if(i||null!=e.get(t)){var n=0;while(null!=e.get(t+n))n++;t+=n}return e.set(t,!0),t}var b=y;t.exports=b},f6e5:function(t,e,i){"use strict";var n=i("b04a"),a=i("9d61"),r=i("bc9d"),o=i("c1e1"),s=i("75e6"),l=i("e689"),c=i("772b"),u=a.extend({makeElOption:function(t,e,i,a,r){var s=i.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,c=s.polar,u=c.getOtherAxis(s),p=u.getExtent();l=s["dataTo"+n.capitalFirst(s.dim)](e);var f=a.get("type");if(f&&"none"!==f){var g=o.buildElStyle(a),m=d[f](s,c,l,p,g);m.style=g,t.graphicKey=m.type,t.pointer=m}var v=a.get("label.margin"),y=h(e,i,a,c,v);o.buildLabelElOption(t,i,a,r,y)}});function h(t,e,i,n,a){var o=e.axis,c=o.dataToCoord(t),u=n.getAngleAxis().getExtent()[0];u=u/180*Math.PI;var h,d,p,f=n.getRadiusAxis().getExtent();if("radius"===o.dim){var g=s.create();s.rotate(g,g,u),s.translate(g,g,[n.cx,n.cy]),h=r.applyTransform([c,-a],g);var m=e.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(u,m*Math.PI/180,-1);d=v.textAlign,p=v.textVerticalAlign}else{var y=f[1];h=n.coordToPoint([y+a,c]);var x=n.cx,_=n.cy;d=Math.abs(h[0]-x)/y<.3?"center":h[0]>x?"left":"right",p=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:p}}var d={line:function(t,e,i,n,a){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n,a){var r=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n[0],n[1],(-i-r/2)*s,(r/2-i)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,i-r/2,i+r/2,0,2*Math.PI)}}};c.registerAxisPointerClass("PolarAxisPointer",u);var p=u;t.exports=p},f720:function(t,e,i){"use strict";var n=i("ac5f"),a=i("efc7"),r="sunburstRootToNode";n.registerAction({type:r,update:"updateView"},function(t,e){function i(e,i){var n=a.retrieveTargetInfo(t,[r],e);if(n){var o=e.getViewRoot();o&&(t.direction=a.aboveViewRoot(o,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}}e.eachComponent({mainType:"series",subType:"sunburst",query:t},i)});var o="sunburstHighlight";n.registerAction({type:o,update:"updateView"},function(t,e){function i(e,i){var n=a.retrieveTargetInfo(t,[o],e);n&&(t.highlight=n.node)}e.eachComponent({mainType:"series",subType:"sunburst",query:t},i)});var s="sunburstUnhighlight";n.registerAction({type:s,update:"updateView"},function(t,e){function i(e,i){t.unhighlight=!0}e.eachComponent({mainType:"series",subType:"sunburst",query:t},i)})},f753:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999");function r(t,e,i){var n,r={},o="toggleSelected"===t;return i.eachComponent("legend",function(i){o&&null!=n?i[n?"select":"unSelect"](e.name):(i[t](e.name),n=i.isSelected(e.name));var s=i.getData();a.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&n:r[e]=n}})}),{name:e.name,selected:r}}n.registerAction("legendToggleSelect","legendselectchanged",a.curry(r,"toggleSelected")),n.registerAction("legendSelect","legendselected",a.curry(r,"select")),n.registerAction("legendUnSelect","legendunselected",a.curry(r,"unSelect"))},f76e:function(t,e,i){"use strict";function n(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var i=t.getCategoriesData(),n=t.getGraph(),a=n.data,r=i.mapArray(i.getName);a.filterSelf(function(t){var i=a.getItemModel(t),n=i.getShallow("category");if(null!=n){"number"===typeof n&&(n=r[n]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(n))return!1}return!0})},this)}t.exports=n},f798:function(t,e,i){"use strict";var n=i("ac5f"),a=i("3999"),r=i("c8ba"),o=i("42e9"),s=r.toolbox.magicType;function l(t){this.model=t}l.defaultOption={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",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:a.clone(s.title),option:{},seriesIndex:{}};var c=l.prototype;c.getIcons=function(){var t=this.model,e=t.get("icon"),i={};return a.each(t.get("type"),function(t){e[t]&&(i[t]=e[t])}),i};var u={line:function(t,e,i,n){if("bar"===t)return a.merge({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.line")||{},!0)},bar:function(t,e,i,n){if("line"===t)return a.merge({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.bar")||{},!0)},stack:function(t,e,i,n){if("line"===t||"bar"===t)return a.merge({id:e,stack:"__ec_magicType_stack__"},n.get("option.stack")||{},!0)},tiled:function(t,e,i,n){if("line"===t||"bar"===t)return a.merge({id:e,stack:""},n.get("option.tiled")||{},!0)}},h=[["line","bar"],["stack","tiled"]];c.onclick=function(t,e,i){var n=this.model,r=n.get("seriesIndex."+i);if(u[i]){var o={series:[]},s=function(e){var r=e.subType,s=e.id,l=u[i](r,s,e,n);l&&(a.defaults(l,e.option),o.series.push(l));var c=e.coordinateSystem;if(c&&"cartesian2d"===c.type&&("line"===i||"bar"===i)){var h=c.getAxesByScale("ordinal")[0];if(h){var d=h.dim,p=d+"Axis",f=t.queryComponents({mainType:p,index:e.get(name+"Index"),id:e.get(name+"Id")})[0],g=f.componentIndex;o[p]=o[p]||[];for(var m=0;m<=g;m++)o[p][g]=o[p][g]||{};o[p][g].boundaryGap="bar"===i}}};a.each(h,function(t){a.indexOf(t,i)>=0&&a.each(t,function(t){n.setIconStatus(t,"normal")})}),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},s),e.dispatchAction({type:"changeMagicType",currentType:i,newOption:o})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),o.register("magicType",l);var d=l;t.exports=d},f7a1:function(t,e,i){"use strict";var n=i("3999");function a(t){var e=t.polar;if(e){n.isArray(e)||(e=[e]);var i=[];n.each(e,function(e,a){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],n.isArray(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):i.push(e)}),t.polar=i}n.each(t.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}t.exports=a},f7e4:function(t,e,i){"use strict";var n=i("26a6"),a=n.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=a},f80c:function(t,e,i){"use strict";var n=i("784e"),a=i("3999"),r=i("3e4d"),o=i("4e33"),s=i("9399"),l=s.ContextCachedBy,c=function(t){n.call(this,t)};c.prototype={constructor:c,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&o.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;null!=n&&(n+=""),o.needDrawText(n,i)?(this.setTransform(t),o.renderText(this,t,n,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=r.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var n=t.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},a.inherits(c,n);var u=c;t.exports=u},f88e:function(t,e,i){"use strict";var n=i("3999"),a=i("005e"),r=i("8a7d"),o=i("c14b"),s=i("f339"),l=i("0df4");function c(t,e,i){var n=e.coordinateSystem;t.each(function(a){var o,s=t.getItemModel(a),l=r.parsePercent(s.get("x"),i.getWidth()),c=r.parsePercent(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(c)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,a));else if(n){var u=t.get(n.dimensions[0],a),h=t.get(n.dimensions[1],a);o=n.dataToPoint([u,h])}}else o=[l,c];isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c),t.setItemLayout(a,o)})}var u=l.extend({type:"markPoint",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markPointModel;e&&(c(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout(e))},this)},renderSeries:function(t,e,i,n){var r=t.coordinateSystem,o=t.id,s=t.getData(),l=this.markerGroupMap,u=l.get(o)||l.set(o,new a),d=h(r,t,e);e.setData(d),c(e.getData(),t,n),d.each(function(t){var i=d.getItemModel(t),n=i.getShallow("symbolSize");"function"===typeof n&&(n=n(e.getRawValue(t),e.getDataParams(t))),d.setItemVisual(t,{symbolSize:n,color:i.get("itemStyle.color")||s.getVisual("color"),symbol:i.getShallow("symbol")})}),u.updateData(d),this.group.add(u.group),d.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=e})}),u.__keep=!0,u.group.silent=e.get("silent")||t.get("silent")}});function h(t,e,i){var a;a=t?n.map(t&&t.dimensions,function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)}):[{name:"value",type:"float"}];var r=new o(a,i),l=n.map(i.get("data"),n.curry(s.dataTransform,e));return t&&(l=n.filter(l,n.curry(s.dataFilter,t))),r.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),r}t.exports=u},f97c:function(t,e,i){"use strict";var n=i("ac5f"),a=i("33e9");i("ec4f"),i("0e54"),i("7ee6"),i("d8ed"),n.registerPreprocessor(a)},f9ed:function(t,e,i){"use strict";var n=i("bc9d"),a=i("2008"),r=a.createSymbol,o=i("4871"),s=4,l=n.extendShape({shape:{points:null},symbolProxy:null,buildPath:function(t,e){var i=e.points,n=e.size,a=this.symbolProxy,r=a.shape,o=t.getContext?t.getContext():t,l=o&&n[0]<s;if(!l)for(var c=0;c<i.length;){var u=i[c++],h=i[c++];isNaN(u)||isNaN(h)||(r.x=u-n[0]/2,r.y=h-n[1]/2,r.width=n[0],r.height=n[1],a.buildPath(t,r,!0))}},afterBrush:function(t){var e=this.shape,i=e.points,n=e.size,a=n[0]<s;if(a){this.setTransform(t);for(var r=0;r<i.length;){var o=i[r++],l=i[r++];isNaN(o)||isNaN(l)||t.fillRect(o-n[0]/2,l-n[1]/2,n[0],n[1])}this.restoreTransform(t)}},findDataIndex:function(t,e){for(var i=this.shape,n=i.points,a=i.size,r=Math.max(a[0],4),o=Math.max(a[1],4),s=n.length/2-1;s>=0;s--){var l=2*s,c=n[l]-r/2,u=n[l+1]-o/2;if(t>=c&&e>=u&&t<=c+r&&e<=u+o)return s}return-1}});function c(){this.group=new n.Group}var u=c.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new l({rectHover:!0,cursor:"default"});e.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild(function(t){if(null!=t.startIndex){var i=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;e=new Float32Array(e.buffer,n,i)}t.setShape("points",e)})}},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var i;this._incremental?(i=new l,this._incremental.addDisplayable(i,!0)):(i=new l({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental)},u._setCommon=function(t,e,i){var n=e.hostModel,a=e.getVisual("symbolSize");t.setShape("size",a instanceof Array?a:[a,a]),t.symbolProxy=r(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<s;t.useStyle(n.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var l=e.getVisual("color");l&&t.setColor(l),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>=0&&(t.dataIndex=i+(t.startIndex||0))}))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var h=c;t.exports=h},f9f7:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("App",{attrs:{keepAliveInclude:t.keepAliveInclude}})},a=[];i.d(e,"a",function(){return n}),i.d(e,"b",function(){return a})},fa16:function(t,e,i){"use strict";var n=i("eb1a"),a=i("df36"),r=a.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return n(this.getSource(),this)},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8}}});t.exports=r},fa28:function(t,e,i){"use strict";var n=i("26a6"),a=i("5326"),r=i("2b1c"),o=r.subPixelOptimizeRect,s={},l=n.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var i,n,r,l;this.subPixelOptimize?(o(s,e,this.style),i=s.x,n=s.y,r=s.width,l=s.height,s.r=e.r,e=s):(i=e.x,n=e.y,r=e.width,l=e.height),e.r?a.buildPath(t,e):t.rect(i,n,r,l),t.closePath()}});t.exports=l},fae5:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("f63f")),r=a.makeInner,o=a.getDataItemValue,s=i("ba0b"),l=s.getCoordSysDefineBySeries,c=i("3999"),u=c.createHashMap,h=c.each,d=c.map,p=c.isArray,f=c.isString,g=c.isObject,m=c.isTypedArray,v=c.isArrayLike,y=c.extend,x=(c.assert,i("57c2")),_=i("8fe7"),b=_.SOURCE_FORMAT_ORIGINAL,w=_.SOURCE_FORMAT_ARRAY_ROWS,S=_.SOURCE_FORMAT_OBJECT_ROWS,M=_.SOURCE_FORMAT_KEYED_COLUMNS,T=_.SOURCE_FORMAT_UNKNOWN,A=_.SOURCE_FORMAT_TYPED_ARRAY,I=_.SERIES_LAYOUT_BY_ROW,C=r();function D(t){var e=t.option.source,i=T;if(m(e))i=A;else if(p(e)){0===e.length&&(i=w);for(var n=0,a=e.length;n<a;n++){var r=e[n];if(null!=r){if(p(r)){i=w;break}if(g(r)){i=S;break}}}}else if(g(e)){for(var o in e)if(e.hasOwnProperty(o)&&v(e[o])){i=M;break}}else if(null!=e)throw new Error("Invalid data");C(t).sourceFormat=i}function L(t){return C(t).source}function k(t){C(t).datasetMap=u()}function P(t){var e=t.option,i=e.data,n=m(i)?A:b,a=!1,r=e.seriesLayoutBy,o=e.sourceHeader,s=e.dimensions,l=V(t);if(l){var c=l.option;i=c.source,n=C(l).sourceFormat,a=!0,r=r||c.seriesLayoutBy,null==o&&(o=c.sourceHeader),s=s||c.dimensions}var u=R(i,n,r,o,s),h=e.encode;!h&&l&&(h=z(t,l,i,n,r,u)),C(t).source=new x({data:i,fromDataset:a,seriesLayoutBy:r,sourceFormat:n,dimensionsDefine:u.dimensionsDefine,startIndex:u.startIndex,dimensionsDetectCount:u.dimensionsDetectCount,encodeDefine:h})}function R(t,e,i,n,a){if(!t)return{dimensionsDefine:E(a)};var r,s,l,c;if(e===w)"auto"===n||null==n?O(function(t){null!=t&&"-"!==t&&(f(t)?null==s&&(s=1):s=0)},i,t,10):s=n?1:0,a||1!==s||(a=[],O(function(t,e){a[e]=null!=t?t:""},i,t)),r=a?a.length:i===I?t.length:t[0]?t[0].length:null;else if(e===S)a||(a=N(t),l=!0);else if(e===M)a||(a=[],l=!0,h(t,function(t,e){a.push(e)}));else if(e===b){var u=o(t[0]);r=p(u)&&u.length||1}return l&&h(a,function(t,e){"name"===(g(t)?t.name:t)&&(c=e)}),{startIndex:s,dimensionsDefine:E(a),dimensionsDetectCount:r,potentialNameDimIndex:c}}function E(t){if(t){var e=u();return d(t,function(t,i){if(t=y({},g(t)?t:{name:t}),null==t.name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var n=e.get(t.name);return n?t.name+="-"+n.count++:e.set(t.name,{count:1}),t})}}function O(t,e,i,n){if(null==n&&(n=1/0),e===I)for(var a=0;a<i.length&&a<n;a++)t(i[a]?i[a][0]:null,a);else{var r=i[0]||[];for(a=0;a<r.length&&a<n;a++)t(r[a],a)}}function N(t){var e,i=0;while(i<t.length&&!(e=t[i++]));if(e){var n=[];return h(e,function(t,e){n.push(e)}),n}}function z(t,e,i,n,a,r){var o=l(t),s={},c=[],d=[],p=t.subType,f=u(["pie","map","funnel"]),g=u(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(o&&null!=g.get(p)){var m=t.ecModel,v=C(m).datasetMap,y=e.uid+"_"+a,x=v.get(y)||v.set(y,{categoryWayDim:1,valueWayDim:0});h(o.coordSysDims,function(t){if(null==o.firstCategoryDimIndex){var e=x.valueWayDim++;s[t]=e,d.push(e)}else if(o.categoryAxisMap.get(t))s[t]=0,c.push(0);else{e=x.categoryWayDim++;s[t]=e,d.push(e)}})}else if(null!=f.get(p)){for(var _,b=0;b<5&&null==_;b++)W(i,n,a,r.dimensionsDefine,r.startIndex,b)||(_=b);if(null!=_){s.value=_;var w=r.potentialNameDimIndex||Math.max(_-1,0);d.push(w),c.push(w)}}return c.length&&(s.itemName=c),d.length&&(s.seriesName=d),s}function V(t){var e=t.option,i=e.data;if(!i)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}function B(t,e){return W(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function W(t,e,i,n,a,r){var s,l,c=5;if(m(t))return!1;if(n&&(l=n[r],l=g(l)?l.name:l),e===w)if(i===I){for(var u=t[r],h=0;h<(u||[]).length&&h<c;h++)if(null!=(s=x(u[a+h])))return s}else for(h=0;h<t.length&&h<c;h++){var d=t[a+h];if(d&&null!=(s=x(d[r])))return s}else if(e===S){if(!l)return;for(h=0;h<t.length&&h<c;h++){var v=t[h];if(v&&null!=(s=x(v[l])))return s}}else if(e===M){if(!l)return;u=t[l];if(!u||m(u))return!1;for(h=0;h<u.length&&h<c;h++)if(null!=(s=x(u[h])))return s}else if(e===b)for(h=0;h<t.length&&h<c;h++){v=t[h];var y=o(v);if(!p(y))return!1;if(null!=(s=x(y[r])))return s}function x(t){return(null==t||!isFinite(t)||""===t)&&(!(!f(t)||"-"===t)||void 0)}return!1}e.detectSourceFormat=D,e.getSource=L,e.resetSourceDefaulter=k,e.prepareSource=P,e.guessOrdinal=B},fbbc:function(t,e,i){"use strict";var n=2311;function a(){return n++}t.exports=a},fc04:function(t,e,i){"use strict";var n=i("ac5f");i("3438"),i("d12e");var a=i("d6a0"),r=i("ce13"),o=i("43c3");n.registerPreprocessor(a),n.registerVisual(r),n.registerLayout(o)},fc70:function(t,e,i){"use strict";var n=i("3999"),a=i("118f");function r(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n<i.length;n++)for(var a=i[n],r=a.geometry,s=r.coordinates,l=r.encodeOffsets,c=0;c<s.length;c++){var u=s[c];if("Polygon"===r.type)s[c]=o(u,l[c],e);else if("MultiPolygon"===r.type)for(var h=0;h<u.length;h++){var d=u[h];u[h]=o(d,l[c][h],e)}}return t.UTF8Encoding=!1,t}function o(t,e,i){for(var n=[],a=e[0],r=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,l=t.charCodeAt(o+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=a,l+=r,a=s,r=l,n.push([s/i,l/i])}return n}function s(t){return r(t),n.map(n.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var e=t.properties,i=t.geometry,r=i.coordinates,o=[];"Polygon"===i.type&&o.push({type:"polygon",exterior:r[0],interiors:r.slice(1)}),"MultiPolygon"===i.type&&n.each(r,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new a(e.name,o,e.cp);return s.properties=e,s})}t.exports=s},fcda:function(t,e,i){"use strict";var n=i("ac5f"),a=i("8bee"),r=a.Polygon,o=i("bc9d"),s=i("3999"),l=s.bind,c=s.extend,u=i("7e37"),h=n.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,i){var n=t.getData(),a=this.group,s=t.getLayerSeries(),h=n.getLayout("layoutInfo"),p=h.rect,f=h.boundaryGap;function g(t){return t.name}a.attr("position",[0,p.y+f[0]]);var m=new u(this._layersSeries||[],s,g,g),v={};function y(e,i,l){var u=this._layers;if("remove"!==e){for(var h,p,f,g=[],m=[],y=s[i].indices,x=0;x<y.length;x++){var _=n.getItemLayout(y[x]),b=_.x,w=_.y0,S=_.y;g.push([b,w]),m.push([b,w+S]),h=n.getItemVisual(y[x],"color")}var M=n.getItemLayout(y[0]),T=n.getItemModel(y[x-1]),A=T.getModel("label"),I=A.get("margin");if("add"===e){var C=v[i]=new o.Group;p=new r({shape:{points:g,stackedOnPoints:m,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),f=new o.Text({style:{x:M.x-I,y:M.y0+M.y/2}}),C.add(p),C.add(f),a.add(C),p.setClipPath(d(p.getBoundingRect(),t,function(){p.removeClipPath()}))}else{C=u[l];p=C.childAt(0),f=C.childAt(1),a.add(C),v[i]=C,o.updateProps(p,{shape:{points:g,stackedOnPoints:m}},t),o.updateProps(f,{style:{x:M.x-I,y:M.y0+M.y/2}},t)}var D=T.getModel("emphasis.itemStyle"),L=T.getModel("itemStyle");o.setTextStyle(f.style,A,{text:A.get("show")?t.getFormattedLabel(y[x-1],"normal")||n.getName(y[x-1]):null,textVerticalAlign:"middle"}),p.setStyle(c({fill:h},L.getItemStyle(["color"]))),o.setHoverStyle(p,D.getItemStyle())}else a.remove(u[i])}m.add(l(y,this,"add")).update(l(y,this,"update")).remove(l(y,this,"remove")).execute(),this._layersSeries=s,this._layers=v},dispose:function(){}});function d(t,e,i){var n=new o.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return o.initProps(n,{shape:{width:t.width+20,height:t.height+20}},e,i),n}t.exports=h},fd9b:function(t,e,i){"use strict";var n=function(){this.head=null,this.tail=null,this._len=0},a=n.prototype;a.insert=function(t){var e=new r(t);return this.insertEntry(e),e},a.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++},a.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},a.len=function(){return this._len},a.clear=function(){this.head=this.tail=null,this._len=0};var r=function(t){this.value=t,this.next,this.prev},o=function(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},s=o.prototype;s.put=function(t,e){var i=this._list,n=this._map,a=null;if(null==n[t]){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,i.insertEntry(s),n[t]=s}return a},s.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},s.clear=function(){this._list.clear(),this._map={}};var l=o;t.exports=l},fe8e:function(t,e,i){"use strict";var n=i("ac5f"),a=i("0565"),r=i("3999"),o=i("f63f"),s=i("8a7d"),l=s.getPercentWithPrecision,c=i("108c"),u=i("9336"),h=u.retrieveRawAttr,d=n.extendSeriesModel({type:"series.pie",init:function(t){d.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){d.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return a(this,["value"])},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),i=[],n=0,a=t.count();n<a;n++)i.push({name:t.getName(n),value:t.get(e,n),selected:h(t,n,"selected")});return i},getDataParams:function(t){var e=this.getData(),i=d.superCall(this,"getDataParams",t),n=[];return e.each(e.mapDimension("value"),function(t){n.push(t)}),i.percent=l(n,t,e.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},_defaultLabelLine:function(t){o.defaultEmphasis(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,label:{rotate:!1,show:!0,position:"outer"},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationEasing:"cubicOut"}});r.mixin(d,c);var p=d;t.exports=p},fee5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAa7klEQVR4Xu2dC5gdRZXHz+k7DxITcy/gLqK4vBIFVBZRFxTlKU9BWDaCghgBs2Qy91bdIRIUXe6i8gjJdNWdTLKMCCjLQ6M8NL5Ag+CKoKDyUJagAmKiLI9MDE7MzNw++9V4b5zM3Ef37Xd39fflC2Sqzjn1P/Wb6uqurkLQl28K5PP5/RHxjYZhzCWiXRFxFhHNRsTZRDSr9jcAzAIA9e85FQwRbQKALQDwSu1vRNxCRK/U/gaAFwzDWE9E64UQT/jWiJQbxpS333Xz8/n86xUE1T/7AMCbiWguIu7l2rgDA0T0WwB4ChEftyxL/feThmH8rxDijw7M6KJTFNCAOOwSfX1988bHx49CRPXnSADY1aGJQIsT0Z8AYJ36U6lU1q1cufLpQAOIuTMNSIsE9vT07Nbd3X2cZVkKiPcBwGtjnvNniOhuRLxnbGzsrsHBwZdi3h5fw9eA1JGXMXYcIp5ERMeqWydfMxC+8ceI6C7DML5pmua94YcTrQg0IACQz+e7DcM4DgBOB4CTa5PlaKXK/2iI6HkAuAMAvr5x48Z1a9asqfjvNdoeUg0IY+xfEPFcIjoTEV8d7VQFGx0RvYCINxLRkJTyyWC9R8db6gBZunTpnG3btp1DRBcg4v7RSUV0IyGiBxFxCBFvMU1za3Qj9T6y1ABy4YUX/lOlUrkQAM4FgFd5L2XyLRKRmtCvtiyrPDAw8ELyWwyQeECKxeLbieiTAPCvaUhogG28wTCMK/r7+9cH6DNwV4kFRL3FzmQyV6pJd+CqpsQhEalJ/JcNw/iMaZobktjsxAHS29u7VyaTuRwAzkDExLUvop1wFACuyWQyl61YseLFiMbYVliJ6UBLlix51djY2GcRMQ8AHW2poSu5UkCtFQOAy3K5nFkqlcZdGYtI5UQAwjn/CBEtQ8TdIqJrqsMgoieJaFG5XL4n7kLEGpDqPGMIAN4d90QkMX4iunVsbKy4atUqtR4sllcsAVm4cOHMGTNmXIaITN9ORb7fbUHEz8yZM2egVCpZkY92SoCxA6RQKJxmGIYEgD3iJnaa4yWiRy3LWjAwMPCLOOkQG0Cqb8Cv0+8z4tS9psVqEdGVuVzu0rhM4mMBSLFYfI9lWV/Vk/BYw7E9eCL6hWEYHzRN8zdRb1HkAWGM9SNiMepC6vicK0BEi6WUq5zXDK5GZAFRHyp1dnauRcSDg5NDewpaASL6Si6XO6dUKqmXjZG7IgmIWoYOAN9ExNdETjEdkB8KPKI+UIvicpXIAcI5XwQAkR52/eghabepVgobhnGaaZo/ipIWkQKEc74CAPqiJJCOJTgFiGgMET8shPhacF6be4oEIKVSqWPTpk03I+L8qAij4whHASIiRLxICLE8nAh29Bo6ID09PbO6urrWAsDhURBExxAZBVYLIXrCjiZUQIrF4s5E9EMAeEvYQmj/kVTgpg0bNnw0zM0jQgNE7UiYyWTUas99I5kaHVRUFPhONps9NazHwKEAks/n98lkMuppRdw3YYtKJ0p6HD8aGRk5fmhoaCTohgYOSG9v75symcx9+h1H0KmOtz8iemDr1q1HBw1JoIBUb6t+qkeOeHfWEKP/4cjIyLFDQ0NjQcUQGCDVpSP3B73reVBCaj/BKEBEa3O53AeC+rYkEEDU0yrLshQcSd/nNpheknIvRHSzlPKsIGTwHRD1EnB4ePg+ADg0iAZpH6lR4PNCiE/73VrfAWGM3aSWD/jdEG0/lQrM93tZiq+AMMYuRsQrUpk63WjfFSCibYZhHGaa5kN+OfMNEMbYKYh4p1+BT7VLRKZlWdcODAz8Oiif2s90BYrF4oxKpXKI+sWIiOqzBV8vtQu9ZVlvGxgY+IMfjnwBhDGmzux7OKhNoolojZTyg34IpG22p8CiRYty3d3dL7dX21ktInpYSvl2Z7XslfYcELX4sLOz8+eIONdeCJ6UWiqEWOaJJW3EMwU4548DwAGeGWxuaEgI8e9e+/IcEM65Wpl7kteBNrNHRFdJKS8O0qf21VoBxtgGRNy9dUnPSnxMCHGDZ9bA4+MPGGOfQMTAf5MT0VNSynleCqNtuVOAMXYYIgb+dWClUlHzEc/23vJsBKkeZ/aAO1ld1X5EHRdGRE8YhkGuLOnKbhSYQURqkq52opntxlA7ddV58d3d3QctW7ZsSzv1p9bxBJDqpm6/AoDXeRGUtqEVcKMAEd0upfTkwCRPAGGMfQcRj3fTKF1XK+CxAh8XQlzr1qZrQDjn6sy/L7oNRNfXCniswNZKpTLP7fsRV4BUb62eAYCsx43T5rQCrhXw4lbLFSCMsWsR8TzXLdEGtAI+KWBZ1gnlcvm77ZpvG5B8Pn9IJpP5SbuOdT2tQEAKPJfNZvdt95v2tgHhnD+qdyMJKMXajSsFiOgyKeWl7RhpCxDGWBER+9txqOtoBYJWQK36rVQq+61cufJpp74dA8IY+0dEfCqMl0BOG6fLawVqChDRD6SUxzhVpB1AbkHEM5060uW1AhFQ4DQhxB1O4nAEiJ6YO5FWl42aAkT0tJRybydxOQKEc/49ADjWiQNdVisQMQUcrfi1DQjn/J8BwLNVkhETTYeTEgWqK7/V7jq2FrQ6AeTbAHBCSnTUzUy2AmcLIW6y00RbgBQKhYMNw/Dtw3g7geoyWgEPFXhCCLG/HXu2AOGc3w4Ap9oxqMtoBWKiwOlCiNtaxdoSEM75fgCgdwpppaQHP1fn9CHifwHAJR6Y0yaaKGB3o4eWgDDGvoSI52i1/VWAiJ7PZDLv7e/vX18oFC4wDGO1vx61dcuyjimXyz9opkRTQBhjb0DEZ7WUvivwIhEdJqV8suaJMdaDiIO+e06xAyK6W0rZ9LVFU0A451cDwJIUa+h709XGZwDwnslw1JzqkcR3+cGyrHnlclktnap7NQRk/vz5md133/15RNzF/zDT6aEZHBqSwPqEEEKoDSacAcIYOwMRbw0szJQ5sgOHhiSQTrE5m83uWiqVxut5aziCcM7V5OWoQEJMmRMncGhI/O8clmWdVS6Xb7YNCOd8TwBwvHbe/6YkwsOLiHiEaZpqmyRHF+ecA4DpqJIubEeBdUKIo20Doo8tsKNpW2VeJqJ31ZuQ27VWLBYZEQm75XW51goQEY2Oju6yevXqTVNL173FYoypzacPam1al3CgwMuWZR1eLpfVhs6uLg2JK/nqVrYsa1G5XFYvaXe4pgFSPYn2Oe9DSLVFz+Coqagh8bY/NfricBogjLGliHilt+7Ta42INhmGcbhpmo/VU2HBggU7zZkz551SSnWO4w5XsVg81jTNuxqpxznvA4AV6VXX25aPjY3tOjg4+NJkq9MA4Zw/CADv9NZ1Oq0pODKZzJH9/f2PNIFjLSL+QAgx7ag6zrlaAzcghGi47ET/QvOub1mWdW65XL6+ISCLFy/epaOj4wVEbLlGy7uwEmup6W1VPp/vzmQy6hubo4joEinl5VOVqAKyX6P741p5DYk3fajeSWU7gMAYOxsRb/TGXaqt2IZDqdQKEFVGQxJIf9oshNhhG90dAOGcq5clHwoklOQ62WxZ1mGNnlZNHjlqEtgBpArJtFuAyTLqkcSTTnWYEOLHNUtTARkGgDmeuEmnkc2VSuXIRicc1YPD7ghSLace2Z839T5ZQ+JdZyOiz0kpPzMNEM752wBAnUyrr/YUaAsOJ4BoSNpLjJNaRHS/lPLd0wBhjBUQUToxpstuV6BtOJwCYhcSznkJANrajzbNeSWisVwuN7O2eHH7LRbnfA0A/FuaxWmz7a7gaAcQu5Awxq5ARH36r8PEIuJ7TdOcOIB0MiDqBcnODm2lvbhrONoFREPia9f7VO291AQg+Xx+n0wm8xtfXSbPuHpadXS5XK47b6u+IVcvAeuuEp0ix/aETP53xtivELHl9jREtFBK+YVGEjPGPo+In0peCvxpERGtlVKevH0EKRaLHySir/jjLnlWiegVwzCONk3zp/Va1+hpVSMl7D7mbVLfztMtfbtlsysS0UYp5cSJzRMjCGPss4j4aZv1U12sFRwLFy7snDlzpjryy/bHZm4B0bdb3nfJbdu27ayWv9cAuRMRT/HeTbIs2oFjxowZ33B6JLYXgNiFhHOuPrhSH17pq4kCRHS4WkBaA+R3iLiXVqyxAn7BUe3YTddiOcmLutdq9TJRQ2JL0V4hxCBedNFFs0dHR/9sq0pKCyk4LMt638DAwAONJOCcu9nc29UkvV5MRHS+lLLh+fV6S6eWnXm1EKIH9bEGzYXyc+SoefbqFmtyS/RI0hKAVgW+L4R4HxYKhdMMw2i5iW8ra0n8ORGNGIZxZKOnVWpC3s6cY6pWfgCi5ySue+RvhBBz1Qiiv0qro6WCAxGPnbyyc3Ixr+Dweg5SBz49J2mPlXEhRKcCpKzeFbZnI5m1goTDb0AcjCSrAGBRMjPaXqsQ8fXIGNOPeCfpp+AAgOOklP/TSFbG2LcQ8cT2ZK9by/NJej0v9T4pnVyOMSYRseBhu+Ju6l0KkJ8i4jvi3hIv4g965PBzkt5AD8uyrI802kVQ1eGc65Hk7+KdrgDR70D+9tlrYHOOoCbpGhJ3vzbVGjc1B1HvQGa7MxXv2mHCEcQcpE529Ehio8sS0SfVCGKleRcTIvorIh4TxNOqRjnx6zFviz6gIWkNyXI1gtg6L7q1rViW2AoA7xdCrGsUPef8GwAwsfTZxyuQSXq9+Inoo1LKLzdpf5rnJNeldgRRIwcRnVgul++p1zm8fM/RCqyQRpBaWHZGErVk5dxW7Ujgz+9UI0gFAIwENq5hk6IER0hzkKnaaEjq95YfKUDGAKAjLYC0gqN69Jz6EvD4oDQJeQTRI0mDRBPR4+oWaxQRO4PqDGH6sQnHbUF/GxMRQFRq9EgyqYOqLwsVIOopTneYHTcg36OWZR3faM5RHTkChyMit1iTU6Ah+bsaWxUg44iYCaiThuVmlIhOkVJ+r14AYcIRQUDsjiT/DQBnhZXQIPwSUUXNQdTaoxlBOAzJR6ThiCggdiBRfUdtdJ5YSCZeIHPOk7wfb+ThiDAgqYdEne+ibrH+DxFfE9Jvdz/dxgKOiAOSakiI6Hk1gvwBACb2AErQFRs4YgBIaiEhot+rEWQ9Is5NEBzqWeVJ5XJZbaJQ9+Kc3wEAH4hQm0NbauJQg7OFEDc1qsMYuxERz3ZoM8rFn1AjyP0AcGiUo3QSm2VZHyqXy7c2geN2ADjVic0AysYFEPXLp5W+awHgpAA0C8LFxJv0xDSIiL4npWz4Bpwxpt5znBaEsg59xAaQ6v1WQ0h6enp26+rq+qPD9keyOBHdrm6xvoSI50QyQodBEdE1UsoL6lWLMBwq3FgB0gqSpLw6IKIvqBFEnbOtdjZJwvXHsbGxt0w96zricMQSkEaQFAqFMw3DuCUJnQkArlAjyFJEvDIhDVKfzt4/Pj5+ioJkyZIlrxofH1e71kf9njh2I0itvxDRBVLKa9T/F4vFYyzLuh0RZyWkPxXUxnFJIj6WeYnQYsVY6udX0Ih4Kubz+UMymcxP/HKi7bZWQAPSWqMwShDRgZikpw5hiOiFTw2IFyp6byObzXZPHH+Qto+mvJfSnUUNiDv9/KhNRC9JKXetnQ/yGCK+2Q9H2qYtBWI7SbfVuhgWIqIHpJSH1gC5FRHPiGE7EhGyHkEimcZrhRAfr91iXQIAn4tkmCkISgMSySQXhBADtRHkFES8M5JhpiAoDUj0koyIR5imee8EIL29vXt1dHT8LnphpiMiDUj08tzd3Z296qqrNk8Aoi7G2GZEfHX0Qk1FRHqSHq00PyOEmDjUdjIgXp95Ea0mRzgaPYJELjk3CSEmvmvZDgjn/JMAcHnkQk1BQBqQaCV58vqy7YAUi8X3ENF90Qo1HdFoQKKV50qlcsDAwMCvdxhBSqVSx6ZNm9QhMqnYZTFKKdGARCcb6thvKeX283K2jyAqRM652un8iOiEm45INCCRyvPXhBDzaxHtAEjSvg2JlOxNgtGARCpT5wkhrqsLSF9f34GWZf0yUuGmIBgNSHSSPDY2tuvkL1J3GEGq70OSupFcdLIwJRINSGRS80shxEGTo5kGCOc8racJhZkl/aIwTPWrvonocimlWpe4/ao3grwfEb8ZgXhTE4IeQaKRakR8h2maDzUFRJ3NN3PmzJfSfjR0kCnTgASpdkNfzwkh3jD1p9NGkOrj3sSf/RCJlPx9aL9ESjltFQPnXL2s2i9KsSY1FiK6Wkp5kV1A1NacaotOfQWggB5BAhC5hQsieqeU8me2AFGF9Ore4JKmAQlO6waenhVC7FnvZ3Vvsaq3WWk+QD7QjGlAApW7nrO6TxFVwYaAFAqFNxuG8VjooacgAA1IqEm21AFSpmm+7GgEqd5mPYSIB4cafgqca0BCTfJtQojTG0XQcARRFYrF4kK1Y3qo4afAuQYkvCQT0fGNTj9ueoulfrhgwYKd5syZsxERc+E1IfmeNSDh5JiInpJSzmvmvekIUp2sXwoApXCakA6vGpDQ8nyOEEIdZd3wsgNIFgA2Jvws9dAypBxrQEKR/9kNGzbss2bNmoorQKqT9X5ELIbSjBQ41YCEkuReIcRgK88tRxBloLe3d/eOjo4NrYzpn7etgF7N27Z0ziuq8883b9685w033PDXVrVtAVIdRVYjYt3z/1o50T9vroAeQQLvIRcKIfrteHUCyBsQ8bcA0GHHsC5jXwENiH2tPCj54vDw8B52Rg/lyzYg1VHkWkQ8z4MgtYlJCmhAgusORHSRlPJqux4dAVIsFvcmIjWK6MtbBfQcxFs9G1l7eWRkZI+hoaERu+4cAVIdRZYj4oV2HehyrRXQI0hrjbwoQUTnSynVJ+W2L8eAFIvFGdVR5LW2veiCTRXQgATSQR4SQrzDqSfHgCgH+uhopzI3L68B8VbPqdbob9dby+Xy4049tQWIcqJ3YXQqddPyeg7iqZzTjA0IIQrtuGgbkL6+vnmVSuVxvZdvO7LvWEePIO41bGSBiP7U2dm57/Lly//Sjpe2AamOImqjAXVsgr5cKKABcSFe66ofFkLc0rpY/RKuAFHL4bPZ7HoA2KPdAHQ9vVjRxz7wQyHEkW7suwJEOWaM6QNA3WRAr+Z1qV7D6uMAMFcI8YwbB64BqUJyCyKe6SaQNNfVt1i+ZL8ohBBuLXsCiHo3YlnWI4g4121AaayvAfE260T0XSnlCV5Y9QQQFUg+n9/fMIyHEXEnLwJLkw0NiKfZ3tDd3X2AOsLZC6ueAVK91fo4Ig55EVjKbOj3IB4lnIgOkVI+6JE5Z6t57ThljN2EiB+2U1aX+ZsCegTxrCfY+krQiTdPRxDluFQqdQ0PD6st5N/iJJA0l9WAuM8+Ed0spTzLvaUdLXgOiDLf19e3h2VZalfGOV4HnER7GhDXWf15Nps9tFQqjbq2NMWAL4AoH8Vi8RgiutvrgJNoTwPSflaJ6KVMJnNQf3//c+1baVzTN0CUS855HgDKfgSeJJtEdKWUctqSHc75HwDgdUlqq9dt8XpSPjU+XwFRzhhjerOH1r3iXiHEDufTM8bUHgDPtq6a3hKWZX2oXC7f6qcCvgNSheT7iHi0nw2Ju20iWtXd3X3xsmXLtlTfKd2hX7w2zep/CiF83/EzEEA452p3xvv0ky1bGP8KAA6wVTK9hW4UQpwTRPMDAUQ1JJ/PvyaTyTwAAHsH0TDtI5kKENG3c7ncyaVSyQqihYEBUoXk9YZhPIiIuwfROO0jcQp8f2Rk5MShoaGxoFoWKCCqUcVicV8i+jEA/ENQjdR+EqHAT9Q81jTNrUG2JnBAVOM453sS0b2IOO1c6iAbr33FQwEiumfz5s0n2t0N0ctWhQJIFZLXViHRS+S9zGjybN2WzWbPKJVK6gOowK/QAKnebu1sWdY9iPjWwFuuHcZBgS8JIRaEGWiogKiG9/T0zOrq6loLAIeHKYT2HTkFPi+E+HTYUYUOiBKgVCp1DA8Pfw0APhC2INp/6ApYlmWdXy6Xrw89Eqe7u/sdMOd8FQAs8tuPth9NBYjor0R0Wrlc/m5UIozECDJZDMZYARFlVATScQSjgNrgDQBOkVL+LBiP9rxEDhAVNmPsMABQa5F2sdcMXSrOChDRAx0dHSevWLHixai1I5KAVJ9wvY6IvgUAB0ZNNB2PdwqoRZq5XI6F9Ri3VUsiC0gtcMaYRMS2Nh5u1Xj981AV2GJZ1kK/l6u7bWHkAVEN5JwfBQBqf1W9PMVtxiNQn4jur1Qq81euXLkxAuE0DSEWgFRvudRLRbVjyvFRF1XH11CBUSL6j1wud3VQq3Hd5iI2gNQaqg7vQUQTEXdz23hdPzgF1KiRyWQ+1t/frzY7j80VO0CUsvl8/tWZTEYdvaDemRixUTudgaonU58QQtwQx+bHEpBJE3h15tw1iHhQHMVPesxEpHJzsRBiOK5tjTUgVdGRMbYQEdWIsnNcE5GkuInoYQA4V0r5aNzblQRAJnKwePHiXTo7OxUk5+vbrnC6JRG9oE4ck1Jep3ZUDScKb70mBpCaLGpHkEwmcyUAnOytVNpaEwW2EJFpWdaKgYGBPydJqcQBMulp18GIKBBRLVvRlw8KqMWFADBoGMblpmm+7IOL0E0mFpBJoBxtGEYRAE4KXe3kBKBGjKFKpdIfh5d9bmRPPCCTnni9EQCWIqLaAbzLjWhprUtEv1crrUdHR4dWrVr1Shp0SA0gtWT29PTs1tnZqSby6rAfvWmEvV5+FyJ+0TTNr9ornpxSqQNkUuqwUCgcYRjGeUR0uj46bsdOTURPI+L1iHidaZobktPlnbUkzYBsV6r6XfzJChQAOAERZzqTMRmliei3AHAbAHzdy2PM4qyOBmRK9hYsWLBTNps9kYhOrC6MTPTxA2qNFCLeZRjGHf39/Y/EuTP7EbsGpIWqvb29b+ro6DiSiNTu9EchYs6PRARlk4geRcR1lmXd3dXVde/y5cv/EpTvOPrRgDjLGnLOD6zBAgDvRcRZzkwEXno9Ea0DgHXj4+PrBgcHXwo8ghg71IC4TF4+n9/HMIx9AWB/AFCPkuepv0PYoPuXAPA7AHgSEZ8kovVdXV2Pq/NGXDYx1dU1ID6lv1gsziCi/SzLmmcYxj7VhZRqtJkNALOIaBYizlZ/q/+vjkTqHBV1qbfS6mWc6tzDiDii/hsRX6n9GwA8bxiGGh3WCyGe8akZqTf7/1hQI4f9MOf0AAAAAElFTkSuQmCC"},ff08:function(t,e,i){"use strict";i("f63f3"),i("25dc"),i("7965")},ff52:function(t,e,i){"use strict";var n=i("9555"),a=n.prepareDataCoordInfo,r=n.getStackedOnPoint;function o(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})}).update(function(t,e){i.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){i.push({cmd:"-",idx:t})}).execute(),i}function s(t,e,i,n,s,l,c,u){for(var h=o(t,e),d=[],p=[],f=[],g=[],m=[],v=[],y=[],x=a(s,e,c),_=a(l,t,u),b=0;b<h.length;b++){var w=h[b],S=!0;switch(w.cmd){case"=":var M=t.getItemLayout(w.idx),T=e.getItemLayout(w.idx1);(isNaN(M[0])||isNaN(M[1]))&&(M=T.slice()),d.push(M),p.push(T),f.push(i[w.idx]),g.push(n[w.idx1]),y.push(e.getRawIndex(w.idx1));break;case"+":var A=w.idx;d.push(s.dataToPoint([e.get(x.dataDimsForPoint[0],A),e.get(x.dataDimsForPoint[1],A)])),p.push(e.getItemLayout(A).slice()),f.push(r(x,s,e,A)),g.push(n[A]),y.push(e.getRawIndex(A));break;case"-":A=w.idx;var I=t.getRawIndex(A);I!==A?(d.push(t.getItemLayout(A)),p.push(l.dataToPoint([t.get(_.dataDimsForPoint[0],A),t.get(_.dataDimsForPoint[1],A)])),f.push(i[A]),g.push(r(_,l,t,A)),y.push(I)):S=!1}S&&(m.push(w),v.push(v.length))}v.sort(function(t,e){return y[t]-y[e]});var C=[],D=[],L=[],k=[],P=[];for(b=0;b<v.length;b++){A=v[b];C[b]=d[A],D[b]=p[A],L[b]=f[A],k[b]=g[A],P[b]=m[A]}return{current:C,next:D,stackedOnCurrent:L,stackedOnNext:k,status:P}}t.exports=s},ff68:function(t,e,i){"use strict";var n=i("bc9d"),a=i("9d61"),r=i("c1e1"),o=i("d2f1"),s=i("772b"),l=a.extend({makeElOption:function(t,e,i,n,a){var s=i.axis,l=s.grid,h=n.get("type"),d=c(l,s).getOtherAxis(s).getGlobalExtent(),p=s.toGlobalCoord(s.dataToCoord(e,!0));if(h&&"none"!==h){var f=r.buildElStyle(n),g=u[h](s,p,d,f);g.style=f,t.graphicKey=g.type,t.pointer=g}var m=o.layout(l.model,i);r.buildCartesianSingleLabelElOption(e,t,m,i,n,a)},getHandleTransform:function(t,e,i){var n=o.layout(e.axis.grid.model,e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var a=i.axis,r=a.grid,o=a.getGlobalExtent(!0),s=c(r,a).getOtherAxis(a).getGlobalExtent(),l="x"===a.dim?0:1,u=t.position;u[l]+=e[l],u[l]=Math.min(o[1],u[l]),u[l]=Math.max(o[0],u[l]);var h=(s[1]+s[0])/2,d=[h,h];d[l]=u[l];var p=[{verticalAlign:"middle"},{align:"center"}];return{position:u,rotation:t.rotation,cursorPoint:d,tooltipOption:p[l]}}});function c(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}var u={line:function(t,e,i,a){var o=r.makeLineShape([e,i[0]],[e,i[1]],h(t));return n.subPixelOptimizeLine({shape:o,style:a}),{type:"Line",shape:o}},shadow:function(t,e,i,n){var a=Math.max(1,t.getBandWidth()),o=i[1]-i[0];return{type:"Rect",shape:r.makeRectShape([e-a/2,i[0]],[a,o],h(t))}}};function h(t){return"x"===t.dim?0:1}s.registerAxisPointerClass("CartesianAxisPointer",l);var d=l;t.exports=d},ff7b:function(t,e,i){"use strict";var n=i("c3a9"),a=(n.__DEV__,i("3999")),r=a.each,o=a.createHashMap,s=i("da4c"),l=i("ec4b"),c=i("2af2"),u=i("e321"),h={geoJSON:l,svg:c},d={load:function(t,e){var i,n=[],a=o(),s=o(),l=f(t);return r(l,function(o){var l=h[o.type].load(t,o);r(l.regions,function(t){var i=t.name;e&&e.hasOwnProperty(i)&&(t=t.cloneShallow(i=e[i])),n.push(t),a.set(i,t),s.set(i,t.center)});var c=l.boundingRect;c&&(i?i.union(c):i=c.clone())}),{regions:n,regionsMap:a,nameCoordMap:s,boundingRect:i||new u(0,0,0,0)}},makeGraphic:p("makeGraphic"),removeGraphic:p("removeGraphic")};function p(t){return function(e,i){var n=f(e),a=[];return r(n,function(n){var r=h[n.type][t];r&&a.push(r(e,n,i))}),a}}function f(t){var e=s.retrieveMap(t)||[];return e}t.exports=d}});