徐总多门店
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
104 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/common/vendor"],{2186:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAahSURBVHic7Vy9cttGEP72QM4kVZDK46EKuEvni4De9BNE7tKZegLLT2CrSmm5SimqSin5CUzXJhWoS2e4EVUynWfEw6bwcYYCDsod/ghx+FWcBe/27sP97O3uAdhhhx122GGHHboF2nQD1iGl9D3PewlAApDM7K+eEdECQMzMnzzPiz9//hxvrKEZdILEKIqGzPwGwNChWMLMx5eXl+NmWmWPjZIopQw8zzuFG3lZbJxMb1OK9/f3j4QQfwH4pWJVPhEdDAYDur6+nlRvmTs2MhKjKHqrp++9YOZk9ZuIAouqE6XUr3EcL8q3zh2tk2hB4AWAM6XUZJ0MKaXf6/UkM7/E9+kfFJSPlVLP2ySyVRL39/dHRHRa8HiilHph03kpZdDr9Ub3vIzxbDY7LN9SN7RGot5EPsIwgpj59eXl5UkX6iwD0YYSAPA87x3MnT0s29k4jhOl1HMASfYZEb2RUvr5UvWjFRKjKBoCOMjK9WgZV6l7jcjsMuD3er3/3bzqQCskFqxd47qmWxzHCTO/NugdtTEaGydRj8JhVq6UOq5Tjx7Rk4zY9zzvtzr1mNA4iWmaDg3icRzHSQPqxgbZqAE9d9A4iUT0LKdUiPdN6FJKfUB+bZRN6FpHoyTq9WiYESdNeWC0jZmt25dSBk3oW6FREvv9fmAQN+3CSgztaHRzaZTEdX/gCkSUNKzza1aWpmnQpM7WSUzT9N8mdRbgpyYrb3pjabTxXUEjZ2ftqfYBvET+pJLAsG7ViAD54+UFgAshxNXt7W1St4enFhKllIEQYkhEKzdVl7HawS+UUmd1EFqJRO1FeYMWDNqGsGDm92manlQhszSJYRgeADB6Zh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RG9Mjyyzo5dRykSCwLm8DzvvOtE6sSqc5gTVidl6iz9mavBYPAV+UtAvhDi98ePH//46NGj+Obm5lvZ+uuGlDLY29s7IiITgSCiw+vr66RM3ZVuVFl8bWkC4IKIrpbLZdzmV5PWvuj0FN+zfAvTh6vmnVe+2xeG4TnuaWAWZQ74rnBMtqr8NadaLkhGUfROJ28+KNR186G2q7r6eu47PAzDO9HfJavl3k3t9501mavbSl1zTIyJ6KxqOl8WjX1wTUrp9/v9IE3TZ0QUaCeFv/L4uCaJ2mC13q58nkQUM3NCRFd1E7fDDjvssMMOO3QZ/wGVNQnR83LpAQAAAABJRU5ErkJggg=="},"26f7":function(t,e,i){"use strict";(function(t,e){var a=i("3b2d"),o={yAxisWidth:15,yAxisSplit:5,xAxisHeight:15,xAxisLineHeight:15,legendHeight:15,yAxisTitleWidth:15,padding:[10,10,10,10],pixelRatio:1,rotate:!1,columePadding:3,fontSize:13,dataPointShape:["circle","circle","circle","circle"],colors:["#1890ff","#2fc25b","#facc14","#f04864","#8543e0","#90ed7d"],pieChartLinePadding:15,pieChartTextPadding:5,xAxisTextPadding:3,titleColor:"#333333",titleFontSize:20,subtitleColor:"#999999",subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:15,gaugeLabelTextMargin:15},r=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),a=1;a<e;a++)i[a-1]=arguments[a];if(null==t)throw new TypeError("Cannot convert undefined or null to object");if(!i||i.length<=0)return t;function o(t,e){for(var i in e)t[i]=t[i]&&"[object Object]"===t[i].toString()?o(t[i],e[i]):t[i]=e[i];return t}return i.forEach((function(e){t=o(t,e)})),t},n={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 i=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!i}};function l(t,e){var i=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,a){return e+e+i+i+a+a})),a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i),o=parseInt(a[1],16),r=parseInt(a[2],16),n=parseInt(a[3],16);return"rgba("+o+","+r+","+n+","+e+")"}function s(t,e,i){if(isNaN(t))throw new Error("[uCharts] unvalid series data!");i=i||10,e=e||"upper";var a=1;while(i<1)i*=10,a*=10;t="upper"===e?Math.ceil(t*a):Math.floor(t*a);while(t%i!==0)"upper"===e?t++:t--;return t/a}function h(t,e,i){function a(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=a(t),e=a(e),i=a(i),e>i&&(i+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=i}function c(t,e){function i(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 a(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 o=.2,r=.2,n=null,l=null,s=null,h=null;if(e<1?(n=t[0].x+(t[1].x-t[0].x)*o,l=t[0].y+(t[1].y-t[0].y)*o):(n=t[e].x+(t[e+1].x-t[e-1].x)*o,l=t[e].y+(t[e+1].y-t[e-1].y)*o),e>t.length-3){var c=t.length-1;s=t[c].x-(t[c].x-t[c-1].x)*r,h=t[c].y-(t[c].y-t[c-1].y)*r}else s=t[e+1].x-(t[e+2].x-t[e].x)*r,h=t[e+1].y-(t[e+2].y-t[e].y)*r;return i(t,e+1)&&(h=t[e+1].y),i(t,e)&&(l=t[e].y),a(t,e+1)&&(s=t[e+1].x),a(t,e)&&(n=t[e].x),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e].y),(h>=Math.max(t[e].y,t[e+1].y)||h<=Math.min(t[e].y,t[e+1].y))&&(h=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),(s>=Math.max(t[e].x,t[e+1].x)||s<=Math.min(t[e].x,t[e+1].x))&&(s=t[e+1].x),{ctrA:{x:n,y:l},ctrB:{x:s,y:h}}}function d(t,e,i){return{x:i.x+t,y:i.y-e}}function x(t,e){if(e)while(n.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 p(t,e,i){var a=0;return t.map((function(t){if(t.color||(t.color=i.colors[a],a=(a+1)%i.colors.length),t.index||(t.index=0),t.type||(t.type=e.type),"undefined"==typeof t.show&&(t.show=!0),t.type||(t.type=e.type),t.pointShape||(t.pointShape="circle"),!t.legendShape)switch(t.type){case"line":t.legendShape="line";break;case"column":t.legendShape="rect";break;case"area":t.legendShape="triangle";break;default:t.legendShape="circle"}return t}))}function g(t,e){var i=0,a=e-t;return i=a>=1e4?1e3:a>=1e3?100:a>=100?10:a>=10?5:a>=1?1:a>=.1?.1:a>=.01?.01:a>=.001?.001:a>=1e-4?1e-4:a>=1e-5?1e-5:1e-6,{minRange:s(t,"lower",i),maxRange:s(e,"upper",i)}}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.fontSize;t=String(t);t=t.split("");for(var i=0,a=0;a<t.length;a++){var r=t[a];/[a-zA-Z]/.test(r)?i+=7:/[0-9]/.test(r)?i+=5.5:/\./.test(r)?i+=2.7:/-/.test(r)?i+=3.25:/[\u4e00-\u9fa5]/.test(r)?i+=10:/\(|\)/.test(r)?i+=3.73:/\s/.test(r)?i+=2.5:/%/.test(r)?i+=8:i+=10}return i*e/10}function u(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function y(t,e){for(var i=new Array(e),a=0;a<i.length;a++)i[a]=0;for(var o=0;o<t.length;o++)for(a=0;a<i.length;a++)i[a]+=t[o].data[a];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(i)}),[])}function A(t,e,i){var a,o;return t.clientX?e.rotate?(o=e.height-t.clientX*e.pixelRatio,a=(t.pageY-i.currentTarget.offsetTop-e.height/e.pixelRatio/2*(e.pixelRatio-1))*e.pixelRatio):(a=t.clientX*e.pixelRatio,o=(t.pageY-i.currentTarget.offsetTop-e.height/e.pixelRatio/2*(e.pixelRatio-1))*e.pixelRatio):e.rotate?(o=e.height-t.x*e.pixelRatio,a=t.y*e.pixelRatio):(a=t.x*e.pixelRatio,o=t.y*e.pixelRatio),{x:a,y:o}}function v(t,e){for(var i=[],a=0;a<t.length;a++){var o=t[a];if(null!==o.data[e]&&"undefined"!==typeof o.data[e]&&o.show){var r={};r.color=o.color,r.type=o.type,r.style=o.style,r.pointShape=o.pointShape,r.disableLegend=o.disableLegend,r.name=o.name,r.show=o.show,r.data=o.format?o.format(o.data[e]):o.data[e],i.push(r)}}return i}function m(t){var e=t.map((function(t){return f(t)}));return Math.max.apply(null,e)}function S(t){for(var e=2*Math.PI/t,i=[],a=0;a<t;a++)i.push(e*a);return i.map((function(t){return-1*t+Math.PI/2}))}function b(t,e,i,a){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=t.map((function(t){var e=[];return e=a||t.data,{text:o.format?o.format(t,e[i]):t.name+": "+t.data,color:t.color}})),n=[],l={x:0,y:0},s=0;s<e.length;s++){var h=e[s];"undefined"!==typeof h[i]&&null!==h[i]&&n.push(h[i])}for(var c=0;c<n.length;c++){var d=n[c];l.x=Math.round(d.x),l.y+=d.y}return l.y/=n.length,{textList:r,offset:l}}function T(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=t.map((function(t){return{text:o.format?o.format(t,a[i]):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));r=r.filter((function(t){if(!0!==t.disableLegend)return t}));for(var n=[],l={x:0,y:0},s=0;s<e.length;s++){var h=e[s];"undefined"!==typeof h[i]&&null!==h[i]&&n.push(h[i])}for(var c=0;c<n.length;c++){var d=n[c];l.x=Math.round(d.x),l.y+=d.y}return l.y/=n.length,{textList:r,offset:l}}function P(t,e,i,a,o,r){var n=r.color.upFill,l=r.color.downFill,s=[n,n,l,n],h=[],c={text:o[a],color:null};h.push(c),e.map((function(e){0==a&&e.data[1]-e.data[0]<0?s[1]=l:(e.data[0]<t[a-1][1]&&(s[0]=l),e.data[1]<e.data[0]&&(s[1]=l),e.data[2]>t[a-1][1]&&(s[2]=n),e.data[3]<t[a-1][1]&&(s[3]=l));var i={text:"开盘:"+e.data[0],color:s[0]},o={text:"收盘:"+e.data[1],color:s[1]},r={text:"最低:"+e.data[2],color:s[2]},c={text:"最高:"+e.data[3],color:s[3]};h.push(i,o,r,c)}));for(var d=[],x={x:0,y:0},p=0;p<i.length;p++){var g=i[p];"undefined"!==typeof g[a]&&null!==g[a]&&d.push(g[a])}return x.x=Math.round(d[0][0].x),{textList:h,offset:x}}function w(t,e,i){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 F(t,e,i){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(i,2)}function M(t){var e=[],i=[];return t.forEach((function(t,a){null!==t?i.push(t):(i.length&&e.push(i),i=[])})),i.length&&e.push(i),e}function R(t,e,i,a){var o={angle:0,xAxisHeight:i.xAxisHeight},r=t.map((function(t){return f(t,e.xAxis.fontSize||i.fontSize)})),n=Math.max.apply(this,r);return 1==e.xAxis.rotateLabel&&n+2*i.xAxisTextPadding>a&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*i.xAxisTextPadding+n*Math.sin(o.angle)),o}function L(t,e,i){var o={angle:0,xAxisHeight:i.xAxisHeight};o.ranges=function(t,e,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,r=u(t),n=[];r=r.filter((function(t){return"object"===a(t)&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),r.map((function(t){"object"===a(t)?t.constructor==Array?"candle"==e.type?t.map((function(t){n.push(t)})):n.push(t[0]):n.push(t.value):n.push(t)}));var l=0,s=0;if(n.length>0&&(l=Math.min.apply(this,n),s=Math.max.apply(this,n)),o>-1?("number"===typeof e.xAxis.data[o].min&&(l=Math.min(e.xAxis.data[o].min,l)),"number"===typeof e.xAxis.data[o].max&&(s=Math.max(e.xAxis.data[o].max,s))):("number"===typeof e.xAxis.min&&(l=Math.min(e.xAxis.min,l)),"number"===typeof e.xAxis.max&&(s=Math.max(e.xAxis.max,s))),l===s){var h=s||10;s+=h}for(var c=l,d=s,x=[],p=(d-c)/e.xAxis.splitNumber,g=0;g<=e.xAxis.splitNumber;g++)x.push(c+p*g);return x}(t,e,i),o.rangesFormat=o.ranges.map((function(t){return t=e.xAxis.format?e.xAxis.format(t):n.toFixed(t,2),t}));var r=o.ranges.map((function(t){return t=n.toFixed(t,2),t=e.xAxis.format?e.xAxis.format(Number(t)):t,t}));o=Object.assign(o,j(r,e,i));var l=o.eachSpacing,s=r.map((function(t){return f(t)})),h=Math.max.apply(this,s);return h+2*i.xAxisTextPadding>l&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*i.xAxisTextPadding+h*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function C(t,e,i,a,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,n=o.extra.radar||{};n.max=n.max||0;for(var l=Math.max(n.max,Math.max.apply(null,u(a))),s=[],h=function(o){var n=a[o],h={};h.color=n.color,h.legendShape=n.legendShape,h.pointShape=n.pointShape,h.data=[],n.data.forEach((function(a,o){var n={};n.angle=t[o],n.proportion=a/l,n.position=d(i*n.proportion*r*Math.cos(n.angle),i*n.proportion*r*Math.sin(n.angle),e),h.data.push(n)})),s.push(h)},c=0;c<a.length;c++)h(c);return s}function k(t,e){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=0,o=0,r=0;r<t.length;r++){var n=t[r];n.data=null===n.data?0:n.data,a+=n.data}for(var l=0;l<t.length;l++){var s=t[l];s.data=null===s.data?0:s.data,s._proportion_=0===a?1/t.length*i:s.data/a*i,s._radius_=e}for(var h=0;h<t.length;h++){var c=t[h];c._start_=o,o+=2*c._proportion_*Math.PI}return t}function I(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;t=t.sort((function(t,e){return parseInt(e.data)-parseInt(t.data)}));for(var a=0;a<t.length;a++)t[a].radius=t[a].data/t[0].data*e*i,t[a]._proportion_=t[a].data/t[0].data;return t.reverse()}function D(t,e,i,a){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,n=0,l=[],s=0;s<t.length;s++){var h=t[s];h.data=null===h.data?0:h.data,r+=h.data,l.push(h.data)}for(var c=Math.min.apply(null,l),d=Math.max.apply(null,l),x=a-i,p=0;p<t.length;p++){var g=t[p];g.data=null===g.data?0:g.data,0===r||"area"==e?(g._proportion_=g.data/r*o,g._rose_proportion_=1/t.length*o):(g._proportion_=g.data/r*o,g._rose_proportion_=g.data/r*o),g._radius_=i+x*((g.data-c)/(d-c))}for(var f=0;f<t.length;f++){var u=t[f];u._start_=n,n+=2*u._rose_proportion_*Math.PI}return t}function E(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(var a=0;a<t.length;a++){var o=t[a];o.data=null===o.data?0:o.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,o._proportion_=r*o.data*i+e.startAngle,o._proportion_>=2&&(o._proportion_=o._proportion_%2)}return t}function z(t,e,i){for(var a=e-i+1,o=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=o,t[r]._endAngle_=a*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),o=t[r]._endAngle_;return t}function O(t,e,i){for(var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=0;o<t.length;o++){var r=t[o];if(r.data=null===r.data?0:r.data,"auto"==i.pointer.color){for(var n=0;n<e.length;n++)if(r.data<=e[n].value){r.color=e[n].color;break}}else r.color=i.pointer.color;var l=i.startAngle-i.endAngle+1;r._endAngle_=l*r.data+i.startAngle,r._oldAngle_=i.oldAngle,i.oldAngle<i.endAngle&&(r._oldAngle_+=2),r.data>=i.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*a+i.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*a,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function W(t,e,i,a,o,r){return t.map((function(t){return null===t?null:(t.width=Math.ceil((e-2*o.columePadding)/i),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width)),t.width<=0&&(t.width=1),t.x+=(a+.5-i/2)*t.width,t)}))}function N(t,e,i,a,o,r,n){return t.map((function(t){return null===t?null:(t.width=Math.ceil((e-2*o.columePadding)/2),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width)),a>0&&(t.width-=2*n),t)}))}function B(t,e,i,a,o,r,n){return t.map((function(t,i){return null===t?null:(t.width=Math.ceil((e-2*o.columePadding)/2),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width)),t)}))}function j(t,e,i){var a=e.width-e.area[1]-e.area[3],o=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type)&&o>1&&"justify"==e.xAxis.boundaryGap&&(o-=1);var r=a/o,n=[],l=e.area[3],s=e.width-e.area[1];return t.forEach((function(t,e){n.push(l+e*r)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?n.push(l+t.length*r):n.push(s)),{xAxisPoints:n,startX:l,endX:s,eachSpacing:r}}function H(t,e,i,a,o,r,n){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,s=[],h=r.height-r.area[0]-r.area[2];return t.forEach((function(t,n){if(null===t)s.push(null);else{var c=[];t.forEach((function(t,s){var d={};d.x=a[n]+Math.round(o/2);var x=t.value||t,p=h*(x-e)/(i-e);p*=l,d.y=r.height-Math.round(p)-r.area[2],c.push(d)})),s.push(c)}})),s}function U(t,e,i,o,r,n,l){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,h="center";"line"!=n.type&&"area"!=n.type||(h=n.xAxis.boundaryGap);var c=[],d=n.height-n.area[0]-n.area[2],x=n.width-n.area[1]-n.area[3];return t.forEach((function(t,l){if(null===t)c.push(null);else{var p={};p.color=t.color,p.x=o[l];var g,f,u,y=t;if("object"===a(t)&&null!==t)if(t.constructor==Array)g=[].concat(n.chartData.xAxisData.ranges),f=g.shift(),u=g.pop(),y=t[1],p.x=n.area[3]+x*(t[0]-f)/(u-f);else y=t.value;"center"==h&&(p.x+=Math.round(r/2));var A=d*(y-e)/(i-e);A*=s,p.y=n.height-Math.round(A)-n.area[2],c.push(p)}})),c}function Z(t,e,i,a,o,r,n,l,s){var h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,c=[],d=r.height-r.area[0]-r.area[2];return t.forEach((function(t,n){if(null===t)c.push(null);else{var x={};if(x.color=t.color,x.x=a[n]+Math.round(o/2),l>0){for(var p=0,g=0;g<=l;g++)p+=s[g].data[n];var f=p-t,u=d*(p-e)/(i-e),y=d*(f-e)/(i-e)}else p=t,u=d*(p-e)/(i-e),y=0;var A=y;u*=h,A*=h,x.y=r.height-Math.round(u)-r.area[2],x.y0=r.height-Math.round(A)-r.area[2],c.push(x)}})),c}function K(t,e,i,o){var r,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;r="stack"==o?y(t,e.categories.length):u(t);var l=[];r=r.filter((function(t){return"object"===a(t)&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),r.map((function(t){"object"===a(t)?t.constructor==Array?"candle"==e.type?t.map((function(t){l.push(t)})):l.push(t[1]):l.push(t.value):l.push(t)}));var s=0,h=0;if(l.length>0&&(s=Math.min.apply(this,l),h=Math.max.apply(this,l)),n>-1?("number"===typeof e.yAxis.data[n].min&&(s=Math.min(e.yAxis.data[n].min,s)),"number"===typeof e.yAxis.data[n].max&&(h=Math.max(e.yAxis.data[n].max,h))):("number"===typeof e.yAxis.min&&(s=Math.min(e.yAxis.min,s)),"number"===typeof e.yAxis.max&&(h=Math.max(e.yAxis.max,h))),s===h){var c=h||10;h+=c}for(var d=g(s,h),x=d.minRange,p=d.maxRange,f=[],A=(p-x)/e.yAxis.splitNumber,v=0;v<=e.yAxis.splitNumber;v++)f.push(x+A*v);return f.reverse()}function X(t,e,i){var a=r({},{type:""},e.extra.column),o=e.yAxis.data.length,l=new Array(o);if(o>0){for(var s=0;s<o;s++){l[s]=[];for(var h=0;h<t.length;h++)t[h].index==s&&l[s].push(t[h])}for(var c=new Array(o),d=new Array(o),x=new Array(o),p=function(t){var o=e.yAxis.data[t];1==e.yAxis.disabled&&(o.disabled=!0),c[t]=K(l[t],e,i,a.type,t);var r=o.fontSize||i.fontSize;x[t]={position:o.position?o.position:"left",width:0},d[t]=c[t].map((function(e){return e=n.toFixed(e,6),e=o.format?o.format(Number(e)):e,x[t].width=Math.max(x[t].width,f(e,r)+5),e}));var s=o.calibration?4*e.pixelRatio:0;x[t].width+=s+3*e.pixelRatio,!0===o.disabled&&(x[t].width=0)},g=0;g<o;g++)p(g)}else{c=new Array(1),d=new Array(1),x=new Array(1);c[0]=K(t,e,i,a.type),x[0]={position:"left",width:0};var u=e.yAxis.fontSize||i.fontSize;d[0]=c[0].map((function(t){return t=n.toFixed(t,6),t=e.yAxis.format?e.yAxis.format(Number(t)):t,x[0].width=Math.max(x[0].width,f(t,u)+5),t})),x[0].width+=3*e.pixelRatio,!0===e.yAxis.disabled?(x[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,format:e.yAxis.format}}return{rangesFormat:d,ranges:c,yAxisWidth:x}}function q(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 _(t,e,i,a,o){a.beginPath(),"hollow"==o.dataPointShapeType?(a.setStrokeStyle(e),a.setFillStyle(o.background),a.setLineWidth(2*o.pixelRatio)):(a.setStrokeStyle("#ffffff"),a.setFillStyle(e),a.setLineWidth(1*o.pixelRatio)),"diamond"===i?t.forEach((function(t,e){null!==t&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y),a.lineTo(t.x,t.y+4.5),a.lineTo(t.x+4.5,t.y),a.lineTo(t.x,t.y-4.5))})):"circle"===i?t.forEach((function(t,e){null!==t&&(a.moveTo(t.x+2.5*o.pixelRatio,t.y),a.arc(t.x,t.y,3*o.pixelRatio,0,2*Math.PI,!1))})):"rect"===i?t.forEach((function(t,e){null!==t&&(a.moveTo(t.x-3.5,t.y-3.5),a.rect(t.x-3.5,t.y-3.5,7,7))})):"triangle"===i&&t.forEach((function(t,e){null!==t&&(a.moveTo(t.x,t.y-4.5),a.lineTo(t.x-4.5,t.y+4.5),a.lineTo(t.x+4.5,t.y+4.5),a.lineTo(t.x,t.y-4.5))})),a.closePath(),a.fill(),a.stroke()}function G(t,e,i,a){var o=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,n=t.title.name||"",l=t.subtitle.name||"",s=t.title.color||e.titleColor,h=t.subtitle.color||e.subtitleColor,c=n?o:0,d=l?r:0;if(l){var x=f(l,r),p=a.x-x/2+(t.subtitle.offsetX||0),g=a.y+r/2+(t.subtitle.offsetY||0);n&&(g+=(c+5)/2),i.beginPath(),i.setFontSize(r),i.setFillStyle(h),i.fillText(l,p,g),i.closePath(),i.stroke()}if(n){var u=f(n,o),y=a.x-u/2+(t.title.offsetX||0),A=a.y+o/2+(t.title.offsetY||0);l&&(A-=(d+5)/2),i.beginPath(),i.setFontSize(o),i.setFillStyle(s),i.fillText(n,y,A),i.closePath(),i.stroke()}}function Q(t,e,i,o){var r=e.data;t.forEach((function(t,n){if(null!==t){o.beginPath(),o.setFontSize(e.textSize||i.fontSize),o.setFillStyle(e.textColor||"#666666");var l=r[n];"object"===a(r[n])&&null!==r[n]&&(l=r[n].constructor==Array?r[n][1]:r[n].value);var s=e.format?e.format(l):l;o.fillText(String(s),t.x-f(s,e.textSize||i.fontSize)/2,t.y-4),o.closePath(),o.stroke()}}))}function J(t,e,i,a,o,r){e-=t.width/2+o.gaugeLabelTextMargin;for(var n=t.startAngle-t.endAngle+1,l=n/t.splitLine.splitNumber,s=t.endNumber-t.startNumber,h=s/t.splitLine.splitNumber,c=t.startAngle,d=t.startNumber,x=0;x<t.splitLine.splitNumber+1;x++){var p={x:e*Math.cos(c*Math.PI),y:e*Math.sin(c*Math.PI)},g=t.labelFormat?t.labelFormat(d):d;p.x+=i.x-f(g)/2,p.y+=i.y;var u=p.x,y=p.y;r.beginPath(),r.setFontSize(o.fontSize),r.setFillStyle(t.labelColor||"#666666"),r.fillText(g,u,y+o.fontSize/2),r.closePath(),r.stroke(),c+=l,c>=2&&(c%=2),d+=h}}function V(t,e,i,a,o,r){var l=a.extra.radar||{};e+=o.radarLabelTextMargin,t.forEach((function(t,s){var h={x:e*Math.cos(t),y:e*Math.sin(t)},c=d(h.x,h.y,i),x=c.x,p=c.y;n.approximatelyEqual(h.x,0)?x-=f(a.categories[s]||"")/2:h.x<0&&(x-=f(a.categories[s]||"")),r.beginPath(),r.setFontSize(o.fontSize),r.setFillStyle(l.labelColor||"#666666"),r.fillText(a.categories[s]||"",x,p+o.fontSize/2),r.closePath(),r.stroke()}))}function Y(t,e,i,a,o,r){for(var l=i.pieChartLinePadding,s=[],h=null,c=t.map((function(t){var e=t.format?t.format(+t._proportion_.toFixed(2)):n.toFixed(100*t._proportion_.toFixed(4))+"%";t._rose_proportion_&&(t._proportion_=t._rose_proportion_);var i=2*Math.PI-(t._start_+2*Math.PI*t._proportion_/2),a=t.color,o=t._radius_;return{arc:i,text:e,color:a,radius:o,textColor:t.textColor,textSize:t.textSize}})),p=0;p<c.length;p++){var g=c[p],u=Math.cos(g.arc)*(g.radius+l),y=Math.sin(g.arc)*(g.radius+l),A=Math.cos(g.arc)*g.radius,v=Math.sin(g.arc)*g.radius,m=u>=0?u+i.pieChartTextPadding:u-i.pieChartTextPadding,S=y,b=f(g.text,g.textSize||i.fontSize),T=S;h&&n.isSameXCoordinateArea(h.start,{x:m})&&(T=m>0?Math.min(S,h.start.y):u<0||S>0?Math.max(S,h.start.y):Math.min(S,h.start.y)),m<0&&(m-=b);var P={lineStart:{x:A,y:v},lineEnd:{x:u,y:y},start:{x:m,y:T},width:b,height:i.fontSize,text:g.text,color:g.color,textColor:g.textColor,textSize:g.textSize};h=x(P,h),s.push(h)}for(var w=0;w<s.length;w++){var F=s[w],M=d(F.lineStart.x,F.lineStart.y,r),R=d(F.lineEnd.x,F.lineEnd.y,r),L=d(F.start.x,F.start.y,r);a.setLineWidth(1*e.pixelRatio),a.setFontSize(i.fontSize),a.beginPath(),a.setStrokeStyle(F.color),a.setFillStyle(F.color),a.moveTo(M.x,M.y);var C=F.start.x<0?L.x+F.width:L.x,k=F.start.x<0?L.x-5:L.x+5;a.quadraticCurveTo(R.x,R.y,C,L.y),a.moveTo(M.x,M.y),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(L.x+F.width,L.y),a.arc(C,L.y,2,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(F.textSize||i.fontSize),a.setFillStyle(F.textColor||"#666666"),a.fillText(F.text,k,L.y+3),a.closePath(),a.stroke(),a.closePath()}}function $(t,e,i){for(var a=r({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),o=t.area[3],n=t.width-t.area[1],s=function(t,e){for(var i,a,o=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var n=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);i=n.pop(),a=n.shift();var l=o*(t[r].value-i)/(a-i);t[r].y=e.height-Math.round(l)-e.area[2]}return t}(a.data,t),h=0;h<s.length;h++){var c=r({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,yAxisIndex:0},s[h]);if("dash"==a.type&&i.setLineDash([a.dashLength,a.dashLength]),i.setStrokeStyle(c.lineColor),i.setLineWidth(1*t.pixelRatio),i.beginPath(),i.moveTo(o,c.y),i.lineTo(n,c.y),i.stroke(),i.setLineDash([]),c.showLabel){var d=t.yAxis.format?t.yAxis.format(Number(c.value)):c.value;i.setFontSize(e.fontSize);var x=f(d,e.fontSize),p=t.padding[3]+e.yAxisTitleWidth-e.toolTipPadding,g=Math.max(t.area[3],x+2*e.toolTipPadding),u=g-p,y=p+(u-x)/2,A=c.y;i.setFillStyle(l(c.labelBgColor,c.labelBgOpacity)),i.setStrokeStyle(c.labelBgColor),i.setLineWidth(1*t.pixelRatio),i.beginPath(),i.rect(p,A-.5*e.fontSize-e.toolTipPadding,u,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(e.fontSize),i.setFillStyle(c.labelFontColor),i.fillText(String(d),y,A+.5*e.fontSize),i.stroke()}}}function tt(t,e,i,a,o){var n=r({},{gridType:"solid",dashLength:4},t.extra.tooltip),s=t.area[3],h=t.width-t.area[1];if("dash"==n.gridType&&i.setLineDash([n.dashLength,n.dashLength]),i.setStrokeStyle(n.gridColor||"#cccccc"),i.setLineWidth(1*t.pixelRatio),i.beginPath(),i.moveTo(s,t.tooltip.offset.y),i.lineTo(h,t.tooltip.offset.y),i.stroke(),i.setLineDash([]),n.yAxisLabel)for(var c=function(t,e,i,a,o){for(var r=[].concat(i.chartData.yAxisData.ranges),n=i.height-i.area[0]-i.area[2],l=i.area[0],s=[],h=0;h<r.length;h++){var c=r[h].shift(),d=r[h].pop(),x=c-(c-d)*(t-l)/n;x=i.yAxis.data[h].format?i.yAxis.data[h].format(Number(x)):x.toFixed(0),s.push(String(x))}return s}(t.tooltip.offset.y,t.series,t),d=t.chartData.yAxisData.yAxisWidth,x=t.area[3],p=t.width-t.area[1],g=0;g<c.length;g++){i.setFontSize(e.fontSize);var u,y=f(c[g],e.fontSize),A=void 0,v=void 0;"left"==d[g].position?(A=x-d[g].width,v=Math.max(A,A+y+2*e.toolTipPadding)):(A=p,v=Math.max(A+d[g].width,A+y+2*e.toolTipPadding)),u=v-A;var m=A+(u-y)/2,S=t.tooltip.offset.y;i.beginPath(),i.setFillStyle(l(n.labelBgColor||e.toolTipBackground,n.labelBgOpacity||e.toolTipOpacity)),i.setStrokeStyle(n.labelBgColor||e.toolTipBackground),i.setLineWidth(1*t.pixelRatio),i.rect(A,S-.5*e.fontSize-e.toolTipPadding,u,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(e.fontSize),i.setFillStyle(n.labelFontColor||e.fontColor),i.fillText(c[g],m,S+.5*e.fontSize),i.closePath(),i.stroke(),"left"==d[g].position?x-=d[g].width+t.yAxis.padding:p+=d[g].width+t.yAxis.padding}}function et(t,e,i,a,o){var n=r({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.tooltip),s=e.area[0],h=e.height-e.area[2];a.beginPath(),a.setFillStyle(l(n.activeBgColor,n.activeBgOpacity)),a.rect(t-o/2,s,o,h-s),a.closePath(),a.fill()}function it(t,e,i,a,o,n,s){var h=r({},{showBox:!0,bgColor:"#000000",bgOpacity:.7,fontColor:"#FFFFFF"},i.extra.tooltip),c=4*i.pixelRatio,d=5*i.pixelRatio,x=8*i.pixelRatio,p=!1;"line"!=i.type&&"area"!=i.type&&"candle"!=i.type&&"mix"!=i.type||function(t,e,i,a){var o=e.extra.tooltip||{};o.gridType=void 0==o.gridType?"solid":o.gridType,o.dashLength=void 0==o.dashLength?4:o.dashLength;var r=e.area[0],n=e.height-e.area[2];if("dash"==o.gridType&&a.setLineDash([o.dashLength,o.dashLength]),a.setStrokeStyle(o.gridColor||"#cccccc"),a.setLineWidth(1*e.pixelRatio),a.beginPath(),a.moveTo(t,r),a.lineTo(t,n),a.stroke(),a.setLineDash([]),o.xAxisLabel){var s=e.categories[e.tooltip.index];a.setFontSize(i.fontSize);var h=f(s,i.fontSize),c=t-.5*h,d=n;a.beginPath(),a.setFillStyle(l(o.labelBgColor||i.toolTipBackground,o.labelBgOpacity||i.toolTipOpacity)),a.setStrokeStyle(o.labelBgColor||i.toolTipBackground),a.setLineWidth(1*e.pixelRatio),a.rect(c-i.toolTipPadding,d,h+2*i.toolTipPadding,i.fontSize+2*i.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.beginPath(),a.setFontSize(i.fontSize),a.setFillStyle(o.labelFontColor||i.fontColor),a.fillText(String(s),c,d+i.toolTipPadding+i.fontSize),a.closePath(),a.stroke()}}(i.tooltip.offset.x,i,a,o),e=r({x:0,y:0},e),e.y-=8*i.pixelRatio;var g=t.map((function(t){return f(t.text,a.fontSize)})),u=c+d+4*a.toolTipPadding+Math.max.apply(null,g),y=2*a.toolTipPadding+t.length*a.toolTipLineHeight;0!=h.showBox&&(e.x-Math.abs(i._scrollDistance_)+x+u>i.width&&(p=!0),y+e.y>i.height&&(e.y=i.height-y),o.beginPath(),o.setFillStyle(l(h.bgColor||a.toolTipBackground,h.bgOpacity||a.toolTipOpacity)),p?(o.moveTo(e.x,e.y+10*i.pixelRatio),o.lineTo(e.x-x,e.y+10*i.pixelRatio-5*i.pixelRatio),o.lineTo(e.x-x,e.y),o.lineTo(e.x-x-Math.round(u),e.y),o.lineTo(e.x-x-Math.round(u),e.y+y),o.lineTo(e.x-x,e.y+y),o.lineTo(e.x-x,e.y+10*i.pixelRatio+5*i.pixelRatio),o.lineTo(e.x,e.y+10*i.pixelRatio)):(o.moveTo(e.x,e.y+10*i.pixelRatio),o.lineTo(e.x+x,e.y+10*i.pixelRatio-5*i.pixelRatio),o.lineTo(e.x+x,e.y),o.lineTo(e.x+x+Math.round(u),e.y),o.lineTo(e.x+x+Math.round(u),e.y+y),o.lineTo(e.x+x,e.y+y),o.lineTo(e.x+x,e.y+10*i.pixelRatio+5*i.pixelRatio),o.lineTo(e.x,e.y+10*i.pixelRatio)),o.closePath(),o.fill(),t.forEach((function(t,i){if(null!==t.color){o.beginPath(),o.setFillStyle(t.color);var r=e.x+x+2*a.toolTipPadding,n=e.y+(a.toolTipLineHeight-a.fontSize)/2+a.toolTipLineHeight*i+a.toolTipPadding+1;p&&(r=e.x-u-x+2*a.toolTipPadding),o.fillRect(r,n,c,a.fontSize),o.closePath()}})),t.forEach((function(t,i){var r=e.x+x+2*a.toolTipPadding+c+d;p&&(r=e.x-u-x+2*a.toolTipPadding+ +c+d);var n=e.y+(a.toolTipLineHeight-a.fontSize)/2+a.toolTipLineHeight*i+a.toolTipPadding;o.beginPath(),o.setFontSize(a.fontSize),o.setFillStyle(h.fontColor),o.fillText(t.text,r,n+a.fontSize),o.closePath(),o.stroke()})))}function at(t,e,i,a,o,r){var n=t.extra.tooltip||{};n.horizentalLine&&t.tooltip&&1===a&&("line"==t.type||"area"==t.type||"column"==t.type||"candle"==t.type||"mix"==t.type)&&tt(t,e,i),i.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&i.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===a&&it(t.tooltip.textList,t.tooltip.offset,t,e,i),i.restore()}function ot(t,e,i,a){var o=e.chartData.xAxisData,r=o.xAxisPoints,n=o.startX,l=o.endX,s=o.eachSpacing,h="center";"line"!=e.type&&"area"!=e.type||(h=e.xAxis.boundaryGap);var c=e.height-e.area[2],d=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var x=e.height-e.area[2]+i.xAxisHeight,p=l-n,g=s*(r.length-1),u=p*p/g,y=0;e._scrollDistance_&&(y=-e._scrollDistance_*p/g),a.beginPath(),a.setLineCap("round"),a.setLineWidth(6*e.pixelRatio),a.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),a.moveTo(n,x),a.lineTo(l,x),a.stroke(),a.closePath(),a.beginPath(),a.setLineCap("round"),a.setLineWidth(6*e.pixelRatio),a.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),a.moveTo(n+y,x),a.lineTo(n+y+u,x),a.stroke(),a.closePath(),a.setLineCap("butt")}if(a.save(),e._scrollDistance_&&0!==e._scrollDistance_&&a.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(a.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),a.setLineCap("butt"),a.setLineWidth(1*e.pixelRatio),r.forEach((function(t,i){i>0&&(a.beginPath(),a.moveTo(t-s/2,c),a.lineTo(t-s/2,c+3*e.pixelRatio),a.closePath(),a.stroke())}))),!0!==e.xAxis.disableGrid&&(a.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),a.setLineCap("butt"),a.setLineWidth(1*e.pixelRatio),"dash"==e.xAxis.gridType&&a.setLineDash([e.xAxis.dashLength,e.xAxis.dashLength]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,i){i%e.xAxis.gridEval==0&&(a.beginPath(),a.moveTo(t,c),a.lineTo(t,d),a.stroke())})),a.setLineDash([])),!0!==e.xAxis.disabled){var A=t.length;e.xAxis.labelCount&&(A=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,A-=1);for(var v=Math.ceil(t.length/A),m=[],S=t.length,b=0;b<S;b++)b%v!==0?m.push(""):m.push(t[b]);m[S-1]=t[S-1];var T=e.xAxis.fontSize||i.fontSize;0===i._xAxisTextAngle_?m.forEach((function(t,o){var n=-f(String(t),T)/2;"center"==h&&(n+=s/2);var l=0;e.xAxis.scrollShow&&(l=6*e.pixelRatio),a.beginPath(),a.setFontSize(T),a.setFillStyle(e.xAxis.fontColor||"#666666"),a.fillText(String(t),r[o]+n,c+T+(i.xAxisHeight-l-T)/2),a.closePath(),a.stroke()})):m.forEach((function(t,o){a.save(),a.beginPath(),a.setFontSize(T),a.setFillStyle(e.xAxis.fontColor||"#666666");var n=f(String(t),T),l=-n;"center"==h&&(l+=s/2);var d=function(t,e,i){var a=t,o=i-e,r=a+(i-o-a)/Math.sqrt(2);r*=-1;var n=(i-o)*(Math.sqrt(2)-1)-(i-o-a)/Math.sqrt(2);return{transX:r,transY:n}}(r[o]+s/2,c+T/2+5,e.height),x=d.transX,p=d.transY;a.rotate(-1*i._xAxisTextAngle_),a.translate(x,p),a.fillText(String(t),r[o]+l,c+T+5),a.closePath(),a.stroke(),a.restore()}))}a.restore(),e.xAxis.axisLine&&(a.beginPath(),a.setStrokeStyle(e.xAxis.axisLineColor),a.setLineWidth(1*e.pixelRatio),a.moveTo(n,e.height-e.area[2]),a.lineTo(l,e.height-e.area[2]),a.stroke())}function rt(t,e,i,a){if(!0!==e.yAxis.disableGrid){for(var o=e.height-e.area[0]-e.area[2],r=o/e.yAxis.splitNumber,n=e.area[3],l=e.chartData.xAxisData.xAxisPoints,s=e.chartData.xAxisData.eachSpacing,h=s*(l.length-1),c=n+h,d=[],x=0;x<e.yAxis.splitNumber+1;x++)d.push(e.height-e.area[2]-r*x);a.save(),e._scrollDistance_&&0!==e._scrollDistance_&&a.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&a.setLineDash([e.yAxis.dashLength,e.yAxis.dashLength]),a.setStrokeStyle(e.yAxis.gridColor),a.setLineWidth(1*e.pixelRatio),d.forEach((function(t,e){a.beginPath(),a.moveTo(n,t),a.lineTo(c,t),a.stroke()})),a.setLineDash([]),a.restore()}}function nt(t,e,i,a){if(!0!==e.yAxis.disabled){var o=e.height-e.area[0]-e.area[2],r=o/e.yAxis.splitNumber,n=e.area[3],l=e.width-e.area[1],s=e.height-e.area[2],h=s+i.xAxisHeight;e.xAxis.scrollShow&&(h-=3*e.pixelRatio),e.xAxis.rotateLabel&&(h=e.height-e.area[2]+3),a.beginPath(),a.setFillStyle(e.background||"#ffffff"),e._scrollDistance_<0&&a.fillRect(0,0,n,h),1==e.enableScroll&&a.fillRect(l,0,e.width,h),a.closePath(),a.stroke();for(var c=[],d=0;d<=e.yAxis.splitNumber;d++)c.push(e.area[0]+r*d);for(var x=e.area[3],p=e.width-e.area[1],g=function(t){var o=e.yAxis.data[t];if(!0!==o.disabled){var r=e.chartData.yAxisData.rangesFormat[t],n=o.fontSize||i.fontSize,l=e.chartData.yAxisData.yAxisWidth[t];if(r.forEach((function(t,i){var r=c[i]?c[i]:s;a.beginPath(),a.setFontSize(n),a.setLineWidth(1*e.pixelRatio),a.setStrokeStyle(o.axisLineColor||"#cccccc"),a.setFillStyle(o.fontColor||"#666666"),"left"==l.position?(a.fillText(String(t),x-l.width,r+n/2),1==o.calibration&&(a.moveTo(x,r),a.lineTo(x-3*e.pixelRatio,r))):(a.fillText(String(t),p+4*e.pixelRatio,r+n/2),1==o.calibration&&(a.moveTo(p,r),a.lineTo(p+3*e.pixelRatio,r))),a.closePath(),a.stroke()})),!1!==o.axisLine&&(a.beginPath(),a.setStrokeStyle(o.axisLineColor||"#cccccc"),a.setLineWidth(1*e.pixelRatio),"left"==l.position?(a.moveTo(x,e.height-e.area[2]),a.lineTo(x,e.area[0])):(a.moveTo(p,e.height-e.area[2]),a.lineTo(p,e.area[0])),a.stroke()),e.yAxis.showTitle){var h=o.titleFontSize||i.fontSize,d=o.title;a.beginPath(),a.setFontSize(h),a.setFillStyle(o.titleFontColor||"#666666"),"left"==l.position?a.fillText(d,x-f(d,h)/2,e.area[0]-10*e.pixelRatio):a.fillText(d,p-f(d,h)/2,e.area[0]-10*e.pixelRatio),a.closePath(),a.stroke()}"left"==l.position?x-=l.width+e.yAxis.padding:p+=l.width+e.yAxis.padding}},u=0;u<e.yAxis.data.length;u++)g(u)}}function lt(t,e,i,a,o){if(!1!==e.legend.show){var r=o.legendData,n=r.points,l=r.area,s=e.legend.padding,h=e.legend.fontSize,c=15*e.pixelRatio,d=5*e.pixelRatio,x=e.legend.itemGap,p=Math.max(e.legend.lineHeight*e.pixelRatio,h);a.beginPath(),a.setLineWidth(e.legend.borderWidth),a.setStrokeStyle(e.legend.borderColor),a.setFillStyle(e.legend.backgroundColor),a.moveTo(l.start.x,l.start.y),a.rect(l.start.x,l.start.y,l.width,l.height),a.closePath(),a.fill(),a.stroke(),n.forEach((function(t,o){var n,g=0;g=r.widthArr[o],n=r.heightArr[o];var u=0,y=0;"top"==e.legend.position||"bottom"==e.legend.position?(u=l.start.x+(l.width-g)/2,y=l.start.y+s+o*p):(g=0==o?0:r.widthArr[o-1],u=l.start.x+s+g,y=l.start.y+s+(l.height-n)/2),a.setFontSize(i.fontSize);for(var A=0;A<t.length;A++){var v=t[A];switch(v.area=[0,0,0,0],v.area[0]=u,v.area[1]=y,v.area[3]=y+p,a.beginPath(),a.setLineWidth(1*e.pixelRatio),a.setStrokeStyle(v.show?v.color:e.legend.hiddenColor),a.setFillStyle(v.show?v.color:e.legend.hiddenColor),v.legendShape){case"line":a.moveTo(u,y+.5*p-2*e.pixelRatio),a.fillRect(u,y+.5*p-2*e.pixelRatio,15*e.pixelRatio,4*e.pixelRatio);break;case"triangle":a.moveTo(u+7.5*e.pixelRatio,y+.5*p-5*e.pixelRatio),a.lineTo(u+2.5*e.pixelRatio,y+.5*p+5*e.pixelRatio),a.lineTo(u+12.5*e.pixelRatio,y+.5*p+5*e.pixelRatio),a.lineTo(u+7.5*e.pixelRatio,y+.5*p-5*e.pixelRatio);break;case"diamond":a.moveTo(u+7.5*e.pixelRatio,y+.5*p-5*e.pixelRatio),a.lineTo(u+2.5*e.pixelRatio,y+.5*p),a.lineTo(u+7.5*e.pixelRatio,y+.5*p+5*e.pixelRatio),a.lineTo(u+12.5*e.pixelRatio,y+.5*p),a.lineTo(u+7.5*e.pixelRatio,y+.5*p-5*e.pixelRatio);break;case"circle":a.moveTo(u+7.5*e.pixelRatio,y+.5*p),a.arc(u+7.5*e.pixelRatio,y+.5*p,5*e.pixelRatio,0,2*Math.PI);break;case"rect":a.moveTo(u,y+.5*p-5*e.pixelRatio),a.fillRect(u,y+.5*p-5*e.pixelRatio,15*e.pixelRatio,10*e.pixelRatio);break;default:a.moveTo(u,y+.5*p-5*e.pixelRatio),a.fillRect(u,y+.5*p-5*e.pixelRatio,15*e.pixelRatio,10*e.pixelRatio)}a.closePath(),a.fill(),a.stroke(),u+=c+d;var m=.5*p+.5*h-2;a.beginPath(),a.setFontSize(h),a.setFillStyle(v.show?e.legend.fontColor:e.legend.hiddenColor),a.fillText(v.name,u,y+m),a.closePath(),a.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(u+=f(v.name,h)+x,v.area[2]=u):(v.area[2]=u+f(v.name,h)+x,u-=c+d,y+=p)}}))}}function st(t,e,i){i=0==i?1:i;for(var a=[],o=0;o<i;o++)a[o]=Math.random();return Math.floor(a.reduce((function(t,e){return t+e}))/i*(e-t))+t}function ht(t,e,i,a){for(var o=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){o=!0;break}if(t[0]<0||t[1]<0||t[2]>i||t[3]>a){o=!0;break}o=!1}return o}function ct(t,e,i,a,o,r){return{x:(e-i.xMin)*a+o,y:(i.yMax-t)*a+r}}function dt(t,e,i){if(e[1]==i[1])return!1;if(e[1]>t[1]&&i[1]>t[1])return!1;if(e[1]<t[1]&&i[1]<t[1])return!1;if(e[1]==t[1]&&i[1]>t[1])return!1;if(i[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&i[1]<t[1])return!1;var a=i[0]-(i[0]-e[0])*(i[1]-t[1])/(i[1]-e[1]);return!(a<t[0])}function xt(t,e){for(var i=0,a=0;a<e.length;a++){var o=e[a][0];1==e.length&&(o=e[a][0]);for(var r=0;r<o.length-1;r++){var n=o[r],l=o[r+1];dt(t,n,l)&&(i+=1)}}return i%2==1}function pt(t,e,i,a,o,r,l){for(var s=0;s<t.length;s++){var h=t[s],c=void 0,d=void 0,x=void 0,p=void 0,g=h.format?h.format(+h._proportion_.toFixed(2)):n.toFixed(100*h._proportion_)+"%";"right"==o?(c=0==s?(h.funnelArea[2]+l.x)/2:(h.funnelArea[2]+t[s-1].funnelArea[2])/2,d=c+2*r,x=h.funnelArea[1]+a/2,p=h.textSize||e.fontSize,i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(h.color),i.setFillStyle(h.color),i.beginPath(),i.moveTo(c,x),i.lineTo(d,x),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(d,x),i.arc(d,x,2,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(p),i.setFillStyle(h.textColor||"#666666"),i.fillText(g,d+5,x+p/2-2),i.closePath(),i.stroke(),i.closePath()):(c=0==s?(h.funnelArea[0]+l.x)/2:(h.funnelArea[0]+t[s-1].funnelArea[0])/2,d=c-2*r,x=h.funnelArea[1]+a/2,p=h.textSize||e.fontSize,i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(h.color),i.setFillStyle(h.color),i.beginPath(),i.moveTo(c,x),i.lineTo(d,x),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(d,x),i.arc(d,x,2,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(p),i.setFillStyle(h.textColor||"#666666"),i.fillText(g,d-5-f(g),x+p/2-2),i.closePath(),i.stroke(),i.closePath())}}function gt(t,e){e.draw()}var ft={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 ut(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"linear";var e=function(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}(),i=null,a=function(o){if(null===o||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===i&&(i=o),o-i<t.duration){var r=(o-i)/t.duration,n=ft[t.timing];r=n(r),t.onProcess&&t.onProcess(r),e(a,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};a=a.bind(this),e(a,17)}function yt(t,e,i,a){var o=this,s=e.series,h=e.categories;s=p(s,e,i);var x=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var g=null;if("candle"==t){var u=r({},e.extra.candle.average);u.show?(g=function(t,e,i,a){for(var o=[],r=0;r<t.length;r++){for(var n={data:[],name:e[r],color:i[r]},l=0,s=a.length;l<s;l++)if(l<t[r])n.data.push(null);else{for(var h=0,c=0;c<t[r];c++)h+=a[l-c][1];n.data.push(+(h/t[r]).toFixed(3))}o.push(n)}return o}(u.day,u.name,u.color,s[0].data),g=p(g,e,i),e.seriesMA=g):g=e.seriesMA?e.seriesMA=p(e.seriesMA,e,i):s}else g=s;e._series_=s=function(t){for(var e=[],i=0;i<t.length;i++)1==t[i].show&&e.push(t[i]);return e}(s),e.area=new Array(4);for(var y=0;y<4;y++)e.area[y]=e.padding[y];var A=function(t,e,i,a){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 a.legendData=o,o;var r=e.legend.padding,n=e.legend.margin,l=e.legend.fontSize,s=15*e.pixelRatio,h=5*e.pixelRatio,c=Math.max(e.legend.lineHeight*e.pixelRatio,l);if("top"==e.legend.position||"bottom"==e.legend.position){for(var d=[],x=0,p=[],g=[],u=0;u<t.length;u++){var y=t[u],A=s+h+f(y.name||"undefined",l)+e.legend.itemGap;x+A>e.width-e.padding[1]-e.padding[3]?(d.push(g),p.push(x-e.legend.itemGap),x=A,g=[y]):(x+=A,g.push(y))}if(g.length){d.push(g),p.push(x-e.legend.itemGap),o.widthArr=p;var v=Math.max.apply(null,p);switch(e.legend.float){case"left":o.area.start.x=e.padding[3],o.area.end.x=e.padding[3]+2*r;break;case"right":o.area.start.x=e.width-e.padding[1]-v-2*r,o.area.end.x=e.width-e.padding[1];break;default:o.area.start.x=(e.width-v)/2-r,o.area.end.x=(e.width+v)/2+r}o.area.width=v+2*r,o.area.wholeWidth=v+2*r,o.area.height=d.length*c+2*r,o.area.wholeHeight=d.length*c+2*r+2*n,o.points=d}}else{var m=t.length,S=e.height-e.padding[0]-e.padding[2]-2*n-2*r,b=Math.min(Math.floor(S/c),m);switch(o.area.height=b*c+2*r,o.area.wholeHeight=b*c+2*r,e.legend.float){case"top":o.area.start.y=e.padding[0]+n,o.area.end.y=e.padding[0]+n+o.area.height;break;case"bottom":o.area.start.y=e.height-e.padding[2]-n-o.area.height,o.area.end.y=e.height-e.padding[2]-n;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=m%b===0?m/b:Math.floor(m/b+1),P=[],w=0;w<T;w++){var F=t.slice(w*b,w*b+b);P.push(F)}if(o.points=P,P.length){for(var M=0;M<P.length;M++){for(var R=P[M],L=0,C=0;C<R.length;C++){var k=s+h+f(R[C].name||"undefined",l)+e.legend.itemGap;k>L&&(L=k)}o.widthArr.push(L),o.heightArr.push(R.length*c+2*r)}for(var I=0,D=0;D<o.widthArr.length;D++)I+=o.widthArr[D];o.area.width=I-e.legend.itemGap+2*r,o.area.wholeWidth=o.area.width+r}}switch(e.legend.position){case"top":o.area.start.y=e.padding[0]+n,o.area.end.y=e.padding[0]+n+o.area.height;break;case"bottom":o.area.start.y=e.height-e.padding[2]-o.area.height-n,o.area.end.y=e.height-e.padding[2]-n;break;case"left":o.area.start.x=e.padding[3],o.area.end.x=e.padding[3]+o.area.width;break;case"right":o.area.start.x=e.width-e.padding[1]-o.area.width,o.area.end.x=e.width-e.padding[1];break}return a.legendData=o,o}(g,e,0,e.chartData),v=A.area.wholeHeight,b=A.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=v;break;case"bottom":e.area[2]+=v;break;case"left":e.area[3]+=b;break;case"right":e.area[1]+=b;break}var T={},P=0;if("line"===e.type||"column"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type){if(T=X(s,e,i),P=T.yAxisWidth,e.yAxis.showTitle){for(var w=0,F=0;F<e.yAxis.data.length;F++)w=Math.max(w,e.yAxis.data[F].titleFontSize?e.yAxis.data[F].titleFontSize:i.fontSize);e.area[0]+=(w+6)*e.pixelRatio}for(var K=0,tt=0,it=0;it<P.length;it++)"left"==P[it].position?(e.area[3]+=tt>0?P[it].width+e.yAxis.padding:P[it].width,tt+=1):(e.area[1]+=K>0?P[it].width+e.yAxis.padding:P[it].width,K+=1)}else i.yAxisWidth=P;if(e.chartData.yAxisData=T,e.categories&&e.categories.length){e.chartData.xAxisData=j(e.categories,e);var dt=R(e.categories,e,i,e.chartData.xAxisData.eachSpacing),xt=dt.xAxisHeight,ft=dt.angle;i.xAxisHeight=xt,i._xAxisTextAngle_=ft,e.area[2]+=xt,e.chartData.categoriesData=dt}else if("line"===e.type||"area"===e.type||"points"===e.type){e.chartData.xAxisData=L(s,e,i),h=e.chartData.xAxisData.rangesFormat;var yt=R(h,e,i,e.chartData.xAxisData.eachSpacing),At=yt.xAxisHeight,vt=yt.angle;i.xAxisHeight=At,i._xAxisTextAngle_=vt,e.area[2]+=At,e.chartData.categoriesData=yt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var mt,St=e.chartData.xAxisData.xAxisPoints,bt=e.chartData.xAxisData.startX,Tt=e.chartData.xAxisData.endX,Pt=e.chartData.xAxisData.eachSpacing,wt=Pt*(St.length-1),Ft=Tt-bt;mt=Ft-wt,o.scrollOption={currentOffset:mt,startTouchX:mt,distance:0,lastMoveTime:0},e._scrollDistance_=mt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(i._pieTextMaxLength_=!1===e.dataLabel?0:function(t){t=k(t);for(var e=0,i=0;i<t.length;i++){var a=t[i],o=a.format?a.format(+a._proportion_.toFixed(2)):n.toFixed(100*a._proportion_)+"%";e=Math.max(e,f(o))}return e}(g)),t){case"word":var Mt=r({},{type:"normal",autoColors:!0},e.extra.word);1!=e.updateData&&void 0!=e.updateData||(e.chartData.wordCloudData=function(t,e){var i=t.series.sort((function(t,e){return parseInt(e.textSize)-parseInt(t.textSize)}));switch(e){case"normal":for(var a=0;a<i.length;a++){var o=i[a].name,r=i[a].textSize,n=f(o,r),l=void 0,s=void 0,h=void 0,c=0;while(1){c++,l=st(-t.width/2,t.width/2,5)-n/2,s=st(-t.height/2,t.height/2,5)+r/2,h=[l-5+t.width/2,s-5-r+t.height/2,l+n+5+t.width/2,s+5+t.height/2];var d=ht(h,i,t.width,t.height);if(!d)break;if(1e3==c){h=[-100,-100,-100,-100];break}}i[a].area=h}break;case"vertical":for(var x=function(){return Math.random()>.7},p=0;p<i.length;p++){var g=i[p].name,u=i[p].textSize,y=f(g,u),A=x(),v=void 0,m=void 0,S=void 0,b=void 0,T=0;while(1){T++;var P=void 0;if(A?(v=st(-t.width/2,t.width/2,5)-y/2,m=st(-t.height/2,t.height/2,5)+u/2,S=[m-5-y+t.width/2,-v-5+t.height/2,m+5+t.width/2,-v+u+5+t.height/2],b=[t.width-(t.width/2-t.height/2)-(-v+u+5+t.height/2)-5,t.height/2-t.width/2+(m-5-y+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-v+u+5+t.height/2)+u,t.height/2-t.width/2+(m-5-y+t.width/2)+y+5],P=ht(b,i,t.height,t.width)):(v=st(-t.width/2,t.width/2,5)-y/2,m=st(-t.height/2,t.height/2,5)+u/2,S=[v-5+t.width/2,m-5-u+t.height/2,v+y+5+t.width/2,m+5+t.height/2],P=ht(S,i,t.width,t.height)),!P)break;if(1e3==T){S=[-1e3,-1e3,-1e3,-1e3];break}}A?(i[p].area=b,i[p].areav=S):i[p].area=S,i[p].rotate=A}break}return i}(e,Mt.type)),this.animationInstance=new ut({timing:"easeInOut",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;r({},{type:"normal",autoColors:!0},e.extra.word),a.beginPath(),a.setFillStyle(e.background||"#FFFFFF"),a.rect(0,0,e.width,e.height),a.fill(),a.save();var n=e.chartData.wordCloudData;a.translate(e.width/2,e.height/2);for(var l=0;l<n.length;l++){a.save(),n[l].rotate&&a.rotate(90*Math.PI/180);var s=n[l].name,h=n[l].textSize,c=f(s,h);a.beginPath(),a.setStrokeStyle(n[l].color),a.setFillStyle(n[l].color),a.setFontSize(h),n[l].rotate?n[l].areav[0]>0&&(e.tooltip&&e.tooltip.index==l?a.strokeText(s,(n[l].areav[0]+5-e.width/2)*o-c*(1-o)/2,(n[l].areav[1]+5+h-e.height/2)*o):a.fillText(s,(n[l].areav[0]+5-e.width/2)*o-c*(1-o)/2,(n[l].areav[1]+5+h-e.height/2)*o)):n[l].area[0]>0&&(e.tooltip&&e.tooltip.index==l?a.strokeText(s,(n[l].area[0]+5-e.width/2)*o-c*(1-o)/2,(n[l].area[1]+5+h-e.height/2)*o):a.fillText(s,(n[l].area[0]+5-e.width/2)*o-c*(1-o)/2,(n[l].area[1]+5+h-e.height/2)*o)),a.stroke(),a.restore()}a.restore()}(s,e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"map":a.clearRect(0,0,e.width,e.height),function(t,e,i,a){var o,n,s=r({},{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),h=t,c=function(t){for(var e,i={xMin:180,xMax:0,yMin:90,yMax:0},a=0;a<t.length;a++)for(var o=t[a].geometry.coordinates,r=0;r<o.length;r++){e=o[r],1==e.length&&(e=e[0]);for(var n=0;n<e.length;n++){var l=e[n][0],s=e[n][1],h={x:l,y:s};i.xMin=i.xMin<h.x?i.xMin:h.x,i.xMax=i.xMax>h.x?i.xMax:h.x,i.yMin=i.yMin<h.y?i.yMin:h.y,i.yMax=i.yMax>h.y?i.yMax:h.y}}return i}(h),d=e.width/Math.abs(c.xMax-c.xMin),x=e.height/Math.abs(c.yMax-c.yMin),p=d<x?d:x,g=e.width/2-Math.abs(c.xMax-c.xMin)/2*p,u=e.height/2-Math.abs(c.yMax-c.yMin)/2*p;a.beginPath(),a.clearRect(0,0,e.width,e.height),a.setFillStyle(e.background||"#FFFFFF"),a.rect(0,0,e.width,e.height),a.fill();for(var y=0;y<h.length;y++){a.beginPath(),a.setLineWidth(s.borderWidth*e.pixelRatio),a.setStrokeStyle(s.borderColor),a.setFillStyle(l(t[y].color,s.fillOpacity)),e.tooltip&&e.tooltip.index==y&&(a.setStrokeStyle(s.activeBorderColor),a.setFillStyle(l(s.activeFillColor,s.activeFillOpacity)));for(var A=h[y].geometry.coordinates,v=0;v<A.length;v++){o=A[v],1==o.length&&(o=o[0]);for(var m=0;m<o.length;m++)n=ct(o[m][1],o[m][0],c,p,g,u),0===m?(a.beginPath(),a.moveTo(n.x,n.y)):a.lineTo(n.x,n.y);a.fill(),1==s.border&&a.stroke()}if(1==e.dataLabel){var S=h[y].properties.centroid;if(S){n=ct(S[1],S[0],c,p,g,u);var b=h[y].textSize||i.fontSize,T=h[y].properties.name;a.beginPath(),a.setFontSize(b),a.setFillStyle(h[y].textColor||"#666666"),a.fillText(T,n.x-f(T,b)/2,n.y+b/2),a.closePath(),a.stroke()}}}e.chartData.mapData={bounds:c,scale:p,xoffset:g,yoffset:u},at(e,i,a,1),a.draw()}(s,e,i,a);break;case"funnel":this.animationInstance=new ut({timing:"easeInOut",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),e.chartData.funnelData=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=r({},{activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"},e.extra.funnel),s=(e.height-e.area[0]-e.area[2])/t.length,h={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},c=n.activeWidth,d=Math.min((e.width-e.area[1]-e.area[3])/2-c,(e.height-e.area[0]-e.area[2])/2-c);t=I(t,d,o),a.save(),a.translate(h.x,h.y);for(var x=0;x<t.length;x++)0==x?(e.tooltip&&e.tooltip.index==x&&(a.beginPath(),a.setFillStyle(l(t[x].color,n.activeOpacity)),a.moveTo(-c,0),a.lineTo(-t[x].radius-c,-s),a.lineTo(t[x].radius+c,-s),a.lineTo(c,0),a.lineTo(-c,0),a.closePath(),a.fill()),t[x].funnelArea=[h.x-t[x].radius,h.y-s,h.x+t[x].radius,h.y],a.beginPath(),a.setLineWidth(n.borderWidth*e.pixelRatio),a.setStrokeStyle(n.borderColor),a.setFillStyle(l(t[x].color,n.fillOpacity)),a.moveTo(0,0),a.lineTo(-t[x].radius,-s),a.lineTo(t[x].radius,-s),a.lineTo(0,0),a.closePath(),a.fill(),1==n.border&&a.stroke()):(e.tooltip&&e.tooltip.index==x&&(a.beginPath(),a.setFillStyle(l(t[x].color,n.activeOpacity)),a.moveTo(0,0),a.lineTo(-t[x-1].radius-c,0),a.lineTo(-t[x].radius-c,-s),a.lineTo(t[x].radius+c,-s),a.lineTo(t[x-1].radius+c,0),a.lineTo(0,0),a.closePath(),a.fill()),t[x].funnelArea=[h.x-t[x].radius,h.y-s*(x+1),h.x+t[x].radius,h.y-s*x],a.beginPath(),a.setLineWidth(n.borderWidth*e.pixelRatio),a.setStrokeStyle(n.borderColor),a.setFillStyle(l(t[x].color,n.fillOpacity)),a.moveTo(0,0),a.lineTo(-t[x-1].radius,0),a.lineTo(-t[x].radius,-s),a.lineTo(t[x].radius,-s),a.lineTo(t[x-1].radius,0),a.lineTo(0,0),a.closePath(),a.fill(),1==n.border&&a.stroke()),a.translate(0,-s);return a.restore(),!1!==e.dataLabel&&1===o&&pt(t,e,a,s,n.labelAlign,c,h),{center:h,radius:d,series:t}}(s,e,i,a,t),lt(e.series,e,i,a,e.chartData),at(e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"line":this.animationInstance=new ut({timing:"easeIn",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),rt(0,e,0,a),ot(h,e,i,a);var o=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=r({},{type:"straight",width:2},e.extra.line);n.width*=e.pixelRatio;var l=e.chartData.xAxisData,s=l.xAxisPoints,h=l.eachSpacing,d=[];a.save();var x=0,p=e.width+h;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),x=-e._scrollDistance_-h+e.area[3],p=x+(e.xAxis.itemCount+4)*h),t.forEach((function(t,r){var l,g,f;l=[].concat(e.chartData.yAxisData.ranges[t.index]),g=l.pop(),f=l.shift();var u=t.data,y=U(u,g,f,s,h,e,i,o);d.push(y);var A=M(y);if("dash"==t.lineType){var v=t.dashLength?t.dashLength:8;v*=e.pixelRatio,a.setLineDash([v,v])}a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(n.width),A.forEach((function(t,e){if(1===t.length)a.moveTo(t[0].x,t[0].y),a.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{a.moveTo(t[0].x,t[0].y);var i=0;if("curve"===n.type)for(var o=0;o<t.length;o++){var r=t[o];if(0==i&&r.x>x&&(a.moveTo(r.x,r.y),i=1),o>0&&r.x>x&&r.x<p){var l=c(t,o-1);a.bezierCurveTo(l.ctrA.x,l.ctrA.y,l.ctrB.x,l.ctrB.y,r.x,r.y)}}else for(var s=0;s<t.length;s++){var h=t[s];0==i&&h.x>x&&(a.moveTo(h.x,h.y),i=1),s>0&&h.x>x&&h.x<p&&a.lineTo(h.x,h.y)}a.moveTo(t[0].x,t[0].y)}})),a.stroke(),a.setLineDash([]),!1!==e.dataPointShape&&_(y,t.color,t.pointShape,a,e)})),!1!==e.dataLabel&&1===o&&t.forEach((function(t,r){var n,l,c;n=[].concat(e.chartData.yAxisData.ranges[t.index]),l=n.pop(),c=n.shift();var d=t.data,x=U(d,l,c,s,h,e,i,o);Q(x,t,i,a)})),a.restore(),{xAxisPoints:s,calPoints:d,eachSpacing:h}}(s,e,i,a,t),n=o.xAxisPoints,l=o.calPoints,d=o.eachSpacing;e.chartData.xAxisPoints=n,e.chartData.calPoints=l,e.chartData.eachSpacing=d,nt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&$(e,i,a),lt(e.series,e,i,a,e.chartData),at(e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"mix":this.animationInstance=new ut({timing:"easeIn",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),rt(0,e,0,a),ot(h,e,i,a);var o=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=e.chartData.xAxisData,n=r.xAxisPoints,s=r.eachSpacing,h=e.height-e.area[2],d=[],x=0,p=0;t.forEach((function(t,e){"column"==t.type&&(p+=1)})),a.save();var g=-2,f=n.length+2,u=0,y=e.width+s;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),g=Math.floor(-e._scrollDistance_/s)-2,f=g+e.xAxis.itemCount+4,u=-e._scrollDistance_-s+e.area[3],y=u+(e.xAxis.itemCount+4)*s),t.forEach((function(t,r){var A,v,m;A=[].concat(e.chartData.yAxisData.ranges[t.index]),v=A.pop(),m=A.shift();var S=t.data,b=U(S,v,m,n,s,e,i,o);if(d.push(b),"column"==t.type){b=W(b,s,p,x,i,e);for(var T=0;T<b.length;T++){var P=b[T];if(null!==P&&T>g&&T<f){a.beginPath(),a.setStrokeStyle(P.color||t.color),a.setLineWidth(1),a.setFillStyle(P.color||t.color);var w=P.x-P.width/2;e.height,P.y,e.area[2];a.moveTo(w,P.y),a.moveTo(w,P.y),a.lineTo(w+P.width-2,P.y),a.lineTo(w+P.width-2,e.height-e.area[2]),a.lineTo(w,e.height-e.area[2]),a.lineTo(w,P.y),a.closePath(),a.stroke(),a.fill(),a.closePath(),a.fill()}}x+=1}if("area"==t.type)for(var F=M(b),R=0;R<F.length;R++){var L=F[R];if(a.beginPath(),a.setStrokeStyle(t.color),a.setFillStyle(l(t.color,.2)),a.setLineWidth(2*e.pixelRatio),L.length>1){var C=L[0],k=L[L.length-1];a.moveTo(C.x,C.y);var I=0;if("curve"===t.style)for(var D=0;D<L.length;D++){var E=L[D];if(0==I&&E.x>u&&(a.moveTo(E.x,E.y),I=1),D>0&&E.x>u&&E.x<y){var z=c(L,D-1);a.bezierCurveTo(z.ctrA.x,z.ctrA.y,z.ctrB.x,z.ctrB.y,E.x,E.y)}}else for(var O=0;O<L.length;O++){var N=L[O];0==I&&N.x>u&&(a.moveTo(N.x,N.y),I=1),O>0&&N.x>u&&N.x<y&&a.lineTo(N.x,N.y)}a.lineTo(k.x,h),a.lineTo(C.x,h),a.lineTo(C.x,C.y)}else{var B=L[0];a.moveTo(B.x-s/2,B.y),a.lineTo(B.x+s/2,B.y),a.lineTo(B.x+s/2,h),a.lineTo(B.x-s/2,h),a.moveTo(B.x-s/2,B.y)}a.closePath(),a.fill()}if("line"==t.type){var j=M(b);j.forEach((function(i,o){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pixelRatio,a.setLineDash([r,r])}if(a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(2*e.pixelRatio),1===i.length)a.moveTo(i[0].x,i[0].y),a.arc(i[0].x,i[0].y,1,0,2*Math.PI);else{a.moveTo(i[0].x,i[0].y);var n=0;if("curve"==t.style)for(var l=0;l<i.length;l++){var s=i[l];if(0==n&&s.x>u&&(a.moveTo(s.x,s.y),n=1),l>0&&s.x>u&&s.x<y){var h=c(i,l-1);a.bezierCurveTo(h.ctrA.x,h.ctrA.y,h.ctrB.x,h.ctrB.y,s.x,s.y)}}else for(var d=0;d<i.length;d++){var x=i[d];0==n&&x.x>u&&(a.moveTo(x.x,x.y),n=1),d>0&&x.x>u&&x.x<y&&a.lineTo(x.x,x.y)}a.moveTo(i[0].x,i[0].y)}a.stroke(),a.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&_(b,t.color,t.pointShape,a,e)})),!1!==e.dataLabel&&1===o){x=0;t.forEach((function(t,r){var l,h,c;l=[].concat(e.chartData.yAxisData.ranges[t.index]),h=l.pop(),c=l.shift();var d=t.data,g=U(d,h,c,n,s,e,i,o);"column"!==t.type?Q(g,t,i,a):(g=W(g,s,p,x,i,e),Q(g,t,i,a),x+=1)}))}return a.restore(),{xAxisPoints:n,calPoints:d,eachSpacing:s}}(s,e,i,a,t),r=o.xAxisPoints,n=o.calPoints,d=o.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=n,e.chartData.eachSpacing=d,nt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&$(e,i,a),lt(e.series,e,i,a,e.chartData),at(e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"column":this.animationInstance=new ut({timing:"easeIn",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),rt(0,e,0,a),ot(h,e,i,a);var o=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=e.chartData.xAxisData,l=n.xAxisPoints,s=n.eachSpacing,h=r({},{type:"group",width:s/2,meter:{border:4,fillColor:"#FFFFFF"}},e.extra.column),c=[];a.save();var d=-2,x=l.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),d=Math.floor(-e._scrollDistance_/s)-2,x=d+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===o&&et(e.tooltip.offset.x,e,0,a,s),t.forEach((function(r,n){var p,g,f;p=[].concat(e.chartData.yAxisData.ranges[r.index]),g=p.pop(),f=p.shift();var u=r.data;switch(h.type){case"group":var y=U(u,g,f,l,s,e,i,o),A=Z(u,g,f,l,s,e,i,n,t,o);c.push(A),y=W(y,s,t.length,n,i,e);for(var v=0;v<y.length;v++){var m=y[v];if(null!==m&&v>d&&v<x){a.beginPath(),a.setStrokeStyle(m.color||r.color),a.setLineWidth(1),a.setFillStyle(m.color||r.color);var S=m.x-m.width/2,b=e.height-m.y-e.area[2];a.moveTo(S,m.y),a.lineTo(S+m.width-2,m.y),a.lineTo(S+m.width-2,e.height-e.area[2]),a.lineTo(S,e.height-e.area[2]),a.lineTo(S,m.y),a.closePath(),a.stroke(),a.fill()}}break;case"stack":y=Z(u,g,f,l,s,e,i,n,t,o);c.push(y),y=B(y,s,t.length,0,i,e);for(var T=0;T<y.length;T++){var P=y[T];if(null!==P&&T>d&&T<x){a.beginPath(),a.setFillStyle(P.color||r.color);S=P.x-P.width/2+1,b=e.height-P.y-e.area[2];var w=e.height-P.y0-e.area[2];n>0&&(b-=w),a.moveTo(S,P.y),a.fillRect(S,P.y,P.width-2,b),a.closePath(),a.fill()}}break;case"meter":y=U(u,g,f,l,s,e,i,o);if(c.push(y),y=N(y,s,t.length,n,i,e,h.meter.border),0==n)for(var F=0;F<y.length;F++){var M=y[F];if(null!==M&&F>d&&F<x){a.beginPath(),a.setFillStyle(h.meter.fillColor);S=M.x-M.width/2,b=e.height-M.y-e.area[2];a.moveTo(S,M.y),a.fillRect(S,M.y,M.width,b),a.closePath(),a.fill(),h.meter.border>0&&(a.beginPath(),a.setStrokeStyle(r.color),a.setLineWidth(h.meter.border*e.pixelRatio),a.moveTo(S+.5*h.meter.border,M.y+b),a.lineTo(S+.5*h.meter.border,M.y+.5*h.meter.border),a.lineTo(S+M.width-.5*h.meter.border,M.y+.5*h.meter.border),a.lineTo(S+M.width-.5*h.meter.border,M.y+b),a.stroke())}}else for(var R=0;R<y.length;R++){var L=y[R];if(null!==L&&R>d&&R<x){a.beginPath(),a.setFillStyle(L.color||r.color);S=L.x-L.width/2,b=e.height-L.y-e.area[2];a.moveTo(S,L.y),a.fillRect(S,L.y,L.width,b),a.closePath(),a.fill()}}break}})),!1!==e.dataLabel&&1===o&&t.forEach((function(r,n){var c,d,x;c=[].concat(e.chartData.yAxisData.ranges[r.index]),d=c.pop(),x=c.shift();var p=r.data;switch(h.type){case"group":var g=U(p,d,x,l,s,e,i,o);g=W(g,s,t.length,n,i,e),Q(g,r,i,a);break;case"stack":g=Z(p,d,x,l,s,e,i,n,t,o);Q(g,r,i,a);break;case"meter":g=U(p,d,x,l,s,e,i,o);Q(g,r,i,a);break}})),a.restore(),{xAxisPoints:l,calPoints:c,eachSpacing:s}}(s,e,i,a,t),n=o.xAxisPoints,l=o.calPoints,c=o.eachSpacing;e.chartData.xAxisPoints=n,e.chartData.calPoints=l,e.chartData.eachSpacing=c,nt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&$(e,i,a),lt(e.series,e,i,a,e.chartData),at(e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"area":this.animationInstance=new ut({timing:"easeIn",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),rt(0,e,0,a),ot(h,e,i,a);var o=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=r({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),s=e.chartData.xAxisData,h=s.xAxisPoints,d=s.eachSpacing,x=e.height-e.area[2],p=[];a.save();var g=0,f=e.width+d;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(a.translate(e._scrollDistance_,0),g=-e._scrollDistance_-d+e.area[3],f=g+(e.xAxis.itemCount+4)*d),t.forEach((function(t,r){var s,u,y;s=[].concat(e.chartData.yAxisData.ranges[t.index]),u=s.pop(),y=s.shift();var A=t.data,v=U(A,u,y,h,d,e,i,o);p.push(v);for(var m=M(v),S=0;S<m.length;S++){var b=m[S];if(a.beginPath(),a.setStrokeStyle(l(t.color,n.opacity)),n.gradient){var T=a.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);T.addColorStop("0",l(t.color,n.opacity)),T.addColorStop("1.0",l("#FFFFFF",.1)),a.setFillStyle(T)}else a.setFillStyle(l(t.color,n.opacity));if(a.setLineWidth(n.width*e.pixelRatio),b.length>1){var P=b[0],w=b[b.length-1];a.moveTo(P.x,P.y);var F=0;if("curve"===n.type)for(var R=0;R<b.length;R++){var L=b[R];if(0==F&&L.x>g&&(a.moveTo(L.x,L.y),F=1),R>0&&L.x>g&&L.x<f){var C=c(b,R-1);a.bezierCurveTo(C.ctrA.x,C.ctrA.y,C.ctrB.x,C.ctrB.y,L.x,L.y)}}else for(var k=0;k<b.length;k++){var I=b[k];0==F&&I.x>g&&(a.moveTo(I.x,I.y),F=1),k>0&&I.x>g&&I.x<f&&a.lineTo(I.x,I.y)}a.lineTo(w.x,x),a.lineTo(P.x,x),a.lineTo(P.x,P.y)}else{var D=b[0];a.moveTo(D.x-d/2,D.y),a.lineTo(D.x+d/2,D.y),a.lineTo(D.x+d/2,x),a.lineTo(D.x-d/2,x),a.moveTo(D.x-d/2,D.y)}if(a.closePath(),a.fill(),n.addLine){if("dash"==t.lineType){var E=t.dashLength?t.dashLength:8;E*=e.pixelRatio,a.setLineDash([E,E])}if(a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(n.width*e.pixelRatio),1===b.length)a.moveTo(b[0].x,b[0].y),a.arc(b[0].x,b[0].y,1,0,2*Math.PI);else{a.moveTo(b[0].x,b[0].y);var z=0;if("curve"===n.type)for(var O=0;O<b.length;O++){var W=b[O];if(0==z&&W.x>g&&(a.moveTo(W.x,W.y),z=1),O>0&&W.x>g&&W.x<f){var N=c(b,O-1);a.bezierCurveTo(N.ctrA.x,N.ctrA.y,N.ctrB.x,N.ctrB.y,W.x,W.y)}}else for(var B=0;B<b.length;B++){var j=b[B];0==z&&j.x>g&&(a.moveTo(j.x,j.y),z=1),B>0&&j.x>g&&j.x<f&&a.lineTo(j.x,j.y)}a.moveTo(b[0].x,b[0].y)}a.stroke(),a.setLineDash([])}}!1!==e.dataPointShape&&_(v,t.color,t.pointShape,a,e)})),!1!==e.dataLabel&&1===o&&t.forEach((function(t,r){var n,l,s;n=[].concat(e.chartData.yAxisData.ranges[t.index]),l=n.pop(),s=n.shift();var c=t.data,x=U(c,l,s,h,d,e,i,o);Q(x,t,i,a)})),a.restore(),{xAxisPoints:h,calPoints:p,eachSpacing:d}}(s,e,i,a,t),n=o.xAxisPoints,d=o.calPoints,x=o.eachSpacing;e.chartData.xAxisPoints=n,e.chartData.calPoints=d,e.chartData.eachSpacing=x,nt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&$(e,i,a),lt(e.series,e,i,a,e.chartData),at(e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"ring":case"pie":this.animationInstance=new ut({timing:"easeInOut",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),e.chartData.pieData=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=r({},{activeOpacity:.5,activeRadius:10*e.pixelRatio,offsetAngle:0,labelWidth:15*e.pixelRatio,ringWidth:0,border:!1,borderWidth:2,borderColor:"#FFFFFF"},e.extra.pie),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};0==i.pieChartLinePadding&&(i.pieChartLinePadding=n.activeRadius);var h=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);t=k(t,h,o);var c=n.activeRadius;if(t=t.map((function(t){return t._start_+=n.offsetAngle*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(a.beginPath(),a.setFillStyle(l(t.color,e.extra.pie.activeOpacity||.5)),a.moveTo(s.x,s.y),a.arc(s.x,s.y,t._radius_+c,t._start_,t._start_+2*t._proportion_*Math.PI),a.closePath(),a.fill()),a.beginPath(),a.setLineWidth(n.borderWidth*e.pixelRatio),a.lineJoin="round",a.setStrokeStyle(n.borderColor),a.setFillStyle(t.color),a.moveTo(s.x,s.y),a.arc(s.x,s.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),a.closePath(),a.fill(),1==n.border&&a.stroke()})),"ring"===e.type){var d=.6*h;"number"===typeof e.extra.pie.ringWidth&&e.extra.pie.ringWidth>0&&(d=Math.max(0,h-e.extra.pie.ringWidth)),a.beginPath(),a.setFillStyle(e.background||"#ffffff"),a.moveTo(s.x,s.y),a.arc(s.x,s.y,d,0,2*Math.PI),a.closePath(),a.fill()}if(!1!==e.dataLabel&&1===o){for(var x=!1,p=0,g=t.length;p<g;p++)if(t[p].data>0){x=!0;break}x&&Y(t,e,i,a,0,s)}return 1===o&&"ring"===e.type&&G(e,i,a,s),{center:s,radius:h,series:t}}(s,e,i,a,t),lt(e.series,e,i,a,e.chartData),at(e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"rose":this.animationInstance=new ut({timing:"easeInOut",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),e.chartData.pieData=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=r({},{type:"area",activeOpacity:.5,activeRadius:10*e.pixelRatio,offsetAngle:0,labelWidth:15*e.pixelRatio,border:!1,borderWidth:2,borderColor:"#FFFFFF"},e.extra.rose);0==i.pieChartLinePadding&&(i.pieChartLinePadding=n.activeRadius);var 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},h=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding),c=n.minRadius||.5*h;t=D(t,n.type,c,h,o);var d=n.activeRadius;if(t=t.map((function(t){return t._start_+=(n.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(a.beginPath(),a.setFillStyle(l(t.color,n.activeOpacity||.5)),a.moveTo(s.x,s.y),a.arc(s.x,s.y,d+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),a.closePath(),a.fill()),a.beginPath(),a.setLineWidth(n.borderWidth*e.pixelRatio),a.lineJoin="round",a.setStrokeStyle(n.borderColor),a.setFillStyle(t.color),a.moveTo(s.x,s.y),a.arc(s.x,s.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),a.closePath(),a.fill(),1==n.border&&a.stroke()})),!1!==e.dataLabel&&1===o){for(var x=!1,p=0,g=t.length;p<g;p++)if(t[p].data>0){x=!0;break}x&&Y(t,e,i,a,0,s)}return{center:s,radius:h,series:t}}(s,e,i,a,t),lt(e.series,e,i,a,e.chartData),at(e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"radar":this.animationInstance=new ut({timing:"easeInOut",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),e.chartData.radarData=function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,n=r({},{gridColor:"#cccccc",labelColor:"#666666",opacity:.2,gridCount:3},e.extra.radar),s=S(e.categories.length),h={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},c=Math.min(h.x-(m(e.categories)+i.radarLabelTextMargin),h.y-i.radarLabelTextMargin);c-=e.padding[1],a.beginPath(),a.setLineWidth(1*e.pixelRatio),a.setStrokeStyle(n.gridColor),s.forEach((function(t){var e=d(c*Math.cos(t),c*Math.sin(t),h);a.moveTo(h.x,h.y),a.lineTo(e.x,e.y)})),a.stroke(),a.closePath();for(var x=function(t){var i={};a.beginPath(),a.setLineWidth(1*e.pixelRatio),a.setStrokeStyle(n.gridColor),s.forEach((function(e,o){var r=d(c/n.gridCount*t*Math.cos(e),c/n.gridCount*t*Math.sin(e),h);0===o?(i=r,a.moveTo(r.x,r.y)):a.lineTo(r.x,r.y)})),a.lineTo(i.x,i.y),a.stroke(),a.closePath()},p=1;p<=n.gridCount;p++)x(p);var g=C(s,h,c,t,e,o);return g.forEach((function(t,i){if(a.beginPath(),a.setFillStyle(l(t.color,n.opacity)),t.data.forEach((function(t,e){0===e?a.moveTo(t.position.x,t.position.y):a.lineTo(t.position.x,t.position.y)})),a.closePath(),a.fill(),!1!==e.dataPointShape){var o=t.data.map((function(t){return t.position}));_(o,t.color,t.pointShape,a,e)}})),V(s,c,h,e,i,a),{center:h,radius:c,angleList:s}}(s,e,i,a,t),lt(e.series,e,i,a,e.chartData),at(e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new ut({timing:"easeInOut",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),e.chartData.arcbarData=function(t,e,i,a){var o,n,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=r({},{startAngle:.75,endAngle:.25,type:"default",width:12*e.pixelRatio,gap:2*e.pixelRatio},e.extra.arcbar);t=E(t,s,l),o=s.center?s.center:{x:e.width/2,y:e.height/2},s.radius?n=s.radius:(n=Math.min(o.x,o.y),n-=5*e.pixelRatio,n-=s.width/2);for(var h=0;h<t.length;h++){var c=t[h];a.setLineWidth(s.width),a.setStrokeStyle(s.backgroundColor||"#E9E9E9"),a.setLineCap("round"),a.beginPath(),"default"==s.type?a.arc(o.x,o.y,n-(s.width+s.gap)*h,s.startAngle*Math.PI,s.endAngle*Math.PI,!1):a.arc(o.x,o.y,n-(s.width+s.gap)*h,0,2*Math.PI,!1),a.stroke(),a.setLineWidth(s.width),a.setStrokeStyle(c.color),a.setLineCap("round"),a.beginPath(),a.arc(o.x,o.y,n-(s.width+s.gap)*h,s.startAngle*Math.PI,c._proportion_*Math.PI,!1),a.stroke()}return G(e,i,a,o),{center:o,radius:n,series:t}}(s,e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new ut({timing:"easeInOut",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),e.chartData.gaugeData=function(t,e,i,a,o){var n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,s=r({},{type:"default",startAngle:.75,endAngle:.25,width:15,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},i.extra.gauge);void 0==s.oldAngle&&(s.oldAngle=s.startAngle),void 0==s.oldData&&(s.oldData=0),t=z(t,s.startAngle,s.endAngle);var h={x:i.width/2,y:i.height/2},c=Math.min(h.x,h.y);c-=5*i.pixelRatio,c-=s.width/2;var d=c-s.width,x=0;if("progress"==s.type){var p=c-3*s.width;o.beginPath();var g=o.createLinearGradient(h.x,h.y-p,h.x,h.y+p);g.addColorStop("0",l(e[0].color,.3)),g.addColorStop("1.0",l("#FFFFFF",.1)),o.setFillStyle(g),o.arc(h.x,h.y,p,0,2*Math.PI,!1),o.fill(),o.setLineWidth(s.width),o.setStrokeStyle(l(e[0].color,.3)),o.setLineCap("round"),o.beginPath(),o.arc(h.x,h.y,d,s.startAngle*Math.PI,s.endAngle*Math.PI,!1),o.stroke(),x=s.startAngle-s.endAngle+1;s.splitLine.splitNumber;var f=x/s.splitLine.splitNumber/s.splitLine.childNumber,u=-c-.5*s.width-s.splitLine.fixRadius,y=-c-s.width-s.splitLine.fixRadius+s.splitLine.width;o.save(),o.translate(h.x,h.y),o.rotate((s.startAngle-1)*Math.PI);for(var A=s.splitLine.splitNumber*s.splitLine.childNumber+1,v=e[0].data*n,m=0;m<A;m++)o.beginPath(),v>m/A?o.setStrokeStyle(l(e[0].color,1)):o.setStrokeStyle(l(e[0].color,.3)),o.setLineWidth(3*i.pixelRatio),o.moveTo(u,0),o.lineTo(y,0),o.stroke(),o.rotate(f*Math.PI);o.restore(),e=E(e,s,n),o.setLineWidth(s.width),o.setStrokeStyle(e[0].color),o.setLineCap("round"),o.beginPath(),o.arc(h.x,h.y,d,s.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),o.stroke();var S=c-2.5*s.width;o.save(),o.translate(h.x,h.y),o.rotate((e[0]._proportion_-1)*Math.PI),o.beginPath(),o.setLineWidth(s.width/3);var b=o.createLinearGradient(0,.6*-S,0,.6*S);b.addColorStop("0",l("#FFFFFF",0)),b.addColorStop("0.5",l(e[0].color,1)),b.addColorStop("1.0",l("#FFFFFF",0)),o.setStrokeStyle(b),o.arc(0,0,S,.85*Math.PI,1.15*Math.PI,!1),o.stroke(),o.beginPath(),o.setLineWidth(1),o.setStrokeStyle(e[0].color),o.setFillStyle(e[0].color),o.moveTo(-S-s.width/3/2,-4),o.lineTo(-S-s.width/3/2-4,0),o.lineTo(-S-s.width/3/2,4),o.lineTo(-S-s.width/3/2,-4),o.stroke(),o.fill(),o.restore()}else{o.setLineWidth(s.width),o.setLineCap("butt");for(var T=0;T<t.length;T++){var P=t[T];o.beginPath(),o.setStrokeStyle(P.color),o.arc(h.x,h.y,c,P._startAngle_*Math.PI,P._endAngle_*Math.PI,!1),o.stroke()}o.save(),x=s.startAngle-s.endAngle+1;var w=x/s.splitLine.splitNumber,F=x/s.splitLine.splitNumber/s.splitLine.childNumber,M=-c-.5*s.width-s.splitLine.fixRadius,R=-c-.5*s.width-s.splitLine.fixRadius+s.splitLine.width,L=-c-.5*s.width-s.splitLine.fixRadius+s.splitLine.childWidth;o.translate(h.x,h.y),o.rotate((s.startAngle-1)*Math.PI);for(var C=0;C<s.splitLine.splitNumber+1;C++)o.beginPath(),o.setStrokeStyle(s.splitLine.color),o.setLineWidth(2*i.pixelRatio),o.moveTo(M,0),o.lineTo(R,0),o.stroke(),o.rotate(w*Math.PI);o.restore(),o.save(),o.translate(h.x,h.y),o.rotate((s.startAngle-1)*Math.PI);for(var k=0;k<s.splitLine.splitNumber*s.splitLine.childNumber+1;k++)o.beginPath(),o.setStrokeStyle(s.splitLine.color),o.setLineWidth(1*i.pixelRatio),o.moveTo(M,0),o.lineTo(L,0),o.stroke(),o.rotate(F*Math.PI);o.restore(),e=O(e,t,s,n);for(var I=0;I<e.length;I++){var D=e[I];o.save(),o.translate(h.x,h.y),o.rotate((D._proportion_-1)*Math.PI),o.beginPath(),o.setFillStyle(D.color),o.moveTo(s.pointer.width,0),o.lineTo(0,-s.pointer.width/2),o.lineTo(-d,0),o.lineTo(0,s.pointer.width/2),o.lineTo(s.pointer.width,0),o.closePath(),o.fill(),o.beginPath(),o.setFillStyle("#FFFFFF"),o.arc(0,0,s.pointer.width/6,0,2*Math.PI,!1),o.fill(),o.restore()}!1!==i.dataLabel&&J(s,c,h,0,a,o)}return G(i,a,o,h),1===n&&"gauge"===i.type&&(i.extra.gauge.oldAngle=e[0]._proportion_,i.extra.gauge.oldData=e[0].data),{center:h,radius:c,innerRadius:d,categories:t,totalAngle:x}}(h,s,e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"candle":this.animationInstance=new ut({timing:"easeIn",duration:x,onProcess:function(t){a.clearRect(0,0,e.width,e.height),e.rotate&&q(a,e),rt(0,e,0,a),ot(h,e,i,a);var o=function(t,e,i,a,o){var n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=r({},{color:{},average:{}},i.extra.candle);l.color=r({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},l.color),l.average=r({},{show:!1,name:[],day:[],color:a.colors},l.average),i.extra.candle=l;var s=i.chartData.xAxisData,h=s.xAxisPoints,d=s.eachSpacing,x=[];o.save();var p=-2,g=h.length+2,f=0,u=i.width+d;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(o.translate(i._scrollDistance_,0),p=Math.floor(-i._scrollDistance_/d)-2,g=p+i.xAxis.itemCount+4,f=-i._scrollDistance_-d+i.area[3],u=f+(i.xAxis.itemCount+4)*d),l.average.show&&e.forEach((function(t,e){var r,l,s;r=[].concat(i.chartData.yAxisData.ranges[t.index]),l=r.pop(),s=r.shift();for(var x=t.data,p=U(x,l,s,h,d,i,a,n),g=M(p),y=0;y<g.length;y++){var A=g[y];if(o.beginPath(),o.setStrokeStyle(t.color),o.setLineWidth(1),1===A.length)o.moveTo(A[0].x,A[0].y),o.arc(A[0].x,A[0].y,1,0,2*Math.PI);else{o.moveTo(A[0].x,A[0].y);for(var v=0,m=0;m<A.length;m++){var S=A[m];if(0==v&&S.x>f&&(o.moveTo(S.x,S.y),v=1),m>0&&S.x>f&&S.x<u){var b=c(A,m-1);o.bezierCurveTo(b.ctrA.x,b.ctrA.y,b.ctrB.x,b.ctrB.y,S.x,S.y)}}o.moveTo(A[0].x,A[0].y)}o.closePath(),o.stroke()}})),t.forEach((function(t,e){var r,s,c;r=[].concat(i.chartData.yAxisData.ranges[t.index]),s=r.pop(),c=r.shift();var f=t.data,u=H(f,s,c,h,d,i,a,n);x.push(u);for(var y=M(u),A=0;A<y[0].length;A++)if(A>p&&A<g){var v=y[0][A];o.beginPath(),f[A][1]-f[A][0]>0?(o.setStrokeStyle(l.color.upLine),o.setFillStyle(l.color.upFill),o.setLineWidth(1*i.pixelRatio),o.moveTo(v[3].x,v[3].y),o.lineTo(v[1].x,v[1].y),o.lineTo(v[1].x-d/4,v[1].y),o.lineTo(v[0].x-d/4,v[0].y),o.lineTo(v[0].x,v[0].y),o.lineTo(v[2].x,v[2].y),o.lineTo(v[0].x,v[0].y),o.lineTo(v[0].x+d/4,v[0].y),o.lineTo(v[1].x+d/4,v[1].y),o.lineTo(v[1].x,v[1].y),o.moveTo(v[3].x,v[3].y)):(o.setStrokeStyle(l.color.downLine),o.setFillStyle(l.color.downFill),o.setLineWidth(1*i.pixelRatio),o.moveTo(v[3].x,v[3].y),o.lineTo(v[0].x,v[0].y),o.lineTo(v[0].x-d/4,v[0].y),o.lineTo(v[1].x-d/4,v[1].y),o.lineTo(v[1].x,v[1].y),o.lineTo(v[2].x,v[2].y),o.lineTo(v[1].x,v[1].y),o.lineTo(v[1].x+d/4,v[1].y),o.lineTo(v[0].x+d/4,v[0].y),o.lineTo(v[0].x,v[0].y),o.moveTo(v[3].x,v[3].y)),o.closePath(),o.fill(),o.stroke()}})),o.restore(),{xAxisPoints:h,calPoints:x,eachSpacing:d}}(s,g,e,i,a,t),n=o.xAxisPoints,l=o.calPoints,d=o.eachSpacing;e.chartData.xAxisPoints=n,e.chartData.calPoints=l,e.chartData.eachSpacing=d,nt(0,e,i,a),!1!==e.enableMarkLine&&1===t&&$(e,i,a),lt(g?0:e.series,e,i,a,e.chartData),at(e,i,a,t),gt(0,a)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break}}function At(){this.events={}}ut.prototype.stop=function(){this.isStop=!0},At.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},At.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var a=e[0],o=e.slice(1);this.events[a]&&this.events[a].forEach((function(t){try{t.apply(null,o)}catch(e){}}))};var vt=function(e){e.pixelRatio=e.pixelRatio?e.pixelRatio:1,e.fontSize=e.fontSize?e.fontSize*e.pixelRatio:13*e.pixelRatio,e.title=r({},e.title),e.subtitle=r({},e.subtitle),e.duration=e.duration?e.duration:1e3,e.yAxis=r({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,splitNumber:5,gridType:"solid",dashLength:4*e.pixelRatio,gridColor:"#cccccc",padding:10,fontColor:"#666666"},e.yAxis),e.yAxis.dashLength*=e.pixelRatio,e.yAxis.padding*=e.pixelRatio,e.xAxis=r({},{rotateLabel:!1,type:"calibration",gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},e.xAxis),e.xAxis.dashLength*=e.pixelRatio,e.legend=r({},{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:e.fontSize,lineHeight:e.fontSize,fontColor:"#333333",format:{},hiddenColor:"#CECECE"},e.legend),e.legend.borderWidth=e.legend.borderWidth*e.pixelRatio,e.legend.itemGap=e.legend.itemGap*e.pixelRatio,e.legend.padding=e.legend.padding*e.pixelRatio,e.legend.margin=e.legend.margin*e.pixelRatio,e.extra=r({},e.extra),e.rotate=!!e.rotate,e.animation=!!e.animation,e.rotate=!!e.rotate;var i=JSON.parse(JSON.stringify(o));if(i.colors=e.colors?e.colors:i.colors,i.yAxisTitleWidth=!0!==e.yAxis.disabled&&e.yAxis.title?i.yAxisTitleWidth:0,"pie"!=e.type&&"ring"!=e.type||(i.pieChartLinePadding=!1===e.dataLabel?0:e.extra.pie.labelWidth*e.pixelRatio||i.pieChartLinePadding*e.pixelRatio),"rose"==e.type&&(i.pieChartLinePadding=!1===e.dataLabel?0:e.extra.rose.labelWidth*e.pixelRatio||i.pieChartLinePadding*e.pixelRatio),i.pieChartTextPadding=!1===e.dataLabel?0:i.pieChartTextPadding*e.pixelRatio,i.yAxisSplit=e.yAxis.splitNumber?e.yAxis.splitNumber:o.yAxisSplit,i.rotate=e.rotate,e.rotate){var a=e.width,n=e.height;e.width=n,e.height=a}e.padding=e.padding?e.padding:i.padding;for(var l=0;l<4;l++)e.padding[l]*=e.pixelRatio;i.yAxisWidth=o.yAxisWidth*e.pixelRatio,i.xAxisHeight=o.xAxisHeight*e.pixelRatio,e.enableScroll&&e.xAxis.scrollShow&&(i.xAxisHeight+=6*e.pixelRatio),i.xAxisLineHeight=o.xAxisLineHeight*e.pixelRatio,i.fontSize=e.fontSize,i.titleFontSize=o.titleFontSize*e.pixelRatio,i.subtitleFontSize=o.subtitleFontSize*e.pixelRatio,i.toolTipPadding=o.toolTipPadding*e.pixelRatio,i.toolTipLineHeight=o.toolTipLineHeight*e.pixelRatio,i.columePadding=o.columePadding*e.pixelRatio,e.$this=e.$this?e.$this:this,this.context=t.createCanvasContext(e.canvasId,e.$this),e.chartData={},this.event=new At,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=e,this.config=i,yt.call(this,e.type,e,i,this.context)};vt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=r({},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 i=X(this.opts.series,this.opts,this.config),a=i.yAxisWidth;this.config.yAxisWidth=a;var o=0,n=j(this.opts.categories,this.opts,this.config),l=n.xAxisPoints,s=n.startX,h=n.endX,c=n.eachSpacing,d=c*(l.length-1),x=h-s;o=x-d,this.scrollOption={currentOffset:o,startTouchX:o,distance:0,lastMoveTime:0},this.opts._scrollDistance_=o;break}yt.call(this,this.opts.type,this.opts,this.config,this.context)},vt.prototype.zoom=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var e=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=t.itemCount;var i=X(this.opts.series,this.opts,this.config),a=i.yAxisWidth;this.config.yAxisWidth=a;var o=0,r=j(this.opts.categories,this.opts,this.config),n=r.xAxisPoints,l=r.startX,s=r.endX,h=r.eachSpacing,c=h*e,d=s-l,x=d-h*(n.length-1);o=d/2-c,o>0&&(o=0),o<x&&(o=x),this.scrollOption={currentOffset:o,startTouchX:o,distance:0,lastMoveTime:0},this.opts._scrollDistance_=o,yt.call(this,this.opts.type,this.opts,this.config,this.context)}},vt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},vt.prototype.addEventListener=function(t,e){this.event.addEventListener(t,e)},vt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=A(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type?function(t,e){var i=-1;if(F(t,e.center,e.radius)){var a=Math.atan2(e.center.y-t.y,t.x-e.center.x);a=-a;for(var o=0,r=e.series.length;o<r;o++){var n=e.series[o];if(h(a,n._start_,n._start_+2*n._proportion_*Math.PI)){i=o;break}}}return i}({x:i.x,y:i.y},this.opts.chartData.pieData):"radar"===this.opts.type?function(t,e,i){var a=2*Math.PI/i,o=-1;if(F(t,e.center,e.radius)){var r=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 l=e.angleList.map((function(t){return t=r(-1*t),t}));l.forEach((function(t,e){var i=r(t-a/2),l=r(t+a/2);l<i&&(l+=2*Math.PI),(n>=i&&n<=l||n+2*Math.PI>=i&&n+2*Math.PI<=l)&&(o=e)}))}return o}({x:i.x,y:i.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var i=-1,a=0,o=e.series.length;a<o;a++){var r=e.series[a];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){i=a;break}}return i}({x:i.x,y:i.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var i=-1,a=e.chartData.mapData,o=e.series,r=function(t,e,i,a,o,r){return{x:(e-o)/a+i.xMin,y:i.yMax-(t-r)/a}}(t.y,t.x,a.bounds,a.scale,a.xoffset,a.yoffset),n=[r.x,r.y],l=0,s=o.length;l<s;l++){var h=o[l].geometry.coordinates;if(xt(n,h)){i=l;break}}return i}({x:i.x,y:i.y},this.opts):"word"===this.opts.type?function(t,e){for(var i=-1,a=0,o=e.length;a<o;a++){var r=e[a];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){i=a;break}}return i}({x:i.x,y:i.y},this.opts.chartData.wordCloudData):function(t,e,i,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r=-1,n=i.chartData.eachSpacing/2,l=[];if(e.length>0){if("candle"==i.type)for(var s=0;s<e[0].length;s++)l.push(e[0][s][0].x);else for(var h=0;h<e[0].length;h++)l.push(e[0][h].x);"line"!=i.type&&"area"!=i.type||"justify"!=i.xAxis.boundaryGap||(n=i.chartData.eachSpacing/2),i.categories||(n=0),w(t,i,a)&&l.forEach((function(e,i){t.x+o+n>e&&(r=i)}))}return r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},vt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=A(e,this.opts,t);return function(t,e,i){var a=-1;if(function(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}(t,e.area)){for(var o=e.points,r=-1,n=0,l=o.length;n<l;n++)for(var s=o[n],h=0;h<s.length;h++){r+=1;var c=s[h]["area"];if(t.x>c[0]&&t.x<c[2]&&t.y>c[1]&&t.y<c[3]){a=r;break}}return a}return a}({x:i.x,y:i.y},this.opts.chartData.legendData)}return-1},vt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],i){A(i,this.opts,t);var a=this.getLegendDataIndex(t);a>=0&&(this.opts.series[a].show=!this.opts.series[a].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,yt.call(this,this.opts.type,this.opts,this.config,this.context))}},vt.prototype.showToolTip=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var a=A(i,this.opts,t),o=this.scrollOption.currentOffset,n=r({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type){var l=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(l>-1){var s=v(this.opts.series,l);if(0!==s.length){var h=b(s,this.opts.chartData.calPoints,l,this.opts.categories,e),c=h.textList,d=h.offset;d.y=a.y,n.tooltip={textList:e.textList?e.textList:c,offset:d,option:e,index:l}}}yt.call(this,n.type,n,this.config,this.context)}if("mix"===this.opts.type){l=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(l>-1){o=this.scrollOption.currentOffset,n=r({},this.opts,{_scrollDistance_:o,animation:!1}),s=v(this.opts.series,l);if(0!==s.length){var x=T(s,this.opts.chartData.calPoints,l,this.opts.categories,e);c=x.textList,d=x.offset;d.y=a.y,n.tooltip={textList:e.textList?e.textList:c,offset:d,option:e,index:l}}}yt.call(this,n.type,n,this.config,this.context)}if("candle"===this.opts.type){l=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(l>-1){o=this.scrollOption.currentOffset,n=r({},this.opts,{_scrollDistance_:o,animation:!1}),s=v(this.opts.series,l);if(0!==s.length){h=P(this.opts.series[0].data,s,this.opts.chartData.calPoints,l,this.opts.categories,this.opts.extra.candle,e),c=h.textList,d=h.offset;d.y=a.y,n.tooltip={textList:e.textList?e.textList:c,offset:d,option:e,index:l}}}yt.call(this,n.type,n,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){l=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(l>-1){o=this.scrollOption.currentOffset,n=r({},this.opts,{_scrollDistance_:o,animation:!1}),s=this.opts._series_[l],c=[{text:e.format?e.format(s):s.name+": "+s.data,color:s.color}],d={x:a.x,y:a.y};n.tooltip={textList:e.textList?e.textList:c,offset:d,option:e,index:l}}yt.call(this,n.type,n,this.config,this.context)}if("map"===this.opts.type||"word"===this.opts.type){l=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(l>-1){o=this.scrollOption.currentOffset,n=r({},this.opts,{_scrollDistance_:o,animation:!1}),s=this.opts._series_[l],c=[{text:e.format?e.format(s):s.properties.name,color:s.color}],d={x:a.x,y:a.y};n.tooltip={textList:e.textList?e.textList:c,offset:d,option:e,index:l}}n.updateData=!1,yt.call(this,n.type,n,this.config,this.context)}if("radar"===this.opts.type){l=void 0==e.index?this.getCurrentDataIndex(t):e.index;if(l>-1){o=this.scrollOption.currentOffset,n=r({},this.opts,{_scrollDistance_:o,animation:!1}),s=v(this.opts.series,l);if(0!==s.length){c=s.map((function(t){return{text:e.format?e.format(t):t.name+": "+t.data,color:t.color}})),d={x:a.x,y:a.y};n.tooltip={textList:e.textList?e.textList:c,offset:d,option:e,index:l}}}yt.call(this,n.type,n,this.config,this.context)}},vt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=r({},this.opts,{_scrollDistance_:t,animation:!1});yt.call(this,this.opts.type,e,this.config,this.context)},vt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var i=A(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=i.x)},vt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.extra.touchMoveLimit||20,i=Date.now(),a=i-this.scrollOption.lastMoveTime;if(!(a<Math.floor(1e3/e))){this.scrollOption.lastMoveTime=i;var o=null;if(o=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],o&&!0===this.opts.enableScroll){var n,l=A(o,this.opts,t);n=l.x-this.scrollOption.startTouchX;var s=this.scrollOption.currentOffset,h=function(t,e,i,a,o){var r=o.width-o.area[1]-o.area[3],n=i.eachSpacing*(o.chartData.xAxisData.xAxisPoints.length-1),l=e;return e>=0?(l=0,t.event.trigger("scrollLeft")):Math.abs(e)>=n-r&&(l=r-n,t.event.trigger("scrollRight")),l}(this,s+n,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=n=h-s;var c=r({},this.opts,{_scrollDistance_:s+n,animation:!1});return yt.call(this,c.type,c,this.config,this.context),s+n}}},vt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,i=e.currentOffset,a=e.distance;this.scrollOption.currentOffset=i+a,this.scrollOption.distance=0}},"object"===a(e)&&"object"===a(e.exports)&&(e.exports=vt)}).call(this,i("df3c")["default"],i("dc84")(t))},"2cb3":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAbMSURBVHic7Zwxc9tGEIXfHqiZpDJTcSh6JvAvyBmEZ9KZ6tzZ7tyZ7tJJKlNFqlxK6tJZrpxUtrp0obrMWCDhLp3hhkJnunOBw6bQMUOBIAWQOIDy4GtsHYjd48PhDtjbJVBTU1NTU1OzWVDVHZjFdd1eHMc9IvoJgM3MTSKymTkgogDARP97dnFxMaiyr7NULqKU0m40GrvM3AfQzHFqAGCglDr0fT8w0besVCailLIphNgjol3kEy+N0yrFrERE13V7zPwW64s3SwBg3/O8dwXazIRVtkPHcfYAvAHwXYaPT5g5JCJk+HwTwL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HzTDtKYy73Pb/eM4BJD2UrOhofyjG4yFSus1ZBJwai87u38Y7aEhf6vuNroyYE/V3p96H9lSKCIbca3k3RUTcwDoozVZ+zjvPWKFblvdfTh6z8C707PCftddVcvADKcwfXSjsdYp6hK20u5P3HkwblPkbaG2VKenVBnX1OsuYsuLwXpTGwOQPcJ6kfFURL94Ea55LSjU1NTU1NTUrDr/B8owvN2MSvoAAAAAAElFTkSuQmCC"},"75c6":function(t,e,i){"use strict";var a=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.erpConfig=function(t,e){return o.default.get("admin/erp/config")},e.storeErpConfig=function(t,e){return o.default.get("store/erp/config")};var o=a(i("a8e8"))},"9f1f":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAZ7SURBVHic7Zw9btxGFMf/b2a3C5BNYwOWjdBNkM7jJV1HOoGVTp3kPoCVE1iqkk7WCSyfIPYJtK5NSvQJRDeGUgTaIoUB7fCl0Kxhc0lpSA5nJYU/YJtZDt/Mn/P55gPo6enp6enpuV7QMoyOx+MtInoKIACgWr5uysxTIpoAeJskyZu26auLVxGVUoGU8hAX4nVFprVeS9M069DGN3gTUSk1klIeo1sB53gVUvgwAgCDweAF/AgIAIGU8oUnW35KoimFZ2X/MXPW9v1EFJSFa60f+iiNg64NAICU8mlJ8ERr/cxFJs1HOkShk5JSKgCt338VssuXK6VGDx48+JmZfwPwU+HvnePj43cu7Jyenn6+d+/e3wA2vg5nZqysrPxz586d6enp6WcXtspwWhJNiXgKYJWZV4koyPO89FmttRMB5wghsqItItpg5g0pJcIwzACkzPw2z/OJy2ruREQzdNkDsApgBABElze3g8HgOxe255yfn0+lvLRiBQACIlo3oh5orXddiNmqd1ZKjaIo2pNSngBYhxHQhtls9m8b2w7YklKeRFG0p5SyTncZjUU0pe+YmbebxB8Oh60S7gpm3pZSHiulgqbvaCSi7czDDF8O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sDSKOurF+FA3cocQpmMnEta3+OuiYBy6xgScM4/92x9NF0Jw16mq2lug8Hucv8DFvSPweY6FrAKAqjxstR/zNGWQ2cW2rv+7qxqb4ddayFompbiIRpsH6kdmdrGVlb4muViiys9BpzCxE9hp0dGvYetaiMpkYvzOSP0NgAt+Ro14wRrtIBg01sr4bM5kYBPg4mSrtc9cKT5Cg52qN7uecTCYT6QgCN9qLLGUsG66I1KxB5qlNHI5aY8v58VG4LIJLyB7GurRA6llG6dQmvh0MEvshZHKacB4hkw2hj+N62vtTmyiwxH9GHHOt84jrOcw0EfQ+idQmUoOfJYSE53NAGWPe58jQEsXxjtClWKHxgSL6IP21KaHZ35N3yz/S3r/MqOh342lm2k59f9oLhz9ctg2gSzAkucEf//tSourhgNZFYD0JqkcSVI/Sllk0UYRIgupRxOqPA1r32Ab/eRtU/7m/X/kLzW4N4226JDey/FCb/837XzFY+wUC7zoT2G9Jf1HaJSUlJSUlM/E/oi0iaY2yfzgAAAAASUVORK5CYII="},e093:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAcpSURBVHic7Zy/cxvHFce/7x0IOzPmBCmhSYGKglQh4R9guDdju1QayY1YxplJSZmnyJNKipzSciGpsUvJQ/eG+zChGkbDxkhDtcwwM4wI3vumACSDtwvy9n6AIAafCrN3+3bvi717b9/uHbBgwYIFCxYsmC3kojswTidm47XZTRF2QHYINt4cE8gBRHZg9iMi7OzG9Z2L7Os4MyFie2PQFcGmCLrZa0kftLu79+pPqupX5p5cZOPt+KglSe1xmHhpLl5MvaiGr905/kyt9s9iAgIAWxB5fP3zQVxGv/JwISNxdMGb551HYP/NbwGunG9Z+nWNfrMTy0GR/oUydRHPE5BEj4LvYSfbkOjw5wPJMiRaUdEPAawCnCTqTl1rH0xTyKmKeP3O8S2IPPYdI7hNS/50SrhJRNpUYg3kbe9xypPde7VPi/U2O1M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