You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
198 KiB
1 lines
198 KiB
(function(t){var e={};function a(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=t,a.c=e,a.d=function(t,e,i){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(i,r,function(e){return t[e]}.bind(null,r));return i},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="./",a(a.s="e9a4")})({"0040":function(t,e,a){"use strict";var i=a("88d1"),r=a.n(i);r.a},"035b":function(t,e,a){"use strict";a.r(e);var i=a("d312"),r=a("92cc");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"6dfcfdcc",null,!1,i["a"],n);e["default"]=l.exports},"0394":function(t,e,a){"use strict";a.r(e);var i=a("41a6"),r=a("a08f");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);var n=a("caa3");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("c746");var s=a("f0c5");r["default"].__module="rdcharts";var l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"7fe53021",null,!1,i["a"],r["default"]);e["default"]=l.exports},"0645":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"loading1",data:function(){return{wxsProps:{}}},components:{}};e.default=i},"08b8":function(t,e,a){var i=a("f1ef");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("28cce191",i,!0,{sourceMap:!1,shadowMode:!1})},"0935":function(t,e,a){"use strict";var i=a("2cd8"),r=a.n(i);r.a},"0c27":function(t,e,a){var i=a("aec0");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("1071d7b0",i,!0,{sourceMap:!1,shadowMode:!1})},"0de9":function(t,e,a){"use strict";function i(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function r(){return"string"===typeof __channelId__&&__channelId__}function o(t,e){switch(i(e)){case"Function":return"function() { [native code] }";default:return e}}function n(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];console[t].apply(console,a)}function s(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];var n=e.shift();if(r())return e.push(e.pop().replace("at ","uni-app:///")),console[n].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,o)+"---END:JSON---"}catch(r){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var a=i(t).toUpperCase();t="NUMBER"===a||"BOOLEAN"===a?"---BEGIN:"+a+"---"+t+"---END:"+a+"---":String(t)}return t})),l="";if(s.length>1){var c=s.pop();l=s.join("---COMMA---"),0===c.indexOf(" at ")?l+=c:l+="---COMMA---"+c}else l=s[0];console[n](l)}a.r(e),a.d(e,"log",(function(){return n})),a.d(e,"default",(function(){return s}))},"0e20":function(t,e,a){"use strict";a.r(e);var i=a("9e24"),r=a("55c2");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("2eb8");var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],n);e["default"]=l.exports},1128:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";.pure_top{width:100%;height:220rpx;position:relative;z-index:0;overflow:hidden}.pure_top::after{content:"";width:100%;height:220rpx;position:absolute;left:0;top:0;z-index:-1;border-radius:0 0 100% 100%;background-color:#57b5ff}.calendar{z-index:1;position:absolute;left:74rpx;top:20rpx;width:80%;height:150rpx;background:#fff}uni-button{width:200rpx;height:80rpx;color:#fff;border-radius:40rpx;line-height:80rpx;background-color:#327afe}.charts-box{background-color:#5687fd;height:300rpx}.logo{height:200rpx;width:200rpx;margin-top:200rpx;margin-left:auto;margin-right:auto;margin-bottom:50rpx}.text-area{display:flex;justify-content:center}.title{font-size:36rpx;color:#8f8f94}.login-box{display:flex;background:#8f8f94;width:100%;height:120rpx;position:fixed;bottom:0;left:0}.login-box .login-text{color:#fff;width:60%;display:flex;font-size:36rpx;padding-left:40rpx;align-items:center}.login-box .login-button{flex:1;text-align:center;margin-top:20rpx}.listbox{width:100%}.listbox .item{background-color:#fff;margin:20rpx 0;padding:20rpx}.listbox .item .namebox{display:flex;margin-bottom:30rpx}.listbox .item .namebox .name{font-weight:600;font-size:36rpx;width:70%;height:60rpx;line-height:60rpx}.listbox .item .namebox .tag{text-align:center;width:200rpx;height:60rpx;line-height:60rpx;color:#ff6f51;border:1px solid #ff6f51;background:rgba(255,111,81,.24);border-radius:40rpx 40rpx 40rpx 40rpx}.typebox{display:flex;margin:30rpx 0}.typebox .type{width:50%;border-left:#327afe 6rpx solid;font-size:30rpx;font-weight:600;padding-left:10rpx}.typebox .result{width:50%;text-align:right;color:#ff6f51}.staffbox{display:flex}.staffbox .staff{display:flex}.staffbox .staff uni-view{margin-right:20rpx}.staffbox .implement{flex:1;margin-bottom:10rpx}.staffbox .implement uni-button{float:right;width:120rpx;height:60rpx;line-height:60rpx;font-size:32rpx}',""]),t.exports=e},1831:function(t,e,a){var i=a("1b2a");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("ac6c3758",i,!0,{sourceMap:!1,shadowMode:!1})},"185e":function(t,e,a){"use strict";var i=a("1bed"),r=a.n(i);r.a},"1b2a":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.page{box-sizing:border-box;width:100vw;height:100vh;background:#efefef;overflow:auto}",""]),t.exports=e},"1bed":function(t,e,a){var i=a("9f8d");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("12f1be7b",i,!0,{sourceMap:!1,shadowMode:!1})},"1e45":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{wxsProps:{}}},components:{}};e.default=i},"214d":function(t,e,a){var i=a("8e2c");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("eae56690",i,!0,{sourceMap:!1,shadowMode:!1})},"23c3":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("v-uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}}),a("v-uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[t._v(t._$g(2,"t0-0"))])],1)},o=[]},"24fb":function(t,e,a){"use strict";function i(t,e){var a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"===typeof btoa){var o=r(i),n=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(n).concat([o]).join("\n")}return[a].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(a," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=i(e,t);return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a})).join("")},e.i=function(t,a,i){"string"===typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var o=0;o<this.length;o++){var n=this[o][0];null!=n&&(r[n]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);i&&r[l[0]]||(a&&(l[2]?l[2]="".concat(a," and ").concat(l[2]):l[2]=a),e.push(l))}},e}},"29ba":function(t,e,a){"use strict";a.r(e);var i=a("cade"),r=a("a3aa");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("0040");var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"fe25cc46",null,!1,i["a"],n);e["default"]=l.exports},"2b92":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=l(a("3ee0")),r=l(a("cab7")),o=l(a("29ba")),n=l(a("6146")),s=l(a("42a5"));function l(t){return t&&t.__esModule?t:{default:t}}var c={name:"qiun-loading",props:["loadingType"],data:function(){return{wxsProps:{}}},components:{Loading1:i.default,Loading2:r.default,Loading3:o.default,Loading4:n.default,Loading5:s.default}};e.default=c},"2cd8":function(t,e,a){var i=a("6f3d");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("367d13a0",i,!0,{sourceMap:!1,shadowMode:!1})},"2eb8":function(t,e,a){"use strict";var i=a("214d"),r=a.n(i);r.a},"31e2":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"qiun-error",props:["errorMessage"],data:function(){return{wxsProps:{}}},components:{}};e.default=i},"3ee0":function(t,e,a){"use strict";a.r(e);var i=a("c378"),r=a("8108");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("e657");var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"3b8cb2d8",null,!1,i["a"],n);e["default"]=l.exports},"41a6":function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={qiunLoading:a("035b").default,qiunError:a("67c9").default},r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{id:t._$g(0,"a-id"),_i:0}},[t._$g(1,"i")?a("v-uni-view",{attrs:{_i:1}},[a("qiun-loading",{attrs:{_i:2}})],1):t._e(),t._$g(3,"i")?a("v-uni-view",{attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("qiun-error",{attrs:{_i:4}})],1):t._e(),t._$g(5,"i")?[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(6,"v-show"),expression:"_$g(6,'v-show')"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},staticStyle:{width:"100%",height:"100%"},style:t._$g(6,"s"),attrs:{"data-directory":t._$g(6,"a-data-directory"),id:t._$g(6,"a-id"),prop:t._$gc(6,"change:echartsOpts"),"change:prop":t.rdcharts.ecinit,resize:t._$gc(6,"change:echartsResize"),"change:resize":t.rdcharts.ecresize,_i:6}})]:[a("v-uni-view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:t._$g(8,"a-id"),prop:t._$gc(8,"change:uchartsOpts"),"change:prop":t.rdcharts.ucinit,_i:8},on:{mousemove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseMove(e,t.$getComponentDescriptor())},mousedown:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseDown(e,t.$getComponentDescriptor())},mouseup:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseUp(e,t.$getComponentDescriptor())},touchstart:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchStart(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchMove(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchEnd(e,t.$getComponentDescriptor())},click:function(e){e=t.$handleWxsEvent(e),t.rdcharts.tap(e,t.$getComponentDescriptor())}}},[a("v-uni-canvas",{directives:[{name:"show",rawName:"v-show",value:t._$g(9,"v-show"),expression:"_$g(9,'v-show')"}],style:t._$g(9,"s"),attrs:{id:t._$g(9,"a-id"),canvasId:t._$g(9,"a-canvasId"),"disable-scroll":t._$g(9,"a-disable-scroll"),_i:9},on:{error:function(e){return t.$handleViewEvent(e)}}})],1)]],2)},o=[]},"42a5":function(t,e,a){"use strict";a.r(e);var i=a("676c"),r=a("7d14");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("185e");var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"38a0d81e",null,!1,i["a"],n);e["default"]=l.exports},"4abb":function(t,e,a){"use strict";var i=a("0c27"),r=a.n(i);r.a},5125:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],r=function(t,e){var a=new Date;a.setTime(1e3*t);var i=a.getFullYear(),r=a.getMonth()+1;r=r<10?"0"+r:r;var o=a.getDate();o=o<10?"0"+o:o;var n=a.getHours();n=n<10?"0"+n:n;var s=a.getMinutes(),l=a.getSeconds();return s=s<10?"0"+s:s,l=l<10?"0"+l:l,"full"==e?i+"-"+r+"-"+o+" "+n+":"+s+":"+l:"y-m-d"==e?i+"-"+r+"-"+o:"h:m"==e?n+":"+s:"h:m:s"==e?n+":"+s+":"+l:[i,r,o,n,s,l]},o={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["\u997c\u72b6\u56fe","\u5706\u73af\u56fe","\u73ab\u7470\u56fe","\u8bcd\u4e91\u56fe","\u6f0f\u6597\u56fe","\u5730\u56fe","\u5706\u5f27\u8fdb\u5ea6\u6761","\u6298\u7ebf\u56fe","\u67f1\u72b6\u56fe","\u5c71\u5cf0\u56fe","\u6761\u72b6\u56fe","\u533a\u57df\u56fe","\u96f7\u8fbe\u56fe","\u4eea\u8868\u76d8","K\u7ebf\u56fe","\u6df7\u5408\u56fe","\u65f6\u95f4\u8f74\u6298\u7ebf","\u65f6\u95f4\u8f74\u533a\u57df","\u6563\u70b9\u56fe","\u6c14\u6ce1\u56fe","\u81ea\u5b9a\u4e49\u7c7b\u578b"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(t,e,a){return t+"\u5143"},yAxisDemo2:function(t,e,a){return t.toFixed(2)},xAxisDemo1:function(t,e,a){return t+"\u5e74"},xAxisDemo2:function(t,e,a){return r(t,"h:m")},seriesDemo1:function(t,e,a,i){return t+"\u5143"},tooltipDemo1:function(t,e,a,i){return 0==a?"\u968f\u4fbf\u7528"+t.data+"\u5e74":"\u5176\u4ed6\u6211\u6ca1\u6539"+t.data+"\u5929"},pieDemo:function(t,e,a,i){if(void 0!==e)return a[e].name+"\uff1a"+a[e].data+"\u5143"}},demotype:{type:"line",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:i,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:i,padding:[5,5,5,5],rotate:!1,dataLabel:!0,legend:{show:!0,position:"right",lineHeight:25},title:{name:"\u6536\u76ca\u7387",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:i,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:i,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:i,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:i,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:i,title:{name:"\u767e\u5206\u6bd4",fontSize:25,color:"#00FF00"},subtitle:{name:"\u9ed8\u8ba4\u6807\u9898",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2}}},tline:{type:"line",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2}}},tarea:{type:"area",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0}}},column:{type:"column",color:i,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:i,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:i,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:i,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1}}},radar:{type:"radar",color:i,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200}}},gauge:{type:"gauge",color:i,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"\u5b9e\u65f6\u901f\u5ea6",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:i,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:i,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:i,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:i,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},n=o;e.default=n},"558b":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";.page{background-color:#fff}.items{margin:0 60rpx}.items .title{height:68rpx;line-height:68rpx;font-size:50rpx;font-weight:500;color:#317aff;margin:140rpx 0}.items uni-button{width:100%;background:linear-gradient(180deg,#317aff,#0052e6);color:#fff;border-radius:120rpx}.items .item{margin:60rpx 0}.items .item .label{font-size:32rpx;color:rgba(16,15,25,.48)}.items .item .input{border-bottom:2rpx solid rgba(16,15,25,.16);height:80rpx}.items .item .input uni-input{height:100%}',""]),t.exports=e},"55c2":function(t,e,a){"use strict";a.r(e);var i=a("b8fd"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"56c8":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("v-uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}}),a("v-uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}}),a("v-uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}}),a("v-uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}})],1)},o=[]},5903:function(t,e,a){"use strict";a.r(e);var i=a("e6a5"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},5977:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'.chartsview[data-v-fe046e60]{width:100%;height:100%;display:flex;flex-direction:column;flex:1;justify-content:center;align-items:center}.charts-font[data-v-fe046e60]{font-size:14px;color:#ccc;margin-top:10px}.charts-error[data-v-fe046e60]{width:128px;height:128px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAUz0lEQVR4Xu1de3Bc1X3+zmp3jYVWfkPAgCWwY8zLEglNQCSW0yT9o2SQaDKdNulUykwfM+k09p+J3ImYIPJXi9yZzDSZZiwyaZuZBCwnNG1DMogEmUAAy7xs/MAyNhCMjWWtsK1deU/n23OvtLu6j3Pv3t29d71nxjOSde455/5+3/m9z7kCjRY4BR7eK7fkcmhrasLT37hbTAY+QYADigDHagwFYGhc7gZwHMAUgG4hMPzNe8RoWInTAECAnHl4r+yREt0DXWIbhx3cJ5fHP8TYjntFR4DTBDqUIwBmMrJDCtyPHDoQw0Q8jkeXinCLtECp43Gwh56R22IxTBbu+KFxOTbQJbo9DlW17rYASGdlNySeKl2JADpbkmKiait0mWhoXHZkmzE52CkocmvavvOsbMvl8MhAl+jlQrg2CQzu6BI9NV2Yw+T2AJiVo+DuL2kSeLQ1KfrC8kLcYbkYBv/pbjEWhjUNjUvSpk9KSAicm2tGXxjAaUcbewBkJAm6xeLBp1PJ2os06ttcDl8H0CEEaGnvGegSg2EAQZTW4B0AEntSS2ov0mhgJc5jmwT6IDEWi2E0zNZ2WEFhC4CZjCRxH7GwAfpbkmIkLC9EFQBg20BXeOySsNBGZx2OXkB6Vg5CgAbMZgD7BTDSkhTDOgM3+kSDAr7iANNz8n4hQRdxojUu9kTjVRurtKKAJwBIKZfPZPOuYWFgY6wlgV4hau+GNVjsnQKeAJDOSIp/Wt6lbSKeQG8jSOSdAbV+wisA7FxDSGAqBmwNS5DIiGIucyNwKiGedutTz3/3BgCb4JBJoGqDIJ2VW4REmxRog0S3lGgT/NlfY3RzCgJjQmJSCkxeDuDwBgCb8HAhvQkCIdCbSgQfmSPDmWGDzHsm1UqwjBEUAMbqERCeAEBGz2RknwR2uW0yAZQdL6DR+WEW90syXLmjtW8So0Jg9MoE9tSD4esZANUAAd1M5NAjGOULaaOkAzCKGEaj7Ar7AoBHEGxrSYqdOnxMZ+W3ZA59ZehxnWkC7yMlJkUMIy1x7IyaVPANAAMEHTlgTACO1rYERlqTot+J8nbp58C5VcEBDftnOEpAKAsAgYPAPgNZQbYFP3QeCAybJ/Bg2CVC2QDwCoJUAtudiJKuExCQLoZbPKirAoOHovuIThVByuXii2jE/C9I2TaXBYsfmThyahMtCWy1A4ERbj7rvvRI9aCa3F7pINm3n5XdXgtjFgHAYCQrW4v8bBo6MYFep5cwmEefuSwQpDNSRoq9+osdrqRaGBqXMhfDVi8gWASAdEbuswuyGCKNSLatBygXBHUqAQohMmHESAKrqzSro4TIS2yOq10dVQQAuyKQUoC7BXnIxHQWwwL4ay/qIM/8DHaFJuijv7M99QzaNmAx6hzQFsvhKSmxvakJo7oHUooA4MUA0wHBTDYfQnVUB6bFnLc1JHqiFgPwxPnSzhKjLUn0B+UpsDoqFkOfLvO5HN8AMN5lOJUU2+2IMD0ne0QOtCcq0k7OANe1VGToag7qaBRXeiFFAJjOyBENsV20Jqcgj2FQHgvyJWYvAQfPAJuvAv7198ADm4DMHJBKAmuag5ypemPpGNiVWk2pDcCDDDQCPTU7EOgmjrxMRgA8dgBYmwJOXwBuWgH87m3gz26OLgDy6q9G9RSLvIAymFZUGsaCjJzE7qB1+vvngXRGQebG5QB/P30eaF2iQBHllk8wxdDfGq/eYVLLQJBfEOQNOpk3/Bg86hbA8iAZwt2/a78asX8zsKRJ/fzYQeDttFIHUbcJqi0JnM4FaOX9g2Sw7lgHTgPTs0DHRxTjT5wDtqzTfTr8/aoJArfTwX055P1519q6apGV4v8/XlU6nzv/vo8CvzwK3L0W2LS6Wquo/DzVAoFrMiivyzVSvpUnycIMVAUU///2kgIC9b+pDqq5jirMVXEX0RUAfMkwgoDrMoFQBUbUcoqxVFJsrdQCtAAQZhBUijChGlfiwdSSypx81gaAAQLLA6OhIlaNF2MGqriMm1cFqJoEtlai0lobAIzqZbPYF7RrV2N+BT79L99c8Eh+dzI474RGYSqB9qDyBuaLawMgnZE8Exjau24C56TPAZ8+vsD0594GPrHW50DWjwVuD2gBwDgm/q1AX6VOB/v5YeDWNerlXnsf+MKGYF/ULQvrdTZXAFQioeN1kVHqTxuAgSo2xiWCdk+DVgWuAEjPyt31XqARJYAZa92ZSqq7CMttjgCoh1r9cgkU1ueDuq7PEQDTs/JY0Nm8sBI0gusKxCCMZDIogsyqzJIDiA3YAqCx+yvDs4BHLVsKBFoPEPDLNYbToUCZUsASAFHY/SfTCxWtq5qBK4ziEB2a1VmfsqTAIgBUupLXL/Evshj0NNCaBM7NAr89sTDSp64HOj/id+ToP1eOR7AYAD4qg6tBwufeARhabV8BfPJaFWxZEgeSMWDTmstaApD8vuMCRQAI47Gs37wFrG4GrksBR882mG212VhW3rpEtPvZiL6OhvmZyOszFPm7D6qqX+76L6xfGIH/l7mkVMGNKy773Z8njIyh1081cfHBkJAEfgqZv2kV8Cmj4HP/H4ADZ1RBqNmYbfvEtV7hVX/9/X7HYR4AYUr6PPmmYjSZ/7kblRT47yOK8Uyu8DxA6xXqHADVw2XsARQhuSWBFV7rBeYBoHsyuNJ7582zwBNHgNVLgb+8TTH/8YOq/o+7ffPVCwynpAiC+W+cUfOcnwOuvlIdO4ti86MG5gGQdrkFtFoE2fUykJ4F+u4AknHgx6+pnf/ZduCW1QD9f3oDPA/A5tcFpA3x8ingxXcVuPJ61Dgt27MRuKG1Wm8c6DyevYE8AMJk/f/nq8BNK5VeN10/k8mvnwZ+ZRw1pfjnYdCOq1VZuJd2/Bzwv0cXGL9hpdr1PGNIgMUF8Oe3AquWehk1FH0nUknR6WUleQCENe37vZeUFOi/AyhUDbQL/JwE5q4ngI4YNxBxl7NiZ5kBoCePAb9/R4mBq64EejcGX9DhhTl++sYTaPdya7sCgPoySM1LvujzM8Dzd3cuMNy08ikZeBqYqoE7njv1t28p3c3f/+hapSLs2jszAI1Luo40JMn4j64s7v3PzympQNeSgLtnLfDxiHkYXkvGFAA0r2Yjsf3sPF0km/r/H+9aEP8P8ORPEhh5ecErIPNpGLJxF7/3oWLcfesV80rboQ+UyDf7f3HTYuPx+XeAX00Ct68BPn0D8O8TasyvbgZakrpvEIp+nuyAPACmM/KsW7k3b+N4/ABA5lSq8cIH0/o39f9f3KoYQYab0uDnR4BjZ4Gv3LYAgB+9qiQB+xe2X0+q4kw22hL8V9roTXz3BTXP1z6mVAJzDfxHqUIDNELN02f9hI7/T6v7zSklbml8MfFCXzzoRp1Pv57n/Wj5M/RrJnn2/QG4rlVJIPM4+DfvWVjB9/YpFfFJIzBEZv7iMHAirUT+59qBO2zcu7zuf1ftfrOKtxAUVElBF3cGTTtzPBaNtiaFhRy0nlHoGIDc/a+fUlez0Dq/ZY26kiXoRoCR0G5WvRkoMnf0/xwFXnwPiAFINgE3LAOmLwKnjPEoKejfW7Xj0+q0Mef92seLVQNLvF95H/iTm4CNJfZC0O8e5HheAkJCNwBkHsv++zuDXKq/sSgd/uu1xf47gfnWOR5mVeNe1Qx8adOClW8l+n8woQzDL9682Cik7fDTg8D1KaD3Zn9rrdRTlHA0mmmvLJJOHopERFg8AK+EIgiomo6dAy7OKdXwNx3AiRngRy8DOQl0XgN8Zp19tJDMJZMLRX/pOh7eqwhMNRCmZtpkVreiePEECADLj0SH6WWd1kIgPP6G2sVty4Av36pE/+43gDMX1K6+b8NiEJhGHqXEV263Bwm9AY731Q6gJVF7qnDnT7ynbCS6zDx8QpXJgNi8JPBwmljouoC1f3X7FdDHH30DmMsBG1YosU+m0Vg8exG4pkV5B2begCFg5htIMCf7gDOadsCXbgGusbEjqkkbMp+iv7QR5POG+eUGADL/rWmgSQBzEui4CvjT9cBUBnjikPqbCYJzF4EfGBdNMW5g5xmYBKY3cOgMsGEVcClXTVY7z+WkArxUCIkoFIA6keLXx4DXTiuDb2ubihdkcsCnDZ+fDPzZIRX+pYvJRBPF6GfbVPRQt124FE4AULJZBOe0YwFUAZG9mv2Fd4G9J4tdOEb0fnNCVQxtuQHoug4gCH5yADgxrdjtZPRZeQqvnFISgEmiMDV6ZjbueP0DgBm9PYes9Tizhr84mr98Ol9Qwps66OszZOyF+WS2GSQKiw2gCcD6BkBMABT9DNLY6XFKgicnVWCIuQR6BMwb0Ojz0hhipg3x5dsilR6ubwA0xwGCgDvaLsJHJtPPP/yBKvQg862SQG5gYByArZI5ELc1+Pi7PgCmM5JfuArNRZBuL0uGMkdg5dsXPktwcPfS4PMq9s1xzDAxS9KZlYxQ0wdAlOIAFOPU5Wxm1s6KKfTzqbvLYT7HNWMANCZZixihVp8AYHSPlrxdWpcMMiN8/Pmua1QW0E+LajbQeNf6A4BZ1MGw5z98bDFLybAnDqvYPptOkMcJGBGuB+BraReFRCYU/OPXgVMfWjOW+p4Gn1nu5RbedZMIHOe7L6pevJa+EqlvtzWU9XdPoeCQ1AM6vbCp+0t3P3c96wJZzMHG6l4WdJR7VuCR54ELc6q4xEu0sCymBfiwp2ygbj1AgOvzPBQjcU8dL9bpNPQops1dT7sgCGYxScSxGURa2+rubXh+mWo84KkeICu7IcFbQEPb6Pqx6mdpXBV9HvlgoRiktLS7nJcw9X4ipuIM9CJWXqHSxVFqXkrDRZgOhdgROZsDvv8ScMnMWgiV9uWOXxfACR6qErp8BJpVY7KF2UW3UrUwgEQC51qTQrtiU1UFz8pJIRDqj67MzAGPva5EPsO7zPkHwXyO98NX1IeomE4myFgnQHAxysiQMkPBLIZlsWoEmrYLyHfxdC6g1i/PxfJkD9O/bOWIf/OaGep7Nur8eEwBoNCFpHQw6wb/9s7yDcwq0FDbBVwAQAQ8gULCUVSPn1y4J4BlX+uWqfIv85iXFaHN4g7uaJ4INr84wtLzrAReeFs99Ve3Fx8O/ZfnVd3hXdeqbxOFuXnxAOYBENaLoZwITWnA3ct6APN0L/tTbFOEXxFXP3OnT11UI5HxhY2HPnjYhCqFpeY8+8BWGGnk89/fB9AOYWPRCXMLYW1eDMB5APCHqBaGEAisDWCI+PDZ4ttDSplEYKxfody79uUKKOapI55J4Glg2gIsJqF6IYAIMvZh/2MGQG5bA3ymLXgI0IATAj3ml0G8VmxLieOtS4SnlYXufoByydoUUwdHeUhkdk6dLqbzwCNndO8KG5nO8DGZblYHs2bwJweLgWQGmFgbyDgBG08OXx+AB1K0IAv/3ctHPP1cExO6G0LKBYDu82Q+q4a52ynSWTlUGEFkKpht+ZJiu4L/T8/g8+1Ac6JY/ejObdcvlRSWRWc8vSUlRt3S9mXdEKJzRrDcFwzL86ynZ7qYzW+tAA3Knx5Qhaa0GcotrHQ706f16T6J0ZYk+r3cE1SEuHRGTgDYHBZGVWIdhcz3WhlcuJ7CdDGDUn/crozJcprbDtYCAeDpY5PFAIiYO+iV2Nz15udcyk0Xc+7CqiPeKPLAxvJAoPO5WOOr7KMugTttEBQBoJ7VQCHzGS9wqiX0AiyCwKxBqBYIjPA9v9LuJK0n4gn0ul0XE5m7gr0wpbSveYqmnDF0nw3qWhm3gI4OCHQkyiIA6NwXoEuMsPSjH8/IX2ausiuiIcjawXJtAXOVgYBAYjKVRKedYWj3vYDQJ4cqy8rwjO4GAq502uWGdyfjsvHFkPDw2n4lAoOphHjQaalOIHACkSUAqF/SWUy6BR6iQLt6WaMERlqTot8rCBheTiTQYWcM2h539BKCrBcih/09dEBAvuWAYW5eMh8x9JnXyBu5hS359xQYa4ljp+N51ygUioSdaUGvjyBIJbDdLdpHKV7YxyqxxNyBIwDq0SMImiE1Gk870GOuz+oEGN1E1xPvUTo6ViNm1GpaTyCwC/O7AoChRwnsq9VbNuZ1pIA2CCy9BIk9rgDg9OmMHAbw9QYzQkkBLRAYkcNRAMoIBPYLoE8LAAYI6j5TGEr26i3KUyFo4ZDaANBMReott9ErUAq41RI4TaYNAA4ShWNkgVI2QoPZVRO5vYItAIbGZYcQWJZZiv2DncIoh8x/XCLSN4u6ESSqfw8UAEPjeaOvj1+kBLCuqQmd37hb8Gfz+0Juueio0jGS6/ZTDGq+6CIJMLhPLk+cx9lYDO1k+kPPyBEhMDnQJQbNh1g4ks1iopErqDhe9scT6JnLYBgC91vN5hbrd1vhIgB851nZlsvhWLYZKyj6DWmAgS6xrXCwhlHoRtry/s4a/1QSHWY4l6FcKbCtcNOxT0ygpyUp6KH5apY2gLHrt1AFCIHOWAwdpgoonKURKvZFc9eHuKtjQHcpY/Mle3NoQw7dsgkTfr4VXDq5rRH48F7Zk8uhrakJo1bMNwdqZA1d+empgx3zPQ3iobMnN9Bu3AYIPFDcoWu1mc+lBAIADsQDpshhpGEY+gNDLZgfCADoNSQvqPLkTSuxfuNq7IwJhODTCv4YUYunsjkc3f8+Bo7M4v8KYy5cixmPKVxXaWymnDWXLQGGxiVjAmaCoZy1XPbPSon9O+4VHSYhaIdJid2lhJESUzvu1f80nBNhywYA3cY5oOhI8uqlaLk+hfWXPUc1CHAijSOnL2CGXePAZKHBzd0PgEG50jZR6pZrTGXZpWwA+J248Vw4KNAAQDj4ULNVBA6Abz8ru8Ul9SVyITCVbUY/DRsjxLxLSmhdYSYEHh3oEiMch2rm0iXssqHSxI57xfZKU/ChZ+QjAOb1c6XnM+g3T4NKzRc4AIbGZR8TSeaCYzH0Ua8ZIeY8QzXbSBEAcvlSZyvwBKYPndb10LjkBQ1a4NV8P51u8zTQ6eynT+AA8LOIxjO1o0ADALWjfShmjhwACgNPoaCgsnWOO+VLwrJOq3VEDgCGLrbMjdeK0EEGZqr9DpEDgFXgqdpEK50vlsPUQJf/nHwt1///89bqDjCPWPAAAAAASUVORK5CYII=");background-position:50%}',""]),t.exports=e},"5c92":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".chartsview[data-v-7fe53021]{width:100%;height:100%;display:flex;flex:1;justify-content:center;align-items:center}",""]),t.exports=e},"5d11":function(t,e,a){"use strict";a.r(e);var i=a("7824"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},6048:function(t,e,a){var i=a("1128");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("0ddb651d",i,!0,{sourceMap:!1,shadowMode:!1})},6146:function(t,e,a){"use strict";a.r(e);var i=a("56c8"),r=a("ce04");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("4abb");var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"44c31eef",null,!1,i["a"],n);e["default"]=l.exports},"676c":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("v-uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}}),a("v-uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}}),a("v-uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}}),a("v-uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}})],1)},o=[]},"67c9":function(t,e,a){"use strict";a.r(e);var i=a("23c3"),r=a("cd6d");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("8a6f");var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"fe046e60",null,!1,i["a"],n);e["default"]=l.exports},"6b94":function(t,e,a){"use strict";a.r(e);var i=a("1e45"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"6f3d":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".container[data-v-e14678f8]{width:30px;height:30px;position:relative}.container.loading2[data-v-e14678f8]{-webkit-transform:rotate(10deg);transform:rotate(10deg)}.container.loading2 .shape[data-v-e14678f8]{border-radius:5px}.container.loading2[data-v-e14678f8]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container .shape[data-v-e14678f8]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-e14678f8]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-e14678f8]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-e14678f8]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-e14678f8]{bottom:0;right:0;background-color:#e66}.loading2 .shape1[data-v-e14678f8]{-webkit-animation:animation2shape1-data-v-e14678f8 .5s ease 0s infinite alternate;animation:animation2shape1-data-v-e14678f8 .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape1-data-v-e14678f8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}@keyframes animation2shape1-data-v-e14678f8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}.loading2 .shape2[data-v-e14678f8]{-webkit-animation:animation2shape2-data-v-e14678f8 .5s ease 0s infinite alternate;animation:animation2shape2-data-v-e14678f8 .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape2-data-v-e14678f8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}@keyframes animation2shape2-data-v-e14678f8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}.loading2 .shape3[data-v-e14678f8]{-webkit-animation:animation2shape3-data-v-e14678f8 .5s ease 0s infinite alternate;animation:animation2shape3-data-v-e14678f8 .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape3-data-v-e14678f8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}@keyframes animation2shape3-data-v-e14678f8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}.loading2 .shape4[data-v-e14678f8]{-webkit-animation:animation2shape4-data-v-e14678f8 .5s ease 0s infinite alternate;animation:animation2shape4-data-v-e14678f8 .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape4-data-v-e14678f8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}@keyframes animation2shape4-data-v-e14678f8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}",""]),t.exports=e},7741:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"loading6",data:function(){return{wxsProps:{}}},components:{}};e.default=i},7824:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{wxsProps:{}}},components:{}};e.default=i},7890:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("v-uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}}),a("v-uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}}),a("v-uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}}),a("v-uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}})],1)},o=[]},"7af8":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"loading3",data:function(){return{wxsProps:{}}},components:{}};e.default=i},"7d14":function(t,e,a){"use strict";a.r(e);var i=a("7741"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"7f7e":function(t,e,a){"use strict";function i(t,e){for(var a=[],i={},r=0;r<e.length;r++){var o=e[r],n=o[0],s=o[1],l=o[2],c=o[3],d={id:t+":"+r,css:s,media:l,sourceMap:c};i[n]?i[n].parts.push(d):a.push(i[n]={id:n,parts:[d]})}return a}a.r(e),a.d(e,"default",(function(){return u}));var r="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!r)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 o={},n=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,d=function(){},h=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function u(t,e,a,r){c=a,h=r||{};var n=i(t,e);return x(n),function(e){for(var a=[],r=0;r<n.length;r++){var s=n[r],l=o[s.id];l.refs--,a.push(l)}e?(n=i(t,e),x(n)):n=[];for(r=0;r<a.length;r++){l=a[r];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function x(t){for(var e=0;e<t.length;e++){var a=t[e],i=o[a.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](a.parts[r]);for(;r<a.parts.length;r++)i.parts.push(v(a.parts[r]));i.parts.length>a.parts.length&&(i.parts.length=a.parts.length)}else{var n=[];for(r=0;r<a.parts.length;r++)n.push(v(a.parts[r]));o[a.id]={id:a.id,refs:1,parts:n}}}}function g(){var t=document.createElement("style");return t.type="text/css",n.appendChild(t),t}function v(t){var e,a,i=document.querySelector("style["+p+'~="'+t.id+'"]');if(i){if(c)return d;i.parentNode.removeChild(i)}if(f){var r=l++;i=s||(s=g()),e=y.bind(null,i,r,!1),a=y.bind(null,i,r,!0)}else i=g(),e=b.bind(null,i),a=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else a()}}var m=function(){var t=[];return function(e,a){return t[e]=a,t.filter(Boolean).join("\n")}}();function y(t,e,a,i){var r=a?"":k(i.css);if(t.styleSheet)t.styleSheet.cssText=m(e,r);else{var o=document.createTextNode(r),n=t.childNodes;n[e]&&t.removeChild(n[e]),n.length?t.insertBefore(o,n[e]):t.appendChild(o)}}function b(t,e){var a=k(e.css),i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute(p,e.id),r&&(a+="\n/*# sourceURL="+r.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=a;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}var w=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,A=/var\(--status-bar-height\)/gi,S=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi,T=/var\(--window-left\)/gi,_=/var\(--window-right\)/gi,P=!1;function k(t){if(!uni.canIUse("css.var")){!1===P&&(P=plus.navigator.getStatusbarHeight());var e={statusBarHeight:P,top:window.__WINDOW_TOP||0,bottom:window.__WINDOW_BOTTOM||0};t=t.replace(A,e.statusBarHeight+"px").replace(S,e.top+"px").replace(C,e.bottom+"px").replace(T,"0px").replace(_,"0px")}return t.replace(/\{[\s\S]+?\}|@media.+?\{/g,(function(t){return t.replace(w,(function(t,e){return uni.upx2px(e)+"px"}))}))}},8108:function(t,e,a){"use strict";a.r(e);var i=a("0645"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"81b8":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"loading5",data:function(){return{wxsProps:{}}},components:{}};e.default=i},"83fe":function(t,e,a){var i=a("5977");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("52a7e025",i,!0,{sourceMap:!1,shadowMode:!1})},8703:function(t,e,a){"use strict";var i=a("e93a"),r=a.n(i);r.a},"88d1":function(t,e,a){var i=a("c287");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("99ed66e2",i,!0,{sourceMap:!1,shadowMode:!1})},"8a6f":function(t,e,a){"use strict";var i=a("83fe"),r=a.n(i);r.a},"8bf4":function(t,e,a){"use strict";(function(t){function a(t,e){return s(t)||n(t,e)||r(t,e)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(t,e){if(t){if("string"===typeof t)return o(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);a<e;a++)i[a]=t[a];return i}function n(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var a=[],i=!0,r=!1,o=void 0;try{for(var n,s=t[Symbol.iterator]();!(i=(n=s.next()).done);i=!0)if(a.push(n.value),e&&a.length===e)break}catch(l){r=!0,o=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return a}}function s(t){if(Array.isArray(t))return t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l={version:"v2.4.3-20220505",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},c=function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!a||a.length<=0)return t;function r(t,e){for(var a in e)t[a]=t[a]&&"[object Object]"===t[a].toString()?r(t[a],e[a]):t[a]=e[a];return t}return a.forEach((function(e){t=r(t,e)})),t},d={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var a=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!a}};function h(t,e){var a=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=t.replace(a,(function(t,e,a,i){return e+e+a+a+i+i})),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i),o=parseInt(r[1],16),n=parseInt(r[2],16),s=parseInt(r[3],16);return"rgba("+o+","+n+","+s+","+e+")"}function p(t,e,a){if(isNaN(t))throw new Error("[uCharts] series\u6570\u636e\u9700\u4e3aNumber\u683c\u5f0f");a=a||10,e=e||"upper";var i=1;while(a<1)a*=10,i*=10;t="upper"===e?Math.ceil(t*i):Math.floor(t*i);while(t%a!==0)if("upper"===e){if(t==t+1)break;t++}else t--;return t/i}function f(t,e,a,i){for(var r=[],o=0;o<t.length;o++){for(var n={data:[],name:e[o],color:a[o]},s=0,l=i.length;s<l;s++)if(s<t[o])n.data.push(null);else{for(var c=0,d=0;d<t[o];d++)c+=i[s-d][1];n.data.push(+(c/t[o]).toFixed(3))}r.push(n)}return r}function u(t,e,a,i,r){var o=r.width-r.area[1]-r.area[3],n=a.eachSpacing*(r.chartData.xAxisData.xAxisPoints.length-1);"mount"==r.type&&r.extra&&r.extra.mount&&r.extra.mount.widthRatio&&r.extra.mount.widthRatio>1&&(r.extra.mount.widthRatio>2&&(r.extra.mount.widthRatio=2),n+=(r.extra.mount.widthRatio-1)*a.eachSpacing);var s=e;return e>=0?(s=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",r.xAxis.scrollPosition="left"):Math.abs(e)>=n-o?(s=o-n,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",r.xAxis.scrollPosition="right"):(t.scrollOption.position=e,r.xAxis.scrollPosition=e),s}function x(t,e,a){function i(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=i(t),e=i(e),a=i(a),e>a&&(a+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=a}function g(t,e){function a(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function i(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var r=.2,o=.2,n=null,s=null,l=null,c=null;if(e<1?(n=t[0].x+(t[1].x-t[0].x)*r,s=t[0].y+(t[1].y-t[0].y)*r):(n=t[e].x+(t[e+1].x-t[e-1].x)*r,s=t[e].y+(t[e+1].y-t[e-1].y)*r),e>t.length-3){var d=t.length-1;l=t[d].x-(t[d].x-t[d-1].x)*o,c=t[d].y-(t[d].y-t[d-1].y)*o}else l=t[e+1].x-(t[e+2].x-t[e].x)*o,c=t[e+1].y-(t[e+2].y-t[e].y)*o;return a(t,e+1)&&(c=t[e+1].y),a(t,e)&&(s=t[e].y),i(t,e+1)&&(l=t[e+1].x),i(t,e)&&(n=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(c>=Math.max(t[e].y,t[e+1].y)||c<=Math.min(t[e].y,t[e+1].y))&&(c=t[e+1].y),(n>=Math.max(t[e].x,t[e+1].x)||n<=Math.min(t[e].x,t[e+1].x))&&(n=t[e].x),(l>=Math.max(t[e].x,t[e+1].x)||l<=Math.min(t[e].x,t[e+1].x))&&(l=t[e+1].x),{ctrA:{x:n,y:s},ctrB:{x:l,y:c}}}function v(t,e,a){return{x:a.x+t,y:a.y-e}}function m(t,e){if(e)while(d.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function y(t,e,a){var i=[];if(t.length>0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;for(var r=t[0].data,o=0;o<r.length;o++)r[o].formatter=t[0].formatter,r[o].data=r[o].value,i.push(r[o]);e.series=i}else i=t;return i}function b(t,e,a){for(var i=0,r=0;r<t.length;r++){var o=t[r];if(o.color||(o.color=a.color[i],i=(i+1)%a.color.length),o.linearIndex||(o.linearIndex=r),o.index||(o.index=0),o.type||(o.type=e.type),"undefined"==typeof o.show&&(o.show=!0),o.type||(o.type=e.type),o.pointShape||(o.pointShape="circle"),!o.legendShape)switch(o.type){case"line":o.legendShape="line";break;case"column":case"bar":o.legendShape="rect";break;case"area":case"mount":o.legendShape="triangle";break;default:o.legendShape="circle"}}return t}function w(t,e,a,i){var r=e||[];if("custom"==t&&0==r.length&&(r=i.linearColor),"custom"==t&&r.length<a.length)for(var o=a.length-r.length,n=0;n<o;n++)r.push(i.linearColor[(n+1)%i.linearColor.length]);return r}function A(t,e){var a=0,i=e-t;return a=i>=1e4?1e3:i>=1e3?100:i>=100?10:i>=10?5:i>=1?1:i>=.1?.1:i>=.01?.01:i>=.001?.001:i>=1e-4?1e-4:i>=1e-5?1e-5:1e-6,{minRange:p(t,"lower",a),maxRange:p(e,"upper",a)}}function S(t,e,a){var i=0;if(t=String(t),!1!==a&&void 0!==a&&a.setFontSize&&a.measureText)return a.setFontSize(e),a.measureText(t).width;t=t.split("");for(var r=0;r<t.length;r++){var o=t[r];/[a-zA-Z]/.test(o)?i+=7:/[0-9]/.test(o)?i+=5.5:/\./.test(o)?i+=2.7:/-/.test(o)?i+=3.25:/:/.test(o)?i+=2.5:/[\u4e00-\u9fa5]/.test(o)?i+=10:/\(|\)/.test(o)?i+=3.73:/\s/.test(o)?i+=2.5:/%/.test(o)?i+=8:i+=10}return i*e/10}function C(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function T(t,e){for(var a=new Array(e),i=0;i<a.length;i++)a[i]=0;for(var r=0;r<t.length;r++)for(i=0;i<a.length;i++)a[i]+=t[r].data[i];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(a)}),[])}function _(t,e,a){var i,r;return t.clientX?e.rotate?(r=e.height-t.clientX*e.pix,i=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):(i=t.clientX*e.pix,r=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):e.rotate?(r=e.height-t.x*e.pix,i=t.y*e.pix):(i=t.x*e.pix,r=t.y*e.pix),{x:i,y:r}}function P(t,e,a){var i=[],r=[],o=e.constructor.toString().indexOf("Array")>-1;if(o)for(var n=O(t),s=0;s<a.length;s++)r.push(n[a[s]]);else r=t;for(var l=0;l<r.length;l++){var c=r[l],d=-1;if(d=o?e[l]:e,null!==c.data[d]&&"undefined"!==typeof c.data[d]&&c.show){var h={};h.color=c.color,h.type=c.type,h.style=c.style,h.pointShape=c.pointShape,h.disableLegend=c.disableLegend,h.name=c.name,h.show=c.show,h.data=c.formatter?c.formatter(c.data[d]):c.data[d],i.push(h)}}return i}function k(t,e,a){var i=t.map((function(t){return S(t,e,a)}));return Math.max.apply(null,i)}function M(t){for(var e=2*Math.PI/t,a=[],i=0;i<t;i++)a.push(e*i);return a.map((function(t){return-1*t+Math.PI/2}))}function D(t,e,a,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},n=e.chartData.calPoints?e.chartData.calPoints:[],s={};if(i.length>0){for(var l=[],c=0;c<i.length;c++)l.push(n[i[c]]);s=l[0][a[0]]}else for(var d=0;d<n.length;d++)if(n[d][a]){s=n[d][a];break}var h=t.map((function(t){var i=null;return e.categories&&e.categories.length>0&&(i=r[a]),{text:o.formatter?o.formatter(t,i,a,e):t.name+": "+t.data,color:t.color}})),p={x:Math.round(s.x),y:Math.round(s.y)};return{textList:h,offset:p}}function F(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=e.chartData.xAxisPoints[a]+e.chartData.eachSpacing/2,n=t.map((function(t){return{text:r.formatter?r.formatter(t,i[a],a,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));n=n.filter((function(t){if(!0!==t.disableLegend)return t}));var s={x:Math.round(o),y:0};return{textList:n,offset:s}}function L(t,e,a,i,r,o){var n=a.chartData.calPoints,s=o.color.upFill,l=o.color.downFill,c=[s,s,l,s],d=[];e.map((function(e){0==i?e.data[1]-e.data[0]<0?c[1]=l:c[1]=s:(e.data[0]<t[i-1][1]&&(c[0]=l),e.data[1]<e.data[0]&&(c[1]=l),e.data[2]>t[i-1][1]&&(c[2]=s),e.data[3]<t[i-1][1]&&(c[3]=l));var a={text:"\u5f00\u76d8\uff1a"+e.data[0],color:c[0]},r={text:"\u6536\u76d8\uff1a"+e.data[1],color:c[1]},o={text:"\u6700\u4f4e\uff1a"+e.data[2],color:c[2]},n={text:"\u6700\u9ad8\uff1a"+e.data[3],color:c[3]};d.push(a,r,o,n)}));for(var h=[],p={x:0,y:0},f=0;f<n.length;f++){var u=n[f];"undefined"!==typeof u[i]&&null!==u[i]&&h.push(u[i])}return p.x=Math.round(h[0][0].x),{textList:d,offset:p}}function O(t){for(var e=[],a=0;a<t.length;a++)1==t[a].show&&e.push(t[a]);return e}function I(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={index:-1,group:[]},n=a.chartData.eachSpacing/2,s=[];if(e&&e.length>0){if(a.categories){for(var l=1;l<a.chartData.xAxisPoints.length;l++)s.push(a.chartData.xAxisPoints[l]-n);"line"!=a.type&&"area"!=a.type||"justify"!=a.xAxis.boundaryGap||(s=a.chartData.xAxisPoints)}else n=0;if(W(t,a,i))if(a.categories)s.forEach((function(e,a){t.x+r+n>e&&(o.index=a)}));else{for(var c=Array(e.length),d=0;d<e.length;d++){c[d]=Array(e[d].length);for(var h=0;h<e[d].length;h++)c[d][h]=Math.abs(e[d][h].x-t.x)}for(var p=Array(c.length),f=Array(c.length),u=0;u<c.length;u++)p[u]=Math.min.apply(null,c[u]),f[u]=c[u].indexOf(p[u]);var x=Math.min.apply(null,p);o.index=[];for(var g=0;g<p.length;g++)p[g]==x&&(o.group.push(g),o.index.push(f[g]))}}return o}function E(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={index:-1,group:[]},n=a.chartData.eachSpacing/2,s=a.chartData.yAxisPoints;return e&&e.length>0&&W(t,a,i)&&s.forEach((function(e,a){t.y+r+n>e&&(o.index=a)})),o}function B(t,e,a){var i=-1,r=0;if(z(t,e.area)){for(var o=e.points,n=-1,s=0,l=o.length;s<l;s++)for(var c=o[s],d=0;d<c.length;d++){n+=1;var h=c[d]["area"];if(h&&t.x>h[0]-r&&t.x<h[2]+r&&t.y>h[1]-r&&t.y<h[3]+r){i=n;break}}return i}return i}function z(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}function W(t,e,a){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function R(t,e,a){var i=2*Math.PI/a,r=-1;if(X(t,e.center,e.radius)){var o=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},n=Math.atan2(e.center.y-t.y,t.x-e.center.x);n*=-1,n<0&&(n+=2*Math.PI);var s=e.angleList.map((function(t){return t=o(-1*t),t}));s.forEach((function(t,e){var a=o(t-i/2),s=o(t+i/2);s<a&&(s+=2*Math.PI),(n>=a&&n<=s||n+2*Math.PI>=a&&n+2*Math.PI<=s)&&(r=e)}))}return r}function G(t,e){for(var a=-1,i=0,r=e.series.length;i<r;i++){var o=e.series[i];if(t.x>o.funnelArea[0]&&t.x<o.funnelArea[2]&&t.y>o.funnelArea[1]&&t.y<o.funnelArea[3]){a=i;break}}return a}function N(t,e){for(var a=-1,i=0,r=e.length;i<r;i++){var o=e[i];if(t.x>o.area[0]&&t.x<o.area[2]&&t.y>o.area[1]&&t.y<o.area[3]){a=i;break}}return a}function j(t,e){for(var a=-1,i=e.chartData.mapData,r=e.series,o=oe(t.y,t.x,i.bounds,i.scale,i.xoffset,i.yoffset),n=[o.x,o.y],s=0,l=r.length;s<l;s++){var c=r[s].geometry.coordinates;if(se(n,c,e.chartData.mapData.mercator)){a=s;break}}return a}function Y(t,e,a){var i=-1,r=tt(a._series_,a.extra.rose.type,e.radius,e.radius);if(e&&e.center&&X(t,e.center,e.radius)){var o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o=-o,a.extra.rose&&a.extra.rose.offsetAngle&&(o-=a.extra.rose.offsetAngle*Math.PI/180);for(var n=0,s=r.length;n<s;n++)if(x(o,r[n]._start_,r[n]._start_+2*r[n]._rose_proportion_*Math.PI)){i=n;break}}return i}function H(t,e,a){var i=-1,r=Z(e.series);if(e&&e.center&&X(t,e.center,e.radius)){var o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o=-o,a.extra.pie&&a.extra.pie.offsetAngle&&(o-=a.extra.pie.offsetAngle*Math.PI/180),a.extra.ring&&a.extra.ring.offsetAngle&&(o-=a.extra.ring.offsetAngle*Math.PI/180);for(var n=0,s=r.length;n<s;n++)if(x(o,r[n]._start_,r[n]._start_+2*r[n]._proportion_*Math.PI)){i=n;break}}return i}function X(t,e,a){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(a,2)}function q(t,e){var a=[],i=[];return t.forEach((function(t,r){e.connectNulls?null!==t&&i.push(t):null!==t?i.push(t):(i.length&&a.push(i),i=[])})),i.length&&a.push(i),a}function U(t,e,a,i,r){var o={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return i.legendData=o,o;var n=e.legend.padding*e.pix,s=e.legend.margin*e.pix,l=e.legend.fontSize?e.legend.fontSize*e.pix:a.fontSize,c=15*e.pix,d=5*e.pix,h=Math.max(e.legend.lineHeight*e.pix,l);if("top"==e.legend.position||"bottom"==e.legend.position){for(var p=[],f=0,u=[],x=[],g=0;g<t.length;g++){var v=t[g],m=v.legendText?v.legendText:v.name,y=c+d+S(m||"undefined",l,r)+e.legend.itemGap*e.pix;f+y>e.width-e.area[1]-e.area[3]?(p.push(x),u.push(f-e.legend.itemGap*e.pix),f=y,x=[v]):(f+=y,x.push(v))}if(x.length){p.push(x),u.push(f-e.legend.itemGap*e.pix),o.widthArr=u;var b=Math.max.apply(null,u);switch(e.legend.float){case"left":o.area.start.x=e.area[3],o.area.end.x=e.area[3]+b+2*n;break;case"right":o.area.start.x=e.width-e.area[1]-b-2*n,o.area.end.x=e.width-e.area[1];break;default:o.area.start.x=(e.width-b)/2-n,o.area.end.x=(e.width+b)/2+n}o.area.width=b+2*n,o.area.wholeWidth=b+2*n,o.area.height=p.length*h+2*n,o.area.wholeHeight=p.length*h+2*n+2*s,o.points=p}}else{var w=t.length,A=e.height-e.area[0]-e.area[2]-2*s-2*n,C=Math.min(Math.floor(A/h),w);switch(o.area.height=C*h+2*n,o.area.wholeHeight=C*h+2*n,e.legend.float){case"top":o.area.start.y=e.area[0]+s,o.area.end.y=e.area[0]+s+o.area.height;break;case"bottom":o.area.start.y=e.height-e.area[2]-s-o.area.height,o.area.end.y=e.height-e.area[2]-s;break;default:o.area.start.y=(e.height-o.area.height)/2,o.area.end.y=(e.height+o.area.height)/2}for(var T=w%C===0?w/C:Math.floor(w/C+1),_=[],P=0;P<T;P++){var k=t.slice(P*C,P*C+C);_.push(k)}if(o.points=_,_.length){for(var M=0;M<_.length;M++){for(var D=_[M],F=0,L=0;L<D.length;L++){var O=c+d+S(D[L].name||"undefined",l,r)+e.legend.itemGap*e.pix;O>F&&(F=O)}o.widthArr.push(F),o.heightArr.push(D.length*h+2*n)}for(var I=0,E=0;E<o.widthArr.length;E++)I+=o.widthArr[E];o.area.width=I-e.legend.itemGap*e.pix+2*n,o.area.wholeWidth=o.area.width+n}}switch(e.legend.position){case"top":o.area.start.y=e.area[0]+s,o.area.end.y=e.area[0]+s+o.area.height;break;case"bottom":o.area.start.y=e.height-e.area[2]-o.area.height-s,o.area.end.y=e.height-e.area[2]-s;break;case"left":o.area.start.x=e.area[3],o.area.end.x=e.area[3]+o.area.width;break;case"right":o.area.start.x=e.width-e.area[1]-o.area.width,o.area.end.x=e.width-e.area[1];break}return i.legendData=o,o}function $(t,e,a,i,r){var o={angle:0,xAxisHeight:a.xAxisHeight},n=e.xAxis.fontSize*e.pix||a.fontSize,s=t.map((function(t,a){var i=e.xAxis.formatter?e.xAxis.formatter(t,a,e):t;return S(String(i),n,r)})),l=Math.max.apply(this,s);if(1==e.xAxis.rotateLabel){o.angle=e.xAxis.rotateAngle*Math.PI/180;var c=2*a.xAxisTextPadding+Math.abs(l*Math.sin(o.angle));c=c<n+2*a.xAxisTextPadding?c+2*a.xAxisTextPadding:c,1==e.enableScroll&&1==e.xAxis.scrollShow&&(c+=12*e.pix),o.xAxisHeight=c}return e.xAxis.disabled&&(o.xAxisHeight=0),o}function J(t,e,a,i){var r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;r="stack"==i?T(t,e.categories.length):C(t);var n=[];r=r.filter((function(t){return"object"===typeof t&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),r.map((function(t){"object"===typeof t?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){n.push(t)})):n.push(t[0]):n.push(t.value):n.push(t)}));var s=0,l=0;if(n.length>0&&(s=Math.min.apply(this,n),l=Math.max.apply(this,n)),o>-1?("number"===typeof e.xAxis.data[o].min&&(s=Math.min(e.xAxis.data[o].min,s)),"number"===typeof e.xAxis.data[o].max&&(l=Math.max(e.xAxis.data[o].max,l))):("number"===typeof e.xAxis.min&&(s=Math.min(e.xAxis.min,s)),"number"===typeof e.xAxis.max&&(l=Math.max(e.xAxis.max,l))),s===l){var c=l||10;l+=c}for(var d=s,h=l,p=[],f=(h-d)/e.xAxis.splitNumber,u=0;u<=e.xAxis.splitNumber;u++)p.push(d+f*u);return p}function Q(t,e,a,i){var r=c({},{type:""},e.extra.bar),o={angle:0,xAxisHeight:a.xAxisHeight};o.ranges=J(t,e,a,r.type),o.rangesFormat=o.ranges.map((function(t){return t=d.toFixed(t,2),t}));var n=o.ranges.map((function(t){return t=d.toFixed(t,2),t}));o=Object.assign(o,ht(n,e,a));var s=o.eachSpacing,l=n.map((function(t){return S(t,e.xAxis.fontSize*e.pix||a.fontSize,i)})),h=Math.max.apply(this,l);return h+2*a.xAxisTextPadding>s&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*a.xAxisTextPadding+h*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function V(t,e,a,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,n=r.extra.radar||{};n.max=n.max||0;for(var s=Math.max(n.max,Math.max.apply(null,C(i))),l=[],c=function(r){var n=i[r],c={};c.color=n.color,c.legendShape=n.legendShape,c.pointShape=n.pointShape,c.data=[],n.data.forEach((function(i,r){var n={};n.angle=t[r],n.proportion=i/s,n.value=i,n.position=v(a*n.proportion*o*Math.cos(n.angle),a*n.proportion*o*Math.sin(n.angle),e),c.data.push(n)})),l.push(c)},d=0;d<i.length;d++)c(d);return l}function Z(t,e){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=0,r=0,o=0;o<t.length;o++){var n=t[o];n.data=null===n.data?0:n.data,i+=n.data}for(var s=0;s<t.length;s++){var l=t[s];l.data=null===l.data?0:l.data,l._proportion_=0===i?1/t.length*a:l.data/i*a,l._radius_=e}for(var c=0;c<t.length;c++){var d=t[c];d._start_=r,r+=2*d._proportion_*Math.PI}return t}function K(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;t=t.sort((function(t,e){return parseInt(e.data)-parseInt(t.data)}));for(var o=0;o<t.length;o++)t[o].radius="funnel"==a?t[o].data/t[0].data*e*r:i*(t.length-o)/(i*t.length)*e*r,t[o]._proportion_=t[o].data/t[0].data;return"pyramid"!==a&&t.reverse(),t}function tt(t,e,a,i){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=0,n=0,s=[],l=0;l<t.length;l++){var c=t[l];c.data=null===c.data?0:c.data,o+=c.data,s.push(c.data)}for(var d=Math.min.apply(null,s),h=Math.max.apply(null,s),p=i-a,f=0;f<t.length;f++){var u=t[f];u.data=null===u.data?0:u.data,0===o?(u._proportion_=1/t.length*r,u._rose_proportion_=1/t.length*r):(u._proportion_=u.data/o*r,u._rose_proportion_="area"==e?1/t.length*r:u.data/o*r),u._radius_=a+p*((u.data-d)/(h-d))||i}for(var x=0;x<t.length;x++){var g=t[x];g._start_=n,n+=2*g._rose_proportion_*Math.PI}return t}function et(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var i=0;i<t.length;i++){var r=t[i];r.data=null===r.data?0:r.data;var o=void 0;o="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,r._proportion_=o*r.data*a+e.startAngle,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function at(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var i=0;i<t.length;i++){var r=t[i];r.data=null===r.data?0:r.data;var o=void 0;o="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,r._proportion_=o*r.data*a+e.startAngle,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function it(t,e,a){for(var i=e-a+1,r=e,o=0;o<t.length;o++)t[o].value=null===t[o].value?0:t[o].value,t[o]._startAngle_=r,t[o]._endAngle_=i*t[o].value+e,t[o]._endAngle_>=2&&(t[o]._endAngle_=t[o]._endAngle_%2),r=t[o]._endAngle_;return t}function rt(t,e,a){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=0;r<t.length;r++){var o=t[r];if(o.data=null===o.data?0:o.data,"auto"==a.pointer.color){for(var n=0;n<e.length;n++)if(o.data<=e[n].value){o.color=e[n].color;break}}else o.color=a.pointer.color;var s=a.startAngle-a.endAngle+1;o._endAngle_=s*o.data+a.startAngle,o._oldAngle_=a.oldAngle,a.oldAngle<a.endAngle&&(o._oldAngle_+=2),o.data>=a.oldData?o._proportion_=(o._endAngle_-o._oldAngle_)*i+a.oldAngle:o._proportion_=o._oldAngle_-(o._oldAngle_-o._endAngle_)*i,o._proportion_>=2&&(o._proportion_=o._proportion_%2)}return t}function ot(t,e,a,i){t=Z(t);for(var r=0,o=0;o<t.length;o++){var n=t[o],s=n.formatter?n.formatter(+n._proportion_.toFixed(2)):d.toFixed(100*n._proportion_)+"%";r=Math.max(r,S(s,n.textSize*i.pix||e.fontSize,a))}return r}function nt(t,e,a,i,r,o){return t.map((function(t){if(null===t)return null;var r=0,n=0;return"mix"==o.type?(r=o.extra.mix.column.seriesGap*o.pix||0,n=o.extra.mix.column.categoryGap*o.pix||0):(r=o.extra.column.seriesGap*o.pix||0,n=o.extra.column.categoryGap*o.pix||0),r=Math.min(r,e/a),n=Math.min(n,e/a),t.width=Math.ceil((e-2*n-r*(a-1))/a),o.extra.mix&&o.extra.mix.column.width&&+o.extra.mix.column.width>0&&(t.width=Math.min(t.width,+o.extra.mix.column.width*o.pix)),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(t.width=Math.min(t.width,+o.extra.column.width*o.pix)),t.width<=0&&(t.width=1),t.x+=(i+.5-a/2)*(t.width+r),t}))}function st(t,e,a,i,r,o){return t.map((function(t){if(null===t)return null;var r=0,n=0;return r=o.extra.bar.seriesGap*o.pix||0,n=o.extra.bar.categoryGap*o.pix||0,r=Math.min(r,e/a),n=Math.min(n,e/a),t.width=Math.ceil((e-2*n-r*(a-1))/a),o.extra.bar&&o.extra.bar.width&&+o.extra.bar.width>0&&(t.width=Math.min(t.width,+o.extra.bar.width*o.pix)),t.width<=0&&(t.width=1),t.y+=(i+.5-a/2)*(t.width+r),t}))}function lt(t,e,a,i,r,o,n){var s=o.extra.column.categoryGap*o.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*s,o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(t.width=Math.min(t.width,+o.extra.column.width*o.pix)),i>0&&(t.width-=n),t)}))}function ct(t,e,a,i,r,o,n){var s=o.extra.column.categoryGap*o.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(t.width=Math.min(t.width,+o.extra.column.width*o.pix)),t.width<=0&&(t.width=1),t)}))}function dt(t,e,a,i,r,o,n){var s=o.extra.bar.categoryGap*o.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),o.extra.bar&&o.extra.bar.width&&+o.extra.bar.width>0&&(t.width=Math.min(t.width,+o.extra.bar.width*o.pix)),t.width<=0&&(t.width=1),t)}))}function ht(t,e,a){var i=e.width-e.area[1]-e.area[3],r=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&r>1&&"justify"==e.xAxis.boundaryGap&&(r-=1);var o=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),o=e.extra.mount.widthRatio-1,r+=o);var n=i/r,s=[],l=e.area[3],c=e.width-e.area[1];return t.forEach((function(t,e){s.push(l+o/2*n+e*n)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?s.push(l+o*n+t.length*n):s.push(c)),{xAxisPoints:s,startX:l,endX:c,eachSpacing:n}}function pt(t,e,a,i,r,o,n){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=o.height-o.area[0]-o.area[2];return t.forEach((function(t,n){if(null===t)l.push(null);else{var d=[];t.forEach((function(t,l){var h={};h.x=i[n]+Math.round(r/2);var p=t.value||t,f=c*(p-e)/(a-e);f*=s,h.y=o.height-Math.round(f)-o.area[2],d.push(h)})),l.push(d)}})),l}function ft(t,e,a,i,r,o,n){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(l=o.xAxis.boundaryGap);var c=[],d=o.height-o.area[0]-o.area[2],h=o.width-o.area[1]-o.area[3];return t.forEach((function(t,n){if(null===t)c.push(null);else{var p={};p.color=t.color,p.x=i[n];var f,u,x,g=t;if("object"===typeof t&&null!==t)if(t.constructor.toString().indexOf("Array")>-1)f=[].concat(o.chartData.xAxisData.ranges),u=f.shift(),x=f.pop(),g=t[1],p.x=o.area[3]+h*(t[0]-u)/(x-u),"bubble"==o.type&&(p.r=t[2],p.t=t[3]);else g=t.value;"center"==l&&(p.x+=r/2);var v=d*(g-e)/(a-e);v*=s,p.y=o.height-v-o.area[2],c.push(p)}})),c}function ut(t,e,a,i,r,o,n){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=o.height-o.area[0]-o.area[2],d=(o.width,o.area[1],o.area[3],r*n.widthRatio);return t.forEach((function(t,n){if(null===t)l.push(null);else{var h={};h.color=t.color,h.x=i[n],h.x+=r/2;var p=t.data,f=c*(p-e)/(a-e);f*=s,h.y=o.height-f-o.area[2],h.value=p,h.width=d,l.push(h)}})),l}function xt(t,e,a,i,r,o,n){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return t.forEach((function(t,r){if(null===t)l.push(null);else{var n={};n.color=t.color,n.y=i[r];var d=t;"object"===typeof t&&null!==t&&(d=t.value);var h=c*(d-e)/(a-e);h*=s,n.height=h,n.value=d,n.x=h+o.area[3],l.push(n)}})),l}function gt(t,e,a,i,r,o,n,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,d=[],h=o.height-o.area[0]-o.area[2];return t.forEach((function(t,n){if(null===t)d.push(null);else{var p={};if(p.color=t.color,p.x=i[n]+Math.round(r/2),s>0){for(var f=0,u=0;u<=s;u++)f+=l[u].data[n];var x=f-t,g=h*(f-e)/(a-e),v=h*(x-e)/(a-e)}else f=t,g=h*(f-e)/(a-e),v=0;var m=v;g*=c,m*=c,p.y=o.height-Math.round(g)-o.area[2],p.y0=o.height-Math.round(m)-o.area[2],d.push(p)}})),d}function vt(t,e,a,i,r,o,n,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,d=[],h=o.width-o.area[1]-o.area[3];return t.forEach((function(t,r){if(null===t)d.push(null);else{var n={};if(n.color=t.color,n.y=i[r],s>0){for(var p=0,f=0;f<=s;f++)p+=l[f].data[r];var u=p-t,x=h*(p-e)/(a-e),g=h*(u-e)/(a-e)}else p=t,x=h*(p-e)/(a-e),g=0;var v=g;x*=c,v*=c,n.height=x-v,n.x=o.area[3]+x,n.x0=o.area[3]+v,d.push(n)}})),d}function mt(t,e,a,i,r){var o;o="stack"==i?T(t,e.categories.length):C(t);var n=[];o=o.filter((function(t){return"object"===typeof t&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),o.map((function(t){"object"===typeof t?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){n.push(t)})):n.push(t[1]):n.push(t.value):n.push(t)}));var s=r.min||0,l=r.max||0;n.length>0&&(s=Math.min.apply(this,n),l=Math.max.apply(this,n)),s===l&&(0==l?l=10:s=0);for(var c=A(s,l),d=void 0===r.min||null===r.min?c.minRange:r.min,h=void 0===r.max||null===r.max?c.maxRange:r.max,p=[],f=(h-d)/e.yAxis.splitNumber,u=0;u<=e.yAxis.splitNumber;u++)p.push(d+f*u);return p.reverse()}function yt(t,e,a,i){var r=c({},{type:""},e.extra.column),o=e.yAxis.data.length,n=new Array(o);if(o>0){for(var s=0;s<o;s++){n[s]=[];for(var l=0;l<t.length;l++)t[l].index==s&&n[s].push(t[l])}for(var d=new Array(o),h=new Array(o),p=new Array(o),f=function(t){var o=e.yAxis.data[t];1==e.yAxis.disabled&&(o.disabled=!0),"categories"===o.type?(o.formatter||(o.formatter=function(t,e,a){return t+(o.unit||"")}),o.categories=o.categories||e.categories,d[t]=o.categories):(o.formatter||(o.formatter=function(t,e,a){return t.toFixed(o.tofix)+(o.unit||"")}),d[t]=mt(n[t],e,a,r.type,o,t));var s=o.fontSize*e.pix||a.fontSize;p[t]={position:o.position?o.position:"left",width:0},h[t]=d[t].map((function(a,r){return a=o.formatter(a,r,e),p[t].width=Math.max(p[t].width,S(a,s,i)+5),a}));var l=o.calibration?4*e.pix:0;p[t].width+=l+3*e.pix,!0===o.disabled&&(p[t].width=0)},u=0;u<o;u++)f(u)}else{d=new Array(1),h=new Array(1),p=new Array(1);"bar"===e.type?(d[0]=e.categories,e.yAxis.formatter||(e.yAxis.formatter=function(t,e,a){return t+(a.yAxis.unit||"")})):(e.yAxis.formatter||(e.yAxis.formatter=function(t,e,a){return t.toFixed(a.yAxis.tofix)+(a.yAxis.unit||"")}),d[0]=mt(t,e,a,r.type,{})),p[0]={position:"left",width:0};var x=e.yAxis.fontSize*e.pix||a.fontSize;h[0]=d[0].map((function(t,a){return t=e.yAxis.formatter(t,a,e),p[0].width=Math.max(p[0].width,S(t,x,i)+5),t})),p[0].width+=3*e.pix,!0===e.yAxis.disabled?(p[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):(e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,formatter:e.yAxis.formatter},"bar"===e.type&&(e.yAxis.data[0].categories=e.categories,e.yAxis.data[0].type="categories"))}return{rangesFormat:h,ranges:d,yAxisWidth:p}}function bt(t,e,a,i,r){for(var o=[].concat(a.chartData.yAxisData.ranges),n=a.height-a.area[0]-a.area[2],s=a.area[0],l=[],c=0;c<o.length;c++){var d=o[c].shift(),h=o[c].pop(),p=d-(d-h)*(t-s)/n;p=a.yAxis.data[c].formatter?a.yAxis.data[c].formatter(p):p.toFixed(0),l.push(String(p))}return l}function wt(t,e){for(var a,i,r=e.height-e.area[0]-e.area[2],o=0;o<t.length;o++){t[o].yAxisIndex=t[o].yAxisIndex?t[o].yAxisIndex:0;var n=[].concat(e.chartData.yAxisData.ranges[t[o].yAxisIndex]);a=n.pop(),i=n.shift();var s=r*(t[o].value-a)/(i-a);t[o].y=e.height-Math.round(s)-e.area[2]}return t}function At(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function St(t,e,a,i,r){if(i.beginPath(),"hollow"==r.dataPointShapeType?(i.setStrokeStyle(e),i.setFillStyle(r.background),i.setLineWidth(2*r.pix)):(i.setStrokeStyle("#ffffff"),i.setFillStyle(e),i.setLineWidth(1*r.pix)),"diamond"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y),i.lineTo(t.x,t.y+4.5),i.lineTo(t.x+4.5,t.y),i.lineTo(t.x,t.y-4.5))}));else if("circle"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x+2.5*r.pix,t.y),i.arc(t.x,t.y,3*r.pix,0,2*Math.PI,!1))}));else if("square"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x-3.5,t.y-3.5),i.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y+4.5),i.lineTo(t.x+4.5,t.y+4.5),i.lineTo(t.x,t.y-4.5))}));else if("triangle"===a)return;i.closePath(),i.fill(),i.stroke()}function Ct(t,e,a,i){var r=t.title.fontSize||e.titleFontSize,o=t.subtitle.fontSize||e.subtitleFontSize,n=t.title.name||"",s=t.subtitle.name||"",l=t.title.color||t.fontColor,c=t.subtitle.color||t.fontColor,d=n?r:0,h=s?o:0,p=5;if(s){var f=S(s,o*t.pix,a),u=i.x-f/2+(t.subtitle.offsetX||0)*t.pix,x=i.y+o*t.pix/2+(t.subtitle.offsetY||0)*t.pix;n&&(x+=(d*t.pix+p)/2),a.beginPath(),a.setFontSize(o*t.pix),a.setFillStyle(c),a.fillText(s,u,x),a.closePath(),a.stroke()}if(n){var g=S(n,r*t.pix,a),v=i.x-g/2+(t.title.offsetX||0),m=i.y+r*t.pix/2+(t.title.offsetY||0)*t.pix;s&&(m-=(h*t.pix+p)/2),a.beginPath(),a.setFontSize(r*t.pix),a.setFillStyle(l),a.fillText(n,v,m),a.closePath(),a.stroke()}}function Tt(t,e,a,i,r){var o=e.data,n=e.textOffset?e.textOffset:0;t.forEach((function(t,s){if(null!==t){i.beginPath();var l=e.textSize?e.textSize*r.pix:a.fontSize;i.setFontSize(l),i.setFillStyle(e.textColor||r.fontColor);var c=o[s];"object"===typeof o[s]&&null!==o[s]&&(c=o[s].constructor.toString().indexOf("Array")>-1?o[s][1]:o[s].value);var d=e.formatter?e.formatter(c,s,e,r):c;i.setTextAlign("center"),i.fillText(String(d),t.x,t.y-4+n*r.pix),i.closePath(),i.stroke(),i.setTextAlign("left")}}))}function _t(t,e,a,i,r){e.data;var o=e.textOffset?e.textOffset:0;t.forEach((function(t,n){if(null!==t){i.beginPath();var s=e[n].textSize?e[n].textSize*r.pix:a.fontSize;i.setFontSize(s),i.setFillStyle(e[n].textColor||r.fontColor);var l=t.value,c=e[n].formatter?e[n].formatter(l,n,e,r):l;i.setTextAlign("center"),i.fillText(String(c),t.x,t.y-4+o*r.pix),i.closePath(),i.stroke(),i.setTextAlign("left")}}))}function Pt(t,e,a,i,r){var o=e.data;e.textOffset&&e.textOffset;t.forEach((function(t,n){if(null!==t){i.beginPath();var s=e.textSize?e.textSize*r.pix:a.fontSize;i.setFontSize(s),i.setFillStyle(e.textColor||r.fontColor);var l=o[n];"object"===typeof o[n]&&null!==o[n]&&(l=o[n].value);var c=e.formatter?e.formatter(l,n,e,r):l;i.setTextAlign("left"),i.fillText(String(c),t.x+4*r.pix,t.y+s/2-3),i.closePath(),i.stroke()}}))}function kt(t,e,a,i,r,o){e-=t.width/2+t.labelOffset*i.pix,e=e<10?10:e;for(var n=t.startAngle-t.endAngle+1,s=n/t.splitLine.splitNumber,l=t.endNumber-t.startNumber,c=l/t.splitLine.splitNumber,d=t.startAngle,h=t.startNumber,p=0;p<t.splitLine.splitNumber+1;p++){var f={x:e*Math.cos(d*Math.PI),y:e*Math.sin(d*Math.PI)},u=t.formatter?t.formatter(h,p,i):h;f.x+=a.x-S(u,r.fontSize,o)/2,f.y+=a.y;var x=f.x,g=f.y;o.beginPath(),o.setFontSize(r.fontSize),o.setFillStyle(t.labelColor||i.fontColor),o.fillText(u,x,g+r.fontSize/2),o.closePath(),o.stroke(),d+=s,d>=2&&(d%=2),h+=c}}function Mt(t,e,a,i,r,o){var n=i.extra.radar||{};t.forEach((function(t,s){if(!0===n.labelPointShow&&""!==i.categories[s]){var l={x:e*Math.cos(t),y:e*Math.sin(t)},c=v(l.x,l.y,a);o.setFillStyle(n.labelPointColor),o.beginPath(),o.arc(c.x,c.y,n.labelPointRadius*i.pix,0,2*Math.PI,!1),o.closePath(),o.fill()}var h={x:(e+r.radarLabelTextMargin*i.pix)*Math.cos(t),y:(e+r.radarLabelTextMargin*i.pix)*Math.sin(t)},p=v(h.x,h.y,a),f=p.x,u=p.y;d.approximatelyEqual(h.x,0)?f-=S(i.categories[s]||"",r.fontSize,o)/2:h.x<0&&(f-=S(i.categories[s]||"",r.fontSize,o)),o.beginPath(),o.setFontSize(r.fontSize),o.setFillStyle(n.labelColor||i.fontColor),o.fillText(i.categories[s]||"",f,u+r.fontSize/2),o.closePath(),o.stroke()}))}function Dt(t,e,a,i,r,o){for(var n=a.pieChartLinePadding,s=[],l=null,c=t.map((function(a,i){var r=a.formatter?a.formatter(a,i,t,e):d.toFixed(100*a._proportion_.toFixed(4))+"%";r=a.labelText?a.labelText:r;var o=2*Math.PI-(a._start_+2*Math.PI*a._proportion_/2);a._rose_proportion_&&(o=2*Math.PI-(a._start_+2*Math.PI*a._rose_proportion_/2));var n=a.color,s=a._radius_;return{arc:o,text:r,color:n,radius:s,textColor:a.textColor,textSize:a.textSize,labelShow:a.labelShow}})),h=0;h<c.length;h++){var p=c[h],f=Math.cos(p.arc)*(p.radius+n),u=Math.sin(p.arc)*(p.radius+n),x=Math.cos(p.arc)*p.radius,g=Math.sin(p.arc)*p.radius,y=f>=0?f+a.pieChartTextPadding:f-a.pieChartTextPadding,b=u,w=S(p.text,p.textSize*e.pix||a.fontSize,i),A=b;l&&d.isSameXCoordinateArea(l.start,{x:y})&&(A=y>0?Math.min(b,l.start.y):f<0||b>0?Math.max(b,l.start.y):Math.min(b,l.start.y)),y<0&&(y-=w);var C={lineStart:{x:x,y:g},lineEnd:{x:f,y:u},start:{x:y,y:A},width:w,height:a.fontSize,text:p.text,color:p.color,textColor:p.textColor,textSize:p.textSize};l=m(C,l),s.push(l)}for(var T=0;T<s.length;T++)if(!1!==c[T].labelShow){var _=s[T],P=v(_.lineStart.x,_.lineStart.y,o),k=v(_.lineEnd.x,_.lineEnd.y,o),M=v(_.start.x,_.start.y,o);i.setLineWidth(1*e.pix),i.setFontSize(_.textSize*e.pix||a.fontSize),i.beginPath(),i.setStrokeStyle(_.color),i.setFillStyle(_.color),i.moveTo(P.x,P.y);var D=_.start.x<0?M.x+_.width:M.x,F=_.start.x<0?M.x-5:M.x+5;i.quadraticCurveTo(k.x,k.y,D,M.y),i.moveTo(P.x,P.y),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(M.x+_.width,M.y),i.arc(D,M.y,2*e.pix,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(_.textSize*e.pix||a.fontSize),i.setFillStyle(_.textColor||e.fontColor),i.fillText(_.text,F,M.y+3),i.closePath(),i.stroke(),i.closePath()}}function Ft(t,e,a,i){var r=e.extra.tooltip||{};r.gridType=void 0==r.gridType?"solid":r.gridType,r.dashLength=void 0==r.dashLength?4:r.dashLength;var o=e.area[0],n=e.height-e.area[2];if("dash"==r.gridType&&i.setLineDash([r.dashLength,r.dashLength]),i.setStrokeStyle(r.gridColor||"#cccccc"),i.setLineWidth(1*e.pix),i.beginPath(),i.moveTo(t,o),i.lineTo(t,n),i.stroke(),i.setLineDash([]),r.xAxisLabel){var s=e.categories[e.tooltip.index];i.setFontSize(a.fontSize);var l=S(s,a.fontSize,i),c=t-.5*l,d=n;i.beginPath(),i.setFillStyle(h(r.labelBgColor||a.toolTipBackground,r.labelBgOpacity||a.toolTipOpacity)),i.setStrokeStyle(r.labelBgColor||a.toolTipBackground),i.setLineWidth(1*e.pix),i.rect(c-a.toolTipPadding,d,l+2*a.toolTipPadding,a.fontSize+2*a.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(a.fontSize),i.setFillStyle(r.labelFontColor||e.fontColor),i.fillText(String(s),c,d+a.toolTipPadding+a.fontSize),i.closePath(),i.stroke()}}function Lt(t,e,a){for(var i=c({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),r=t.area[3],o=t.width-t.area[1],n=wt(i.data,t),s=0;s<n.length;s++){var l=c({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},n[s]);if("dash"==i.type&&a.setLineDash([i.dashLength,i.dashLength]),a.setStrokeStyle(l.lineColor),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(r,l.y),a.lineTo(o,l.y),a.stroke(),a.setLineDash([]),l.showLabel){var d=l.labelText?l.labelText:l.value;a.setFontSize(e.fontSize);var p=S(d,e.fontSize,a),f=p+2*e.toolTipPadding,u="left"==l.labelAlign?t.area[3]-f:t.width-t.area[1];u+=l.labelOffsetX;var x=l.y-.5*e.fontSize-e.toolTipPadding;x+=l.labelOffsetY;var g=u+e.toolTipPadding;l.y;a.setFillStyle(h(l.labelBgColor,l.labelBgOpacity)),a.setStrokeStyle(l.labelBgColor),a.setLineWidth(1*t.pix),a.beginPath(),a.rect(u,x,f,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.setFontSize(e.fontSize),a.setTextAlign("left"),a.setFillStyle(l.labelFontColor),a.fillText(String(d),g,x+e.fontSize+e.toolTipPadding/2),a.stroke(),a.setTextAlign("left")}}}function Ot(t,e,a,i,r){var o=c({},{gridType:"solid",dashLength:4},t.extra.tooltip),n=t.area[3],s=t.width-t.area[1];if("dash"==o.gridType&&a.setLineDash([o.dashLength,o.dashLength]),a.setStrokeStyle(o.gridColor||"#cccccc"),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(n,t.tooltip.offset.y),a.lineTo(s,t.tooltip.offset.y),a.stroke(),a.setLineDash([]),o.yAxisLabel)for(var l=bt(t.tooltip.offset.y,t.series,t,e,i),d=t.chartData.yAxisData.yAxisWidth,p=t.area[3],f=t.width-t.area[1],u=0;u<l.length;u++){a.setFontSize(e.fontSize);var x=S(l[u],e.fontSize,a),g=void 0,v=void 0,m=void 0;"left"==d[u].position?(g=p-d[u].width,v=Math.max(g,g+x+2*e.toolTipPadding)):(g=f,v=Math.max(g+d[u].width,g+x+2*e.toolTipPadding)),m=v-g;var y=g+(m-x)/2,b=t.tooltip.offset.y;a.beginPath(),a.setFillStyle(h(o.labelBgColor||e.toolTipBackground,o.labelBgOpacity||e.toolTipOpacity)),a.setStrokeStyle(o.labelBgColor||e.toolTipBackground),a.setLineWidth(1*t.pix),a.rect(g,b-.5*e.fontSize-e.toolTipPadding,m,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.beginPath(),a.setFontSize(e.fontSize),a.setFillStyle(o.labelFontColor||t.fontColor),a.fillText(l[u],y,b+.5*e.fontSize),a.closePath(),a.stroke(),"left"==d[u].position?p-=d[u].width+t.yAxis.padding*t.pix:f+=d[u].width+t.yAxis.padding*t.pix}}function It(t,e,a,i,r){var o=c({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:r},e.extra.column);o.activeWidth=o.activeWidth>r?r:o.activeWidth;var n=e.area[0],s=e.height-e.area[2];i.beginPath(),i.setFillStyle(h(o.activeBgColor,o.activeBgOpacity)),i.rect(t-o.activeWidth/2,n,o.activeWidth,s-n),i.closePath(),i.fill(),i.setFillStyle("#FFFFFF")}function Et(t,e,a,i,r){var o=c({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.bar),n=e.area[3],s=e.width-e.area[1];i.beginPath(),i.setFillStyle(h(o.activeBgColor,o.activeBgOpacity)),i.rect(n,t-r/2,s-n,r),i.closePath(),i.fill(),i.setFillStyle("#FFFFFF")}function Bt(t,e,a,i,r,o,n){var s=c({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},a.extra.tooltip);1==s.showCategory&&a.categories&&t.unshift({text:a.categories[a.tooltip.index],color:null});var l=4*a.pix,d=5*a.pix,p=s.showArrow?8*a.pix:0,f=!1;"line"!=a.type&&"mount"!=a.type&&"area"!=a.type&&"candle"!=a.type&&"mix"!=a.type||1==s.splitLine&&Ft(a.tooltip.offset.x,a,i,r),e=c({x:0,y:0},e),e.y-=8*a.pix;var u=t.map((function(t){return S(t.text,i.fontSize,r)})),x=l+d+4*i.toolTipPadding+Math.max.apply(null,u),g=2*i.toolTipPadding+t.length*i.toolTipLineHeight;if(0!=s.showBox){e.x-Math.abs(a._scrollDistance_||0)+p+x>a.width&&(f=!0),g+e.y>a.height&&(e.y=a.height-g),r.beginPath(),r.setFillStyle(h(s.bgColor||i.toolTipBackground,s.bgOpacity||i.toolTipOpacity)),r.setLineWidth(s.borderWidth*a.pix),r.setStrokeStyle(h(s.borderColor,s.borderOpacity));var v=s.borderRadius;f?(s.showArrow&&(r.moveTo(e.x,e.y+10*a.pix),r.lineTo(e.x-p,e.y+10*a.pix+5*a.pix)),r.arc(e.x-p-v,e.y+g-v,v,0,Math.PI/2,!1),r.arc(e.x-p-Math.round(x)+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),r.arc(e.x-p-Math.round(x)+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),r.arc(e.x-p-v,e.y+v,v,-Math.PI/2,0,!1),s.showArrow&&(r.lineTo(e.x-p,e.y+10*a.pix-5*a.pix),r.lineTo(e.x,e.y+10*a.pix))):(s.showArrow&&(r.moveTo(e.x,e.y+10*a.pix),r.lineTo(e.x+p,e.y+10*a.pix-5*a.pix)),r.arc(e.x+p+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),r.arc(e.x+p+Math.round(x)-v,e.y+v,v,-Math.PI/2,0,!1),r.arc(e.x+p+Math.round(x)-v,e.y+g-v,v,0,Math.PI/2,!1),r.arc(e.x+p+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),s.showArrow&&(r.lineTo(e.x+p,e.y+10*a.pix+5*a.pix),r.lineTo(e.x,e.y+10*a.pix))),r.closePath(),r.fill(),s.borderWidth>0&&r.stroke(),t.forEach((function(t,a){if(null!==t.color){r.beginPath(),r.setFillStyle(t.color);var o=e.x+p+2*i.toolTipPadding,n=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding+1;f&&(o=e.x-x-p+2*i.toolTipPadding),r.fillRect(o,n,l,i.fontSize),r.closePath()}})),t.forEach((function(t,a){var o=e.x+p+2*i.toolTipPadding+l+d;f&&(o=e.x-x-p+2*i.toolTipPadding+ +l+d);var n=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding;r.beginPath(),r.setFontSize(i.fontSize),r.setFillStyle(s.fontColor),r.fillText(t.text,o,n+i.fontSize),r.closePath(),r.stroke()}))}}function zt(t,e,i,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=e.chartData.xAxisData,s=n.xAxisPoints,l=n.eachSpacing,d=c({},{type:"group",width:l/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.column),p=[];r.save();var f=-2,u=s.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(r.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/l)-2,u=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===o&&It(e.tooltip.offset.x,e,i,r,l),d.customColor=w(d.linearType,d.customColor,t,i),t.forEach((function(n,c){var x,g,v;x=[].concat(e.chartData.yAxisData.ranges[n.index]),g=x.pop(),v=x.shift();var m=n.data;switch(d.type){case"group":var y=ft(m,g,v,s,l,e,i,o),b=gt(m,g,v,s,l,e,i,c,t,o);p.push(b),y=nt(y,l,t.length,c,i,e);for(var w=0;w<y.length;w++){var A=y[w];if(null!==A&&w>f&&w<u){var S=A.x-A.width/2,C=e.height-A.y-e.area[2];r.beginPath();var T=A.color||n.color,_=A.color||n.color;if("none"!==d.linearType){var P=r.createLinearGradient(S,A.y,S,e.height-e.area[2]);"opacity"==d.linearType?(P.addColorStop(0,h(T,d.linearOpacity)),P.addColorStop(1,h(T,1))):(P.addColorStop(0,h(d.customColor[n.linearIndex],d.linearOpacity)),P.addColorStop(d.colorStop,h(d.customColor[n.linearIndex],d.linearOpacity)),P.addColorStop(1,h(T,1))),T=P}if(d.barBorderRadius&&4===d.barBorderRadius.length||!0===d.barBorderCircle){var k=S,M=A.y,D=A.width,F=e.height-e.area[2]-A.y;d.barBorderCircle&&(d.barBorderRadius=[D/2,D/2,0,0]);var L=a(d.barBorderRadius,4),O=L[0],I=L[1],E=L[2],B=L[3],z=Math.min(D/2,F/2);O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,B=B>z?z:B,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,B=B<0?0:B,r.arc(k+O,M+O,O,-Math.PI,-Math.PI/2),r.arc(k+D-I,M+I,I,-Math.PI/2,0),r.arc(k+D-E,M+F-E,E,0,Math.PI/2),r.arc(k+B,M+F-B,B,Math.PI/2,Math.PI)}else r.moveTo(S,A.y),r.lineTo(S+A.width,A.y),r.lineTo(S+A.width,e.height-e.area[2]),r.lineTo(S,e.height-e.area[2]),r.lineTo(S,A.y),r.setLineWidth(1),r.setStrokeStyle(_);r.setFillStyle(T),r.closePath(),r.fill()}}break;case"stack":y=gt(m,g,v,s,l,e,i,c,t,o);p.push(y),y=ct(y,l,t.length,c,i,e,t);for(var W=0;W<y.length;W++){var R=y[W];if(null!==R&&W>f&&W<u){r.beginPath();T=R.color||n.color,S=R.x-R.width/2+1,C=e.height-R.y-e.area[2];var G=e.height-R.y0-e.area[2];c>0&&(C-=G),r.setFillStyle(T),r.moveTo(S,R.y),r.fillRect(S,R.y,R.width,C),r.closePath(),r.fill()}}break;case"meter":y=ft(m,g,v,s,l,e,i,o);p.push(y),y=lt(y,l,t.length,c,i,e,d.meterBorder);for(var N=0;N<y.length;N++){var j=y[N];if(null!==j&&N>f&&N<u){r.beginPath(),0==c&&d.meterBorder>0&&(r.setStrokeStyle(n.color),r.setLineWidth(d.meterBorder*e.pix)),0==c?r.setFillStyle(d.meterFillColor):r.setFillStyle(j.color||n.color);S=j.x-j.width/2,C=e.height-j.y-e.area[2];if(d.barBorderRadius&&4===d.barBorderRadius.length||!0===d.barBorderCircle){var Y=S,H=j.y,X=j.width,q=e.height-e.area[2]-j.y;d.barBorderCircle&&(d.barBorderRadius=[X/2,X/2,0,0]);var U=a(d.barBorderRadius,4),$=U[0],J=U[1],Q=U[2],V=U[3],Z=Math.min(X/2,q/2);$=$>Z?Z:$,J=J>Z?Z:J,Q=Q>Z?Z:Q,V=V>Z?Z:V,$=$<0?0:$,J=J<0?0:J,Q=Q<0?0:Q,V=V<0?0:V,r.arc(Y+$,H+$,$,-Math.PI,-Math.PI/2),r.arc(Y+X-J,H+J,J,-Math.PI/2,0),r.arc(Y+X-Q,H+q-Q,Q,0,Math.PI/2),r.arc(Y+V,H+q-V,V,Math.PI/2,Math.PI),r.fill()}else r.moveTo(S,j.y),r.lineTo(S+j.width,j.y),r.lineTo(S+j.width,e.height-e.area[2]),r.lineTo(S,e.height-e.area[2]),r.lineTo(S,j.y),r.fill();0==c&&d.meterBorder>0&&(r.closePath(),r.stroke())}}break}})),!1!==e.dataLabel&&1===o&&t.forEach((function(a,n){var c,h,p;c=[].concat(e.chartData.yAxisData.ranges[a.index]),h=c.pop(),p=c.shift();var f=a.data;switch(d.type){case"group":var u=ft(f,h,p,s,l,e,i,o);u=nt(u,l,t.length,n,i,e),Tt(u,a,i,r,e);break;case"stack":u=gt(f,h,p,s,l,e,i,n,t,o);Tt(u,a,i,r,e);break;case"meter":u=ft(f,h,p,s,l,e,i,o);Tt(u,a,i,r,e);break}})),r.restore(),{xAxisPoints:s,calPoints:p,eachSpacing:l}}function Wt(t,e,i,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=e.chartData.xAxisData,s=n.xAxisPoints,l=n.eachSpacing,d=c({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);d.widthRatio=d.widthRatio<=0?0:d.widthRatio,d.widthRatio=d.widthRatio>=2?2:d.widthRatio;r.save();var p,f,u,x=-2,g=s.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(r.translate(e._scrollDistance_,0),x=Math.floor(-e._scrollDistance_/l)-2,g=x+e.xAxis.itemCount+4),d.customColor=w(d.linearType,d.customColor,t,i),p=[].concat(e.chartData.yAxisData.ranges[0]),f=p.pop(),u=p.shift();var v=ut(t,f,u,s,l,e,d,o);switch(d.type){case"bar":for(var m=0;m<v.length;m++){var y=v[m];if(null!==y&&m>x&&m<g){var b=y.x-l*d.widthRatio/2,A=e.height-y.y-e.area[2];r.beginPath();var S=y.color||t[m].color,C=y.color||t[m].color;if("none"!==d.linearType){var T=r.createLinearGradient(b,y.y,b,e.height-e.area[2]);"opacity"==d.linearType?(T.addColorStop(0,h(S,d.linearOpacity)),T.addColorStop(1,h(S,1))):(T.addColorStop(0,h(d.customColor[t[m].linearIndex],d.linearOpacity)),T.addColorStop(d.colorStop,h(d.customColor[t[m].linearIndex],d.linearOpacity)),T.addColorStop(1,h(S,1))),S=T}if(d.barBorderRadius&&4===d.barBorderRadius.length||!0===d.barBorderCircle){var _=b,P=y.y,k=y.width,M=e.height-e.area[2]-y.y-d.borderWidth*e.pix/2;d.barBorderCircle&&(d.barBorderRadius=[k/2,k/2,0,0]);var D=a(d.barBorderRadius,4),F=D[0],L=D[1],O=D[2],I=D[3],E=Math.min(k/2,M/2);F=F>E?E:F,L=L>E?E:L,O=O>E?E:O,I=I>E?E:I,F=F<0?0:F,L=L<0?0:L,O=O<0?0:O,I=I<0?0:I,r.arc(_+F,P+F,F,-Math.PI,-Math.PI/2),r.arc(_+k-L,P+L,L,-Math.PI/2,0),r.arc(_+k-O,P+M-O,O,0,Math.PI/2),r.arc(_+I,P+M-I,I,Math.PI/2,Math.PI)}else r.moveTo(b,y.y),r.lineTo(b+y.width,y.y),r.lineTo(b+y.width,e.height-e.area[2]),r.lineTo(b,e.height-e.area[2]),r.lineTo(b,y.y);r.setStrokeStyle(C),r.setFillStyle(S),d.borderWidth>0&&(r.setLineWidth(d.borderWidth*e.pix),r.closePath(),r.stroke()),r.fill()}}break;case"triangle":for(var B=0;B<v.length;B++){var z=v[B];if(null!==z&&B>x&&B<g){b=z.x-l*d.widthRatio/2,A=e.height-z.y-e.area[2];r.beginPath();S=z.color||t[B].color,C=z.color||t[B].color;if("none"!==d.linearType){T=r.createLinearGradient(b,z.y,b,e.height-e.area[2]);"opacity"==d.linearType?(T.addColorStop(0,h(S,d.linearOpacity)),T.addColorStop(1,h(S,1))):(T.addColorStop(0,h(d.customColor[t[B].linearIndex],d.linearOpacity)),T.addColorStop(d.colorStop,h(d.customColor[t[B].linearIndex],d.linearOpacity)),T.addColorStop(1,h(S,1))),S=T}r.moveTo(b,e.height-e.area[2]),r.lineTo(z.x,z.y),r.lineTo(b+z.width,e.height-e.area[2]),r.setStrokeStyle(C),r.setFillStyle(S),d.borderWidth>0&&(r.setLineWidth(d.borderWidth*e.pix),r.stroke()),r.fill()}}break;case"mount":for(var W=0;W<v.length;W++){var R=v[W];if(null!==R&&W>x&&W<g){b=R.x-l*d.widthRatio/2,A=e.height-R.y-e.area[2];r.beginPath();S=R.color||t[W].color,C=R.color||t[W].color;if("none"!==d.linearType){T=r.createLinearGradient(b,R.y,b,e.height-e.area[2]);"opacity"==d.linearType?(T.addColorStop(0,h(S,d.linearOpacity)),T.addColorStop(1,h(S,1))):(T.addColorStop(0,h(d.customColor[t[W].linearIndex],d.linearOpacity)),T.addColorStop(d.colorStop,h(d.customColor[t[W].linearIndex],d.linearOpacity)),T.addColorStop(1,h(S,1))),S=T}r.moveTo(b,e.height-e.area[2]),r.bezierCurveTo(R.x-R.width/4,e.height-e.area[2],R.x-R.width/4,R.y,R.x,R.y),r.bezierCurveTo(R.x+R.width/4,R.y,R.x+R.width/4,e.height-e.area[2],b+R.width,e.height-e.area[2]),r.setStrokeStyle(C),r.setFillStyle(S),d.borderWidth>0&&(r.setLineWidth(d.borderWidth*e.pix),r.stroke()),r.fill()}}break;case"sharp":for(var G=0;G<v.length;G++){var N=v[G];if(null!==N&&G>x&&G<g){b=N.x-l*d.widthRatio/2,A=e.height-N.y-e.area[2];r.beginPath();S=N.color||t[G].color,C=N.color||t[G].color;if("none"!==d.linearType){T=r.createLinearGradient(b,N.y,b,e.height-e.area[2]);"opacity"==d.linearType?(T.addColorStop(0,h(S,d.linearOpacity)),T.addColorStop(1,h(S,1))):(T.addColorStop(0,h(d.customColor[t[G].linearIndex],d.linearOpacity)),T.addColorStop(d.colorStop,h(d.customColor[t[G].linearIndex],d.linearOpacity)),T.addColorStop(1,h(S,1))),S=T}r.moveTo(b,e.height-e.area[2]),r.quadraticCurveTo(N.x-0,e.height-e.area[2]-A/4,N.x,N.y),r.quadraticCurveTo(N.x+0,e.height-e.area[2]-A/4,b+N.width,e.height-e.area[2]),r.setStrokeStyle(C),r.setFillStyle(S),d.borderWidth>0&&(r.setLineWidth(d.borderWidth*e.pix),r.stroke()),r.fill()}}break}if(!1!==e.dataLabel&&1===o){var j,Y,H;j=[].concat(e.chartData.yAxisData.ranges[0]),Y=j.pop(),H=j.shift();v=ut(t,Y,H,s,l,e,d,o);_t(v,t,i,r,e)}return r.restore(),{xAxisPoints:s,calPoints:v,eachSpacing:l}}function Rt(t,e,i,r){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=[],s=(e.height-e.area[0]-e.area[2])/e.categories.length,l=0;l<e.categories.length;l++)n.push(e.area[0]+s/2+s*l);var d=c({},{type:"group",width:s/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.bar),p=[];r.save();var f=-2,u=n.length+2;return e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===o&&Et(e.tooltip.offset.y,e,i,r,s),d.customColor=w(d.linearType,d.customColor,t,i),t.forEach((function(l,c){var x,g,v;x=[].concat(e.chartData.xAxisData.ranges),v=x.pop(),g=x.shift();var m=l.data;switch(d.type){case"group":var y=xt(m,g,v,n,s,e,i,o),b=vt(m,g,v,n,s,e,i,c,t,o);p.push(b),y=st(y,s,t.length,c,i,e);for(var w=0;w<y.length;w++){var A=y[w];if(null!==A&&w>f&&w<u){var S=e.area[3],C=A.y-A.width/2;A.height;r.beginPath();var T=A.color||l.color,_=A.color||l.color;if("none"!==d.linearType){var P=r.createLinearGradient(S,A.y,A.x,A.y);"opacity"==d.linearType?(P.addColorStop(0,h(T,d.linearOpacity)),P.addColorStop(1,h(T,1))):(P.addColorStop(0,h(d.customColor[l.linearIndex],d.linearOpacity)),P.addColorStop(d.colorStop,h(d.customColor[l.linearIndex],d.linearOpacity)),P.addColorStop(1,h(T,1))),T=P}if(d.barBorderRadius&&4===d.barBorderRadius.length||!0===d.barBorderCircle){var k=S,M=A.width,D=A.y-A.width/2,F=A.height;d.barBorderCircle&&(d.barBorderRadius=[M/2,M/2,0,0]);var L=a(d.barBorderRadius,4),O=L[0],I=L[1],E=L[2],B=L[3],z=Math.min(M/2,F/2);O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,B=B>z?z:B,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,B=B<0?0:B,r.arc(k+B,D+B,B,-Math.PI,-Math.PI/2),r.arc(A.x-O,D+O,O,-Math.PI/2,0),r.arc(A.x-I,D+M-I,I,0,Math.PI/2),r.arc(k+E,D+M-E,E,Math.PI/2,Math.PI)}else r.moveTo(S,C),r.lineTo(A.x,C),r.lineTo(A.x,C+A.width),r.lineTo(S,C+A.width),r.lineTo(S,C),r.setLineWidth(1),r.setStrokeStyle(_);r.setFillStyle(T),r.closePath(),r.fill()}}break;case"stack":y=vt(m,g,v,n,s,e,i,c,t,o);p.push(y),y=dt(y,s,t.length,c,i,e,t);for(var W=0;W<y.length;W++){var R=y[W];if(null!==R&&W>f&&W<u){r.beginPath();T=R.color||l.color,S=R.x0;r.setFillStyle(T),r.moveTo(S,R.y-R.width/2),r.fillRect(S,R.y-R.width/2,R.height,R.width),r.closePath(),r.fill()}}break}})),!1!==e.dataLabel&&1===o&&t.forEach((function(a,l){var c,h,p;c=[].concat(e.chartData.xAxisData.ranges),p=c.pop(),h=c.shift();var f=a.data;switch(d.type){case"group":var u=xt(f,h,p,n,s,e,i,o);u=st(u,s,t.length,l,i,e),Pt(u,a,i,r,e);break;case"stack":u=vt(f,h,p,n,s,e,i,l,t,o);Pt(u,a,i,r,e);break}})),{yAxisPoints:n,calPoints:p,eachSpacing:s}}function Gt(t,e,a,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,n=c({},{color:{},average:{}},a.extra.candle);n.color=c({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},n.color),n.average=c({},{show:!1,name:[],day:[],color:i.color},n.average),a.extra.candle=n;var s=a.chartData.xAxisData,l=s.xAxisPoints,d=s.eachSpacing,h=[];r.save();var p=-2,f=l.length+2,u=0,x=a.width+d;return a._scrollDistance_&&0!==a._scrollDistance_&&!0===a.enableScroll&&(r.translate(a._scrollDistance_,0),p=Math.floor(-a._scrollDistance_/d)-2,f=p+a.xAxis.itemCount+4,u=-a._scrollDistance_-2*d+a.area[3],x=u+(a.xAxis.itemCount+4)*d),(n.average.show||e)&&e.forEach((function(t,e){var n,s,c;n=[].concat(a.chartData.yAxisData.ranges[t.index]),s=n.pop(),c=n.shift();for(var h=t.data,p=ft(h,s,c,l,d,a,i,o),f=q(p,t),v=0;v<f.length;v++){var m=f[v];if(r.beginPath(),r.setStrokeStyle(t.color),r.setLineWidth(1),1===m.length)r.moveTo(m[0].x,m[0].y),r.arc(m[0].x,m[0].y,1,0,2*Math.PI);else{r.moveTo(m[0].x,m[0].y);for(var y=0,b=0;b<m.length;b++){var w=m[b];if(0==y&&w.x>u&&(r.moveTo(w.x,w.y),y=1),b>0&&w.x>u&&w.x<x){var A=g(m,b-1);r.bezierCurveTo(A.ctrA.x,A.ctrA.y,A.ctrB.x,A.ctrB.y,w.x,w.y)}}r.moveTo(m[0].x,m[0].y)}r.closePath(),r.stroke()}})),t.forEach((function(t,e){var s,c,u;s=[].concat(a.chartData.yAxisData.ranges[t.index]),c=s.pop(),u=s.shift();var x=t.data,g=pt(x,c,u,l,d,a,i,o);h.push(g);for(var v=q(g,t),m=0;m<v[0].length;m++)if(m>p&&m<f){var y=v[0][m];r.beginPath(),x[m][1]-x[m][0]>0?(r.setStrokeStyle(n.color.upLine),r.setFillStyle(n.color.upFill),r.setLineWidth(1*a.pix),r.moveTo(y[3].x,y[3].y),r.lineTo(y[1].x,y[1].y),r.lineTo(y[1].x-d/4,y[1].y),r.lineTo(y[0].x-d/4,y[0].y),r.lineTo(y[0].x,y[0].y),r.lineTo(y[2].x,y[2].y),r.lineTo(y[0].x,y[0].y),r.lineTo(y[0].x+d/4,y[0].y),r.lineTo(y[1].x+d/4,y[1].y),r.lineTo(y[1].x,y[1].y),r.moveTo(y[3].x,y[3].y)):(r.setStrokeStyle(n.color.downLine),r.setFillStyle(n.color.downFill),r.setLineWidth(1*a.pix),r.moveTo(y[3].x,y[3].y),r.lineTo(y[0].x,y[0].y),r.lineTo(y[0].x-d/4,y[0].y),r.lineTo(y[1].x-d/4,y[1].y),r.lineTo(y[1].x,y[1].y),r.lineTo(y[2].x,y[2].y),r.lineTo(y[1].x,y[1].y),r.lineTo(y[1].x+d/4,y[1].y),r.lineTo(y[0].x+d/4,y[0].y),r.lineTo(y[0].x,y[0].y),r.moveTo(y[3].x,y[3].y)),r.closePath(),r.fill(),r.stroke()}})),r.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:d}}function Nt(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=c({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),n=e.chartData.xAxisData,s=n.xAxisPoints,l=n.eachSpacing,d=e.height-e.area[2],p=[];i.save();var f=0,u=e.width+l;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),f=-e._scrollDistance_-2*l+e.area[3],u=f+(e.xAxis.itemCount+4)*l),t.forEach((function(t,n){var c,x,v;c=[].concat(e.chartData.yAxisData.ranges[t.index]),x=c.pop(),v=c.shift();var m=t.data,y=ft(m,x,v,s,l,e,a,r);p.push(y);for(var b=q(y,t),w=0;w<b.length;w++){var A=b[w];if(i.beginPath(),i.setStrokeStyle(h(t.color,o.opacity)),o.gradient){var S=i.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);S.addColorStop("0",h(t.color,o.opacity)),S.addColorStop("1.0",h("#FFFFFF",.1)),i.setFillStyle(S)}else i.setFillStyle(h(t.color,o.opacity));if(i.setLineWidth(o.width*e.pix),A.length>1){var C=A[0],T=A[A.length-1];i.moveTo(C.x,C.y);var _=0;if("curve"===o.type)for(var P=0;P<A.length;P++){var k=A[P];if(0==_&&k.x>f&&(i.moveTo(k.x,k.y),_=1),P>0&&k.x>f&&k.x<u){var M=g(A,P-1);i.bezierCurveTo(M.ctrA.x,M.ctrA.y,M.ctrB.x,M.ctrB.y,k.x,k.y)}}if("straight"===o.type)for(var D=0;D<A.length;D++){var F=A[D];0==_&&F.x>f&&(i.moveTo(F.x,F.y),_=1),D>0&&F.x>f&&F.x<u&&i.lineTo(F.x,F.y)}if("step"===o.type)for(var L=0;L<A.length;L++){var O=A[L];0==_&&O.x>f&&(i.moveTo(O.x,O.y),_=1),L>0&&O.x>f&&O.x<u&&(i.lineTo(O.x,A[L-1].y),i.lineTo(O.x,O.y))}i.lineTo(T.x,d),i.lineTo(C.x,d),i.lineTo(C.x,C.y)}else{var I=A[0];i.moveTo(I.x-l/2,I.y),i.lineTo(I.x+l/2,I.y),i.lineTo(I.x+l/2,d),i.lineTo(I.x-l/2,d),i.moveTo(I.x-l/2,I.y)}if(i.closePath(),i.fill(),o.addLine){if("dash"==t.lineType){var E=t.dashLength?t.dashLength:8;E*=e.pix,i.setLineDash([E,E])}if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(o.width*e.pix),1===A.length)i.moveTo(A[0].x,A[0].y),i.arc(A[0].x,A[0].y,1,0,2*Math.PI);else{i.moveTo(A[0].x,A[0].y);var B=0;if("curve"===o.type)for(var z=0;z<A.length;z++){var W=A[z];if(0==B&&W.x>f&&(i.moveTo(W.x,W.y),B=1),z>0&&W.x>f&&W.x<u){var R=g(A,z-1);i.bezierCurveTo(R.ctrA.x,R.ctrA.y,R.ctrB.x,R.ctrB.y,W.x,W.y)}}if("straight"===o.type)for(var G=0;G<A.length;G++){var N=A[G];0==B&&N.x>f&&(i.moveTo(N.x,N.y),B=1),G>0&&N.x>f&&N.x<u&&i.lineTo(N.x,N.y)}if("step"===o.type)for(var j=0;j<A.length;j++){var Y=A[j];0==B&&Y.x>f&&(i.moveTo(Y.x,Y.y),B=1),j>0&&Y.x>f&&Y.x<u&&(i.lineTo(Y.x,A[j-1].y),i.lineTo(Y.x,Y.y))}i.moveTo(A[0].x,A[0].y)}i.stroke(),i.setLineDash([])}}!1!==e.dataPointShape&&St(y,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===r&&t.forEach((function(t,o){var n,c,d;n=[].concat(e.chartData.yAxisData.ranges[t.index]),c=n.pop(),d=n.shift();var h=t.data,p=ft(h,c,d,s,l,e,a,r);Tt(p,t,a,i,e)})),i.restore(),{xAxisPoints:s,calPoints:p,eachSpacing:l}}function jt(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=(c({},{type:"circle"},e.extra.scatter),e.chartData.xAxisData),n=o.xAxisPoints,s=o.eachSpacing,l=[];i.save();var d=0;e.width;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),d=-e._scrollDistance_-2*s+e.area[3],d+(e.xAxis.itemCount+4)*s),t.forEach((function(t,o){var l,c,d;l=[].concat(e.chartData.yAxisData.ranges[t.index]),c=l.pop(),d=l.shift();var h=t.data,p=ft(h,c,d,n,s,e,a,r);i.beginPath(),i.setStrokeStyle(t.color),i.setFillStyle(t.color),i.setLineWidth(1*e.pix);var f=t.pointShape;if("diamond"===f)p.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y),i.lineTo(t.x,t.y+4.5),i.lineTo(t.x+4.5,t.y),i.lineTo(t.x,t.y-4.5))}));else if("circle"===f)p.forEach((function(t,a){null!==t&&(i.moveTo(t.x+2.5*e.pix,t.y),i.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===f)p.forEach((function(t,e){null!==t&&(i.moveTo(t.x-3.5,t.y-3.5),i.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===f)p.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y+4.5),i.lineTo(t.x+4.5,t.y+4.5),i.lineTo(t.x,t.y-4.5))}));else if("triangle"===f)return;i.closePath(),i.fill(),i.stroke()})),!1!==e.dataLabel&&1===r&&t.forEach((function(t,o){var l,c,d;l=[].concat(e.chartData.yAxisData.ranges[t.index]),c=l.pop(),d=l.shift();var h=t.data,p=ft(h,c,d,n,s,e,a,r);Tt(p,t,a,i,e)})),i.restore(),{xAxisPoints:n,calPoints:l,eachSpacing:s}}function Yt(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=c({},{opacity:1,border:2},e.extra.bubble),n=e.chartData.xAxisData,s=n.xAxisPoints,l=n.eachSpacing,d=[];i.save();var p=0;e.width;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),p=-e._scrollDistance_-2*l+e.area[3],p+(e.xAxis.itemCount+4)*l),t.forEach((function(n,c){var d,p,f;d=[].concat(e.chartData.yAxisData.ranges[n.index]),p=d.pop(),f=d.shift();var u=n.data,x=ft(u,p,f,s,l,e,a,r);i.beginPath(),i.setStrokeStyle(n.color),i.setLineWidth(o.border*e.pix),i.setFillStyle(h(n.color,o.opacity)),x.forEach((function(t,a){i.moveTo(t.x+t.r,t.y),i.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),i.closePath(),i.fill(),i.stroke(),!1!==e.dataLabel&&1===r&&x.forEach((function(r,o){i.beginPath();var n=t.textSize*e.pix||a.fontSize;i.setFontSize(n),i.setFillStyle(t.textColor||"#FFFFFF"),i.setTextAlign("center"),i.fillText(String(r.t),r.x,r.y+n/2),i.closePath(),i.stroke(),i.setTextAlign("left")}))})),i.restore(),{xAxisPoints:s,calPoints:d,eachSpacing:l}}function Ht(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=c({},{type:"straight",width:2},e.extra.line);o.width*=e.pix;var n=e.chartData.xAxisData,s=n.xAxisPoints,l=n.eachSpacing,d=[];i.save();var h=0,p=e.width+l;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*l+e.area[3],p=h+(e.xAxis.itemCount+4)*l),t.forEach((function(t,n){var c,f,u;c=[].concat(e.chartData.yAxisData.ranges[t.index]),f=c.pop(),u=c.shift();var x=t.data,v=ft(x,f,u,s,l,e,a,r);d.push(v);var m=q(v,t);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pix,i.setLineDash([y,y])}i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(o.width),m.forEach((function(t,e){if(1===t.length)i.moveTo(t[0].x,t[0].y),i.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{i.moveTo(t[0].x,t[0].y);var a=0;if("curve"===o.type)for(var r=0;r<t.length;r++){var n=t[r];if(0==a&&n.x>h&&(i.moveTo(n.x,n.y),a=1),r>0&&n.x>h&&n.x<p){var s=g(t,r-1);i.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,n.x,n.y)}}if("straight"===o.type)for(var l=0;l<t.length;l++){var c=t[l];0==a&&c.x>h&&(i.moveTo(c.x,c.y),a=1),l>0&&c.x>h&&c.x<p&&i.lineTo(c.x,c.y)}if("step"===o.type)for(var d=0;d<t.length;d++){var f=t[d];0==a&&f.x>h&&(i.moveTo(f.x,f.y),a=1),d>0&&f.x>h&&f.x<p&&(i.lineTo(f.x,t[d-1].y),i.lineTo(f.x,f.y))}i.moveTo(t[0].x,t[0].y)}})),i.stroke(),i.setLineDash([]),!1!==e.dataPointShape&&St(v,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===r&&t.forEach((function(t,o){var n,c,d;n=[].concat(e.chartData.yAxisData.ranges[t.index]),c=n.pop(),d=n.shift();var h=t.data,p=ft(h,c,d,s,l,e,a,r);Tt(p,t,a,i,e)})),i.restore(),{xAxisPoints:s,calPoints:d,eachSpacing:l}}function Xt(t,e,i,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=e.chartData.xAxisData,s=n.xAxisPoints,l=n.eachSpacing,d=c({},{width:l/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),p=c({},{opacity:.2,gradient:!1},e.extra.mix.area),f=e.height-e.area[2],u=[],x=0,v=0;t.forEach((function(t,e){"column"==t.type&&(v+=1)})),r.save();var m=-2,y=s.length+2,b=0,A=e.width+l;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(r.translate(e._scrollDistance_,0),m=Math.floor(-e._scrollDistance_/l)-2,y=m+e.xAxis.itemCount+4,b=-e._scrollDistance_-2*l+e.area[3],A=b+(e.xAxis.itemCount+4)*l),d.customColor=w(d.linearType,d.customColor,t,i),t.forEach((function(t,n){var c,w,S;c=[].concat(e.chartData.yAxisData.ranges[t.index]),w=c.pop(),S=c.shift();var C=t.data,T=ft(C,w,S,s,l,e,i,o);if(u.push(T),"column"==t.type){T=nt(T,l,v,x,i,e);for(var _=0;_<T.length;_++){var P=T[_];if(null!==P&&_>m&&_<y){var k=P.x-P.width/2;e.height,P.y,e.area[2];r.beginPath();var M=P.color||t.color,D=P.color||t.color;if("none"!==d.linearType){var F=r.createLinearGradient(k,P.y,k,e.height-e.area[2]);"opacity"==d.linearType?(F.addColorStop(0,h(M,d.linearOpacity)),F.addColorStop(1,h(M,1))):(F.addColorStop(0,h(d.customColor[t.linearIndex],d.linearOpacity)),F.addColorStop(d.colorStop,h(d.customColor[t.linearIndex],d.linearOpacity)),F.addColorStop(1,h(M,1))),M=F}if(d.barBorderRadius&&4===d.barBorderRadius.length||d.barBorderCircle){var L=k,O=P.y,I=P.width,E=e.height-e.area[2]-P.y;d.barBorderCircle&&(d.barBorderRadius=[I/2,I/2,0,0]);var B=a(d.barBorderRadius,4),z=B[0],W=B[1],R=B[2],G=B[3],N=Math.min(I/2,E/2);z=z>N?N:z,W=W>N?N:W,R=R>N?N:R,G=G>N?N:G,z=z<0?0:z,W=W<0?0:W,R=R<0?0:R,G=G<0?0:G,r.arc(L+z,O+z,z,-Math.PI,-Math.PI/2),r.arc(L+I-W,O+W,W,-Math.PI/2,0),r.arc(L+I-R,O+E-R,R,0,Math.PI/2),r.arc(L+G,O+E-G,G,Math.PI/2,Math.PI)}else r.moveTo(k,P.y),r.lineTo(k+P.width,P.y),r.lineTo(k+P.width,e.height-e.area[2]),r.lineTo(k,e.height-e.area[2]),r.lineTo(k,P.y),r.setLineWidth(1),r.setStrokeStyle(D);r.setFillStyle(M),r.closePath(),r.fill()}}x+=1}if("area"==t.type)for(var j=q(T,t),Y=0;Y<j.length;Y++){var H=j[Y];if(r.beginPath(),r.setStrokeStyle(t.color),r.setStrokeStyle(h(t.color,p.opacity)),p.gradient){var X=r.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);X.addColorStop("0",h(t.color,p.opacity)),X.addColorStop("1.0",h("#FFFFFF",.1)),r.setFillStyle(X)}else r.setFillStyle(h(t.color,p.opacity));if(r.setLineWidth(2*e.pix),H.length>1){var U=H[0],$=H[H.length-1];r.moveTo(U.x,U.y);var J=0;if("curve"===t.style)for(var Q=0;Q<H.length;Q++){var V=H[Q];if(0==J&&V.x>b&&(r.moveTo(V.x,V.y),J=1),Q>0&&V.x>b&&V.x<A){var Z=g(H,Q-1);r.bezierCurveTo(Z.ctrA.x,Z.ctrA.y,Z.ctrB.x,Z.ctrB.y,V.x,V.y)}}else for(var K=0;K<H.length;K++){var tt=H[K];0==J&&tt.x>b&&(r.moveTo(tt.x,tt.y),J=1),K>0&&tt.x>b&&tt.x<A&&r.lineTo(tt.x,tt.y)}r.lineTo($.x,f),r.lineTo(U.x,f),r.lineTo(U.x,U.y)}else{var et=H[0];r.moveTo(et.x-l/2,et.y),r.lineTo(et.x+l/2,et.y),r.lineTo(et.x+l/2,f),r.lineTo(et.x-l/2,f),r.moveTo(et.x-l/2,et.y)}r.closePath(),r.fill()}if("line"==t.type){var at=q(T,t);at.forEach((function(a,i){if("dash"==t.lineType){var o=t.dashLength?t.dashLength:8;o*=e.pix,r.setLineDash([o,o])}if(r.beginPath(),r.setStrokeStyle(t.color),r.setLineWidth(2*e.pix),1===a.length)r.moveTo(a[0].x,a[0].y),r.arc(a[0].x,a[0].y,1,0,2*Math.PI);else{r.moveTo(a[0].x,a[0].y);var n=0;if("curve"==t.style)for(var s=0;s<a.length;s++){var l=a[s];if(0==n&&l.x>b&&(r.moveTo(l.x,l.y),n=1),s>0&&l.x>b&&l.x<A){var c=g(a,s-1);r.bezierCurveTo(c.ctrA.x,c.ctrA.y,c.ctrB.x,c.ctrB.y,l.x,l.y)}}else for(var d=0;d<a.length;d++){var h=a[d];0==n&&h.x>b&&(r.moveTo(h.x,h.y),n=1),d>0&&h.x>b&&h.x<A&&r.lineTo(h.x,h.y)}r.moveTo(a[0].x,a[0].y)}r.stroke(),r.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&St(T,t.color,t.pointShape,r,e)})),!1!==e.dataLabel&&1===o){x=0;t.forEach((function(t,a){var n,c,d;n=[].concat(e.chartData.yAxisData.ranges[t.index]),c=n.pop(),d=n.shift();var h=t.data,p=ft(h,c,d,s,l,e,i,o);"column"!==t.type?Tt(p,t,i,r,e):(p=nt(p,l,v,x,i,e),Tt(p,t,i,r,e),x+=1)}))}return r.restore(),{xAxisPoints:s,calPoints:u,eachSpacing:l}}function qt(t,e,a,i,r,o){var n=t.extra.tooltip||{};n.horizentalLine&&t.tooltip&&1===i&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&Ot(t,e,a,r,o),a.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&a.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===i&&Bt(t.tooltip.textList,t.tooltip.offset,t,e,a,r,o),a.restore()}function Ut(t,e,a,i){var r=e.chartData.xAxisData,o=r.xAxisPoints,n=r.startX,s=r.endX,l=r.eachSpacing,c="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(c=e.xAxis.boundaryGap);var d=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var p=e.height-e.area[2]+a.xAxisHeight,f=s-n,u=l*(o.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),u+=(e.extra.mount.widthRatio-1)*l);var x=f*f/u,g=0;e._scrollDistance_&&(g=-e._scrollDistance_*f/u),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pix),i.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),i.moveTo(n,p),i.lineTo(s,p),i.stroke(),i.closePath(),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pix),i.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),i.moveTo(n+g,p),i.lineTo(n+g+x,p),i.stroke(),i.closePath(),i.setLineCap("butt")}if(i.save(),e._scrollDistance_&&0!==e._scrollDistance_&&i.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(i.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),i.setLineCap("butt"),i.setLineWidth(1*e.pix),o.forEach((function(t,a){a>0&&(i.beginPath(),i.moveTo(t-l/2,d),i.lineTo(t-l/2,d+3*e.pix),i.closePath(),i.stroke())}))),!0!==e.xAxis.disableGrid&&(i.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),i.setLineCap("butt"),i.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&i.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,o.forEach((function(t,a){a%e.xAxis.gridEval==0&&(i.beginPath(),i.moveTo(t,d),i.lineTo(t,h),i.stroke())})),i.setLineDash([])),!0!==e.xAxis.disabled){var v=t.length;e.xAxis.labelCount&&(v=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,v-=1);for(var m=Math.ceil(t.length/v),y=[],b=t.length,w=0;w<b;w++)w%m!==0?y.push(""):y.push(t[w]);y[b-1]=t[b-1];var A=e.xAxis.fontSize*e.pix||a.fontSize;0===a._xAxisTextAngle_?y.forEach((function(t,r){var n=e.xAxis.formatter?e.xAxis.formatter(t,r,e):t,s=-S(String(n),A,i)/2;"center"==c&&(s+=l/2);var h=0;e.xAxis.scrollShow&&(h=6*e.pix),i.beginPath(),i.setFontSize(A),i.setFillStyle(e.xAxis.fontColor||e.fontColor),i.fillText(String(n),o[r]+s,d+A+(a.xAxisHeight-h-A)/2),i.closePath(),i.stroke()})):y.forEach((function(t,r){var n=e.xAxis.formatter?e.xAxis.formatter(t):t;i.save(),i.beginPath(),i.setFontSize(A),i.setFillStyle(e.xAxis.fontColor||e.fontColor);var s=S(String(n),A,i),h=o[r];"center"==c&&(h=o[r]+l/2);e.xAxis.scrollShow&&e.pix;var p=d+6*e.pix+A-A*Math.abs(Math.sin(a._xAxisTextAngle_));e.xAxis.rotateAngle<0?(h-=A/2,s=0):(h+=A/2,s=-s),i.translate(h,p),i.rotate(-1*a._xAxisTextAngle_),i.fillText(String(n),s,0),i.closePath(),i.stroke(),i.restore()}))}i.restore(),e.xAxis.axisLine&&(i.beginPath(),i.setStrokeStyle(e.xAxis.axisLineColor),i.setLineWidth(1*e.pix),i.moveTo(n,e.height-e.area[2]),i.lineTo(s,e.height-e.area[2]),i.stroke())}function $t(t,e,a,i){if(!0!==e.yAxis.disableGrid){var r=e.height-e.area[0]-e.area[2],o=r/e.yAxis.splitNumber,n=e.area[3],s=e.chartData.xAxisData.xAxisPoints,l=e.chartData.xAxisData.eachSpacing,c=l*(s.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),c+=(e.extra.mount.widthRatio-1)*l);var d=n+c,h=[],p=1;!1===e.xAxis.axisLine&&(p=0);for(var f=p;f<e.yAxis.splitNumber+1;f++)h.push(e.height-e.area[2]-o*f);i.save(),e._scrollDistance_&&0!==e._scrollDistance_&&i.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&i.setLineDash([e.yAxis.dashLength*e.pix,e.yAxis.dashLength*e.pix]),i.setStrokeStyle(e.yAxis.gridColor),i.setLineWidth(1*e.pix),h.forEach((function(t,e){i.beginPath(),i.moveTo(n,t),i.lineTo(d,t),i.stroke()})),i.setLineDash([]),i.restore()}}function Jt(t,e,a,i){if(!0!==e.yAxis.disabled){var r=e.height-e.area[0]-e.area[2],o=r/e.yAxis.splitNumber,n=e.area[3],s=e.width-e.area[1],l=e.height-e.area[2],c=l+a.xAxisHeight;e.xAxis.scrollShow&&(c-=3*e.pix),e.xAxis.rotateLabel&&(c=e.height-e.area[2]+e.fontSize*e.pix/2),i.beginPath(),i.setFillStyle(e.background),1==e.enableScroll&&e.xAxis.scrollPosition&&"left"!==e.xAxis.scrollPosition&&i.fillRect(0,0,n,c),1==e.enableScroll&&e.xAxis.scrollPosition&&"right"!==e.xAxis.scrollPosition&&i.fillRect(s,0,e.width,c),i.closePath(),i.stroke();var d=e.area[3],h=e.width-e.area[1],p=e.area[3]+(e.width-e.area[1]-e.area[3])/2;if(e.yAxis.data)for(var f=function(t){var n=e.yAxis.data[t];if(x=[],"categories"===n.type)for(var s=0;s<=n.categories.length;s++)x.push(e.area[0]+r/n.categories.length/2+r/n.categories.length*s);else for(var l=0;l<=e.yAxis.splitNumber;l++)x.push(e.area[0]+o*l);if(!0!==n.disabled){var c=e.chartData.yAxisData.rangesFormat[t],f=n.fontSize?n.fontSize*e.pix:a.fontSize,u=e.chartData.yAxisData.yAxisWidth[t],g=n.textAlign||"right";if(c.forEach((function(t,a){var r=x[a];i.beginPath(),i.setFontSize(f),i.setLineWidth(1*e.pix),i.setStrokeStyle(n.axisLineColor||"#cccccc"),i.setFillStyle(n.fontColor||e.fontColor);var o=0,s=4*e.pix;if("left"==u.position){switch(1==n.calibration&&(i.moveTo(d,r),i.lineTo(d-3*e.pix,r),s+=3*e.pix),g){case"left":i.setTextAlign("left"),o=d-u.width;break;case"right":i.setTextAlign("right"),o=d-s;break;default:i.setTextAlign("center"),o=d-u.width/2}i.fillText(String(t),o,r+f/2-3*e.pix)}else if("right"==u.position){switch(1==n.calibration&&(i.moveTo(h,r),i.lineTo(h+3*e.pix,r),s+=3*e.pix),g){case"left":i.setTextAlign("left"),o=h+s;break;case"right":i.setTextAlign("right"),o=h+u.width;break;default:i.setTextAlign("center"),o=h+u.width/2}i.fillText(String(t),o,r+f/2-3*e.pix)}else if("center"==u.position){switch(1==n.calibration&&(i.moveTo(p,r),i.lineTo(p-3*e.pix,r),s+=3*e.pix),g){case"left":i.setTextAlign("left"),o=p-u.width;break;case"right":i.setTextAlign("right"),o=p-s;break;default:i.setTextAlign("center"),o=p-u.width/2}i.fillText(String(t),o,r+f/2-3*e.pix)}i.closePath(),i.stroke(),i.setTextAlign("left")})),!1!==n.axisLine&&(i.beginPath(),i.setStrokeStyle(n.axisLineColor||"#cccccc"),i.setLineWidth(1*e.pix),"left"==u.position?(i.moveTo(d,e.height-e.area[2]),i.lineTo(d,e.area[0])):"right"==u.position?(i.moveTo(h,e.height-e.area[2]),i.lineTo(h,e.area[0])):"center"==u.position&&(i.moveTo(p,e.height-e.area[2]),i.lineTo(p,e.area[0])),i.stroke()),e.yAxis.showTitle){var v=n.titleFontSize*e.pix||a.fontSize,m=n.title;i.beginPath(),i.setFontSize(v),i.setFillStyle(n.titleFontColor||e.fontColor),"left"==u.position?i.fillText(m,d-S(m,v,i)/2+(n.titleOffsetX||0),e.area[0]-(10-(n.titleOffsetY||0))*e.pix):"right"==u.position?i.fillText(m,h-S(m,v,i)/2+(n.titleOffsetX||0),e.area[0]-(10-(n.titleOffsetY||0))*e.pix):"center"==u.position&&i.fillText(m,p-S(m,v,i)/2+(n.titleOffsetX||0),e.area[0]-(10-(n.titleOffsetY||0))*e.pix),i.closePath(),i.stroke()}"left"==u.position?d-=u.width+e.yAxis.padding*e.pix:h+=u.width+e.yAxis.padding*e.pix}},u=0;u<e.yAxis.data.length;u++){var x;f(u)}}}function Qt(t,e,a,i,r){if(!1!==e.legend.show){var o=r.legendData,n=o.points,s=o.area,l=e.legend.padding*e.pix,c=e.legend.fontSize*e.pix,d=15*e.pix,h=5*e.pix,p=e.legend.itemGap*e.pix,f=Math.max(e.legend.lineHeight*e.pix,c);i.beginPath(),i.setLineWidth(e.legend.borderWidth*e.pix),i.setStrokeStyle(e.legend.borderColor),i.setFillStyle(e.legend.backgroundColor),i.moveTo(s.start.x,s.start.y),i.rect(s.start.x,s.start.y,s.width,s.height),i.closePath(),i.fill(),i.stroke(),n.forEach((function(t,r){var n=0,u=0;n=o.widthArr[r],u=o.heightArr[r];var x=0,g=0;if("top"==e.legend.position||"bottom"==e.legend.position){switch(e.legend.float){case"left":x=s.start.x+l;break;case"right":x=s.start.x+s.width-n;break;default:x=s.start.x+(s.width-n)/2}g=s.start.y+l+r*f}else n=0==r?0:o.widthArr[r-1],x=s.start.x+l+n,g=s.start.y+l+(s.height-u)/2;i.setFontSize(a.fontSize);for(var v=0;v<t.length;v++){var m=t[v];switch(m.area=[0,0,0,0],m.area[0]=x,m.area[1]=g,m.area[3]=g+f,i.beginPath(),i.setLineWidth(1*e.pix),i.setStrokeStyle(m.show?m.color:e.legend.hiddenColor),i.setFillStyle(m.show?m.color:e.legend.hiddenColor),m.legendShape){case"line":i.moveTo(x,g+.5*f-2*e.pix),i.fillRect(x,g+.5*f-2*e.pix,15*e.pix,4*e.pix);break;case"triangle":i.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),i.lineTo(x+2.5*e.pix,g+.5*f+5*e.pix),i.lineTo(x+12.5*e.pix,g+.5*f+5*e.pix),i.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"diamond":i.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),i.lineTo(x+2.5*e.pix,g+.5*f),i.lineTo(x+7.5*e.pix,g+.5*f+5*e.pix),i.lineTo(x+12.5*e.pix,g+.5*f),i.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"circle":i.moveTo(x+7.5*e.pix,g+.5*f),i.arc(x+7.5*e.pix,g+.5*f,5*e.pix,0,2*Math.PI);break;case"rect":i.moveTo(x,g+.5*f-5*e.pix),i.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix);break;case"square":i.moveTo(x+5*e.pix,g+.5*f-5*e.pix),i.fillRect(x+5*e.pix,g+.5*f-5*e.pix,10*e.pix,10*e.pix);break;case"none":break;default:i.moveTo(x,g+.5*f-5*e.pix),i.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix)}i.closePath(),i.fill(),i.stroke(),x+=d+h;var y=.5*f+.5*c-2,b=m.legendText?m.legendText:m.name;i.beginPath(),i.setFontSize(c),i.setFillStyle(m.show?e.legend.fontColor:e.legend.hiddenColor),i.fillText(b,x,g+y),i.closePath(),i.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(x+=S(b,c,i)+p,m.area[2]=x):(m.area[2]=x+S(b,c,i)+p,x-=d+h,g+=f)}}))}}function Vt(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=c({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==e.type?e.extra.pie:e.extra.ring),n={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==a.pieChartLinePadding&&(a.pieChartLinePadding=o.activeRadius*e.pix);var s=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);s=s<10?10:s,o.customRadius>0&&(s=o.customRadius*e.pix),t=Z(t,s,r);var l=o.activeRadius*e.pix;if(o.customColor=w(o.linearType,o.customColor,t,a),t=t.map((function(t){return t._start_+=o.offsetAngle*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(i.beginPath(),i.setFillStyle(h(t.color,o.activeOpacity||.5)),i.moveTo(n.x,n.y),i.arc(n.x,n.y,t._radius_+l,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(o.borderWidth*e.pix),i.lineJoin="round",i.setStrokeStyle(o.borderColor);var r,s=t.color;"custom"==o.linearType&&(r=i.createCircularGradient?i.createCircularGradient(n.x,n.y,t._radius_):i.createRadialGradient(n.x,n.y,0,n.x,n.y,t._radius_),r.addColorStop(0,h(o.customColor[t.linearIndex],1)),r.addColorStop(1,h(t.color,1)),s=r);i.setFillStyle(s),i.moveTo(n.x,n.y),i.arc(n.x,n.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill(),1==o.border&&i.stroke()})),"ring"===e.type){var d=.6*s;"number"===typeof o.ringWidth&&o.ringWidth>0&&(d=Math.max(0,s-o.ringWidth*e.pix)),i.beginPath(),i.setFillStyle(o.centerColor),i.moveTo(n.x,n.y),i.arc(n.x,n.y,d,0,2*Math.PI),i.closePath(),i.fill()}return!1!==e.dataLabel&&1===r&&Dt(t,e,a,i,s,n),1===r&&"ring"===e.type&&Ct(e,a,i,n),{center:n,radius:s,series:t}}function Zt(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=c({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==a.pieChartLinePadding&&(a.pieChartLinePadding=o.activeRadius*e.pix);var n={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},s=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);s=s<10?10:s;var l=o.minRadius||.5*s;t=tt(t,o.type,l,s,r);var d=o.activeRadius*e.pix;return o.customColor=w(o.linearType,o.customColor,t,a),t=t.map((function(t){return t._start_+=(o.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(i.beginPath(),i.setFillStyle(h(t.color,o.activeOpacity||.5)),i.moveTo(n.x,n.y),i.arc(n.x,n.y,d+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(o.borderWidth*e.pix),i.lineJoin="round",i.setStrokeStyle(o.borderColor);var r,s=t.color;"custom"==o.linearType&&(r=i.createCircularGradient?i.createCircularGradient(n.x,n.y,t._radius_):i.createRadialGradient(n.x,n.y,0,n.x,n.y,t._radius_),r.addColorStop(0,h(o.customColor[t.linearIndex],1)),r.addColorStop(1,h(t.color,1)),s=r);i.setFillStyle(s),i.moveTo(n.x,n.y),i.arc(n.x,n.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill(),1==o.border&&i.stroke()})),!1!==e.dataLabel&&1===r&&Dt(t,e,a,i,s,n),{center:n,radius:s,series:t}}function Kt(t,e,a,i){var r,o,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=c({},{startAngle:.75,endAngle:.25,type:"default",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=et(t,s,n),r=s.centerX||s.centerY?{x:s.centerX?s.centerX:e.width/2,y:s.centerY?s.centerY:e.height/2}:{x:e.width/2,y:e.height/2},s.radius?o=s.radius:(o=Math.min(r.x,r.y),o-=5*e.pix,o-=s.width/2),o=o<10?10:o,s.customColor=w(s.linearType,s.customColor,t,a);for(var l=0;l<t.length;l++){var d=t[l];i.setLineWidth(s.width*e.pix),i.setStrokeStyle(s.backgroundColor||"#E9E9E9"),i.setLineCap(s.lineCap),i.beginPath(),"default"==s.type?i.arc(r.x,r.y,o-(s.width*e.pix+s.gap*e.pix)*l,s.startAngle*Math.PI,s.endAngle*Math.PI,!1):i.arc(r.x,r.y,o-(s.width*e.pix+s.gap*e.pix)*l,0,2*Math.PI,!1),i.stroke();var p=d.color;if("custom"==s.linearType){var f=i.createLinearGradient(r.x-o,r.y,r.x+o,r.y);f.addColorStop(1,h(s.customColor[d.linearIndex],1)),f.addColorStop(0,h(d.color,1)),p=f}i.setLineWidth(s.width*e.pix),i.setStrokeStyle(p),i.setLineCap(s.lineCap),i.beginPath(),i.arc(r.x,r.y,o-(s.width*e.pix+s.gap*e.pix)*l,s.startAngle*Math.PI,d._proportion_*Math.PI,!1),i.stroke()}return Ct(e,a,i,r),{center:r,radius:o,series:t}}function te(t,e,a,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,n=c({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},a.extra.gauge);void 0==n.oldAngle&&(n.oldAngle=n.startAngle),void 0==n.oldData&&(n.oldData=0),t=it(t,n.startAngle,n.endAngle);var s={x:a.width/2,y:a.height/2},l=Math.min(s.x,s.y);l-=5*a.pix,l-=n.width/2,l=l<10?10:l;var d=l-n.width,p=0;if("progress"==n.type){var f=l-3*n.width;r.beginPath();var u=r.createLinearGradient(s.x,s.y-f,s.x,s.y+f);u.addColorStop("0",h(e[0].color,.3)),u.addColorStop("1.0",h("#FFFFFF",.1)),r.setFillStyle(u),r.arc(s.x,s.y,f,0,2*Math.PI,!1),r.fill(),r.setLineWidth(n.width),r.setStrokeStyle(h(e[0].color,.3)),r.setLineCap("round"),r.beginPath(),r.arc(s.x,s.y,d,n.startAngle*Math.PI,n.endAngle*Math.PI,!1),r.stroke(),p=n.startAngle-n.endAngle+1;n.splitLine.splitNumber;var x=p/n.splitLine.splitNumber/n.splitLine.childNumber,g=-l-.5*n.width-n.splitLine.fixRadius,v=-l-n.width-n.splitLine.fixRadius+n.splitLine.width;r.save(),r.translate(s.x,s.y),r.rotate((n.startAngle-1)*Math.PI);for(var m=n.splitLine.splitNumber*n.splitLine.childNumber+1,y=e[0].data*o,b=0;b<m;b++)r.beginPath(),y>b/m?r.setStrokeStyle(h(e[0].color,1)):r.setStrokeStyle(h(e[0].color,.3)),r.setLineWidth(3*a.pix),r.moveTo(g,0),r.lineTo(v,0),r.stroke(),r.rotate(x*Math.PI);r.restore(),e=at(e,n,o),r.setLineWidth(n.width),r.setStrokeStyle(e[0].color),r.setLineCap("round"),r.beginPath(),r.arc(s.x,s.y,d,n.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),r.stroke();var w=l-2.5*n.width;r.save(),r.translate(s.x,s.y),r.rotate((e[0]._proportion_-1)*Math.PI),r.beginPath(),r.setLineWidth(n.width/3);var A=r.createLinearGradient(0,.6*-w,0,.6*w);A.addColorStop("0",h("#FFFFFF",0)),A.addColorStop("0.5",h(e[0].color,1)),A.addColorStop("1.0",h("#FFFFFF",0)),r.setStrokeStyle(A),r.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),r.stroke(),r.beginPath(),r.setLineWidth(1),r.setStrokeStyle(e[0].color),r.setFillStyle(e[0].color),r.moveTo(-w-n.width/3/2,-4),r.lineTo(-w-n.width/3/2-4,0),r.lineTo(-w-n.width/3/2,4),r.lineTo(-w-n.width/3/2,-4),r.stroke(),r.fill(),r.restore()}else{r.setLineWidth(n.width),r.setLineCap("butt");for(var S=0;S<t.length;S++){var C=t[S];r.beginPath(),r.setStrokeStyle(C.color),r.arc(s.x,s.y,l,C._startAngle_*Math.PI,C._endAngle_*Math.PI,!1),r.stroke()}r.save(),p=n.startAngle-n.endAngle+1;var T=p/n.splitLine.splitNumber,_=p/n.splitLine.splitNumber/n.splitLine.childNumber,P=-l-.5*n.width-n.splitLine.fixRadius,k=-l-.5*n.width-n.splitLine.fixRadius+n.splitLine.width,M=-l-.5*n.width-n.splitLine.fixRadius+n.splitLine.childWidth;r.translate(s.x,s.y),r.rotate((n.startAngle-1)*Math.PI);for(var D=0;D<n.splitLine.splitNumber+1;D++)r.beginPath(),r.setStrokeStyle(n.splitLine.color),r.setLineWidth(2*a.pix),r.moveTo(P,0),r.lineTo(k,0),r.stroke(),r.rotate(T*Math.PI);r.restore(),r.save(),r.translate(s.x,s.y),r.rotate((n.startAngle-1)*Math.PI);for(var F=0;F<n.splitLine.splitNumber*n.splitLine.childNumber+1;F++)r.beginPath(),r.setStrokeStyle(n.splitLine.color),r.setLineWidth(1*a.pix),r.moveTo(P,0),r.lineTo(M,0),r.stroke(),r.rotate(_*Math.PI);r.restore(),e=rt(e,t,n,o);for(var L=0;L<e.length;L++){var O=e[L];r.save(),r.translate(s.x,s.y),r.rotate((O._proportion_-1)*Math.PI),r.beginPath(),r.setFillStyle(O.color),r.moveTo(n.pointer.width,0),r.lineTo(0,-n.pointer.width/2),r.lineTo(-d,0),r.lineTo(0,n.pointer.width/2),r.lineTo(n.pointer.width,0),r.closePath(),r.fill(),r.beginPath(),r.setFillStyle("#FFFFFF"),r.arc(0,0,n.pointer.width/6,0,2*Math.PI,!1),r.fill(),r.restore()}!1!==a.dataLabel&&kt(n,l,s,a,i,r)}return Ct(a,i,r,s),1===o&&"gauge"===a.type&&(a.extra.gauge.oldAngle=e[0]._proportion_,a.extra.gauge.oldData=e[0].data),{center:s,radius:l,innerRadius:d,categories:t,totalAngle:p}}function ee(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=c({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),n=M(e.categories.length),s={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},l=(e.width-e.area[1]-e.area[3])/2,d=(e.height-e.area[0]-e.area[2])/2,p=Math.min(l-(k(e.categories,a.fontSize,i)+a.radarLabelTextMargin),d-a.radarLabelTextMargin);p-=a.radarLabelTextMargin*e.pix,p=p<10?10:p,i.beginPath(),i.setLineWidth(1*e.pix),i.setStrokeStyle(o.gridColor),n.forEach((function(t,e){var a=v(p*Math.cos(t),p*Math.sin(t),s);i.moveTo(s.x,s.y),e%o.gridEval==0&&i.lineTo(a.x,a.y)})),i.stroke(),i.closePath();for(var f=function(t){var a={};if(i.beginPath(),i.setLineWidth(1*e.pix),i.setStrokeStyle(o.gridColor),"radar"==o.gridType)n.forEach((function(e,r){var n=v(p/o.gridCount*t*Math.cos(e),p/o.gridCount*t*Math.sin(e),s);0===r?(a=n,i.moveTo(n.x,n.y)):i.lineTo(n.x,n.y)})),i.lineTo(a.x,a.y);else{var r=v(p/o.gridCount*t*Math.cos(1.5),p/o.gridCount*t*Math.sin(1.5),s);i.arc(s.x,s.y,s.y-r.y,0,2*Math.PI,!1)}i.stroke(),i.closePath()},u=1;u<=o.gridCount;u++)f(u);o.customColor=w(o.linearType,o.customColor,t,a);var x=V(n,s,p,t,e,r);if(x.forEach((function(a,r){i.beginPath(),i.setLineWidth(o.borderWidth*e.pix),i.setStrokeStyle(a.color);var n,l=h(a.color,o.opacity);"custom"==o.linearType&&(n=i.createCircularGradient?i.createCircularGradient(s.x,s.y,p):i.createRadialGradient(s.x,s.y,0,s.x,s.y,p),n.addColorStop(0,h(o.customColor[t[r].linearIndex],o.opacity)),n.addColorStop(1,h(a.color,o.opacity)),l=n);if(i.setFillStyle(l),a.data.forEach((function(t,e){0===e?i.moveTo(t.position.x,t.position.y):i.lineTo(t.position.x,t.position.y)})),i.closePath(),i.fill(),!0===o.border&&i.stroke(),i.closePath(),!1!==e.dataPointShape){var c=a.data.map((function(t){return t.position}));St(c,a.color,a.pointShape,i,e)}})),!0===o.axisLabel){var g=Math.max(o.max,Math.max.apply(null,C(t))),m=p/o.gridCount,y=e.fontSize*e.pix;i.setFontSize(y),i.setFillStyle(e.fontColor),i.setTextAlign("left");for(u=0;u<o.gridCount+1;u++){var b=u*g/o.gridCount;b=b.toFixed(o.axisLabelTofix),i.fillText(String(b),s.x+3*e.pix,s.y-u*m+y/2)}}return Mt(n,p,s,e,a,i),!1!==e.dataLabel&&1===r&&(x.forEach((function(t,r){i.beginPath();var o=t.textSize*e.pix||a.fontSize;i.setFontSize(o),i.setFillStyle(t.textColor||e.fontColor),t.data.forEach((function(t,e){Math.abs(t.position.x-s.x)<2?t.position.y<s.y?(i.setTextAlign("center"),i.fillText(t.value,t.position.x,t.position.y-4)):(i.setTextAlign("center"),i.fillText(t.value,t.position.x,t.position.y+o+2)):t.position.x<s.x?(i.setTextAlign("right"),i.fillText(t.value,t.position.x-4,t.position.y+o/2-2)):(i.setTextAlign("left"),i.fillText(t.value,t.position.x+4,t.position.y+o/2-2))})),i.closePath(),i.stroke()})),i.setTextAlign("left")),{center:s,radius:p,angleList:n}}function ae(t,e){var a=Array(2),i=20037508.34*t/180,r=Math.log(Math.tan((90+e)*Math.PI/360))/(Math.PI/180);return r=20037508.34*r/180,a[0]=i,a[1]=r,a}function ie(t){var e,a={};a.xMin=180,a.xMax=0,a.yMin=90,a.yMax=0;for(var i=0;i<t.length;i++)for(var r=t[i].geometry.coordinates,o=0;o<r.length;o++){e=r[o],1==e.length&&(e=e[0]);for(var n=0;n<e.length;n++){var s=e[n][0],l=e[n][1],c={x:s,y:l};a.xMin=a.xMin<c.x?a.xMin:c.x,a.xMax=a.xMax>c.x?a.xMax:c.x,a.yMin=a.yMin<c.y?a.yMin:c.y,a.yMax=a.yMax>c.y?a.yMax:c.y}}return a}function re(t,e,a,i,r,o){return{x:(e-a.xMin)*i+r,y:(a.yMax-t)*i+o}}function oe(t,e,a,i,r,o){return{x:(e-r)/i+a.xMin,y:a.yMax-(t-o)/i}}function ne(t,e,a){if(e[1]==a[1])return!1;if(e[1]>t[1]&&a[1]>t[1])return!1;if(e[1]<t[1]&&a[1]<t[1])return!1;if(e[1]==t[1]&&a[1]>t[1])return!1;if(a[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&a[1]<t[1])return!1;var i=a[0]-(a[0]-e[0])*(a[1]-t[1])/(a[1]-e[1]);return!(i<t[0])}function se(t,e,a){for(var i=0,r=0;r<e.length;r++){var o=e[r][0];1==e.length&&(o=e[r][0]);for(var n=0;n<o.length-1;n++){var s=o[n],l=o[n+1];a&&(s=ae(o[n][0],o[n][1]),l=ae(o[n+1][0],o[n+1][1])),ne(t,s,l)&&(i+=1)}}return i%2==1}function le(t,e,a,i){var r,o,n=c({},{border:!0,mercator:!1,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),s=t,l=ie(s);if(n.mercator){var d=ae(l.xMax,l.yMax),p=ae(l.xMin,l.yMin);l.xMax=d[0],l.yMax=d[1],l.xMin=p[0],l.yMin=p[1]}for(var f=e.width/Math.abs(l.xMax-l.xMin),u=e.height/Math.abs(l.yMax-l.yMin),x=f<u?f:u,g=e.width/2-Math.abs(l.xMax-l.xMin)/2*x,v=e.height/2-Math.abs(l.yMax-l.yMin)/2*x,m=0;m<s.length;m++){i.beginPath(),i.setLineWidth(n.borderWidth*e.pix),i.setStrokeStyle(n.borderColor),i.setFillStyle(h(t[m].color,n.fillOpacity)),e.tooltip&&e.tooltip.index==m&&(i.setStrokeStyle(n.activeBorderColor),i.setFillStyle(h(n.activeFillColor,n.activeFillOpacity)));for(var y=s[m].geometry.coordinates,b=0;b<y.length;b++){r=y[b],1==r.length&&(r=r[0]);for(var w=0;w<r.length;w++){var A=Array(2);A=n.mercator?ae(r[w][0],r[w][1]):r[w],o=re(A[1],A[0],l,x,g,v),0===w?(i.beginPath(),i.moveTo(o.x,o.y)):i.lineTo(o.x,o.y)}i.fill(),1==n.border&&i.stroke()}}if(1==e.dataLabel)for(m=0;m<s.length;m++){var C=s[m].properties.centroid;if(C){n.mercator&&(C=ae(s[m].properties.centroid[0],s[m].properties.centroid[1])),o=re(C[1],C[0],l,x,g,v);var T=s[m].textSize*e.pix||a.fontSize,_=s[m].properties.name;i.beginPath(),i.setFontSize(T),i.setFillStyle(s[m].textColor||e.fontColor),i.fillText(_,o.x-S(_,T,i)/2,o.y+T/2),i.closePath(),i.stroke()}}e.chartData.mapData={bounds:l,scale:x,xoffset:g,yoffset:v,mercator:n.mercator},qt(e,a,i,1),i.draw()}function ce(t,e,a){a=0==a?1:a;for(var i=[],r=0;r<a;r++)i[r]=Math.random();return Math.floor(i.reduce((function(t,e){return t+e}))/a*(e-t))+t}function de(t,e,a,i){for(var r=!1,o=0;o<e.length;o++)if(e[o].area){if(!(t[3]<e[o].area[1]||t[0]>e[o].area[2]||t[1]>e[o].area[3]||t[2]<e[o].area[0])){r=!0;break}if(t[0]<0||t[1]<0||t[2]>a||t[3]>i){r=!0;break}r=!1}return r}function he(t,e,a){var i=t.series;switch(e){case"normal":for(var r=0;r<i.length;r++){var o=i[r].name,n=i[r].textSize*t.pix,s=S(o,n,a),l=void 0,c=void 0,d=void 0,h=0;while(1){h++,l=ce(-t.width/2,t.width/2,5)-s/2,c=ce(-t.height/2,t.height/2,5)+n/2,d=[l-5+t.width/2,c-5-n+t.height/2,l+s+5+t.width/2,c+5+t.height/2];var p=de(d,i,t.width,t.height);if(!p)break;if(1e3==h){d=[-100,-100,-100,-100];break}}i[r].area=d}break;case"vertical":for(var f=function(){return Math.random()>.7},u=0;u<i.length;u++){var x=i[u].name,g=i[u].textSize*t.pix,v=S(x,g,a),m=f(),y=void 0,b=void 0,w=void 0,A=void 0,C=0;while(1){C++;var T=void 0;if(m?(y=ce(-t.width/2,t.width/2,5)-v/2,b=ce(-t.height/2,t.height/2,5)+g/2,w=[b-5-v+t.width/2,-y-5+t.height/2,b+5+t.width/2,-y+g+5+t.height/2],A=[t.width-(t.width/2-t.height/2)-(-y+g+5+t.height/2)-5,t.height/2-t.width/2+(b-5-v+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-y+g+5+t.height/2)+g,t.height/2-t.width/2+(b-5-v+t.width/2)+v+5],T=de(A,i,t.height,t.width)):(y=ce(-t.width/2,t.width/2,5)-v/2,b=ce(-t.height/2,t.height/2,5)+g/2,w=[y-5+t.width/2,b-5-g+t.height/2,y+v+5+t.width/2,b+5+t.height/2],T=de(w,i,t.width,t.height)),!T)break;if(1e3==C){w=[-1e3,-1e3,-1e3,-1e3];break}}m?(i[u].area=A,i[u].areav=w):i[u].area=w,i[u].rotate=m}break}return i}function pe(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=c({},{type:"normal",autoColors:!0},e.extra.word);e.chartData.wordCloudData||(e.chartData.wordCloudData=he(e,o.type,i)),i.beginPath(),i.setFillStyle(e.background),i.rect(0,0,e.width,e.height),i.fill(),i.save();var n=e.chartData.wordCloudData;i.translate(e.width/2,e.height/2);for(var s=0;s<n.length;s++){i.save(),n[s].rotate&&i.rotate(90*Math.PI/180);var l=n[s].name,d=n[s].textSize*e.pix,h=S(l,d,i);i.beginPath(),i.setStrokeStyle(n[s].color),i.setFillStyle(n[s].color),i.setFontSize(d),n[s].rotate?n[s].areav[0]>0&&(e.tooltip&&e.tooltip.index==s?i.strokeText(l,(n[s].areav[0]+5-e.width/2)*r-h*(1-r)/2,(n[s].areav[1]+5+d-e.height/2)*r):i.fillText(l,(n[s].areav[0]+5-e.width/2)*r-h*(1-r)/2,(n[s].areav[1]+5+d-e.height/2)*r)):n[s].area[0]>0&&(e.tooltip&&e.tooltip.index==s?i.strokeText(l,(n[s].area[0]+5-e.width/2)*r-h*(1-r)/2,(n[s].area[1]+5+d-e.height/2)*r):i.fillText(l,(n[s].area[0]+5-e.width/2)*r-h*(1-r)/2,(n[s].area[1]+5+d-e.height/2)*r)),i.stroke(),i.restore()}i.restore()}function fe(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=c({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),n=(e.height-e.area[0]-e.area[2])/t.length,s={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},l=o.activeWidth*e.pix,d=Math.min((e.width-e.area[1]-e.area[3])/2-l,(e.height-e.area[0]-e.area[2])/2-l);if(t=K(t,d,o.type,n,r),i.save(),i.translate(s.x,s.y),o.customColor=w(o.linearType,o.customColor,t,a),"pyramid"==o.type)for(var p=0;p<t.length;p++){if(p==t.length-1){e.tooltip&&e.tooltip.index==p&&(i.beginPath(),i.setFillStyle(h(t[p].color,o.activeOpacity)),i.moveTo(-l,-n),i.lineTo(-t[p].radius-l,0),i.lineTo(t[p].radius+l,0),i.lineTo(l,-n),i.lineTo(-l,-n),i.closePath(),i.fill()),t[p].funnelArea=[s.x-t[p].radius,s.y-n*(p+1),s.x+t[p].radius,s.y-n*p],i.beginPath(),i.setLineWidth(o.borderWidth*e.pix),i.setStrokeStyle(o.borderColor);var f=h(t[p].color,o.fillOpacity);if("custom"==o.linearType){var u=i.createLinearGradient(t[p].radius,-n,-t[p].radius,-n);u.addColorStop(0,h(t[p].color,o.fillOpacity)),u.addColorStop(.5,h(o.customColor[t[p].linearIndex],o.fillOpacity)),u.addColorStop(1,h(t[p].color,o.fillOpacity)),f=u}i.setFillStyle(f),i.moveTo(0,-n),i.lineTo(-t[p].radius,0),i.lineTo(t[p].radius,0),i.lineTo(0,-n),i.closePath(),i.fill(),1==o.border&&i.stroke()}else{e.tooltip&&e.tooltip.index==p&&(i.beginPath(),i.setFillStyle(h(t[p].color,o.activeOpacity)),i.moveTo(0,0),i.lineTo(-t[p].radius-l,0),i.lineTo(-t[p+1].radius-l,-n),i.lineTo(t[p+1].radius+l,-n),i.lineTo(t[p].radius+l,0),i.lineTo(0,0),i.closePath(),i.fill()),t[p].funnelArea=[s.x-t[p].radius,s.y-n*(p+1),s.x+t[p].radius,s.y-n*p],i.beginPath(),i.setLineWidth(o.borderWidth*e.pix),i.setStrokeStyle(o.borderColor);f=h(t[p].color,o.fillOpacity);if("custom"==o.linearType){u=i.createLinearGradient(t[p].radius,-n,-t[p].radius,-n);u.addColorStop(0,h(t[p].color,o.fillOpacity)),u.addColorStop(.5,h(o.customColor[t[p].linearIndex],o.fillOpacity)),u.addColorStop(1,h(t[p].color,o.fillOpacity)),f=u}i.setFillStyle(f),i.moveTo(0,0),i.lineTo(-t[p].radius,0),i.lineTo(-t[p+1].radius,-n),i.lineTo(t[p+1].radius,-n),i.lineTo(t[p].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==o.border&&i.stroke()}i.translate(0,-n)}else for(var x=0;x<t.length;x++){if(0==x){e.tooltip&&e.tooltip.index==x&&(i.beginPath(),i.setFillStyle(h(t[x].color,o.activeOpacity)),i.moveTo(-l,0),i.lineTo(-t[x].radius-l,-n),i.lineTo(t[x].radius+l,-n),i.lineTo(l,0),i.lineTo(-l,0),i.closePath(),i.fill()),t[x].funnelArea=[s.x-t[x].radius,s.y-n,s.x+t[x].radius,s.y],i.beginPath(),i.setLineWidth(o.borderWidth*e.pix),i.setStrokeStyle(o.borderColor);f=h(t[x].color,o.fillOpacity);if("custom"==o.linearType){u=i.createLinearGradient(t[x].radius,-n,-t[x].radius,-n);u.addColorStop(0,h(t[x].color,o.fillOpacity)),u.addColorStop(.5,h(o.customColor[t[x].linearIndex],o.fillOpacity)),u.addColorStop(1,h(t[x].color,o.fillOpacity)),f=u}i.setFillStyle(f),i.moveTo(0,0),i.lineTo(-t[x].radius,-n),i.lineTo(t[x].radius,-n),i.lineTo(0,0),i.closePath(),i.fill(),1==o.border&&i.stroke()}else{e.tooltip&&e.tooltip.index==x&&(i.beginPath(),i.setFillStyle(h(t[x].color,o.activeOpacity)),i.moveTo(0,0),i.lineTo(-t[x-1].radius-l,0),i.lineTo(-t[x].radius-l,-n),i.lineTo(t[x].radius+l,-n),i.lineTo(t[x-1].radius+l,0),i.lineTo(0,0),i.closePath(),i.fill()),t[x].funnelArea=[s.x-t[x].radius,s.y-n*(x+1),s.x+t[x].radius,s.y-n*x],i.beginPath(),i.setLineWidth(o.borderWidth*e.pix),i.setStrokeStyle(o.borderColor);f=h(t[x].color,o.fillOpacity);if("custom"==o.linearType){u=i.createLinearGradient(t[x].radius,-n,-t[x].radius,-n);u.addColorStop(0,h(t[x].color,o.fillOpacity)),u.addColorStop(.5,h(o.customColor[t[x].linearIndex],o.fillOpacity)),u.addColorStop(1,h(t[x].color,o.fillOpacity)),f=u}i.setFillStyle(f),i.moveTo(0,0),i.lineTo(-t[x-1].radius,0),i.lineTo(-t[x].radius,-n),i.lineTo(t[x].radius,-n),i.lineTo(t[x-1].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==o.border&&i.stroke()}i.translate(0,-n)}return i.restore(),!1!==e.dataLabel&&1===r&&ue(t,e,i,n,o.labelAlign,l,s),{center:s,radius:d,series:t}}function ue(t,e,a,i,r,o,n){for(var s=0;s<t.length;s++){var l=t[s];if(!1!==l.labelShow){var c=void 0,h=void 0,p=void 0,f=void 0,u=l.formatter?l.formatter(l,s,t,e):d.toFixed(100*l._proportion_)+"%";u=l.labelText?l.labelText:u,"right"==r?(c="pyramid"===e.extra.funnel.type?s==t.length-1?(l.funnelArea[2]+n.x)/2:(l.funnelArea[2]+t[s+1].funnelArea[2])/2:0==s?(l.funnelArea[2]+n.x)/2:(l.funnelArea[2]+t[s-1].funnelArea[2])/2,h=c+2*o,p=l.funnelArea[1]+i/2,f=l.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(l.color),a.setFillStyle(l.color),a.beginPath(),a.moveTo(c,p),a.lineTo(h,p),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,p),a.arc(h,p,2*e.pix,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(l.textColor||e.fontColor),a.fillText(u,h+5,p+f/2-2),a.closePath(),a.stroke(),a.closePath()):(c="pyramid"===e.extra.funnel.type?s==t.length-1?(l.funnelArea[0]+n.x)/2:(l.funnelArea[0]+t[s+1].funnelArea[0])/2:0==s?(l.funnelArea[0]+n.x)/2:(l.funnelArea[0]+t[s-1].funnelArea[0])/2,h=c-2*o,p=l.funnelArea[1]+i/2,f=l.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(l.color),a.setFillStyle(l.color),a.beginPath(),a.moveTo(c,p),a.lineTo(h,p),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,p),a.arc(h,p,2,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(l.textColor||e.fontColor),a.fillText(u,h-5-S(u,f,a),p+f/2-2),a.closePath(),a.stroke(),a.closePath())}}}function xe(t,e){e.draw()}var ge={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function ve(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"easeInOut";var e=17;function a(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}var i=a(),r=null,o=function(a){if(null===a||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===r&&(r=a),a-r<t.duration){var n=(a-r)/t.duration,s=ge[t.timing];n=s(n),t.onProcess&&t.onProcess(n),i(o,e)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};o=o.bind(this),i(o,e)}function me(t,e,a,i){var r=this,o=e.series;"pie"!==t&&"ring"!==t&&"mount"!==t&&"rose"!==t&&"funnel"!==t||(o=y(o,e,a));var n=e.categories;if("mount"===t){n=[];for(var s=0;s<o.length;s++)!1!==o[s].show&&n.push(o[s].name);e.categories=n}o=b(o,e,a);var l=e.animation?e.duration:0;r.animationInstance&&r.animationInstance.stop();var d=null;if("candle"==t){var h=c({},e.extra.candle.average);h.show?(d=f(h.day,h.name,h.color,o[0].data),d=b(d,e,a),e.seriesMA=d):d=e.seriesMA?e.seriesMA=b(e.seriesMA,e,a):o}else d=o;e._series_=o=O(o),e.area=new Array(4);for(var p=0;p<4;p++)e.area[p]=e.padding[p]*e.pix;var u=U(d,e,a,e.chartData,i),x=u.area.wholeHeight,g=u.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=x;break;case"bottom":e.area[2]+=x;break;case"left":e.area[3]+=g;break;case"right":e.area[1]+=g;break}var v={},m=0;if("line"===e.type||"column"===e.type||"mount"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){if(v=yt(o,e,a,i),m=v.yAxisWidth,e.yAxis.showTitle){for(var w=0,A=0;A<e.yAxis.data.length;A++)w=Math.max(w,e.yAxis.data[A].titleFontSize?e.yAxis.data[A].titleFontSize*e.pix:a.fontSize);e.area[0]+=w}for(var S=0,C=0,T=0;T<m.length;T++)"left"==m[T].position?(e.area[3]+=C>0?m[T].width+e.yAxis.padding*e.pix:m[T].width,C+=1):"right"==m[T].position&&(e.area[1]+=S>0?m[T].width+e.yAxis.padding*e.pix:m[T].width,S+=1)}else a.yAxisWidth=m;if(e.chartData.yAxisData=v,e.categories&&e.categories.length&&"radar"!==e.type&&"gauge"!==e.type&&"bar"!==e.type){e.chartData.xAxisData=ht(e.categories,e,a);var _=$(e.categories,e,a,e.chartData.xAxisData.eachSpacing,i),P=_.xAxisHeight,k=_.angle;a.xAxisHeight=P,a._xAxisTextAngle_=k,e.area[2]+=P,e.chartData.categoriesData=_}else if("line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){e.chartData.xAxisData=Q(o,e,a,i),n=e.chartData.xAxisData.rangesFormat;var M=$(n,e,a,e.chartData.xAxisData.eachSpacing,i),D=M.xAxisHeight,F=M.angle;a.xAxisHeight=D,a._xAxisTextAngle_=F,e.area[2]+=D,e.chartData.categoriesData=M}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var L=0,I=e.chartData.xAxisData.xAxisPoints,E=e.chartData.xAxisData.startX,B=e.chartData.xAxisData.endX,z=e.chartData.xAxisData.eachSpacing,W=z*(I.length-1),R=B-E;L=R-W,r.scrollOption.currentOffset=L,r.scrollOption.startTouchX=L,r.scrollOption.distance=0,r.scrollOption.lastMoveTime=0,e._scrollDistance_=L}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(a._pieTextMaxLength_=!1===e.dataLabel?0:ot(d,a,i,e)),t){case"word":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),pe(o,e,a,i,t),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"map":i.clearRect(0,0,e.width,e.height),le(o,e,a,i);break;case"funnel":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),e.chartData.funnelData=fe(o,e,a,i,t),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),$t(n,e,a,i),Ut(n,e,a,i);var r=Ht(o,e,a,i,t),s=r.xAxisPoints,l=r.calPoints,c=r.eachSpacing;e.chartData.xAxisPoints=s,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Jt(o,e,a,i),!1!==e.enableMarkLine&&1===t&&Lt(e,a,i),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t,c,s),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),$t(n,e,a,i),Ut(n,e,a,i);var r=jt(o,e,a,i,t),s=r.xAxisPoints,l=r.calPoints,c=r.eachSpacing;e.chartData.xAxisPoints=s,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Jt(o,e,a,i),!1!==e.enableMarkLine&&1===t&&Lt(e,a,i),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t,c,s),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),$t(n,e,a,i),Ut(n,e,a,i);var r=Yt(o,e,a,i,t),s=r.xAxisPoints,l=r.calPoints,c=r.eachSpacing;e.chartData.xAxisPoints=s,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Jt(o,e,a,i),!1!==e.enableMarkLine&&1===t&&Lt(e,a,i),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t,c,s),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),$t(n,e,a,i),Ut(n,e,a,i);var r=Xt(o,e,a,i,t),s=r.xAxisPoints,l=r.calPoints,c=r.eachSpacing;e.chartData.xAxisPoints=s,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Jt(o,e,a,i),!1!==e.enableMarkLine&&1===t&&Lt(e,a,i),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t,c,s),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),$t(n,e,a,i),Ut(n,e,a,i);var r=zt(o,e,a,i,t),s=r.xAxisPoints,l=r.calPoints,c=r.eachSpacing;e.chartData.xAxisPoints=s,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Jt(o,e,a,i),!1!==e.enableMarkLine&&1===t&&Lt(e,a,i),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t,c,s),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),$t(n,e,a,i),Ut(n,e,a,i);var r=Wt(o,e,a,i,t),s=r.xAxisPoints,l=r.calPoints,c=r.eachSpacing;e.chartData.xAxisPoints=s,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Jt(o,e,a,i),!1!==e.enableMarkLine&&1===t&&Lt(e,a,i),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t,c,s),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),Ut(n,e,a,i);var r=Rt(o,e,a,i,t),s=r.yAxisPoints,l=r.calPoints,c=r.eachSpacing;e.chartData.yAxisPoints=s,e.chartData.xAxisPoints=e.chartData.xAxisData.xAxisPoints,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Jt(o,e,a,i),!1!==e.enableMarkLine&&1===t&&Lt(e,a,i),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t,c,s),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),$t(n,e,a,i),Ut(n,e,a,i);var r=Nt(o,e,a,i,t),s=r.xAxisPoints,l=r.calPoints,c=r.eachSpacing;e.chartData.xAxisPoints=s,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Jt(o,e,a,i),!1!==e.enableMarkLine&&1===t&&Lt(e,a,i),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t,c,s),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),e.chartData.pieData=Vt(o,e,a,i,t),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),e.chartData.pieData=Vt(o,e,a,i,t),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),e.chartData.pieData=Zt(o,e,a,i,t),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),e.chartData.radarData=ee(o,e,a,i,t),Qt(e.series,e,a,i,e.chartData),qt(e,a,i,t),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),e.chartData.arcbarData=Kt(o,e,a,i,t),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),e.chartData.gaugeData=te(n,o,e,a,i,t),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new ve({timing:e.timing,duration:l,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&At(i,e),$t(n,e,a,i),Ut(n,e,a,i);var r=Gt(o,d,e,a,i,t),s=r.xAxisPoints,l=r.calPoints,c=r.eachSpacing;e.chartData.xAxisPoints=s,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Jt(o,e,a,i),!1!==e.enableMarkLine&&1===t&&Lt(e,a,i),Qt(d||e.series,e,a,i,e.chartData),qt(e,a,i,t,c,s),xe(e,i)},onAnimationFinish:function(){r.uevent.trigger("renderComplete")}});break}}function ye(){this.events={}}ve.prototype.stop=function(){this.isStop=!0},ye.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},ye.prototype.delEventListener=function(t){this.events[t]=[]},ye.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),a=0;a<t;a++)e[a]=arguments[a];var i=e[0],r=e.slice(1);this.events[i]&&this.events[i].forEach((function(t){try{t.apply(null,r)}catch(e){}}))};var be=function(t){t.pix=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize:13,t.fontColor=t.fontColor?t.fontColor:l.fontColor,""!=t.background&&"none"!=t.background||(t.background="#FFFFFF"),t.title=c({},t.title),t.subtitle=c({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=c({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,splitNumber:5,gridType:"solid",dashLength:4*t.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.xAxis=c({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.scrollPosition=t.xAxis.scrollAlign,t.legend=c({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:t.fontColor,formatter:{},hiddenColor:"#CECECE"},t.legend),t.extra=c({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate,t.canvas2d=!!t.canvas2d;var e=c({},l);if(e.color=t.color?t.color:e.color,"pie"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"ring"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.ring.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pix||e.pieChartLinePadding*t.pix),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pix,e.rotate=t.rotate,t.rotate){var a=t.width,i=t.height;t.width=i,t.height=a}if(t.padding=t.padding?t.padding:e.padding,e.yAxisWidth=l.yAxisWidth*t.pix,e.xAxisHeight=l.xAxisHeight*t.pix,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pix),e.fontSize=t.fontSize*t.pix,e.titleFontSize=l.titleFontSize*t.pix,e.subtitleFontSize=l.subtitleFontSize*t.pix,e.toolTipPadding=l.toolTipPadding*t.pix,e.toolTipLineHeight=l.toolTipLineHeight*t.pix,!t.context)throw new Error("[uCharts] \u672a\u83b7\u53d6\u5230context\uff01\u6ce8\u610f\uff1av2.0\u7248\u672c\u540e\uff0c\u9700\u8981\u81ea\u884c\u83b7\u53d6canvas\u7684\u7ed8\u56fe\u4e0a\u4e0b\u6587\u5e76\u4f20\u5165opts.context\uff01");this.context=t.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(t){return this.strokeStyle=t},this.context.setLineWidth=function(t){return this.lineWidth=t},this.context.setLineCap=function(t){return this.lineCap=t},this.context.setFontSize=function(t){return this.font=t+"px sans-serif"},this.context.setFillStyle=function(t){return this.fillStyle=t},this.context.setTextAlign=function(t){return this.textAlign=t},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(t){}),t.chartData={},this.uevent=new ye,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,me.call(this,t.type,t,e,this.context)};be.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=c({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var a=yt(this.opts.series,this.opts,this.config,this.context),i=a.yAxisWidth;this.config.yAxisWidth=i;var r=0,o=ht(this.opts.categories,this.opts,this.config),n=o.xAxisPoints,s=o.startX,l=o.endX,d=o.eachSpacing,h=d*(n.length-1),p=l-s;r=p-h,this.scrollOption={currentOffset:r,startTouchX:r,distance:0,lastMoveTime:0},this.opts._scrollDistance_=r;break}me.call(this,this.opts.type,this.opts,this.config,this.context)},be.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var a=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var i=yt(this.opts.series,this.opts,this.config,this.context),r=i.yAxisWidth;this.config.yAxisWidth=r;var o=0,n=ht(this.opts.categories,this.opts,this.config),s=n.xAxisPoints,l=n.startX,c=n.endX,d=n.eachSpacing,h=d*a,p=c-l,f=p-d*(s.length-1);o=p/2-h,o>0&&(o=0),o<f&&(o=f),this.scrollOption={currentOffset:o,startTouchX:0,distance:0,lastMoveTime:0},u(this,o,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=o,me.call(this,this.opts.type,this.opts,this.config,this.context)}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6790")},be.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var a=e.changedTouches;if(!(a.length<2)){for(var i=0;i<a.length;i++)a[i].x=a[i].x?a[i].x:a[i].clientX,a[i].y=a[i].y?a[i].y:a[i].clientY;var r=[_(a[0],this.opts,e),_(a[1],this.opts,e)],o=Math.abs(r[0].x-r[1].x);if(!this.scrollOption.moveCount){var n={changedTouches:[{x:a[0].x,y:this.opts.area[0]/this.opts.pix+2}]},s={changedTouches:[{x:a[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(n={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[0].y}]},s={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[1].y}]});var l=this.getCurrentDataIndex(n).index,c=this.getCurrentDataIndex(s).index,d=Math.abs(l-c);return this.scrollOption.moveCount=d,this.scrollOption.moveCurrent1=Math.min(l,c),void(this.scrollOption.moveCurrent2=Math.max(l,c))}var h=o/this.scrollOption.moveCount,p=(this.opts.width-this.opts.area[1]-this.opts.area[3])/h;p=p<=2?2:p,p=p>=this.opts.categories.length?this.opts.categories.length:p,this.opts.animation=!1,this.opts.xAxis.itemCount=p;var f=0,x=ht(this.opts.categories,this.opts,this.config),g=x.xAxisPoints,v=x.startX,m=x.endX,y=x.eachSpacing,b=y*this.scrollOption.moveCurrent1,w=m-v,A=w-y*(g.length-1);f=-b+Math.min(r[0].x,r[1].x)-this.opts.area[3]-y,f>0&&(f=0),f<A&&(f=A),this.scrollOption.currentOffset=f,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,u(this,f,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=f,me.call(this,this.opts.type,this.opts,this.config,this.context)}}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6830")},be.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},be.prototype.addEventListener=function(t,e){this.uevent.addEventListener(t,e)},be.prototype.delEventListener=function(t){this.uevent.delEventListener(t)},be.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type?H({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?Y({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?R({x:a.x,y:a.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?G({x:a.x,y:a.y},this.opts.chartData.funnelData):"map"===this.opts.type?j({x:a.x,y:a.y},this.opts):"word"===this.opts.type?N({x:a.x,y:a.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?E({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):I({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},be.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return B({x:a.x,y:a.y},this.opts.chartData.legendData)}return-1},be.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a){_(a,this.opts,t);var i=this.getLegendDataIndex(t);i>=0&&("candle"==this.opts.type?this.opts.seriesMA[i].show=!this.opts.seriesMA[i].show:this.opts.series[i].show=!this.opts.series[i].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,me.call(this,this.opts.type,this.opts,this.config,this.context))}},be.prototype.showToolTip=function(e){var a=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;r=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],r||t("log","[uCharts] \u672a\u83b7\u53d6\u5230event\u5750\u6807\u4fe1\u606f"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7008");var o=_(r,this.opts,e),n=this.scrollOption.currentOffset,s=c({},this.opts,{_scrollDistance_:n,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var l=this.getCurrentDataIndex(e),d=void 0==i.index?l.index:i.index;if(d>-1||d.length>0){var h=P(this.opts.series,d,l.group);if(0!==h.length){var p=D(h,this.opts,d,l.group,this.opts.categories,i),f=p.textList,u=p.offset;u.y=o.y,s.tooltip={textList:void 0!==i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:u,option:i,index:d}}}me.call(this,s.type,s,this.config,this.context)}if("mount"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e).index:i.index;if(d>-1){s=c({},this.opts,{animation:!1}),h=c({},s._series_[d]),f=[{text:i.formatter?i.formatter(h,void 0,d,s):h.name+": "+h.data,color:h.color}],u={x:s.chartData.calPoints[d].x,y:o.y};s.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:u,option:i,index:d}}me.call(this,s.type,s,this.config,this.context)}if("bar"===this.opts.type){l=this.getCurrentDataIndex(e),d=void 0==i.index?l.index:i.index;if(d>-1||d.length>0){h=P(this.opts.series,d,l.group);if(0!==h.length){p=D(h,this.opts,d,l.group,this.opts.categories,i),f=p.textList,u=p.offset;u.x=o.x,s.tooltip={textList:void 0!==i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:u,option:i,index:d}}}me.call(this,s.type,s,this.config,this.context)}if("mix"===this.opts.type){l=this.getCurrentDataIndex(e),d=void 0==i.index?l.index:i.index;if(d>-1){n=this.scrollOption.currentOffset,s=c({},this.opts,{_scrollDistance_:n,animation:!1}),h=P(this.opts.series,d);if(0!==h.length){var x=F(h,this.opts,d,this.opts.categories,i);f=x.textList,u=x.offset;u.y=o.y,s.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:u,option:i,index:d}}}me.call(this,s.type,s,this.config,this.context)}if("candle"===this.opts.type){l=this.getCurrentDataIndex(e),d=void 0==i.index?l.index:i.index;if(d>-1){n=this.scrollOption.currentOffset,s=c({},this.opts,{_scrollDistance_:n,animation:!1}),h=P(this.opts.series,d);if(0!==h.length){p=L(this.opts.series[0].data,h,this.opts,d,this.opts.categories,this.opts.extra.candle,i),f=p.textList,u=p.offset;u.y=o.y,s.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:u,option:i,index:d}}}me.call(this,s.type,s,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){s=c({},this.opts,{animation:!1}),h=c({},s._series_[d]),f=[{text:i.formatter?i.formatter(h,void 0,d,s):h.name+": "+h.data,color:h.color}],u={x:o.x,y:o.y};s.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:u,option:i,index:d}}me.call(this,s.type,s,this.config,this.context)}if("map"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){s=c({},this.opts,{animation:!1}),h=c({},this.opts.series[d]);h.name=h.properties.name;f=[{text:i.formatter?i.formatter(h,void 0,d,this.opts):h.name,color:h.color}],u={x:o.x,y:o.y};s.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:u,option:i,index:d}}s.updateData=!1,me.call(this,s.type,s,this.config,this.context)}if("word"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){s=c({},this.opts,{animation:!1}),h=c({},this.opts.series[d]),f=[{text:i.formatter?i.formatter(h,void 0,d,this.opts):h.name,color:h.color}],u={x:o.x,y:o.y};s.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:u,option:i,index:d}}s.updateData=!1,me.call(this,s.type,s,this.config,this.context)}if("radar"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){s=c({},this.opts,{animation:!1}),h=P(this.opts.series,d);if(0!==h.length){f=h.map((function(t){return{text:i.formatter?i.formatter(t,a.opts.categories[d],d,a.opts):t.name+": "+t.data,color:t.color}})),u={x:o.x,y:o.y};s.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:u,option:i,index:d}}}me.call(this,s.type,s,this.config,this.context)}},be.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=c({},this.opts,{_scrollDistance_:t,animation:!1});me.call(this,this.opts.type,e,this.config,this.context)},be.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var a=_(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=a.x)},be.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.touchMoveLimit||60,a=Date.now(),i=a-this.scrollOption.lastMoveTime;if(!(i<Math.floor(1e3/e))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=a;var r=null;if(r=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],r&&!0===this.opts.enableScroll){var o,n=_(r,this.opts,t);o=n.x-this.scrollOption.startTouchX;var s=this.scrollOption.currentOffset,l=u(this,s+o,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=o=l-s;var d=c({},this.opts,{_scrollDistance_:s+o,animation:!1});return this.opts=d,me.call(this,d.type,d,this.config,this.context),s+o}}},be.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,a=e.currentOffset,i=e.distance;this.scrollOption.currentOffset=a+i,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var we=be;e.default=we}).call(this,a("0de9")["default"])},"8e2c":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";.page .top{background:linear-gradient(180deg,#317aff,#acd1ff);height:300rpx;padding:20rpx 40rpx}.page .top .box{display:flex}.page .top .box .portrait{width:150rpx;height:150rpx;border-radius:150rpx;border:6rpx solid #fff}.page .top .box .portrait img{width:100%;height:100%;border-radius:150rpx}.page .top .box .information{color:#fff;margin:30rpx 20rpx;font-size:36rpx}.page .top .box .information .name{margin-bottom:20rpx}.page .items{width:100%;margin-top:-40rpx}.page .items .item{background-color:#fff;width:90%;margin:0 auto;height:80rpx;line-height:80rpx;border-radius:10rpx;padding-left:20rpx}',""]),t.exports=e},"92cc":function(t,e,a){"use strict";a.r(e);var i=a("2b92"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"9e24":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("v-uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}},[a("v-uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[a("v-uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[a("img",{attrs:{src:t._$g(4,"a-src"),alt:"",_i:4}})],1),a("v-uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[a("v-uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6}},[t._v("\u8d24\u6587001")]),a("v-uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7}},[t._v("\u8d24\u6587\u6d88\u9632\u6551\u63f4\u7ad9")])],1)],1)],1),a("v-uni-view",{staticClass:t._$g(8,"sc"),attrs:{_i:8}},[a("v-uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("v-uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u4fee\u6539\u5bc6\u7801")])],1)],1)],1)},o=[]},"9f8d":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".container[data-v-38a0d81e]{width:30px;height:30px;position:relative}.container.loading6[data-v-38a0d81e]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading6 .shape[data-v-38a0d81e]{width:12px;height:12px;border-radius:2px}.container .shape[data-v-38a0d81e]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-38a0d81e]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-38a0d81e]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-38a0d81e]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-38a0d81e]{bottom:0;right:0;background-color:#e66}.loading6 .shape1[data-v-38a0d81e]{-webkit-animation:animation6shape1-data-v-38a0d81e 2s linear 0s infinite normal;animation:animation6shape1-data-v-38a0d81e 2s linear 0s infinite normal}@-webkit-keyframes animation6shape1-data-v-38a0d81e{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}@keyframes animation6shape1-data-v-38a0d81e{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}.loading6 .shape2[data-v-38a0d81e]{-webkit-animation:animation6shape2-data-v-38a0d81e 2s linear 0s infinite normal;animation:animation6shape2-data-v-38a0d81e 2s linear 0s infinite normal}@-webkit-keyframes animation6shape2-data-v-38a0d81e{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}@keyframes animation6shape2-data-v-38a0d81e{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}.loading6 .shape3[data-v-38a0d81e]{-webkit-animation:animation6shape3-data-v-38a0d81e 2s linear 0s infinite normal;animation:animation6shape3-data-v-38a0d81e 2s linear 0s infinite normal}@-webkit-keyframes animation6shape3-data-v-38a0d81e{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}@keyframes animation6shape3-data-v-38a0d81e{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}.loading6 .shape4[data-v-38a0d81e]{-webkit-animation:animation6shape4-data-v-38a0d81e 2s linear 0s infinite normal;animation:animation6shape4-data-v-38a0d81e 2s linear 0s infinite normal}@-webkit-keyframes animation6shape4-data-v-38a0d81e{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}@keyframes animation6shape4-data-v-38a0d81e{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}",""]),t.exports=e},a08f:function(t,e,a){"use strict";a.r(e);var i=a("ef99"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},a270:function(t,e,a){"use strict";a.r(e);var i=a("b6d5"),r=a("5d11");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("8703");var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],n);e["default"]=l.exports},a3aa:function(t,e,a){"use strict";a.r(e);var i=a("7af8"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},aaf3:function(t,e,a){"use strict";a.r(e);var i=a("ca66"),r=a("6b94");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("f3db");var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],n);e["default"]=l.exports},aec0:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".container[data-v-44c31eef]{width:30px;height:30px;position:relative}.container.loading5 .shape[data-v-44c31eef]{width:15px;height:15px}.container .shape[data-v-44c31eef]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-44c31eef]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-44c31eef]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-44c31eef]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-44c31eef]{bottom:0;right:0;background-color:#e66}.loading5 .shape1[data-v-44c31eef]{animation:animation5shape1-data-v-44c31eef 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape1-data-v-44c31eef{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}@keyframes animation5shape1-data-v-44c31eef{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}.loading5 .shape2[data-v-44c31eef]{animation:animation5shape2-data-v-44c31eef 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape2-data-v-44c31eef{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}@keyframes animation5shape2-data-v-44c31eef{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}.loading5 .shape3[data-v-44c31eef]{animation:animation5shape3-data-v-44c31eef 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape3-data-v-44c31eef{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes animation5shape3-data-v-44c31eef{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}.loading5 .shape4[data-v-44c31eef]{animation:animation5shape4-data-v-44c31eef 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape4-data-v-44c31eef{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}@keyframes animation5shape4-data-v-44c31eef{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}",""]),t.exports=e},b470:function(t,e,a){"use strict";a.r(e);var i=a("1831"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},b6d5:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("v-uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}},[a("v-uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[t._v("\u9632\u6d88\u4e00\u4f53\u5316\u7efc\u5408\u6cbb\u7406\u5e73\u53f0")]),a("v-uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[a("v-uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}},[t._v("\u8d26\u53f7/\u624b\u673a\u53f7")]),a("v-uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[a("v-uni-input",{attrs:{type:"text",placeholder:"\u8bf7\u8f93\u5165\u8d26\u53f7/\u624b\u673a\u53f7",_i:6},model:{value:t._$g(6,"v-model"),callback:function(e){t.$handleVModelEvent(6,e)},expression:"form.name"}})],1)],1),a("v-uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7}},[a("v-uni-view",{staticClass:t._$g(8,"sc"),attrs:{_i:8}},[t._v("\u5bc6\u7801")]),a("v-uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("v-uni-input",{attrs:{type:"password",placeholder:"\u8bf7\u8f93\u5165\u5bc6\u7801",_i:10},model:{value:t._$g(10,"v-model"),callback:function(e){t.$handleVModelEvent(10,e)},expression:"form.password"}})],1)],1),a("v-uni-view",{staticClass:t._$g(11,"sc"),attrs:{_i:11}},[a("v-uni-label",{attrs:{_i:12}},[a("v-uni-checkbox",{attrs:{value:t._$g(13,"a-value"),_i:13}}),a("v-uni-text",{attrs:{_i:14}},[t._v("\u81ea\u52a8\u767b\u5f55")])],1)],1),a("v-uni-view",{staticClass:t._$g(15,"sc"),attrs:{_i:15}},[a("v-uni-button",{attrs:{_i:16},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u767b\u5f55")])],1)],1)],1)},o=[]},b7cd:function(t,e,a){var i=a("5c92");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("52e79234",i,!0,{sourceMap:!1,shadowMode:!1})},b8fd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{wxsProps:{}}},components:{}};e.default=i},c287:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".container[data-v-fe25cc46]{width:30px;height:30px;position:relative}.container.loading3[data-v-fe25cc46]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading3 .shape1[data-v-fe25cc46]{border-top-left-radius:10px}.container.loading3 .shape2[data-v-fe25cc46]{border-top-right-radius:10px}.container.loading3 .shape3[data-v-fe25cc46]{border-bottom-left-radius:10px}.container.loading3 .shape4[data-v-fe25cc46]{border-bottom-right-radius:10px}.container .shape[data-v-fe25cc46]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-fe25cc46]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-fe25cc46]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-fe25cc46]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-fe25cc46]{bottom:0;right:0;background-color:#e66}.loading3 .shape1[data-v-fe25cc46]{-webkit-animation:animation3shape1-data-v-fe25cc46 .5s ease 0s infinite alternate;animation:animation3shape1-data-v-fe25cc46 .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape1-data-v-fe25cc46{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}@keyframes animation3shape1-data-v-fe25cc46{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}.loading3 .shape2[data-v-fe25cc46]{-webkit-animation:animation3shape2-data-v-fe25cc46 .5s ease 0s infinite alternate;animation:animation3shape2-data-v-fe25cc46 .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape2-data-v-fe25cc46{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}@keyframes animation3shape2-data-v-fe25cc46{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}.loading3 .shape3[data-v-fe25cc46]{-webkit-animation:animation3shape3-data-v-fe25cc46 .5s ease 0s infinite alternate;animation:animation3shape3-data-v-fe25cc46 .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape3-data-v-fe25cc46{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}@keyframes animation3shape3-data-v-fe25cc46{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}.loading3 .shape4[data-v-fe25cc46]{-webkit-animation:animation3shape4-data-v-fe25cc46 .5s ease 0s infinite alternate;animation:animation3shape4-data-v-fe25cc46 .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape4-data-v-fe25cc46{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}@keyframes animation3shape4-data-v-fe25cc46{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}",""]),t.exports=e},c378:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("v-uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}}),a("v-uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}}),a("v-uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}}),a("v-uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}})],1)},o=[]},c746:function(t,e,a){"use strict";var i=a("b7cd"),r=a.n(i);r.a},c9ac:function(t,e,a){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(a){return e.resolve(t()).then((function(){return a}))}),(function(a){return e.resolve(t()).then((function(){throw a}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}window.__uniConfig={window:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/index/index",(function(){return Vue.extend(a("aaf3").default)})),__definePage("pages/user/user",(function(){return Vue.extend(a("0e20").default)})),__definePage("pages/login/login",(function(){return Vue.extend(a("a270").default)}))},ca66:function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={qiunDataCharts:a("0394").default},r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("v-uni-view",{attrs:{_i:1}},[a("v-uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}}),a("v-uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[t._v("123")])],1),a("v-uni-view",{staticClass:t._$g(4,"sc"),staticStyle:{display:"flex"},attrs:{_i:4}},[a("v-uni-view",{staticStyle:{width:"50%"},attrs:{_i:5}},[a("qiun-data-charts",{attrs:{_i:6}})],1),a("v-uni-view",{staticStyle:{width:"50%"},attrs:{_i:7}},[a("v-uni-view",{attrs:{_i:8}})],1)],1),a("v-uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},t._l(t._$g(10,"f"),(function(e,i,r,o){return a("v-uni-view",{key:e,staticClass:t._$g("10-"+o,"sc"),attrs:{_i:"10-"+o}},[a("v-uni-view",{staticClass:t._$g("11-"+o,"sc"),attrs:{_i:"11-"+o}},[a("v-uni-view",{staticClass:t._$g("12-"+o,"sc"),attrs:{_i:"12-"+o}},[t._v(t._$g("12-"+o,"t0-0"))]),a("v-uni-view",{staticStyle:{width:"30%","padding-left":"20rpx"},attrs:{_i:"13-"+o}},[a("v-uni-view",{staticClass:t._$g("14-"+o,"sc"),attrs:{_i:"14-"+o}},[t._v(t._$g("14-"+o,"t0-0"))])],1)],1),a("v-uni-view",{staticClass:t._$g("15-"+o,"sc"),attrs:{_i:"15-"+o}},[a("v-uni-view",{staticClass:t._$g("16-"+o,"sc"),attrs:{_i:"16-"+o}},[t._v(t._$g("16-"+o,"t0-0"))]),a("v-uni-view",{staticClass:t._$g("17-"+o,"sc"),attrs:{_i:"17-"+o}},[a("v-uni-text",{attrs:{_i:"18-"+o}},[t._v(t._$g("18-"+o,"t0-0"))])],1)],1),a("v-uni-view",{staticClass:t._$g("19-"+o,"sc"),attrs:{_i:"19-"+o}},[a("v-uni-view",{staticClass:t._$g("20-"+o,"sc"),attrs:{_i:"20-"+o}},[a("v-uni-view",{attrs:{_i:"21-"+o}},[t._v("\u4eba\u5458:")]),a("v-uni-view",{attrs:{_i:"22-"+o}},[a("img",{staticStyle:{height:"40rpx",width:"40rpx","vertical-align":"middle"},attrs:{src:t._$g("23-"+o,"a-src"),alt:"",_i:"23-"+o}}),t._v("\u5f20\u4e09")],1),a("v-uni-view",{attrs:{_i:"24-"+o}},[a("img",{staticStyle:{height:"40rpx",width:"40rpx","vertical-align":"middle"},attrs:{src:t._$g("25-"+o,"a-src"),alt:"",_i:"25-"+o}}),t._v("\u674e\u56db")],1)],1),a("v-uni-view",{staticClass:t._$g("26-"+o,"sc"),attrs:{_i:"26-"+o}},[a("v-uni-button",{attrs:{_i:"27-"+o}},[t._v("\u6267\u884c")])],1)],1)],1)})),1)],1)},o=[]},caa3:function(t,e,a){"use strict";a.r(e);var i=a("cc39"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},cab7:function(t,e,a){"use strict";a.r(e);var i=a("7890"),r=a("5903");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("0935");var n,s=a("f0c5"),l=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"e14678f8",null,!1,i["a"],n);e["default"]=l.exports},cade:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("v-uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}}),a("v-uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}}),a("v-uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}}),a("v-uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}})],1)},o=[]},cc39:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"qiun-data-charts",props:["type","canvasId","canvas2d","background","animation","chartData","opts","eopts","loadingType","errorShow","errorReload","errorMessage","inScrollView","reshow","reload","disableScroll","optsWatch","onzoom","ontap","ontouch","onmouse","onmovetip","echartsH5","echartsApp","tooltipShow","tooltipFormat","tooltipCustom","startDate","endDate","textEnum","groupEnum","pageScrollTop","directory","tapLegend","menus"],data:function(){return{wxsProps:{}}},components:{}};e.default=i},cd6d:function(t,e,a){"use strict";a.r(e);var i=a("31e2"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},ce04:function(t,e,a){"use strict";a.r(e);var i=a("81b8"),r=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},d312:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{attrs:{_i:0}},[t._$g(1,"i")?a("Loading1",{attrs:{_i:1}}):t._e(),t._$g(2,"i")?a("Loading2",{attrs:{_i:2}}):t._e(),t._$g(3,"i")?a("Loading3",{attrs:{_i:3}}):t._e(),t._$g(4,"i")?a("Loading4",{attrs:{_i:4}}):t._e(),t._$g(5,"i")?a("Loading5",{attrs:{_i:5}}):t._e()],1)},o=[]},e657:function(t,e,a){"use strict";var i=a("08b8"),r=a.n(i);r.a},e6a5:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"loading2",data:function(){return{wxsProps:{}}},components:{}};e.default=i},e93a:function(t,e,a){var i=a("558b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("7f7e").default;r("2cf3e6e2",i,!0,{sourceMap:!1,shadowMode:!1})},e9a4:function(t,e,a){"use strict";function i(){function t(t){var e=a("b470");e.__inject__&&e.__inject__(t)}"function"===typeof t&&t(),UniViewJSBridge.publishHandler("webviewReady")}a("c9ac"),"undefined"!==typeof plus?i():document.addEventListener("plusready",i)},ef99:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("8bf4")),r=n(a("5125")),o=n(a("fe0d"));function n(t){return t&&t.__esModule?t:{default:t}}var s={},l=null;function c(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];for(var r in a)for(var o in a[r])a[r].hasOwnProperty(o)&&(t[o]=a[r][o]&&"object"===typeof a[r][o]?c(Array.isArray(a[r][o])?[]:{},t[o],a[r][o]):a[r][o]);return t}function d(t,e){for(var a in t)t.hasOwnProperty(a)&&null!==t[a]&&"object"===typeof t[a]?d(t[a],e):"format"===a&&"string"===typeof t[a]&&(t["formatter"]=e[t[a]]?e[t[a]]:void 0);return t}var h={data:function(){return{rid:null}},mounted:function(){var t=this;l={top:0,left:0},setTimeout((function(){null===t.rid&&t.$ownerInstance&&t.$ownerInstance.callMethod("getRenderType")}),200)},destroyed:function(){delete r.default.option[this.rid],delete r.default.instance[this.rid],delete o.default.option[this.rid],delete o.default.instance[this.rid]},methods:{ecinit:function(t,e,a,i){var r=JSON.stringify(t.id);this.rid=r,s[r]=this.$ownerInstance||i;var n=JSON.parse(JSON.stringify(t)),l=n.type;l&&o.default.type.includes(l)?o.default.option[r]=c({},o.default[l],n):o.default.option[r]=c({},n);var d=n.chartData;if(d){o.default.option[r].xAxis&&o.default.option[r].xAxis.type&&"category"===o.default.option[r].xAxis.type&&(o.default.option[r].xAxis.data=d.categories),o.default.option[r].yAxis&&o.default.option[r].yAxis.type&&"category"===o.default.option[r].yAxis.type&&(o.default.option[r].yAxis.data=d.categories),o.default.option[r].series=[];for(var h=0;h<d.series.length;h++){o.default.option[r].seriesTemplate=o.default.option[r].seriesTemplate?o.default.option[r].seriesTemplate:{};var p=c({},o.default.option[r].seriesTemplate,d.series[h]);o.default.option[r].series.push(p)}}if("object"===typeof window.echarts)this.newEChart();else{var f=document.createElement("script");f.src="./uni_modules/qiun-data-charts/static/app-plus/echarts.min.js",f.onload=this.newEChart,document.head.appendChild(f)}},ecresize:function(t,e,a,i){o.default.instance[this.rid]&&o.default.instance[this.rid].resize()},newEChart:function(){var t=this.rid;void 0===o.default.instance[t]?(o.default.instance[t]=echarts.init(s[t].$el.children[0]),!0===o.default.option[t].ontap&&(o.default.instance[t].on("click",(function(e){var a=JSON.parse(JSON.stringify({x:e.event.offsetX,y:e.event.offsetY}));s[t].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:a,currentIndex:e.dataIndex,value:e.data,seriesName:e.seriesName,id:t}})})),o.default.instance[t].on("highlight",(function(e){s[t].callMethod("emitMsg",{name:"getHighlight",params:{type:"highlight",res:e,id:t}})}))),this.updataEChart(t,o.default.option[t])):this.updataEChart(t,o.default.option[t])},updataEChart:function(t,e){if(e=d(e,o.default.formatter),e.tooltip&&(e.tooltip.show=!!e.tooltipShow,e.tooltip.position=this.tooltipPosition(),"string"===typeof e.tooltipFormat&&o.default.formatter[e.tooltipFormat]&&(e.tooltip.formatter=e.tooltip.formatter?e.tooltip.formatter:o.default.formatter[e.tooltipFormat])),e.series)for(var a in e.series){var i=e.series[a].linearGradient;i&&(e.series[a].color=new echarts.graphic.LinearGradient(i[0],i[1],i[2],i[3],i[4]))}o.default.instance[t].setOption(e,e.notMerge),o.default.instance[t].on("finished",(function(){s[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t}}),o.default.instance[t]&&o.default.instance[t].off("finished")}))},tooltipPosition:function(){return function(t,e,a,i,r){var o=t[0],n=t[1],s=r.viewSize[0],l=r.viewSize[1],c=r.contentSize[0],d=r.contentSize[1],h=o+30,p=n+30;return h+c>s&&(h=o-c-30),p+d>l&&(p=n-d-30),[h,p]}},ucinit:function(t,e,a,i){var o=this;if(JSON.stringify(t)!=JSON.stringify(e)&&t.canvasId){var n=JSON.parse(JSON.stringify(t.canvasId));this.rid=n,s[n]=this.$ownerInstance||i,r.default.option[n]=JSON.parse(JSON.stringify(t)),r.default.option[n]=d(r.default.option[n],r.default.formatter);var l=document.getElementById(n);l&&l.children[0]&&(r.default.option[n].context=l.children[0].getContext("2d"),r.default.instance[n]&&r.default.option[n]&&!0===r.default.option[n].update?this.updataUChart():setTimeout((function(){r.default.option[n].context.restore(),r.default.option[n].context.save(),o.newUChart()}),100))}},newUChart:function(){var t=this.rid;r.default.instance[t]=new i.default(r.default.option[t]),r.default.instance[t].addEventListener("renderComplete",(function(){s[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t}}),r.default.instance[t].delEventListener("renderComplete")})),r.default.instance[t].addEventListener("scrollLeft",(function(){s[t].callMethod("emitMsg",{name:"scrollLeft",params:{type:"scrollLeft",scrollLeft:!0,id:t}})})),r.default.instance[t].addEventListener("scrollRight",(function(){s[t].callMethod("emitMsg",{name:"scrollRight",params:{type:"scrollRight",scrollRight:!0,id:t}})}))},updataUChart:function(){var t=this.rid;r.default.instance[t].updateData(r.default.option[t])},tooltipDefault:function(t,e,a,i){if(e){var r=t.data;return"object"===typeof t.data&&(r=t.data.value),e+" "+t.name+":"+r}return t.properties&&t.properties.name?t.properties.name:t.name+":"+t.data},showTooltip:function(t,e){var a=this,i=r.default.option[e].tooltipCustom;if(i&&void 0!==i&&null!==i){var o=void 0;i.x>=0&&i.y>=0&&(o={x:i.x,y:i.y+10}),r.default.instance[e].showToolTip(t,{index:i.index,offset:o,textList:i.textList,formatter:function(t,i,o,n){return"string"===typeof r.default.option[e].tooltipFormat&&r.default.formatter[r.default.option[e].tooltipFormat]?r.default.formatter[r.default.option[e].tooltipFormat](t,i,o,n):a.tooltipDefault(t,i,o,n)}})}else r.default.instance[e].showToolTip(t,{formatter:function(t,i,o,n){return"string"===typeof r.default.option[e].tooltipFormat&&r.default.formatter[r.default.option[e].tooltipFormat]?r.default.formatter[r.default.option[e].tooltipFormat](t,i,o,n):a.tooltipDefault(t,i,o,n)}})},tap:function(t){var e=this.rid,a=r.default.option[e].ontap,i=r.default.option[e].tooltipShow,o=r.default.option[e].tapLegend;if(0!=a){var n=null,c=null,d=document.getElementById("UC"+e).getBoundingClientRect(),h={};h=t.detail.x?{x:t.detail.x-d.left,y:t.detail.y-d.top+l.top}:{x:t.clientX-d.left,y:t.clientY-d.top+l.top},t.changedTouches=[],t.changedTouches.unshift(h),n=r.default.instance[e].getCurrentDataIndex(t),c=r.default.instance[e].getLegendDataIndex(t),!0===o&&r.default.instance[e].touchLegend(t),1==i&&this.showTooltip(t,e),s[e].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:h,currentIndex:n,legendIndex:c,id:e,opts:r.default.instance[e].opts}})}},touchStart:function(t){var e=this.rid,a=r.default.option[e].ontouch;0!=a&&(!0===r.default.option[e].enableScroll&&1==t.touches.length&&r.default.instance[e].scrollStart(t),s[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"touchStart",event:t.changedTouches[0],id:e}}))},touchMove:function(t){var e=this.rid,a=r.default.option[e].ontouch;if(0!=a){if(!0===r.default.option[e].enableScroll&&1==t.changedTouches.length&&r.default.instance[e].scroll(t),!0===r.default.option[e].ontap&&!1===r.default.option[e].enableScroll&&!0===r.default.option[e].onmovetip){var i=document.getElementById("UC"+e).getBoundingClientRect(),o={x:t.changedTouches[0].clientX-i.left,y:t.changedTouches[0].clientY-i.top+l.top};t.changedTouches.unshift(o),!0===r.default.option[e].tooltipShow&&this.showTooltip(t,e)}!0===a&&!0===r.default.option[e].enableScroll&&!0===r.default.option[e].onzoom&&2==t.changedTouches.length&&r.default.instance[e].dobuleZoom(t),s[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"touchMove",event:t.changedTouches[0],id:e}})}},touchEnd:function(t){var e=this.rid,a=r.default.option[e].ontouch;0!=a&&(!0===r.default.option[e].enableScroll&&0==t.touches.length&&r.default.instance[e].scrollEnd(t),s[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"touchEnd",event:t.changedTouches[0],id:e}}))},mouseDown:function(t){var e=this.rid,a=r.default.option[e].onmouse;if(0!=a){var i=document.getElementById("UC"+e).getBoundingClientRect(),o={};o={x:t.clientX-i.left,y:t.clientY-i.top+l.top},t.changedTouches=[],t.changedTouches.unshift(o),r.default.instance[e].scrollStart(t),r.default.option[e].mousedown=!0,s[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"mouseDown",event:o,id:e}})}},mouseMove:function(t){var e=this.rid,a=r.default.option[e].onmouse,i=r.default.option[e].tooltipShow;if(0!=a){var o=document.getElementById("UC"+e).getBoundingClientRect(),n={};n={x:t.clientX-o.left,y:t.clientY-o.top+l.top},t.changedTouches=[],t.changedTouches.unshift(n),r.default.option[e].mousedown?(r.default.instance[e].scroll(t),s[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"mouseMove",event:n,id:e}})):r.default.instance[e]&&1==i&&this.showTooltip(t,e)}},mouseUp:function(t){var e=this.rid,a=r.default.option[e].onmouse;if(0!=a){var i=document.getElementById("UC"+e).getBoundingClientRect(),o={};o={x:t.clientX-i.left,y:t.clientY-i.top+l.top},t.changedTouches=[],t.changedTouches.unshift(o),r.default.instance[e].scrollEnd(t),r.default.option[e].mousedown=!1,s[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"mouseUp",event:o,id:e}})}}}};e.default=h},f0c5:function(t,e,a){"use strict";function i(t,e,a,i,r,o,n,s,l,c){var d,h="function"===typeof t?t.options:t;if(l){h.components||(h.components={});var p=Object.prototype.hasOwnProperty;for(var f in l)p.call(l,f)&&!p.call(h.components,f)&&(h.components[f]=l[f])}if(c&&((c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(h.mixins||(h.mixins=[])).push(c)),e&&(h.render=e,h.staticRenderFns=a,h._compiled=!0),i&&(h.functional=!0),o&&(h._scopeId="data-v-"+o),n?(d=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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(n)},h._ssrRegister=d):r&&(d=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),d)if(h.functional){h._injectStyles=d;var u=h.render;h.render=function(t,e){return d.call(e),u(t,e)}}else{var x=h.beforeCreate;h.beforeCreate=x?[].concat(x,d):[d]}return{exports:t,options:h}}a.d(e,"a",(function(){return i}))},f1ef:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".container[data-v-3b8cb2d8]{width:30px;height:30px;position:relative}.container.loading1[data-v-3b8cb2d8]{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.container .shape[data-v-3b8cb2d8]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-3b8cb2d8]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-3b8cb2d8]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-3b8cb2d8]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-3b8cb2d8]{bottom:0;right:0;background-color:#e66}.loading1 .shape1[data-v-3b8cb2d8]{-webkit-animation:animation1shape1-data-v-3b8cb2d8 .5s ease 0s infinite alternate;animation:animation1shape1-data-v-3b8cb2d8 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape1-data-v-3b8cb2d8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}@keyframes animation1shape1-data-v-3b8cb2d8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}.loading1 .shape2[data-v-3b8cb2d8]{-webkit-animation:animation1shape2-data-v-3b8cb2d8 .5s ease 0s infinite alternate;animation:animation1shape2-data-v-3b8cb2d8 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape2-data-v-3b8cb2d8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}@keyframes animation1shape2-data-v-3b8cb2d8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}.loading1 .shape3[data-v-3b8cb2d8]{-webkit-animation:animation1shape3-data-v-3b8cb2d8 .5s ease 0s infinite alternate;animation:animation1shape3-data-v-3b8cb2d8 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape3-data-v-3b8cb2d8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}@keyframes animation1shape3-data-v-3b8cb2d8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}.loading1 .shape4[data-v-3b8cb2d8]{-webkit-animation:animation1shape4-data-v-3b8cb2d8 .5s ease 0s infinite alternate;animation:animation1shape4-data-v-3b8cb2d8 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape4-data-v-3b8cb2d8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}@keyframes animation1shape4-data-v-3b8cb2d8{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}",""]),t.exports=e},f3db:function(t,e,a){"use strict";var i=a("6048"),r=a.n(i);r.a},fe0d:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],r={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){var e="";for(var a in t){0==a&&(e+=t[a].axisValueLabel+"\u5e74\u9500\u552e\u989d");var i="--";null!==t[a].data&&(i=t[a].data),e+="<br/>"+t[a].marker+t[a].seriesName+"\uff1a"+i+" \u4e07\u5143"}return e},legendFormat:function(t){return"\u81ea\u5b9a\u4e49\u56fe\u4f8b+"+t},yAxisFormatDemo:function(t,e){return t+"\u5143"},seriesFormatDemo:function(t){return t.name+"\u5e74"+t.value+"\u5143"}},demotype:{color:i},column:{color:i,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:i,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},area:{color:i,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:i,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:i,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:["40%","70%"],avoidLabelOverlap:!1,label:{show:!0,color:"#666666",position:"top"},labelLine:{show:!0}}},rose:{color:i,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:i,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:i,tooltip:{formatter:"{a} <br/>{b} : {c}%"},seriesTemplate:{name:"\u4e1a\u52a1\u6307\u6807",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"\u5b8c\u6210\u7387"}]}},candle:{xAxis:{data:[]},yAxis:{},color:i,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}},o=r;e.default=o}}); |