pages-order-sum-order-sum.2b089b56.js 158 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-sum-order-sum"],{"0070":function(t,e,a){"use strict";a.r(e);var i=a("d905"),n=a("f364");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("42e2");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"1cef3005",null,!1,i["a"],void 0);e["default"]=l.exports},1334:function(t,e,a){var i=a("92bb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("72aec3be",i,!0,{sourceMap:!1,shadowMode:!1})},"1de5":function(t,e,a){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},2027:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e._API_OrderSum=e._API_OrderRank=e._API_ActivityList=void 0;var n=i(a("ef1d"));e._API_OrderSum=function(t){return n.default.get("/order/order_data",t)};e._API_OrderRank=function(t){return n.default.get("/order/order_rank",t)};e._API_ActivityList=function(t){return n.default.get("/get_activity_list",t)}},"21a9":function(t,e,a){"use strict";a.r(e);var i=a("2b12"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"285b":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("ac1f"),a("5319"),a("14d9"),a("7db0"),a("d3b7"),a("c740"),a("a9e3"),a("e25e"),a("99af");var n=i(a("53ca")),r=i(a("d4ec")),o=i(a("bee2")),l=i(a("e56f")),s=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(e.date,e.selected),i=e.startDate,n=e.endDate,o=e.range;(0,r.default)(this,t),this.date=this.getDate(new Date),this.selected=a||[],this.startDate=i,this.endDate=n,this.range=o,this.cleanMultipleStatus(),this.weeks={}}return(0,o.default)(t,[{key:"setDate",value:function(t){this.selectDate=this.getDate(t),this._getWeek(this.selectDate.fullDate)}},{key:"cleanMultipleStatus",value:function(){this.multipleStatus={before:"",after:"",data:[]}}},{key:"resetSatrtDate",value:function(t){this.startDate=t}},{key:"resetEndDate",value:function(t){this.endDate=t}},{key:"getDate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day";t||(t=new Date),"object"!==(0,n.default)(t)&&(t=t.replace(/-/g,"/"));var i=new Date(t);switch(a){case"day":i.setDate(i.getDate()+e);break;case"month":31===i.getDate()?i.setDate(i.getDate()+e):i.setMonth(i.getMonth()+e);break;case"year":i.setFullYear(i.getFullYear()+e);break}var r=i.getFullYear(),o=i.getMonth()+1<10?"0"+(i.getMonth()+1):i.getMonth()+1,l=i.getDate()<10?"0"+i.getDate():i.getDate();return{fullDate:r+"-"+o+"-"+l,year:r,month:o,date:l,day:i.getDay()}}},{key:"_getLastMonthDays",value:function(t,e){for(var a=[],i=t;i>0;i--){var n=new Date(e.year,e.month-1,1-i).getDate();a.push({date:n,month:e.month-1,lunar:this.getlunar(e.year,e.month-1,n),disable:!0})}return a}},{key:"_currentMonthDys",value:function(t,e){for(var a=this,i=[],n=this.date.fullDate,r=function(t){var r=e.year+"-"+(e.month,e.month+"-")+(t<10?"0"+t:t),o=n===r,l=a.selected&&a.selected.find((function(t){if(a.dateEqual(r,t.date))return t})),s=!0,c=!0;if(a.startDate){var d=a.dateCompare(a.startDate,n);s=a.dateCompare(d?a.startDate:n,r)}if(a.endDate){var f=a.dateCompare(n,a.endDate);c=a.dateCompare(r,f?a.endDate:n)}var h=a.multipleStatus.data,u=!1,p=-1;a.range&&(h&&(p=h.findIndex((function(t){return a.dateEqual(t,r)}))),-1!==p&&(u=!0));var x={fullDate:r,year:e.year,date:t,multiple:!!a.range&&u,beforeMultiple:a.dateEqual(a.multipleStatus.before,r),afterMultiple:a.dateEqual(a.multipleStatus.after,r),month:e.month,lunar:a.getlunar(e.year,e.month,t),disable:!s||!c,isDay:o};l&&(x.extraInfo=l),i.push(x)},o=1;o<=t;o++)r(o);return i}},{key:"_getNextMonthDays",value:function(t,e){for(var a=[],i=1;i<t+1;i++)a.push({date:i,month:Number(e.month)+1,lunar:this.getlunar(e.year,Number(e.month)+1,i),disable:!0});return a}},{key:"getInfo",value:function(t){var e=this;t||(t=new Date);var a=this.canlender.find((function(a){return a.fullDate===e.getDate(t).fullDate}));return a}},{key:"dateCompare",value:function(t,e){return t=new Date(t.replace("-","/").replace("-","/")),e=new Date(e.replace("-","/").replace("-","/")),t<=e}},{key:"dateEqual",value:function(t,e){return t=new Date(t.replace("-","/").replace("-","/")),e=new Date(e.replace("-","/").replace("-","/")),t.getTime()-e.getTime()===0}},{key:"geDateAll",value:function(t,e){var a=[],i=t.split("-"),n=e.split("-"),r=new Date;r.setFullYear(i[0],i[1]-1,i[2]);var o=new Date;o.setFullYear(n[0],n[1]-1,n[2]);for(var l=r.getTime()-864e5,s=o.getTime()-864e5,c=l;c<=s;)c+=864e5,a.push(this.getDate(new Date(parseInt(c))).fullDate);return a}},{key:"getlunar",value:function(t,e,a){return l.default.solar2lunar(t,e,a)}},{key:"setSelectInfo",value:function(t,e){this.selected=e,this._getWeek(t)}},{key:"setMultiple",value:function(t){var e=this.multipleStatus,a=e.before,i=e.after;this.range&&(a&&i?(this.multipleStatus.before="",this.multipleStatus.after="",this.multipleStatus.data=[]):a?(this.multipleStatus.after=t,this.dateCompare(this.multipleStatus.before,this.multipleStatus.after)?this.multipleStatus.data=this.geDateAll(this.multipleStatus.before,this.multipleStatus.after):this.multipleStatus.data=this.geDateAll(this.multipleStatus.after,this.multipleStatus.before)):this.multipleStatus.before=t,this._getWeek(t))}},{key:"_getWeek",value:function(t){var e=this.getDate(t),a=(e.fullDate,e.year),i=e.month,n=(e.date,e.day,new Date(a,i-1,1).getDay()),r=new Date(a,i,0).getDate(),o={lastMonthDays:this._getLastMonthDays(n,this.getDate(t)),currentMonthDys:this._currentMonthDys(r,this.getDate(t)),nextMonthDays:[],weeks:[]},l=[],s=42-(o.lastMonthDays.length+o.currentMonthDys.length);o.nextMonthDays=this._getNextMonthDays(s,this.getDate(t)),l=l.concat(o.lastMonthDays,o.currentMonthDys,o.nextMonthDays);for(var c={},d=0;d<l.length;d++)d%7===0&&(c[parseInt(d/7)]=new Array(7)),c[parseInt(d/7)][d%7]=l[d];this.canlender=l,this.weeks=c}}]),t}(),c=s;e.default=c},"2b12":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{weeks:{type:Object,default:function(){return{}}},calendar:{type:Object,default:function(){return{}}},selected:{type:Array,default:function(){return[]}},lunar:{type:Boolean,default:!1}},methods:{choiceDate:function(t){this.$emit("change",t)}}};e.default=i},"2b31":function(t,e,a){"use strict";a.r(e);var i=a("83e6"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"305a":function(t,e,a){"use strict";a.r(e);var i=a("432e"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"36c3":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAABoCAYAAAAdHLWhAAAAAXNSR0IArs4c6QAACkZJREFUeNrtnQlsFNcZx6dNS+N4Zt7Mes1lgwGfGOOLwxe212BwS0Ib4iRQp2lKQi96oJYi0yIRFJKQo0DL0aikEa3cQAhUiao0tCkurbGVVkhNpLaiatoaCamuaqWR6lYWMfjr/82Mwffu7M7szu68kX56Hnv3ve99/3nHjnf/K0lJflBLehk1y/vABVor96PsR3nB+B3+JokjQcI0p7fQ2vS3IASF4U0I1igyFi9hQkqQ1sivALLJGQpJmsigm+I0pVXRavkqoOhI76UmMe25JI5SR6uVAWqykh19OcDrEhmddN2QGIXkTeAIuIhE4YqWB43kNSn9KN/CFHaCQukP0Bol45Y42Ag0WeI4Aq9LKbxZP9pCu4+YbfMY5L5Rj+vF+S/BIfyuFdOknIJXPxIc4msAxAih4yGFIigHrYRBUOUdG8+LtLxsJtxow2Zc8qmUmCqpJi2LGtGZRnQsNenAaJ+dnOLUYxvcgGmrAR1JbfqpPsm28Qi4leqVIUA+YYj3OVnEaaRVCHgVAvcX6LNa5W1xyiWNapWrVIeA/UgtdnwLpNu9K1Ct+iiCJH8jP+pNcXDlUI36HtUgSD9TrfThtdKHvCdQdXozVas8QBKlHPKgQEo7VSFAAWe79wRaqR4xgls5Cr+eV6n7vCfQCvUQMAMUpQcFWoYpjge43ArU16Wyw3sCLZdDRnACokq12pvb7GVqHyB/w66S5MFttiFSJV6oVhpXkH+pUNq9eyeBj6IKtZcqGALlwfqtVN/x9K0eQ6RStZrK1EEqR9D+YoDK08uT4452KbsXQg1SGQL3BwNUptyVXP8T4iOpFAtmKTqQ2vTyvibnf1UL8B62UvYcGKKl6ExqgT5pR2iBltzvtaMlaguVsD5AKcZVCJS871jlrwVoiXaIlqAzqc1+z77umVKcEpaLwC9RMTrgC7SLtFjLSQ5xitkaBPweLTYCJx+VfVTk8SkPV9F2BDqEkvwJ+l7EPu/N9aYQ600RghQAtt9j4rAzEIgEoyhgpxK+eaBMSaZ8iFPAAxJMIF87kzCRjBuj+di95BuBCKYiLwEiGdMabzjPCEAQnviKRIv0DspFwwI7PB8fcRZq+yAQ0SI0Kkp75UJ9t9sj5wE0QoIYyGHufAqC5geWoIEBWoBGBNGTgxwil85vp3P0y4AEjvAHR/81jrvSJ2i+VbkonSlLtB85I063+jE6rQ1TLSqdZzUgytjKavASNg096oHYxHlZmkHd7O/Ug8o6wf2oONtqaARxbu+c55DnssfiovrR6AXqUb9ys6IRnuB3ba2GBZFToJu565nAFXpd+oh9cS5oGkZP/yQVEp0D96HBrAAQZdiS5+rcpOJYsM9GsfawZ6au0OI44GvT3EBiyAar0f428DhiOWzBf+a/43/LDiQuPp6b42FyaPJHe+J0yZl40v8iqNjk26ACwcwJxIdc8GW099MIYuOP4Y/NC8QvvoqAmZMeG3Sz5TYEYk/aqpzTZQnVgOBmu8jdSPZrNmPj8Ofw57oZW4MlTFcU8XWxZyITZxtelLbJ1+gUs9/ICCesZPDpZZaD7NCjj2kEXoeTMWVbF82JGGLiud4E46ZiaUZ4gTbLXzKcCteBp/CG8O4YGn4D7EXwjejEzBjZ5YA4I/C6Yo2H92lPuMU/3LQG9iPHay13yDXypvACNcu/GONUuBWfWn6VxZ6Us1Zimq0FNNMGGx0UZwRep50YeMzN1oVy1oH2X0FOH1HGukI2Kz+bXpwqSYXp3fUJToVc3d1QupM5k5zz4Fl0dAtYYU0VwSnID5gj0WmBeJ1507TLY+KxPaSbsZ53qN3zyOE3VTOnE10hr9E6KX1qgZqUT0xrhHcnFD+gRrcIhhPsGPiabs7ny61FNyODqN2F0TPCN1B3Bp+yMsyd1wawXTdjOe9wW8YmCrlbH85s8I71UwsUko+axnVhuAdCfY/Ftj5F0qGTLiRq/IVxUnP+ghvNRXAUudqoUES5bVIOTiOQcgkGfJZZneUwON35ZpTHmRlEj2CCMN83dmeR59N0dOyeWqBG5b83jeoaxxnXTXf+cfA4hu/PmRDmHHLwGHKxwUb+Rp83Kv+eXJy62+cbD6i3HhhN2QS2IbgXmLvThtfgfX0eff6ieivRseSxVp45USBuxOekC2ELaEfAL7m8ViUK3qeT6NtO9HGdww6Oq9ImGgPCMXCDa26EfLjvtEbWr5NYlAuauebuUM0drVv5qklvmUSg9La4uBLyhfBhdPAJdPTHHheMx9aBGPch3i3W9BWPHNXI902yBilbE+JQyIf0J9H5XeCQJVq8Nxvd1uLOxTgI2vnuC/HUq4lxbaxRHp4oULXyGU85F/INR5vq7hae183bCKkec25UPz1RoBq1zZMOhs+5OJp43V50bKxSN09yHw63ebzoXnivS6OI19nqUcfGlZOYYsDvbdUY90Avsd+FUcQ3KV7tb9UkxhgQqMgwpPMifOh3OCjSD5lZp1f7u4zlTrIGSWkwoxv2rEleg/WiN1ZxXmTm7sy7hoA3pvzPKgzp/uFps7w61XyhGMumoMbzpoBXpjHkY79KCtO8LUj0GRtCncZjH2TJYgp4bjrHxO9YxnTJQSuSvpeZ09bot9N2WncA9oC7GSVVnyqVp6cWqFx5iMpVy6AuCcs6PoWx5I2fl2Xy/VMLtJQt8pEJnzcpDvONXoYJX5llVifK+Jal6uVI7CyPGYZ1pZZxnSjjV5ZE8O5SPGid8YQS64mijGOp1ERiUnEbHvzPFHRI9Dp/s/OZ1IM+cEr0FsXq3sgFKlQKYcw37B/HxITzPhWkZdk153vNMqkjUbpcFrEXo7BUVlfCnG5YmPO5TCG7Dvvqoug+RFyovSrM+VznB9F/yjtXzYMx3TVhzucasNaJ8bvAKV9/WhjzuUSBFvs3dZnOivqfhSmf4/wOrzk/6JANmboChnTXhCmfY/wHOc132ivuC6Y5nSBGhiHQRrfcFr8LxpnUiXN752ynm2ayH6AcrUMY80XJQu2A5PZh3EzN0V4Wpny2ORpfW+b5EGm+5X8mCMfhRHwlwG00L/CCMOmbtryBHD2W2K8HyGZbYYcyKEz7Jpy/CyuyO73xBRvZ+lLwpzEGdlnjDO38dd4FZ5J53vqKmmy8dThLPwYTu2HfmvfN1Yfw824+/Xv3S57msrUI9O2Emegljk7K0pLki25xj4nm6J+i2fpf42ailzguoZ/rpWQ8jO34TP1z8N254qqRXiKYFXgbtmStUiocEGoGzdQeRKfeANcdNdSLKxmDKE9TUL9LStWDgsG5uPJ2wGHq9zGb6sWHG6ATnnFbSNeZ5KeDgnj3UDCwB/wWCbhuy2DPVTBSMjHaMzO+igtqjiQOiMWYjqljA2XoT0Kw18GVWwZ7GeMM9xw9fx/nl+Eb9xO0/S141K2mWdOY6oljzNp1BwVZJaaWNiRuFxJ4GOVZ8CYS2gveBUOG8Z+BZQI4QhAjIZjxL/z8FwoEfgNOgmfB1/G7e8BitPFhL+fg/xntas67Qz/GAAAAAElFTkSuQmCC"},"380f":function(t,e,a){"use strict";(function(t,e){var i=a("7037").default;a("d9e2"),a("d401"),a("d3b7"),a("25f0"),a("159b"),a("14d9"),a("ac1f"),a("5319"),a("e25e"),a("d81d"),a("00b4"),a("13d5"),a("99af"),a("4de4"),a("fb6a"),a("a9e3"),a("4e82"),a("26e9"),a("cb29"),a("e9c4");var n={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,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];if(null==t)throw new TypeError("Cannot convert undefined or null to object");if(!a||a.length<=0)return t;function n(t,e){for(var a in e)t[a]=t[a]&&"[object Object]"===t[a].toString()?n(t[a],e[a]):t[a]=e[a];return t}return a.forEach((function(e){t=n(t,e)})),t},o={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 l(t,e){var a=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,a,i){return e+e+a+a+i+i})),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a),n=parseInt(i[1],16),r=parseInt(i[2],16),o=parseInt(i[3],16);return"rgba("+n+","+r+","+o+","+e+")"}function s(t,e,a){if(isNaN(t))throw new Error("[uCharts] unvalid series data!");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)"upper"===e?t++:t--;return t/i}function c(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 d(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))}var i=.2,n=.2,r=null,o=null,l=null,s=null;if(e<1?(r=t[0].x+(t[1].x-t[0].x)*i,o=t[0].y+(t[1].y-t[0].y)*i):(r=t[e].x+(t[e+1].x-t[e-1].x)*i,o=t[e].y+(t[e+1].y-t[e-1].y)*i),e>t.length-3){var c=t.length-1;l=t[c].x-(t[c].x-t[c-1].x)*n,s=t[c].y-(t[c].y-t[c-1].y)*n}else l=t[e+1].x-(t[e+2].x-t[e].x)*n,s=t[e+1].y-(t[e+2].y-t[e].y)*n;return a(t,e+1)&&(s=t[e+1].y),a(t,e)&&(o=t[e].y),(o>=Math.max(t[e].y,t[e+1].y)||o<=Math.min(t[e].y,t[e+1].y))&&(o=t[e].y),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e+1].y),{ctrA:{x:r,y:o},ctrB:{x:l,y:s}}}function f(t,e,a){return{x:a.x+t,y:a.y-e}}function h(t,e){if(e)while(o.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 u(t,e,a){var i=0;return t.map((function(t){if(t.color||(t.color=a.colors[i],i=(i+1)%a.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 p(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:s(t,"lower",a),maxRange:s(e,"upper",a)}}function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.fontSize;t=String(t);t=t.split("");for(var a=0,i=0;i<t.length;i++){var r=t[i];/[a-zA-Z]/.test(r)?a+=7:/[0-9]/.test(r)?a+=5.5:/\./.test(r)?a+=2.7:/-/.test(r)?a+=3.25:/[\u4e00-\u9fa5]/.test(r)?a+=10:/\(|\)/.test(r)?a+=3.73:/\s/.test(r)?a+=2.5:/%/.test(r)?a+=8:a+=10}return a*e/10}function g(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function b(t,e){for(var a=new Array(e),i=0;i<a.length;i++)a[i]=0;for(var n=0;n<t.length;n++)for(i=0;i<a.length;i++)a[i]+=t[n].data[i];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(a)}),[])}function v(t,e,a){var i,n;return t.clientX?e.rotate?(n=e.height-t.clientX*e.pixelRatio,i=(t.pageY-a.currentTarget.offsetTop-e.height/e.pixelRatio/2*(e.pixelRatio-1))*e.pixelRatio):(i=t.clientX*e.pixelRatio,n=(t.pageY-a.currentTarget.offsetTop-e.height/e.pixelRatio/2*(e.pixelRatio-1))*e.pixelRatio):e.rotate?(n=e.height-t.x*e.pixelRatio,i=t.y*e.pixelRatio):(i=t.x*e.pixelRatio,n=t.y*e.pixelRatio),{x:i,y:n}}function y(t,e){for(var a=[],i=0;i<t.length;i++){var n=t[i];if(null!==n.data[e]&&"undefined"!==typeof n.data[e]&&n.show){var r={};r.color=n.color,r.type=n.type,r.style=n.style,r.pointShape=n.pointShape,r.disableLegend=n.disableLegend,r.name=n.name,r.show=n.show,r.data=n.format?n.format(n.data[e]):n.data[e],a.push(r)}}return a}function m(t){var e=t.map((function(t){return x(t)}));return Math.max.apply(null,e)}function w(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 _(t,e,a,i){for(var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=t.map((function(t){var e=[];return e=i||t.data,{text:n.format?n.format(t,e[a]):t.name+": "+t.data,color:t.color}})),o=[],l={x:0,y:0},s=0;s<e.length;s++){var c=e[s];"undefined"!==typeof c[a]&&null!==c[a]&&o.push(c[a])}for(var d=0;d<o.length;d++){var f=o[d];l.x=Math.round(f.x),l.y+=f.y}return l.y/=o.length,{textList:r,offset:l}}function k(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=t.map((function(t){return{text:n.format?n.format(t,i[a]):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));r=r.filter((function(t){if(!0!==t.disableLegend)return t}));for(var o=[],l={x:0,y:0},s=0;s<e.length;s++){var c=e[s];"undefined"!==typeof c[a]&&null!==c[a]&&o.push(c[a])}for(var d=0;d<o.length;d++){var f=o[d];l.x=Math.round(f.x),l.y+=f.y}return l.y/=o.length,{textList:r,offset:l}}function A(t,e,a,i,n,r){var o=r.color.upFill,l=r.color.downFill,s=[o,o,l,o],c=[],d={text:n[i],color:null};c.push(d),e.map((function(e){0==i&&e.data[1]-e.data[0]<0?s[1]=l:(e.data[0]<t[i-1][1]&&(s[0]=l),e.data[1]<e.data[0]&&(s[1]=l),e.data[2]>t[i-1][1]&&(s[2]=o),e.data[3]<t[i-1][1]&&(s[3]=l));var a={text:"开盘:"+e.data[0],color:s[0]},n={text:"收盘:"+e.data[1],color:s[1]},r={text:"最低:"+e.data[2],color:s[2]},d={text:"最高:"+e.data[3],color:s[3]};c.push(a,n,r,d)}));for(var f=[],h={x:0,y:0},u=0;u<a.length;u++){var p=a[u];"undefined"!==typeof p[i]&&null!==p[i]&&f.push(p[i])}return h.x=Math.round(f[0][0].x),{textList:c,offset:h}}function S(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 D(t,e,a){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(a,2)}function T(t){var e=[],a=[];return t.forEach((function(t,i){null!==t?a.push(t):(a.length&&e.push(a),a=[])})),a.length&&e.push(a),e}function P(t,e,a,i){var n={angle:0,xAxisHeight:a.xAxisHeight},r=t.map((function(t){return x(t,e.xAxis.fontSize||a.fontSize)})),o=Math.max.apply(this,r);return 1==e.xAxis.rotateLabel&&o+2*a.xAxisTextPadding>i&&(n.angle=45*Math.PI/180,n.xAxisHeight=2*a.xAxisTextPadding+o*Math.sin(n.angle)),n}function M(t,e,a){var n={angle:0,xAxisHeight:a.xAxisHeight};n.ranges=function(t,e,a){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,r=g(t),o=[];r=r.filter((function(t){return"object"===i(t)&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),r.map((function(t){"object"===i(t)?t.constructor==Array?"candle"==e.type?t.map((function(t){o.push(t)})):o.push(t[0]):o.push(t.value):o.push(t)}));var l=0,s=0;if(o.length>0&&(l=Math.min.apply(this,o),s=Math.max.apply(this,o)),n>-1?("number"===typeof e.xAxis.data[n].min&&(l=Math.min(e.xAxis.data[n].min,l)),"number"===typeof e.xAxis.data[n].max&&(s=Math.max(e.xAxis.data[n].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 c=s||10;s+=c}for(var d=p(l,s),f=d.minRange,h=d.maxRange,u=[],x=(h-f)/e.xAxis.splitNumber,b=0;b<=e.xAxis.splitNumber;b++)u.push(f+x*b);return u}(t,e,a),n.rangesFormat=n.ranges.map((function(t){return t=e.xAxis.format?e.xAxis.format(t):o.toFixed(t,2),t}));var r=n.ranges.map((function(t){return t=o.toFixed(t,2),t=e.xAxis.format?e.xAxis.format(Number(t)):t,t}));n=Object.assign(n,B(r,e,a));var l=n.eachSpacing,s=r.map((function(t){return x(t)})),c=Math.max.apply(this,s);return c+2*a.xAxisTextPadding>l&&(n.angle=45*Math.PI/180,n.xAxisHeight=2*a.xAxisTextPadding+c*Math.sin(n.angle)),!0===e.xAxis.disabled&&(n.xAxisHeight=0),n}function C(t,e,a,i,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=n.extra.radar||{};o.max=o.max||0;for(var l=Math.max(o.max,Math.max.apply(null,g(i))),s=[],c=function(n){var o=i[n],c={};c.color=o.color,c.legendShape=o.legendShape,c.pointShape=o.pointShape,c.data=[],o.data.forEach((function(i,n){var o={};o.angle=t[n],o.proportion=i/l,o.position=f(a*o.proportion*r*Math.cos(o.angle),a*o.proportion*r*Math.sin(o.angle),e),c.data.push(o)})),s.push(c)},d=0;d<i.length;d++)c(d);return s}function F(t,e){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=0,n=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,i+=o.data}for(var l=0;l<t.length;l++){var s=t[l];s.data=null===s.data?0:s.data,s._proportion_=0===i?1/t.length*a:s.data/i*a,s._radius_=e}for(var c=0;c<t.length;c++){var d=t[c];d._start_=n,n+=2*d._proportion_*Math.PI}return t}function L(t,e){var a=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 i=0;i<t.length;i++)t[i].radius=t[i].data/t[0].data*e*a,t[i]._proportion_=t[i].data/t[0].data;return t.reverse()}function R(t,e,a,i){for(var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,l=[],s=0;s<t.length;s++){var c=t[s];c.data=null===c.data?0:c.data,r+=c.data,l.push(c.data)}for(var d=Math.min.apply(null,l),f=Math.max.apply(null,l),h=i-a,u=0;u<t.length;u++){var p=t[u];p.data=null===p.data?0:p.data,0===r||"area"==e?(p._proportion_=p.data/r*n,p._rose_proportion_=1/t.length*n):(p._proportion_=p.data/r*n,p._rose_proportion_=p.data/r*n),p._radius_=a+h*((p.data-d)/(f-d))}for(var x=0;x<t.length;x++){var g=t[x];g._start_=o,o+=2*g._rose_proportion_*Math.PI}return t}function z(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 n=t[i];n.data=null===n.data?0:n.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,n._proportion_=r*n.data*a+e.startAngle,n._proportion_>=2&&(n._proportion_=n._proportion_%2)}return t}function I(t,e,a){for(var i=e-a+1,n=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=n,t[r]._endAngle_=i*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),n=t[r]._endAngle_;return t}function O(t,e,a){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=0;n<t.length;n++){var r=t[n];if(r.data=null===r.data?0:r.data,"auto"==a.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=a.pointer.color;var l=a.startAngle-a.endAngle+1;r._endAngle_=l*r.data+a.startAngle,r._oldAngle_=a.oldAngle,a.oldAngle<a.endAngle&&(r._oldAngle_+=2),r.data>=a.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*i+a.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*i,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function j(t,e,a,i,n,r){return t.map((function(t){return null===t?null:(t.width=Math.ceil((e-2*n.columePadding)/a),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+=(i+.5-a/2)*t.width,t)}))}function E(t,e,a,i,n,r,o){return t.map((function(t){return null===t?null:(t.width=Math.ceil((e-2*n.columePadding)/2),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width)),i>0&&(t.width-=2*o),t)}))}function W(t,e,a,i,n,r,o){return t.map((function(t,a){return null===t?null:(t.width=Math.ceil((e-2*n.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 B(t,e,a){var i=e.width-e.area[1]-e.area[3],n=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type)&&n>1&&"justify"==e.xAxis.boundaryGap&&(n-=1);var r=i/n,o=[],l=e.area[3],s=e.width-e.area[1];return t.forEach((function(t,e){o.push(l+e*r)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?o.push(l+t.length*r):o.push(s)),{xAxisPoints:o,startX:l,endX:s,eachSpacing:r}}function N(t,e,a,i,n,r,o){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,s=[],c=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)s.push(null);else{var d=[];t.forEach((function(t,s){var f={};f.x=i[o]+Math.round(n/2);var h=t.value||t,u=c*(h-e)/(a-e);u*=l,f.y=r.height-Math.round(u)-r.area[2],d.push(f)})),s.push(d)}})),s}function G(t,e,a,n,r,o,l){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c="center";"line"!=o.type&&"area"!=o.type||(c=o.xAxis.boundaryGap);var d=[],f=o.height-o.area[0]-o.area[2],h=o.width-o.area[1]-o.area[3];return t.forEach((function(t,l){if(null===t)d.push(null);else{var u={};u.color=t.color,u.x=n[l];var p,x,g,b=t;if("object"===i(t)&&null!==t)if(t.constructor==Array)p=[].concat(o.chartData.xAxisData.ranges),x=p.shift(),g=p.pop(),b=t[1],u.x=o.area[3]+h*(t[0]-x)/(g-x);else b=t.value;"center"==c&&(u.x+=Math.round(r/2));var v=f*(b-e)/(a-e);v*=s,u.y=o.height-Math.round(v)-o.area[2],d.push(u)}})),d}function H(t,e,a,i,n,r,o,l,s){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,d=[],f=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)d.push(null);else{var h={};if(h.color=t.color,h.x=i[o]+Math.round(n/2),l>0){for(var u=0,p=0;p<=l;p++)u+=s[p].data[o];var x=u-t,g=f*(u-e)/(a-e),b=f*(x-e)/(a-e)}else u=t,g=f*(u-e)/(a-e),b=0;var v=b;g*=c,v*=c,h.y=r.height-Math.round(g)-r.area[2],h.y0=r.height-Math.round(v)-r.area[2],d.push(h)}})),d}function Y(t,e,a,n){var r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;r="stack"==n?b(t,e.categories.length):g(t);var l=[];r=r.filter((function(t){return"object"===i(t)&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),r.map((function(t){"object"===i(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,c=0;if(l.length>0&&(s=Math.min.apply(this,l),c=Math.max.apply(this,l)),o>-1?("number"===typeof e.yAxis.data[o].min&&(s=Math.min(e.yAxis.data[o].min,s)),"number"===typeof e.yAxis.data[o].max&&(c=Math.max(e.yAxis.data[o].max,c))):("number"===typeof e.yAxis.min&&(s=Math.min(e.yAxis.min,s)),"number"===typeof e.yAxis.max&&(c=Math.max(e.yAxis.max,c))),s===c){var d=c||10;c+=d}for(var f=p(s,c),h=f.minRange,u=f.maxRange,x=[],v=(u-h)/e.yAxis.splitNumber,y=0;y<=e.yAxis.splitNumber;y++)x.push(h+v*y);return x.reverse()}function q(t,e,a){var i=r({},{type:""},e.extra.column),n=e.yAxis.data.length,l=new Array(n);if(n>0){for(var s=0;s<n;s++){l[s]=[];for(var c=0;c<t.length;c++)t[c].index==s&&l[s].push(t[c])}for(var d=new Array(n),f=new Array(n),h=new Array(n),u=function(t){var n=e.yAxis.data[t];1==e.yAxis.disabled&&(n.disabled=!0),d[t]=Y(l[t],e,a,i.type,t);var r=n.fontSize||a.fontSize;h[t]={position:n.position?n.position:"left",width:0},f[t]=d[t].map((function(e){return e=o.toFixed(e,6),e=n.format?n.format(Number(e)):e,h[t].width=Math.max(h[t].width,x(e,r)+5),e}));var s=n.calibration?4*e.pixelRatio:0;h[t].width+=s+3*e.pixelRatio,!0===n.disabled&&(h[t].width=0)},p=0;p<n;p++)u(p)}else{d=new Array(1),f=new Array(1),h=new Array(1);d[0]=Y(t,e,a,i.type),h[0]={position:"left",width:0};var g=e.yAxis.fontSize||a.fontSize;f[0]=d[0].map((function(t){return t=o.toFixed(t,6),t=e.yAxis.format?e.yAxis.format(Number(t)):t,h[0].width=Math.max(h[0].width,x(t,g)+5),t})),h[0].width+=3*e.pixelRatio,!0===e.yAxis.disabled?(h[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:f,ranges:d,yAxisWidth:h}}function X(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 U(t,e,a,i,n){i.beginPath(),"hollow"==n.dataPointShapeType?(i.setStrokeStyle(e),i.setFillStyle(n.background),i.setLineWidth(2*n.pixelRatio)):(i.setStrokeStyle("#ffffff"),i.setFillStyle(e),i.setLineWidth(1*n.pixelRatio)),"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))})):"circle"===a?t.forEach((function(t,e){null!==t&&(i.moveTo(t.x+2.5*n.pixelRatio,t.y),i.arc(t.x,t.y,3*n.pixelRatio,0,2*Math.PI,!1))})):"rect"===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))})):"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))})),i.closePath(),i.fill(),i.stroke()}function Z(t,e,a,i){var n=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",l=t.subtitle.name||"",s=t.title.color||e.titleColor,c=t.subtitle.color||e.subtitleColor,d=o?n:0,f=l?r:0;if(l){var h=x(l,r),u=i.x-h/2+(t.subtitle.offsetX||0),p=i.y+r/2+(t.subtitle.offsetY||0);o&&(p+=(d+5)/2),a.beginPath(),a.setFontSize(r),a.setFillStyle(c),a.fillText(l,u,p),a.closePath(),a.stroke()}if(o){var g=x(o,n),b=i.x-g/2+(t.title.offsetX||0),v=i.y+n/2+(t.title.offsetY||0);l&&(v-=(f+5)/2),a.beginPath(),a.setFontSize(n),a.setFillStyle(s),a.fillText(o,b,v),a.closePath(),a.stroke()}}function V(t,e,a,n){var r=e.data;t.forEach((function(t,o){if(null!==t){n.beginPath(),n.setFontSize(e.textSize||a.fontSize),n.setFillStyle(e.textColor||"#666666");var l=r[o];"object"===i(r[o])&&null!==r[o]&&(l=r[o].constructor==Array?r[o][1]:r[o].value);var s=e.format?e.format(l):l;n.fillText(String(s),t.x-x(s,e.textSize||a.fontSize)/2,t.y-4),n.closePath(),n.stroke()}}))}function Q(t,e,a,i,n,r){e-=t.width/2+n.gaugeLabelTextMargin;for(var o=t.startAngle-t.endAngle+1,l=o/t.splitLine.splitNumber,s=t.endNumber-t.startNumber,c=s/t.splitLine.splitNumber,d=t.startAngle,f=t.startNumber,h=0;h<t.splitLine.splitNumber+1;h++){var u={x:e*Math.cos(d*Math.PI),y:e*Math.sin(d*Math.PI)},p=t.labelFormat?t.labelFormat(f):f;u.x+=a.x-x(p)/2,u.y+=a.y;var g=u.x,b=u.y;r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(t.labelColor||"#666666"),r.fillText(p,g,b+n.fontSize/2),r.closePath(),r.stroke(),d+=l,d>=2&&(d%=2),f+=c}}function J(t,e,a,i,n,r){var l=i.extra.radar||{};e+=n.radarLabelTextMargin,t.forEach((function(t,s){var c={x:e*Math.cos(t),y:e*Math.sin(t)},d=f(c.x,c.y,a),h=d.x,u=d.y;o.approximatelyEqual(c.x,0)?h-=x(i.categories[s]||"")/2:c.x<0&&(h-=x(i.categories[s]||"")),r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(l.labelColor||"#666666"),r.fillText(i.categories[s]||"",h,u+n.fontSize/2),r.closePath(),r.stroke()}))}function K(t,e,a,i,n,r){for(var l=a.pieChartLinePadding,s=[],c=null,d=t.map((function(t){var e=t.format?t.format(+t._proportion_.toFixed(2)):o.toFixed(100*t._proportion_.toFixed(4))+"%";t._rose_proportion_&&(t._proportion_=t._rose_proportion_);var a=2*Math.PI-(t._start_+2*Math.PI*t._proportion_/2),i=t.color,n=t._radius_;return{arc:a,text:e,color:i,radius:n,textColor:t.textColor,textSize:t.textSize}})),u=0;u<d.length;u++){var p=d[u],g=Math.cos(p.arc)*(p.radius+l),b=Math.sin(p.arc)*(p.radius+l),v=Math.cos(p.arc)*p.radius,y=Math.sin(p.arc)*p.radius,m=g>=0?g+a.pieChartTextPadding:g-a.pieChartTextPadding,w=b,_=x(p.text,p.textSize||a.fontSize),k=w;c&&o.isSameXCoordinateArea(c.start,{x:m})&&(k=m>0?Math.min(w,c.start.y):g<0||w>0?Math.max(w,c.start.y):Math.min(w,c.start.y)),m<0&&(m-=_);var A={lineStart:{x:v,y:y},lineEnd:{x:g,y:b},start:{x:m,y:k},width:_,height:a.fontSize,text:p.text,color:p.color,textColor:p.textColor,textSize:p.textSize};c=h(A,c),s.push(c)}for(var S=0;S<s.length;S++){var D=s[S],T=f(D.lineStart.x,D.lineStart.y,r),P=f(D.lineEnd.x,D.lineEnd.y,r),M=f(D.start.x,D.start.y,r);i.setLineWidth(1*e.pixelRatio),i.setFontSize(a.fontSize),i.beginPath(),i.setStrokeStyle(D.color),i.setFillStyle(D.color),i.moveTo(T.x,T.y);var C=D.start.x<0?M.x+D.width:M.x,F=D.start.x<0?M.x-5:M.x+5;i.quadraticCurveTo(P.x,P.y,C,M.y),i.moveTo(T.x,T.y),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(M.x+D.width,M.y),i.arc(C,M.y,2,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(D.textSize||a.fontSize),i.setFillStyle(D.textColor||"#666666"),i.fillText(D.text,F,M.y+3),i.closePath(),i.stroke(),i.closePath()}}function $(t,e,a){for(var i=r({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),n=t.area[3],o=t.width-t.area[1],s=function(t,e){for(var a,i,n=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 o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);a=o.pop(),i=o.shift();var l=n*(t[r].value-a)/(i-a);t[r].y=e.height-Math.round(l)-e.area[2]}return t}(i.data,t),c=0;c<s.length;c++){var d=r({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,yAxisIndex:0},s[c]);if("dash"==i.type&&a.setLineDash([i.dashLength,i.dashLength]),a.setStrokeStyle(d.lineColor),a.setLineWidth(1*t.pixelRatio),a.beginPath(),a.moveTo(n,d.y),a.lineTo(o,d.y),a.stroke(),a.setLineDash([]),d.showLabel){var f=t.yAxis.format?t.yAxis.format(Number(d.value)):d.value;a.setFontSize(e.fontSize);var h=x(f,e.fontSize),u=t.padding[3]+e.yAxisTitleWidth-e.toolTipPadding,p=Math.max(t.area[3],h+2*e.toolTipPadding),g=p-u,b=u+(g-h)/2,v=d.y;a.setFillStyle(l(d.labelBgColor,d.labelBgOpacity)),a.setStrokeStyle(d.labelBgColor),a.setLineWidth(1*t.pixelRatio),a.beginPath(),a.rect(u,v-.5*e.fontSize-e.toolTipPadding,g,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.beginPath(),a.setFontSize(e.fontSize),a.setFillStyle(d.labelFontColor),a.fillText(String(f),b,v+.5*e.fontSize),a.stroke()}}}function tt(t,e,a,i,n){var o=r({},{gridType:"solid",dashLength:4},t.extra.tooltip),s=t.area[3],c=t.width-t.area[1];if("dash"==o.gridType&&a.setLineDash([o.dashLength,o.dashLength]),a.setStrokeStyle(o.gridColor||"#cccccc"),a.setLineWidth(1*t.pixelRatio),a.beginPath(),a.moveTo(s,t.tooltip.offset.y),a.lineTo(c,t.tooltip.offset.y),a.stroke(),a.setLineDash([]),o.yAxisLabel)for(var d=function(t,e,a,i,n){for(var r=[].concat(a.chartData.yAxisData.ranges),o=a.height-a.area[0]-a.area[2],l=a.area[0],s=[],c=0;c<r.length;c++){var d=r[c].shift(),f=r[c].pop(),h=d-(d-f)*(t-l)/o;h=a.yAxis.data[c].format?a.yAxis.data[c].format(Number(h)):h.toFixed(0),s.push(String(h))}return s}(t.tooltip.offset.y,t.series,t),f=t.chartData.yAxisData.yAxisWidth,h=t.area[3],u=t.width-t.area[1],p=0;p<d.length;p++){a.setFontSize(e.fontSize);var g,b=x(d[p],e.fontSize),v=void 0,y=void 0;"left"==f[p].position?(v=h-f[p].width,y=Math.max(v,v+b+2*e.toolTipPadding)):(v=u,y=Math.max(v+f[p].width,v+b+2*e.toolTipPadding)),g=y-v;var m=v+(g-b)/2,w=t.tooltip.offset.y;a.beginPath(),a.setFillStyle(l(o.labelBgColor||e.toolTipBackground,o.labelBgOpacity||e.toolTipOpacity)),a.setStrokeStyle(o.labelBgColor||e.toolTipBackground),a.setLineWidth(1*t.pixelRatio),a.rect(v,w-.5*e.fontSize-e.toolTipPadding,g,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.beginPath(),a.setFontSize(e.fontSize),a.setFillStyle(o.labelFontColor||e.fontColor),a.fillText(d[p],m,w+.5*e.fontSize),a.closePath(),a.stroke(),"left"==f[p].position?h-=f[p].width+t.yAxis.padding:u+=f[p].width+t.yAxis.padding}}function et(t,e,a,i,n){var o=r({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.tooltip),s=e.area[0],c=e.height-e.area[2];i.beginPath(),i.setFillStyle(l(o.activeBgColor,o.activeBgOpacity)),i.rect(t-n/2,s,n,c-s),i.closePath(),i.fill()}function at(t,e,a,i,n,o,s){var c=r({},{showBox:!0,bgColor:"#000000",bgOpacity:.7,fontColor:"#FFFFFF"},a.extra.tooltip),d=4*a.pixelRatio,f=5*a.pixelRatio,h=8*a.pixelRatio,u=!1;"line"!=a.type&&"area"!=a.type&&"candle"!=a.type&&"mix"!=a.type||function(t,e,a,i){var n=e.extra.tooltip||{};n.gridType=void 0==n.gridType?"solid":n.gridType,n.dashLength=void 0==n.dashLength?4:n.dashLength;var r=e.area[0],o=e.height-e.area[2];if("dash"==n.gridType&&i.setLineDash([n.dashLength,n.dashLength]),i.setStrokeStyle(n.gridColor||"#cccccc"),i.setLineWidth(1*e.pixelRatio),i.beginPath(),i.moveTo(t,r),i.lineTo(t,o),i.stroke(),i.setLineDash([]),n.xAxisLabel){var s=e.categories[e.tooltip.index];i.setFontSize(a.fontSize);var c=x(s,a.fontSize),d=t-.5*c,f=o;i.beginPath(),i.setFillStyle(l(n.labelBgColor||a.toolTipBackground,n.labelBgOpacity||a.toolTipOpacity)),i.setStrokeStyle(n.labelBgColor||a.toolTipBackground),i.setLineWidth(1*e.pixelRatio),i.rect(d-a.toolTipPadding,f,c+2*a.toolTipPadding,a.fontSize+2*a.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(a.fontSize),i.setFillStyle(n.labelFontColor||a.fontColor),i.fillText(String(s),d,f+a.toolTipPadding+a.fontSize),i.closePath(),i.stroke()}}(a.tooltip.offset.x,a,i,n),e=r({x:0,y:0},e),e.y-=8*a.pixelRatio;var p=t.map((function(t){return x(t.text,i.fontSize)})),g=d+f+4*i.toolTipPadding+Math.max.apply(null,p),b=2*i.toolTipPadding+t.length*i.toolTipLineHeight;0!=c.showBox&&(e.x-Math.abs(a._scrollDistance_)+h+g>a.width&&(u=!0),b+e.y>a.height&&(e.y=a.height-b),n.beginPath(),n.setFillStyle(l(c.bgColor||i.toolTipBackground,c.bgOpacity||i.toolTipOpacity)),u?(n.moveTo(e.x,e.y+10*a.pixelRatio),n.lineTo(e.x-h,e.y+10*a.pixelRatio-5*a.pixelRatio),n.lineTo(e.x-h,e.y),n.lineTo(e.x-h-Math.round(g),e.y),n.lineTo(e.x-h-Math.round(g),e.y+b),n.lineTo(e.x-h,e.y+b),n.lineTo(e.x-h,e.y+10*a.pixelRatio+5*a.pixelRatio),n.lineTo(e.x,e.y+10*a.pixelRatio)):(n.moveTo(e.x,e.y+10*a.pixelRatio),n.lineTo(e.x+h,e.y+10*a.pixelRatio-5*a.pixelRatio),n.lineTo(e.x+h,e.y),n.lineTo(e.x+h+Math.round(g),e.y),n.lineTo(e.x+h+Math.round(g),e.y+b),n.lineTo(e.x+h,e.y+b),n.lineTo(e.x+h,e.y+10*a.pixelRatio+5*a.pixelRatio),n.lineTo(e.x,e.y+10*a.pixelRatio)),n.closePath(),n.fill(),t.forEach((function(t,a){if(null!==t.color){n.beginPath(),n.setFillStyle(t.color);var r=e.x+h+2*i.toolTipPadding,o=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding+1;u&&(r=e.x-g-h+2*i.toolTipPadding),n.fillRect(r,o,d,i.fontSize),n.closePath()}})),t.forEach((function(t,a){var r=e.x+h+2*i.toolTipPadding+d+f;u&&(r=e.x-g-h+2*i.toolTipPadding+ +d+f);var o=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding;n.beginPath(),n.setFontSize(i.fontSize),n.setFillStyle(c.fontColor),n.fillText(t.text,r,o+i.fontSize),n.closePath(),n.stroke()})))}function it(t,e,a,i,n,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===i&&("line"==t.type||"area"==t.type||"column"==t.type||"candle"==t.type||"mix"==t.type)&&tt(t,e,a),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&&at(t.tooltip.textList,t.tooltip.offset,t,e,a),a.restore()}function nt(t,e,a,i){var n=e.chartData.xAxisData,r=n.xAxisPoints,o=n.startX,l=n.endX,s=n.eachSpacing,c="center";"line"!=e.type&&"area"!=e.type||(c=e.xAxis.boundaryGap);var d=e.height-e.area[2],f=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var h=e.height-e.area[2]+a.xAxisHeight,u=l-o,p=s*(r.length-1),g=u*u/p,b=0;e._scrollDistance_&&(b=-e._scrollDistance_*u/p),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pixelRatio),i.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),i.moveTo(o,h),i.lineTo(l,h),i.stroke(),i.closePath(),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pixelRatio),i.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),i.moveTo(o+b,h),i.lineTo(o+b+g,h),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.pixelRatio),r.forEach((function(t,a){a>0&&(i.beginPath(),i.moveTo(t-s/2,d),i.lineTo(t-s/2,d+3*e.pixelRatio),i.closePath(),i.stroke())}))),!0!==e.xAxis.disableGrid&&(i.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),i.setLineCap("butt"),i.setLineWidth(1*e.pixelRatio),"dash"==e.xAxis.gridType&&i.setLineDash([e.xAxis.dashLength,e.xAxis.dashLength]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,a){a%e.xAxis.gridEval==0&&(i.beginPath(),i.moveTo(t,d),i.lineTo(t,f),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 y=Math.ceil(t.length/v),m=[],w=t.length,_=0;_<w;_++)_%y!==0?m.push(""):m.push(t[_]);m[w-1]=t[w-1];var k=e.xAxis.fontSize||a.fontSize;0===a._xAxisTextAngle_?m.forEach((function(t,n){var o=-x(String(t),k)/2;"center"==c&&(o+=s/2);var l=0;e.xAxis.scrollShow&&(l=6*e.pixelRatio),i.beginPath(),i.setFontSize(k),i.setFillStyle(e.xAxis.fontColor||"#666666"),i.fillText(String(t),r[n]+o,d+k+(a.xAxisHeight-l-k)/2),i.closePath(),i.stroke()})):m.forEach((function(t,n){i.save(),i.beginPath(),i.setFontSize(k),i.setFillStyle(e.xAxis.fontColor||"#666666");var o=x(String(t),k),l=-o;"center"==c&&(l+=s/2);var f=function(t,e,a){var i=t,n=a-e,r=i+(a-n-i)/Math.sqrt(2);r*=-1;var o=(a-n)*(Math.sqrt(2)-1)-(a-n-i)/Math.sqrt(2);return{transX:r,transY:o}}(r[n]+s/2,d+k/2+5,e.height),h=f.transX,u=f.transY;i.rotate(-1*a._xAxisTextAngle_),i.translate(h,u),i.fillText(String(t),r[n]+l,d+k+5),i.closePath(),i.stroke(),i.restore()}))}i.restore(),e.xAxis.axisLine&&(i.beginPath(),i.setStrokeStyle(e.xAxis.axisLineColor),i.setLineWidth(1*e.pixelRatio),i.moveTo(o,e.height-e.area[2]),i.lineTo(l,e.height-e.area[2]),i.stroke())}function rt(t,e,a,i){if(!0!==e.yAxis.disableGrid){for(var n=e.height-e.area[0]-e.area[2],r=n/e.yAxis.splitNumber,o=e.area[3],l=e.chartData.xAxisData.xAxisPoints,s=e.chartData.xAxisData.eachSpacing,c=s*(l.length-1),d=o+c,f=[],h=0;h<e.yAxis.splitNumber+1;h++)f.push(e.height-e.area[2]-r*h);i.save(),e._scrollDistance_&&0!==e._scrollDistance_&&i.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&i.setLineDash([e.yAxis.dashLength,e.yAxis.dashLength]),i.setStrokeStyle(e.yAxis.gridColor),i.setLineWidth(1*e.pixelRatio),f.forEach((function(t,e){i.beginPath(),i.moveTo(o,t),i.lineTo(d,t),i.stroke()})),i.setLineDash([]),i.restore()}}function ot(t,e,a,i){if(!0!==e.yAxis.disabled){var n=e.height-e.area[0]-e.area[2],r=n/e.yAxis.splitNumber,o=e.area[3],l=e.width-e.area[1],s=e.height-e.area[2],c=s+a.xAxisHeight;e.xAxis.scrollShow&&(c-=3*e.pixelRatio),e.xAxis.rotateLabel&&(c=e.height-e.area[2]+3),i.beginPath(),i.setFillStyle(e.background||"#ffffff"),e._scrollDistance_<0&&i.fillRect(0,0,o,c),1==e.enableScroll&&i.fillRect(l,0,e.width,c),i.closePath(),i.stroke();for(var d=[],f=0;f<=e.yAxis.splitNumber;f++)d.push(e.area[0]+r*f);for(var h=e.area[3],u=e.width-e.area[1],p=function(t){var n=e.yAxis.data[t];if(!0!==n.disabled){var r=e.chartData.yAxisData.rangesFormat[t],o=n.fontSize||a.fontSize,l=e.chartData.yAxisData.yAxisWidth[t];if(r.forEach((function(t,a){var r=d[a]?d[a]:s;i.beginPath(),i.setFontSize(o),i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(n.axisLineColor||"#cccccc"),i.setFillStyle(n.fontColor||"#666666"),"left"==l.position?(i.fillText(String(t),h-l.width,r+o/2),1==n.calibration&&(i.moveTo(h,r),i.lineTo(h-3*e.pixelRatio,r))):(i.fillText(String(t),u+4*e.pixelRatio,r+o/2),1==n.calibration&&(i.moveTo(u,r),i.lineTo(u+3*e.pixelRatio,r))),i.closePath(),i.stroke()})),!1!==n.axisLine&&(i.beginPath(),i.setStrokeStyle(n.axisLineColor||"#cccccc"),i.setLineWidth(1*e.pixelRatio),"left"==l.position?(i.moveTo(h,e.height-e.area[2]),i.lineTo(h,e.area[0])):(i.moveTo(u,e.height-e.area[2]),i.lineTo(u,e.area[0])),i.stroke()),e.yAxis.showTitle){var c=n.titleFontSize||a.fontSize,f=n.title;i.beginPath(),i.setFontSize(c),i.setFillStyle(n.titleFontColor||"#666666"),"left"==l.position?i.fillText(f,h-x(f,c)/2,e.area[0]-10*e.pixelRatio):i.fillText(f,u-x(f,c)/2,e.area[0]-10*e.pixelRatio),i.closePath(),i.stroke()}"left"==l.position?h-=l.width+e.yAxis.padding:u+=l.width+e.yAxis.padding}},g=0;g<e.yAxis.data.length;g++)p(g)}}function lt(t,e,a,i,n){if(!1!==e.legend.show){var r=n.legendData,o=r.points,l=r.area,s=e.legend.padding,c=e.legend.fontSize,d=15*e.pixelRatio,f=5*e.pixelRatio,h=e.legend.itemGap,u=Math.max(e.legend.lineHeight*e.pixelRatio,c);i.beginPath(),i.setLineWidth(e.legend.borderWidth),i.setStrokeStyle(e.legend.borderColor),i.setFillStyle(e.legend.backgroundColor),i.moveTo(l.start.x,l.start.y),i.rect(l.start.x,l.start.y,l.width,l.height),i.closePath(),i.fill(),i.stroke(),o.forEach((function(t,n){var o,p=0;p=r.widthArr[n],o=r.heightArr[n];var g=0,b=0;"top"==e.legend.position||"bottom"==e.legend.position?(g=l.start.x+(l.width-p)/2,b=l.start.y+s+n*u):(p=0==n?0:r.widthArr[n-1],g=l.start.x+s+p,b=l.start.y+s+(l.height-o)/2),i.setFontSize(a.fontSize);for(var v=0;v<t.length;v++){var y=t[v];switch(y.area=[0,0,0,0],y.area[0]=g,y.area[1]=b,y.area[3]=b+u,i.beginPath(),i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(y.show?y.color:e.legend.hiddenColor),i.setFillStyle(y.show?y.color:e.legend.hiddenColor),y.legendShape){case"line":i.moveTo(g,b+.5*u-2*e.pixelRatio),i.fillRect(g,b+.5*u-2*e.pixelRatio,15*e.pixelRatio,4*e.pixelRatio);break;case"triangle":i.moveTo(g+7.5*e.pixelRatio,b+.5*u-5*e.pixelRatio),i.lineTo(g+2.5*e.pixelRatio,b+.5*u+5*e.pixelRatio),i.lineTo(g+12.5*e.pixelRatio,b+.5*u+5*e.pixelRatio),i.lineTo(g+7.5*e.pixelRatio,b+.5*u-5*e.pixelRatio);break;case"diamond":i.moveTo(g+7.5*e.pixelRatio,b+.5*u-5*e.pixelRatio),i.lineTo(g+2.5*e.pixelRatio,b+.5*u),i.lineTo(g+7.5*e.pixelRatio,b+.5*u+5*e.pixelRatio),i.lineTo(g+12.5*e.pixelRatio,b+.5*u),i.lineTo(g+7.5*e.pixelRatio,b+.5*u-5*e.pixelRatio);break;case"circle":i.moveTo(g+7.5*e.pixelRatio,b+.5*u),i.arc(g+7.5*e.pixelRatio,b+.5*u,5*e.pixelRatio,0,2*Math.PI);break;case"rect":i.moveTo(g,b+.5*u-5*e.pixelRatio),i.fillRect(g,b+.5*u-5*e.pixelRatio,15*e.pixelRatio,10*e.pixelRatio);break;default:i.moveTo(g,b+.5*u-5*e.pixelRatio),i.fillRect(g,b+.5*u-5*e.pixelRatio,15*e.pixelRatio,10*e.pixelRatio)}i.closePath(),i.fill(),i.stroke(),g+=d+f;var m=.5*u+.5*c-2;i.beginPath(),i.setFontSize(c),i.setFillStyle(y.show?e.legend.fontColor:e.legend.hiddenColor),i.fillText(y.name,g,b+m),i.closePath(),i.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(g+=x(y.name,c)+h,y.area[2]=g):(y.area[2]=g+x(y.name,c)+h,g-=d+f,b+=u)}}))}}function st(t,e,a){a=0==a?1:a;for(var i=[],n=0;n<a;n++)i[n]=Math.random();return Math.floor(i.reduce((function(t,e){return t+e}))/a*(e-t))+t}function ct(t,e,a,i){for(var n=!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])){n=!0;break}if(t[0]<0||t[1]<0||t[2]>a||t[3]>i){n=!0;break}n=!1}return n}function dt(t,e,a,i,n,r){return{x:(e-a.xMin)*i+n,y:(a.yMax-t)*i+r}}function ft(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 ht(t,e){for(var a=0,i=0;i<e.length;i++){var n=e[i][0];1==e.length&&(n=e[i][0]);for(var r=0;r<n.length-1;r++){var o=n[r],l=n[r+1];ft(t,o,l)&&(a+=1)}}return a%2==1}function ut(t,e,a,i,n,r,l){for(var s=0;s<t.length;s++){var c=t[s],d=void 0,f=void 0,h=void 0,u=void 0,p=c.format?c.format(+c._proportion_.toFixed(2)):o.toFixed(100*c._proportion_)+"%";"right"==n?(d=0==s?(c.funnelArea[2]+l.x)/2:(c.funnelArea[2]+t[s-1].funnelArea[2])/2,f=d+2*r,h=c.funnelArea[1]+i/2,u=c.textSize||e.fontSize,a.setLineWidth(1*e.pixelRatio),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,h),a.lineTo(f,h),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(f,h),a.arc(f,h,2,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(u),a.setFillStyle(c.textColor||"#666666"),a.fillText(p,f+5,h+u/2-2),a.closePath(),a.stroke(),a.closePath()):(d=0==s?(c.funnelArea[0]+l.x)/2:(c.funnelArea[0]+t[s-1].funnelArea[0])/2,f=d-2*r,h=c.funnelArea[1]+i/2,u=c.textSize||e.fontSize,a.setLineWidth(1*e.pixelRatio),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,h),a.lineTo(f,h),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(f,h),a.arc(f,h,2,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(u),a.setFillStyle(c.textColor||"#666666"),a.fillText(p,f-5-x(p),h+u/2-2),a.closePath(),a.stroke(),a.closePath())}}function pt(t,e){e.draw()}var xt={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 gt(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)}}(),a=null,i=function(n){if(null===n||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===a&&(a=n),n-a<t.duration){var r=(n-a)/t.duration,o=xt[t.timing];r=o(r),t.onProcess&&t.onProcess(r),e(i,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};i=i.bind(this),e(i,17)}function bt(t,e,a,i){var n=this,s=e.series,c=e.categories;s=u(s,e,a);var h=e.animation?e.duration:0;n.animationInstance&&n.animationInstance.stop();var p=null;if("candle"==t){var g=r({},e.extra.candle.average);g.show?(p=function(t,e,a,i){for(var n=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:a[r]},l=0,s=i.length;l<s;l++)if(l<t[r])o.data.push(null);else{for(var c=0,d=0;d<t[r];d++)c+=i[l-d][1];o.data.push(+(c/t[r]).toFixed(3))}n.push(o)}return n}(g.day,g.name,g.color,s[0].data),p=u(p,e,a),e.seriesMA=p):p=e.seriesMA?e.seriesMA=u(e.seriesMA,e,a):s}else p=s;e._series_=s=function(t){for(var e=[],a=0;a<t.length;a++)1==t[a].show&&e.push(t[a]);return e}(s),e.area=new Array(4);for(var b=0;b<4;b++)e.area[b]=e.padding[b];var v=function(t,e,a,i){var n={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=n,n;var r=e.legend.padding,o=e.legend.margin,l=e.legend.fontSize,s=15*e.pixelRatio,c=5*e.pixelRatio,d=Math.max(e.legend.lineHeight*e.pixelRatio,l);if("top"==e.legend.position||"bottom"==e.legend.position){for(var f=[],h=0,u=[],p=[],g=0;g<t.length;g++){var b=t[g],v=s+c+x(b.name||"undefined",l)+e.legend.itemGap;h+v>e.width-e.padding[1]-e.padding[3]?(f.push(p),u.push(h-e.legend.itemGap),h=v,p=[b]):(h+=v,p.push(b))}if(p.length){f.push(p),u.push(h-e.legend.itemGap),n.widthArr=u;var y=Math.max.apply(null,u);switch(e.legend.float){case"left":n.area.start.x=e.padding[3],n.area.end.x=e.padding[3]+2*r;break;case"right":n.area.start.x=e.width-e.padding[1]-y-2*r,n.area.end.x=e.width-e.padding[1];break;default:n.area.start.x=(e.width-y)/2-r,n.area.end.x=(e.width+y)/2+r}n.area.width=y+2*r,n.area.wholeWidth=y+2*r,n.area.height=f.length*d+2*r,n.area.wholeHeight=f.length*d+2*r+2*o,n.points=f}}else{var m=t.length,w=e.height-e.padding[0]-e.padding[2]-2*o-2*r,_=Math.min(Math.floor(w/d),m);switch(n.area.height=_*d+2*r,n.area.wholeHeight=_*d+2*r,e.legend.float){case"top":n.area.start.y=e.padding[0]+o,n.area.end.y=e.padding[0]+o+n.area.height;break;case"bottom":n.area.start.y=e.height-e.padding[2]-o-n.area.height,n.area.end.y=e.height-e.padding[2]-o;break;default:n.area.start.y=(e.height-n.area.height)/2,n.area.end.y=(e.height+n.area.height)/2}for(var k=m%_===0?m/_:Math.floor(m/_+1),A=[],S=0;S<k;S++){var D=t.slice(S*_,S*_+_);A.push(D)}if(n.points=A,A.length){for(var T=0;T<A.length;T++){for(var P=A[T],M=0,C=0;C<P.length;C++){var F=s+c+x(P[C].name||"undefined",l)+e.legend.itemGap;F>M&&(M=F)}n.widthArr.push(M),n.heightArr.push(P.length*d+2*r)}for(var L=0,R=0;R<n.widthArr.length;R++)L+=n.widthArr[R];n.area.width=L-e.legend.itemGap+2*r,n.area.wholeWidth=n.area.width+r}}switch(e.legend.position){case"top":n.area.start.y=e.padding[0]+o,n.area.end.y=e.padding[0]+o+n.area.height;break;case"bottom":n.area.start.y=e.height-e.padding[2]-n.area.height-o,n.area.end.y=e.height-e.padding[2]-o;break;case"left":n.area.start.x=e.padding[3],n.area.end.x=e.padding[3]+n.area.width;break;case"right":n.area.start.x=e.width-e.padding[1]-n.area.width,n.area.end.x=e.width-e.padding[1];break}return i.legendData=n,n}(p,e,0,e.chartData),y=v.area.wholeHeight,_=v.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=y;break;case"bottom":e.area[2]+=y;break;case"left":e.area[3]+=_;break;case"right":e.area[1]+=_;break}var k={},A=0;if("line"===e.type||"column"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type){if(k=q(s,e,a),A=k.yAxisWidth,e.yAxis.showTitle){for(var S=0,D=0;D<e.yAxis.data.length;D++)S=Math.max(S,e.yAxis.data[D].titleFontSize?e.yAxis.data[D].titleFontSize:a.fontSize);e.area[0]+=(S+6)*e.pixelRatio}for(var Y=0,tt=0,at=0;at<A.length;at++)"left"==A[at].position?(e.area[3]+=tt>0?A[at].width+e.yAxis.padding:A[at].width,tt+=1):(e.area[1]+=Y>0?A[at].width+e.yAxis.padding:A[at].width,Y+=1)}else a.yAxisWidth=A;if(e.chartData.yAxisData=k,e.categories&&e.categories.length){e.chartData.xAxisData=B(e.categories,e);var ft=P(e.categories,e,a,e.chartData.xAxisData.eachSpacing),ht=ft.xAxisHeight,xt=ft.angle;a.xAxisHeight=ht,a._xAxisTextAngle_=xt,e.area[2]+=ht,e.chartData.categoriesData=ft}else if("line"===e.type||"area"===e.type||"points"===e.type){e.chartData.xAxisData=M(s,e,a),c=e.chartData.xAxisData.rangesFormat;var bt=P(c,e,a,e.chartData.xAxisData.eachSpacing),vt=bt.xAxisHeight,yt=bt.angle;a.xAxisHeight=vt,a._xAxisTextAngle_=yt,e.area[2]+=vt,e.chartData.categoriesData=bt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var mt,wt=e.chartData.xAxisData.xAxisPoints,_t=e.chartData.xAxisData.startX,kt=e.chartData.xAxisData.endX,At=e.chartData.xAxisData.eachSpacing,St=At*(wt.length-1),Dt=kt-_t;mt=Dt-St,n.scrollOption={currentOffset:mt,startTouchX:mt,distance:0,lastMoveTime:0},e._scrollDistance_=mt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(a._pieTextMaxLength_=!1===e.dataLabel?0:function(t){t=F(t);for(var e=0,a=0;a<t.length;a++){var i=t[a],n=i.format?i.format(+i._proportion_.toFixed(2)):o.toFixed(100*i._proportion_)+"%";e=Math.max(e,x(n))}return e}(p)),t){case"word":var Tt=r({},{type:"normal",autoColors:!0},e.extra.word);1!=e.updateData&&void 0!=e.updateData||(e.chartData.wordCloudData=function(t,e){var a=t.series.sort((function(t,e){return parseInt(e.textSize)-parseInt(t.textSize)}));switch(e){case"normal":for(var i=0;i<a.length;i++){var n=a[i].name,r=a[i].textSize,o=x(n,r),l=void 0,s=void 0,c=void 0,d=0;while(1){d++,l=st(-t.width/2,t.width/2,5)-o/2,s=st(-t.height/2,t.height/2,5)+r/2,c=[l-5+t.width/2,s-5-r+t.height/2,l+o+5+t.width/2,s+5+t.height/2];var f=ct(c,a,t.width,t.height);if(!f)break;if(1e3==d){c=[-100,-100,-100,-100];break}}a[i].area=c}break;case"vertical":for(var h=function(){return Math.random()>.7},u=0;u<a.length;u++){var p=a[u].name,g=a[u].textSize,b=x(p,g),v=h(),y=void 0,m=void 0,w=void 0,_=void 0,k=0;while(1){k++;var A=void 0;if(v?(y=st(-t.width/2,t.width/2,5)-b/2,m=st(-t.height/2,t.height/2,5)+g/2,w=[m-5-b+t.width/2,-y-5+t.height/2,m+5+t.width/2,-y+g+5+t.height/2],_=[t.width-(t.width/2-t.height/2)-(-y+g+5+t.height/2)-5,t.height/2-t.width/2+(m-5-b+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+(m-5-b+t.width/2)+b+5],A=ct(_,a,t.height,t.width)):(y=st(-t.width/2,t.width/2,5)-b/2,m=st(-t.height/2,t.height/2,5)+g/2,w=[y-5+t.width/2,m-5-g+t.height/2,y+b+5+t.width/2,m+5+t.height/2],A=ct(w,a,t.width,t.height)),!A)break;if(1e3==k){w=[-1e3,-1e3,-1e3,-1e3];break}}v?(a[u].area=_,a[u].areav=w):a[u].area=w,a[u].rotate=v}break}return a}(e,Tt.type)),this.animationInstance=new gt({timing:"easeInOut",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;r({},{type:"normal",autoColors:!0},e.extra.word),i.beginPath(),i.setFillStyle(e.background||"#FFFFFF"),i.rect(0,0,e.width,e.height),i.fill(),i.save();var o=e.chartData.wordCloudData;i.translate(e.width/2,e.height/2);for(var l=0;l<o.length;l++){i.save(),o[l].rotate&&i.rotate(90*Math.PI/180);var s=o[l].name,c=o[l].textSize,d=x(s,c);i.beginPath(),i.setStrokeStyle(o[l].color),i.setFillStyle(o[l].color),i.setFontSize(c),o[l].rotate?o[l].areav[0]>0&&(e.tooltip&&e.tooltip.index==l?i.strokeText(s,(o[l].areav[0]+5-e.width/2)*n-d*(1-n)/2,(o[l].areav[1]+5+c-e.height/2)*n):i.fillText(s,(o[l].areav[0]+5-e.width/2)*n-d*(1-n)/2,(o[l].areav[1]+5+c-e.height/2)*n)):o[l].area[0]>0&&(e.tooltip&&e.tooltip.index==l?i.strokeText(s,(o[l].area[0]+5-e.width/2)*n-d*(1-n)/2,(o[l].area[1]+5+c-e.height/2)*n):i.fillText(s,(o[l].area[0]+5-e.width/2)*n-d*(1-n)/2,(o[l].area[1]+5+c-e.height/2)*n)),i.stroke(),i.restore()}i.restore()}(s,e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"map":i.clearRect(0,0,e.width,e.height),function(t,e,a,i){var n,o,s=r({},{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),c=t,d=function(t){for(var e,a={xMin:180,xMax:0,yMin:90,yMax:0},i=0;i<t.length;i++)for(var n=t[i].geometry.coordinates,r=0;r<n.length;r++){e=n[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var l=e[o][0],s=e[o][1],c={x:l,y:s};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}(c),f=e.width/Math.abs(d.xMax-d.xMin),h=e.height/Math.abs(d.yMax-d.yMin),u=f<h?f:h,p=e.width/2-Math.abs(d.xMax-d.xMin)/2*u,g=e.height/2-Math.abs(d.yMax-d.yMin)/2*u;i.beginPath(),i.clearRect(0,0,e.width,e.height),i.setFillStyle(e.background||"#FFFFFF"),i.rect(0,0,e.width,e.height),i.fill();for(var b=0;b<c.length;b++){i.beginPath(),i.setLineWidth(s.borderWidth*e.pixelRatio),i.setStrokeStyle(s.borderColor),i.setFillStyle(l(t[b].color,s.fillOpacity)),e.tooltip&&e.tooltip.index==b&&(i.setStrokeStyle(s.activeBorderColor),i.setFillStyle(l(s.activeFillColor,s.activeFillOpacity)));for(var v=c[b].geometry.coordinates,y=0;y<v.length;y++){n=v[y],1==n.length&&(n=n[0]);for(var m=0;m<n.length;m++)o=dt(n[m][1],n[m][0],d,u,p,g),0===m?(i.beginPath(),i.moveTo(o.x,o.y)):i.lineTo(o.x,o.y);i.fill(),1==s.border&&i.stroke()}if(1==e.dataLabel){var w=c[b].properties.centroid;if(w){o=dt(w[1],w[0],d,u,p,g);var _=c[b].textSize||a.fontSize,k=c[b].properties.name;i.beginPath(),i.setFontSize(_),i.setFillStyle(c[b].textColor||"#666666"),i.fillText(k,o.x-x(k,_)/2,o.y+_/2),i.closePath(),i.stroke()}}}e.chartData.mapData={bounds:d,scale:u,xoffset:p,yoffset:g},it(e,a,i,1),i.draw()}(s,e,a,i);break;case"funnel":this.animationInstance=new gt({timing:"easeInOut",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),e.chartData.funnelData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=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,c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},d=o.activeWidth,f=Math.min((e.width-e.area[1]-e.area[3])/2-d,(e.height-e.area[0]-e.area[2])/2-d);t=L(t,f,n),i.save(),i.translate(c.x,c.y);for(var h=0;h<t.length;h++)0==h?(e.tooltip&&e.tooltip.index==h&&(i.beginPath(),i.setFillStyle(l(t[h].color,o.activeOpacity)),i.moveTo(-d,0),i.lineTo(-t[h].radius-d,-s),i.lineTo(t[h].radius+d,-s),i.lineTo(d,0),i.lineTo(-d,0),i.closePath(),i.fill()),t[h].funnelArea=[c.x-t[h].radius,c.y-s,c.x+t[h].radius,c.y],i.beginPath(),i.setLineWidth(o.borderWidth*e.pixelRatio),i.setStrokeStyle(o.borderColor),i.setFillStyle(l(t[h].color,o.fillOpacity)),i.moveTo(0,0),i.lineTo(-t[h].radius,-s),i.lineTo(t[h].radius,-s),i.lineTo(0,0),i.closePath(),i.fill(),1==o.border&&i.stroke()):(e.tooltip&&e.tooltip.index==h&&(i.beginPath(),i.setFillStyle(l(t[h].color,o.activeOpacity)),i.moveTo(0,0),i.lineTo(-t[h-1].radius-d,0),i.lineTo(-t[h].radius-d,-s),i.lineTo(t[h].radius+d,-s),i.lineTo(t[h-1].radius+d,0),i.lineTo(0,0),i.closePath(),i.fill()),t[h].funnelArea=[c.x-t[h].radius,c.y-s*(h+1),c.x+t[h].radius,c.y-s*h],i.beginPath(),i.setLineWidth(o.borderWidth*e.pixelRatio),i.setStrokeStyle(o.borderColor),i.setFillStyle(l(t[h].color,o.fillOpacity)),i.moveTo(0,0),i.lineTo(-t[h-1].radius,0),i.lineTo(-t[h].radius,-s),i.lineTo(t[h].radius,-s),i.lineTo(t[h-1].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==o.border&&i.stroke()),i.translate(0,-s);return i.restore(),!1!==e.dataLabel&&1===n&&ut(t,e,i,s,o.labelAlign,d,c),{center:c,radius:f,series:t}}(s,e,a,i,t),lt(e.series,e,a,i,e.chartData),it(e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"line":this.animationInstance=new gt({timing:"easeIn",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),rt(0,e,0,i),nt(c,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=r({},{type:"straight",width:2},e.extra.line);o.width*=e.pixelRatio;var l=e.chartData.xAxisData,s=l.xAxisPoints,c=l.eachSpacing,f=[];i.save();var h=0,u=e.width+c;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),h=-e._scrollDistance_-c+e.area[3],u=h+(e.xAxis.itemCount+4)*c),t.forEach((function(t,r){var l,p,x;l=[].concat(e.chartData.yAxisData.ranges[t.index]),p=l.pop(),x=l.shift();var g=t.data,b=G(g,p,x,s,c,e,a,n);f.push(b);var v=T(b);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pixelRatio,i.setLineDash([y,y])}i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(o.width),v.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 n=0;n<t.length;n++){var r=t[n];if(0==a&&r.x>h&&(i.moveTo(r.x,r.y),a=1),n>0&&r.x>h&&r.x<u){var l=d(t,n-1);i.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 c=t[s];0==a&&c.x>h&&(i.moveTo(c.x,c.y),a=1),s>0&&c.x>h&&c.x<u&&i.lineTo(c.x,c.y)}i.moveTo(t[0].x,t[0].y)}})),i.stroke(),i.setLineDash([]),!1!==e.dataPointShape&&U(b,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===n&&t.forEach((function(t,r){var o,l,d;o=[].concat(e.chartData.yAxisData.ranges[t.index]),l=o.pop(),d=o.shift();var f=t.data,h=G(f,l,d,s,c,e,a,n);V(h,t,a,i)})),i.restore(),{xAxisPoints:s,calPoints:f,eachSpacing:c}}(s,e,a,i,t),o=n.xAxisPoints,l=n.calPoints,f=n.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=f,ot(0,e,a,i),!1!==e.enableMarkLine&&1===t&&$(e,a,i),lt(e.series,e,a,i,e.chartData),it(e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"mix":this.animationInstance=new gt({timing:"easeIn",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),rt(0,e,0,i),nt(c,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=e.chartData.xAxisData,o=r.xAxisPoints,s=r.eachSpacing,c=e.height-e.area[2],f=[],h=0,u=0;t.forEach((function(t,e){"column"==t.type&&(u+=1)})),i.save();var p=-2,x=o.length+2,g=0,b=e.width+s;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),p=Math.floor(-e._scrollDistance_/s)-2,x=p+e.xAxis.itemCount+4,g=-e._scrollDistance_-s+e.area[3],b=g+(e.xAxis.itemCount+4)*s),t.forEach((function(t,r){var v,y,m;v=[].concat(e.chartData.yAxisData.ranges[t.index]),y=v.pop(),m=v.shift();var w=t.data,_=G(w,y,m,o,s,e,a,n);if(f.push(_),"column"==t.type){_=j(_,s,u,h,a,e);for(var k=0;k<_.length;k++){var A=_[k];if(null!==A&&k>p&&k<x){i.beginPath(),i.setStrokeStyle(A.color||t.color),i.setLineWidth(1),i.setFillStyle(A.color||t.color);var S=A.x-A.width/2;e.height,A.y,e.area[2];i.moveTo(S,A.y),i.moveTo(S-1,A.y),i.lineTo(S+A.width-2,A.y),i.lineTo(S+A.width-2,e.height-e.area[2]),i.lineTo(S,e.height-e.area[2]),i.lineTo(S,A.y),i.closePath(),i.stroke(),i.fill(),i.closePath(),i.fill()}}h+=1}if("area"==t.type)for(var D=T(_),P=0;P<D.length;P++){var M=D[P];if(i.beginPath(),i.setStrokeStyle(t.color),i.setFillStyle(l(t.color,.2)),i.setLineWidth(2*e.pixelRatio),M.length>1){var C=M[0],F=M[M.length-1];i.moveTo(C.x,C.y);var L=0;if("curve"===t.style)for(var R=0;R<M.length;R++){var z=M[R];if(0==L&&z.x>g&&(i.moveTo(z.x,z.y),L=1),R>0&&z.x>g&&z.x<b){var I=d(M,R-1);i.bezierCurveTo(I.ctrA.x,I.ctrA.y,I.ctrB.x,I.ctrB.y,z.x,z.y)}}else for(var O=0;O<M.length;O++){var E=M[O];0==L&&E.x>g&&(i.moveTo(E.x,E.y),L=1),O>0&&E.x>g&&E.x<b&&i.lineTo(E.x,E.y)}i.lineTo(F.x,c),i.lineTo(C.x,c),i.lineTo(C.x,C.y)}else{var W=M[0];i.moveTo(W.x-s/2,W.y),i.lineTo(W.x+s/2,W.y),i.lineTo(W.x+s/2,c),i.lineTo(W.x-s/2,c),i.moveTo(W.x-s/2,W.y)}i.closePath(),i.fill()}if("line"==t.type){var B=T(_);B.forEach((function(a,n){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pixelRatio,i.setLineDash([r,r])}if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(2*e.pixelRatio),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 o=0;if("curve"==t.style)for(var l=0;l<a.length;l++){var s=a[l];if(0==o&&s.x>g&&(i.moveTo(s.x,s.y),o=1),l>0&&s.x>g&&s.x<b){var c=d(a,l-1);i.bezierCurveTo(c.ctrA.x,c.ctrA.y,c.ctrB.x,c.ctrB.y,s.x,s.y)}}else for(var f=0;f<a.length;f++){var h=a[f];0==o&&h.x>g&&(i.moveTo(h.x,h.y),o=1),f>0&&h.x>g&&h.x<b&&i.lineTo(h.x,h.y)}i.moveTo(a[0].x,a[0].y)}i.stroke(),i.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&U(_,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===n){h=0;t.forEach((function(t,r){var l,c,d;l=[].concat(e.chartData.yAxisData.ranges[t.index]),c=l.pop(),d=l.shift();var f=t.data,p=G(f,c,d,o,s,e,a,n);"column"!==t.type?V(p,t,a,i):(p=j(p,s,u,h,a,e),V(p,t,a,i),h+=1)}))}return i.restore(),{xAxisPoints:o,calPoints:f,eachSpacing:s}}(s,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,f=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=f,ot(0,e,a,i),!1!==e.enableMarkLine&&1===t&&$(e,a,i),lt(e.series,e,a,i,e.chartData),it(e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"column":this.animationInstance=new gt({timing:"easeIn",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),rt(0,e,0,i),nt(c,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,s=o.eachSpacing,c=r({},{type:"group",width:s/2,meter:{border:4,fillColor:"#FFFFFF"}},e.extra.column),d=[];i.save();var f=-2,h=l.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/s)-2,h=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===n&&et(e.tooltip.offset.x,e,0,i,s),t.forEach((function(r,o){var u,p,x;u=[].concat(e.chartData.yAxisData.ranges[r.index]),p=u.pop(),x=u.shift();var g=r.data;switch(c.type){case"group":var b=G(g,p,x,l,s,e,a,n),v=H(g,p,x,l,s,e,a,o,t,n);d.push(v),b=j(b,s,t.length,o,a,e);for(var y=0;y<b.length;y++){var m=b[y];if(null!==m&&y>f&&y<h){i.beginPath(),i.setStrokeStyle(m.color||r.color),i.setLineWidth(1),i.setFillStyle(m.color||r.color);var w=m.x-m.width/2,_=e.height-m.y-e.area[2];i.moveTo(w-1,m.y),i.lineTo(w+m.width-2,m.y),i.lineTo(w+m.width-2,e.height-e.area[2]),i.lineTo(w,e.height-e.area[2]),i.lineTo(w,m.y),i.closePath(),i.stroke(),i.fill()}}break;case"stack":b=H(g,p,x,l,s,e,a,o,t,n);d.push(b),b=W(b,s,t.length,0,a,e);for(var k=0;k<b.length;k++){var A=b[k];if(null!==A&&k>f&&k<h){i.beginPath(),i.setFillStyle(A.color||r.color);w=A.x-A.width/2+1,_=e.height-A.y-e.area[2];var S=e.height-A.y0-e.area[2];o>0&&(_-=S),i.moveTo(w,A.y),i.fillRect(w,A.y,A.width-2,_),i.closePath(),i.fill()}}break;case"meter":b=G(g,p,x,l,s,e,a,n);if(d.push(b),b=E(b,s,t.length,o,a,e,c.meter.border),0==o)for(var D=0;D<b.length;D++){var T=b[D];if(null!==T&&D>f&&D<h){i.beginPath(),i.setFillStyle(c.meter.fillColor);w=T.x-T.width/2,_=e.height-T.y-e.area[2];i.moveTo(w,T.y),i.fillRect(w,T.y,T.width,_),i.closePath(),i.fill(),c.meter.border>0&&(i.beginPath(),i.setStrokeStyle(r.color),i.setLineWidth(c.meter.border*e.pixelRatio),i.moveTo(w+.5*c.meter.border,T.y+_),i.lineTo(w+.5*c.meter.border,T.y+.5*c.meter.border),i.lineTo(w+T.width-.5*c.meter.border,T.y+.5*c.meter.border),i.lineTo(w+T.width-.5*c.meter.border,T.y+_),i.stroke())}}else for(var P=0;P<b.length;P++){var M=b[P];if(null!==M&&P>f&&P<h){i.beginPath(),i.setFillStyle(M.color||r.color);w=M.x-M.width/2,_=e.height-M.y-e.area[2];i.moveTo(w,M.y),i.fillRect(w,M.y,M.width,_),i.closePath(),i.fill()}}break}})),!1!==e.dataLabel&&1===n&&t.forEach((function(r,o){var d,f,h;d=[].concat(e.chartData.yAxisData.ranges[r.index]),f=d.pop(),h=d.shift();var u=r.data;switch(c.type){case"group":var p=G(u,f,h,l,s,e,a,n);p=j(p,s,t.length,o,a,e),V(p,r,a,i);break;case"stack":p=H(u,f,h,l,s,e,a,o,t,n);V(p,r,a,i);break;case"meter":p=G(u,f,h,l,s,e,a,n);V(p,r,a,i);break}})),i.restore(),{xAxisPoints:l,calPoints:d,eachSpacing:s}}(s,e,a,i,t),o=n.xAxisPoints,l=n.calPoints,d=n.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=d,ot(0,e,a,i),!1!==e.enableMarkLine&&1===t&&$(e,a,i),lt(e.series,e,a,i,e.chartData),it(e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"area":this.animationInstance=new gt({timing:"easeIn",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),rt(0,e,0,i),nt(c,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=r({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),s=e.chartData.xAxisData,c=s.xAxisPoints,f=s.eachSpacing,h=e.height-e.area[2],u=[];i.save();var p=0,x=e.width+f;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),p=-e._scrollDistance_-f+e.area[3],x=p+(e.xAxis.itemCount+4)*f),t.forEach((function(t,r){var s,g,b;s=[].concat(e.chartData.yAxisData.ranges[t.index]),g=s.pop(),b=s.shift();var v=t.data,y=G(v,g,b,c,f,e,a,n);u.push(y);for(var m=T(y),w=0;w<m.length;w++){var _=m[w];if(i.beginPath(),i.setStrokeStyle(l(t.color,o.opacity)),o.gradient){var k=i.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);k.addColorStop("0",l(t.color,o.opacity)),k.addColorStop("1.0",l("#FFFFFF",.1)),i.setFillStyle(k)}else i.setFillStyle(l(t.color,o.opacity));if(i.setLineWidth(o.width*e.pixelRatio),_.length>1){var A=_[0],S=_[_.length-1];i.moveTo(A.x,A.y);var D=0;if("curve"===o.type)for(var P=0;P<_.length;P++){var M=_[P];if(0==D&&M.x>p&&(i.moveTo(M.x,M.y),D=1),P>0&&M.x>p&&M.x<x){var C=d(_,P-1);i.bezierCurveTo(C.ctrA.x,C.ctrA.y,C.ctrB.x,C.ctrB.y,M.x,M.y)}}else for(var F=0;F<_.length;F++){var L=_[F];0==D&&L.x>p&&(i.moveTo(L.x,L.y),D=1),F>0&&L.x>p&&L.x<x&&i.lineTo(L.x,L.y)}i.lineTo(S.x,h),i.lineTo(A.x,h),i.lineTo(A.x,A.y)}else{var R=_[0];i.moveTo(R.x-f/2,R.y),i.lineTo(R.x+f/2,R.y),i.lineTo(R.x+f/2,h),i.lineTo(R.x-f/2,h),i.moveTo(R.x-f/2,R.y)}if(i.closePath(),i.fill(),o.addLine){if("dash"==t.lineType){var z=t.dashLength?t.dashLength:8;z*=e.pixelRatio,i.setLineDash([z,z])}if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(o.width*e.pixelRatio),1===_.length)i.moveTo(_[0].x,_[0].y),i.arc(_[0].x,_[0].y,1,0,2*Math.PI);else{i.moveTo(_[0].x,_[0].y);var I=0;if("curve"===o.type)for(var O=0;O<_.length;O++){var j=_[O];if(0==I&&j.x>p&&(i.moveTo(j.x,j.y),I=1),O>0&&j.x>p&&j.x<x){var E=d(_,O-1);i.bezierCurveTo(E.ctrA.x,E.ctrA.y,E.ctrB.x,E.ctrB.y,j.x,j.y)}}else for(var W=0;W<_.length;W++){var B=_[W];0==I&&B.x>p&&(i.moveTo(B.x,B.y),I=1),W>0&&B.x>p&&B.x<x&&i.lineTo(B.x,B.y)}i.moveTo(_[0].x,_[0].y)}i.stroke(),i.setLineDash([])}}!1!==e.dataPointShape&&U(y,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===n&&t.forEach((function(t,r){var o,l,s;o=[].concat(e.chartData.yAxisData.ranges[t.index]),l=o.pop(),s=o.shift();var d=t.data,h=G(d,l,s,c,f,e,a,n);V(h,t,a,i)})),i.restore(),{xAxisPoints:c,calPoints:u,eachSpacing:f}}(s,e,a,i,t),o=n.xAxisPoints,f=n.calPoints,h=n.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=f,e.chartData.eachSpacing=h,ot(0,e,a,i),!1!==e.enableMarkLine&&1===t&&$(e,a,i),lt(e.series,e,a,i,e.chartData),it(e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"ring":case"pie":this.animationInstance=new gt({timing:"easeInOut",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),e.chartData.pieData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=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==a.pieChartLinePadding&&(a.pieChartLinePadding=o.activeRadius);var c=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);t=F(t,c,n);var d=o.activeRadius;if(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(l(t.color,e.extra.pie.activeOpacity||.5)),i.moveTo(s.x,s.y),i.arc(s.x,s.y,t._radius_+d,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(o.borderWidth*e.pixelRatio),i.lineJoin="round",i.setStrokeStyle(o.borderColor),i.setFillStyle(t.color),i.moveTo(s.x,s.y),i.arc(s.x,s.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 f=.6*c;"number"===typeof e.extra.pie.ringWidth&&e.extra.pie.ringWidth>0&&(f=Math.max(0,c-e.extra.pie.ringWidth)),i.beginPath(),i.setFillStyle(e.background||"#ffffff"),i.moveTo(s.x,s.y),i.arc(s.x,s.y,f,0,2*Math.PI),i.closePath(),i.fill()}if(!1!==e.dataLabel&&1===n){for(var h=!1,u=0,p=t.length;u<p;u++)if(t[u].data>0){h=!0;break}h&&K(t,e,a,i,0,s)}return 1===n&&"ring"===e.type&&Z(e,a,i,s),{center:s,radius:c,series:t}}(s,e,a,i,t),lt(e.series,e,a,i,e.chartData),it(e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"rose":this.animationInstance=new gt({timing:"easeInOut",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),e.chartData.pieData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=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==a.pieChartLinePadding&&(a.pieChartLinePadding=o.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},c=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),d=o.minRadius||.5*c;t=R(t,o.type,d,c,n);var f=o.activeRadius;if(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(l(t.color,o.activeOpacity||.5)),i.moveTo(s.x,s.y),i.arc(s.x,s.y,f+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(o.borderWidth*e.pixelRatio),i.lineJoin="round",i.setStrokeStyle(o.borderColor),i.setFillStyle(t.color),i.moveTo(s.x,s.y),i.arc(s.x,s.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===n){for(var h=!1,u=0,p=t.length;u<p;u++)if(t[u].data>0){h=!0;break}h&&K(t,e,a,i,0,s)}return{center:s,radius:c,series:t}}(s,e,a,i,t),lt(e.series,e,a,i,e.chartData),it(e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"radar":this.animationInstance=new gt({timing:"easeInOut",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),e.chartData.radarData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=r({},{gridColor:"#cccccc",labelColor:"#666666",opacity:.2,gridCount:3},e.extra.radar),s=w(e.categories.length),c={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},d=Math.min(c.x-(m(e.categories)+a.radarLabelTextMargin),c.y-a.radarLabelTextMargin);d-=e.padding[1],i.beginPath(),i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(o.gridColor),s.forEach((function(t){var e=f(d*Math.cos(t),d*Math.sin(t),c);i.moveTo(c.x,c.y),i.lineTo(e.x,e.y)})),i.stroke(),i.closePath();for(var h=function(t){var a={};i.beginPath(),i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(o.gridColor),s.forEach((function(e,n){var r=f(d/o.gridCount*t*Math.cos(e),d/o.gridCount*t*Math.sin(e),c);0===n?(a=r,i.moveTo(r.x,r.y)):i.lineTo(r.x,r.y)})),i.lineTo(a.x,a.y),i.stroke(),i.closePath()},u=1;u<=o.gridCount;u++)h(u);var p=C(s,c,d,t,e,n);return p.forEach((function(t,a){if(i.beginPath(),i.setFillStyle(l(t.color,o.opacity)),t.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(),!1!==e.dataPointShape){var n=t.data.map((function(t){return t.position}));U(n,t.color,t.pointShape,i,e)}})),J(s,d,c,e,a,i),{center:c,radius:d,angleList:s}}(s,e,a,i,t),lt(e.series,e,a,i,e.chartData),it(e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new gt({timing:"easeInOut",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),e.chartData.arcbarData=function(t,e,a,i){var n,o,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=z(t,s,l),n=s.center?s.center:{x:e.width/2,y:e.height/2},s.radius?o=s.radius:(o=Math.min(n.x,n.y),o-=5*e.pixelRatio,o-=s.width/2);for(var c=0;c<t.length;c++){var d=t[c];i.setLineWidth(s.width),i.setStrokeStyle(s.backgroundColor||"#E9E9E9"),i.setLineCap("round"),i.beginPath(),"default"==s.type?i.arc(n.x,n.y,o-(s.width+s.gap)*c,s.startAngle*Math.PI,s.endAngle*Math.PI,!1):i.arc(n.x,n.y,o-(s.width+s.gap)*c,0,2*Math.PI,!1),i.stroke(),i.setLineWidth(s.width),i.setStrokeStyle(d.color),i.setLineCap("round"),i.beginPath(),i.arc(n.x,n.y,o-(s.width+s.gap)*c,s.startAngle*Math.PI,d._proportion_*Math.PI,!1),i.stroke()}return Z(e,a,i,n),{center:n,radius:o,series:t}}(s,e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new gt({timing:"easeInOut",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),e.chartData.gaugeData=function(t,e,a,i,n){var o=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"}},a.extra.gauge);void 0==s.oldAngle&&(s.oldAngle=s.startAngle),void 0==s.oldData&&(s.oldData=0),t=I(t,s.startAngle,s.endAngle);var c={x:a.width/2,y:a.height/2},d=Math.min(c.x,c.y);d-=5*a.pixelRatio,d-=s.width/2;var f=d-s.width,h=0;if("progress"==s.type){var u=d-3*s.width;n.beginPath();var p=n.createLinearGradient(c.x,c.y-u,c.x,c.y+u);p.addColorStop("0",l(e[0].color,.3)),p.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(p),n.arc(c.x,c.y,u,0,2*Math.PI,!1),n.fill(),n.setLineWidth(s.width),n.setStrokeStyle(l(e[0].color,.3)),n.setLineCap("round"),n.beginPath(),n.arc(c.x,c.y,f,s.startAngle*Math.PI,s.endAngle*Math.PI,!1),n.stroke(),h=s.startAngle-s.endAngle+1;s.splitLine.splitNumber;var x=h/s.splitLine.splitNumber/s.splitLine.childNumber,g=-d-.5*s.width-s.splitLine.fixRadius,b=-d-s.width-s.splitLine.fixRadius+s.splitLine.width;n.save(),n.translate(c.x,c.y),n.rotate((s.startAngle-1)*Math.PI);for(var v=s.splitLine.splitNumber*s.splitLine.childNumber+1,y=e[0].data*o,m=0;m<v;m++)n.beginPath(),y>m/v?n.setStrokeStyle(l(e[0].color,1)):n.setStrokeStyle(l(e[0].color,.3)),n.setLineWidth(3*a.pixelRatio),n.moveTo(g,0),n.lineTo(b,0),n.stroke(),n.rotate(x*Math.PI);n.restore(),e=z(e,s,o),n.setLineWidth(s.width),n.setStrokeStyle(e[0].color),n.setLineCap("round"),n.beginPath(),n.arc(c.x,c.y,f,s.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),n.stroke();var w=d-2.5*s.width;n.save(),n.translate(c.x,c.y),n.rotate((e[0]._proportion_-1)*Math.PI),n.beginPath(),n.setLineWidth(s.width/3);var _=n.createLinearGradient(0,.6*-w,0,.6*w);_.addColorStop("0",l("#FFFFFF",0)),_.addColorStop("0.5",l(e[0].color,1)),_.addColorStop("1.0",l("#FFFFFF",0)),n.setStrokeStyle(_),n.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),n.stroke(),n.beginPath(),n.setLineWidth(1),n.setStrokeStyle(e[0].color),n.setFillStyle(e[0].color),n.moveTo(-w-s.width/3/2,-4),n.lineTo(-w-s.width/3/2-4,0),n.lineTo(-w-s.width/3/2,4),n.lineTo(-w-s.width/3/2,-4),n.stroke(),n.fill(),n.restore()}else{n.setLineWidth(s.width),n.setLineCap("butt");for(var k=0;k<t.length;k++){var A=t[k];n.beginPath(),n.setStrokeStyle(A.color),n.arc(c.x,c.y,d,A._startAngle_*Math.PI,A._endAngle_*Math.PI,!1),n.stroke()}n.save(),h=s.startAngle-s.endAngle+1;var S=h/s.splitLine.splitNumber,D=h/s.splitLine.splitNumber/s.splitLine.childNumber,T=-d-.5*s.width-s.splitLine.fixRadius,P=-d-.5*s.width-s.splitLine.fixRadius+s.splitLine.width,M=-d-.5*s.width-s.splitLine.fixRadius+s.splitLine.childWidth;n.translate(c.x,c.y),n.rotate((s.startAngle-1)*Math.PI);for(var C=0;C<s.splitLine.splitNumber+1;C++)n.beginPath(),n.setStrokeStyle(s.splitLine.color),n.setLineWidth(2*a.pixelRatio),n.moveTo(T,0),n.lineTo(P,0),n.stroke(),n.rotate(S*Math.PI);n.restore(),n.save(),n.translate(c.x,c.y),n.rotate((s.startAngle-1)*Math.PI);for(var F=0;F<s.splitLine.splitNumber*s.splitLine.childNumber+1;F++)n.beginPath(),n.setStrokeStyle(s.splitLine.color),n.setLineWidth(1*a.pixelRatio),n.moveTo(T,0),n.lineTo(M,0),n.stroke(),n.rotate(D*Math.PI);n.restore(),e=O(e,t,s,o);for(var L=0;L<e.length;L++){var R=e[L];n.save(),n.translate(c.x,c.y),n.rotate((R._proportion_-1)*Math.PI),n.beginPath(),n.setFillStyle(R.color),n.moveTo(s.pointer.width,0),n.lineTo(0,-s.pointer.width/2),n.lineTo(-f,0),n.lineTo(0,s.pointer.width/2),n.lineTo(s.pointer.width,0),n.closePath(),n.fill(),n.beginPath(),n.setFillStyle("#FFFFFF"),n.arc(0,0,s.pointer.width/6,0,2*Math.PI,!1),n.fill(),n.restore()}!1!==a.dataLabel&&Q(s,d,c,0,i,n)}return Z(a,i,n,c),1===o&&"gauge"===a.type&&(a.extra.gauge.oldAngle=e[0]._proportion_,a.extra.gauge.oldData=e[0].data),{center:c,radius:d,innerRadius:f,categories:t,totalAngle:h}}(c,s,e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break;case"candle":this.animationInstance=new gt({timing:"easeIn",duration:h,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&X(i,e),rt(0,e,0,i),nt(c,e,a,i);var n=function(t,e,a,i,n){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,l=r({},{color:{},average:{}},a.extra.candle);l.color=r({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},l.color),l.average=r({},{show:!1,name:[],day:[],color:i.colors},l.average),a.extra.candle=l;var s=a.chartData.xAxisData,c=s.xAxisPoints,f=s.eachSpacing,h=[];n.save();var u=-2,p=c.length+2,x=0,g=a.width+f;return a._scrollDistance_&&0!==a._scrollDistance_&&!0===a.enableScroll&&(n.translate(a._scrollDistance_,0),u=Math.floor(-a._scrollDistance_/f)-2,p=u+a.xAxis.itemCount+4,x=-a._scrollDistance_-f+a.area[3],g=x+(a.xAxis.itemCount+4)*f),l.average.show&&e.forEach((function(t,e){var r,l,s;r=[].concat(a.chartData.yAxisData.ranges[t.index]),l=r.pop(),s=r.shift();for(var h=t.data,u=G(h,l,s,c,f,a,i,o),p=T(u),b=0;b<p.length;b++){var v=p[b];if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(1),1===v.length)n.moveTo(v[0].x,v[0].y),n.arc(v[0].x,v[0].y,1,0,2*Math.PI);else{n.moveTo(v[0].x,v[0].y);for(var y=0,m=0;m<v.length;m++){var w=v[m];if(0==y&&w.x>x&&(n.moveTo(w.x,w.y),y=1),m>0&&w.x>x&&w.x<g){var _=d(v,m-1);n.bezierCurveTo(_.ctrA.x,_.ctrA.y,_.ctrB.x,_.ctrB.y,w.x,w.y)}}n.moveTo(v[0].x,v[0].y)}n.closePath(),n.stroke()}})),t.forEach((function(t,e){var r,s,d;r=[].concat(a.chartData.yAxisData.ranges[t.index]),s=r.pop(),d=r.shift();var x=t.data,g=N(x,s,d,c,f,a,i,o);h.push(g);for(var b=T(g),v=0;v<b[0].length;v++)if(v>u&&v<p){var y=b[0][v];n.beginPath(),x[v][1]-x[v][0]>0?(n.setStrokeStyle(l.color.upLine),n.setFillStyle(l.color.upFill),n.setLineWidth(1*a.pixelRatio),n.moveTo(y[3].x,y[3].y),n.lineTo(y[1].x,y[1].y),n.lineTo(y[1].x-f/4,y[1].y),n.lineTo(y[0].x-f/4,y[0].y),n.lineTo(y[0].x,y[0].y),n.lineTo(y[2].x,y[2].y),n.lineTo(y[0].x,y[0].y),n.lineTo(y[0].x+f/4,y[0].y),n.lineTo(y[1].x+f/4,y[1].y),n.lineTo(y[1].x,y[1].y),n.moveTo(y[3].x,y[3].y)):(n.setStrokeStyle(l.color.downLine),n.setFillStyle(l.color.downFill),n.setLineWidth(1*a.pixelRatio),n.moveTo(y[3].x,y[3].y),n.lineTo(y[0].x,y[0].y),n.lineTo(y[0].x-f/4,y[0].y),n.lineTo(y[1].x-f/4,y[1].y),n.lineTo(y[1].x,y[1].y),n.lineTo(y[2].x,y[2].y),n.lineTo(y[1].x,y[1].y),n.lineTo(y[1].x+f/4,y[1].y),n.lineTo(y[0].x+f/4,y[0].y),n.lineTo(y[0].x,y[0].y),n.moveTo(y[3].x,y[3].y)),n.closePath(),n.fill(),n.stroke()}})),n.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:f}}(s,p,e,a,i,t),o=n.xAxisPoints,l=n.calPoints,f=n.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=f,ot(0,e,a,i),!1!==e.enableMarkLine&&1===t&&$(e,a,i),lt(p?0:e.series,e,a,i,e.chartData),it(e,a,i,t),pt(0,i)},onAnimationFinish:function(){n.event.trigger("renderComplete")}});break}}function vt(){this.events={}}gt.prototype.stop=function(){this.isStop=!0},vt.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},vt.prototype.trigger=function(){for(var e=arguments.length,a=Array(e),i=0;i<e;i++)a[i]=arguments[i];var n=a[0],r=a.slice(1);this.events[n]&&this.events[n].forEach((function(e){try{e.apply(null,r)}catch(a){t.error(a)}}))};var yt=function(t){t.pixelRatio=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize*t.pixelRatio:13*t.pixelRatio,t.title=r({},t.title),t.subtitle=r({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=r({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,splitNumber:5,gridType:"solid",dashLength:4*t.pixelRatio,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.yAxis.dashLength*=t.pixelRatio,t.yAxis.padding*=t.pixelRatio,t.xAxis=r({},{rotateLabel:!1,type:"calibration",gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.dashLength*=t.pixelRatio,t.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:t.fontSize,lineHeight:t.fontSize,fontColor:"#333333",format:{},hiddenColor:"#CECECE"},t.legend),t.legend.borderWidth=t.legend.borderWidth*t.pixelRatio,t.legend.itemGap=t.legend.itemGap*t.pixelRatio,t.legend.padding=t.legend.padding*t.pixelRatio,t.legend.margin=t.legend.margin*t.pixelRatio,t.extra=r({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate;var e=JSON.parse(JSON.stringify(n));if(e.colors=t.colors?t.colors:e.colors,e.yAxisTitleWidth=!0!==t.yAxis.disabled&&t.yAxis.title?e.yAxisTitleWidth:0,"pie"!=t.type&&"ring"!=t.type||(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pixelRatio||e.pieChartLinePadding*t.pixelRatio),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pixelRatio||e.pieChartLinePadding*t.pixelRatio),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pixelRatio,e.yAxisSplit=t.yAxis.splitNumber?t.yAxis.splitNumber:n.yAxisSplit,e.rotate=t.rotate,t.rotate){var a=t.width,i=t.height;t.width=i,t.height=a}t.padding=t.padding?t.padding:e.padding;for(var o=0;o<4;o++)t.padding[o]*=t.pixelRatio;e.yAxisWidth=n.yAxisWidth*t.pixelRatio,e.xAxisHeight=n.xAxisHeight*t.pixelRatio,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pixelRatio),e.xAxisLineHeight=n.xAxisLineHeight*t.pixelRatio,e.fontSize=t.fontSize,e.titleFontSize=n.titleFontSize*t.pixelRatio,e.subtitleFontSize=n.subtitleFontSize*t.pixelRatio,e.toolTipPadding=n.toolTipPadding*t.pixelRatio,e.toolTipLineHeight=n.toolTipLineHeight*t.pixelRatio,e.columePadding=n.columePadding*t.pixelRatio,t.$this=t.$this?t.$this:this,this.context=uni.createCanvasContext(t.canvasId,t.$this),t.chartData={},this.event=new vt,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,bt.call(this,t.type,t,e,this.context)};yt.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 a=q(this.opts.series,this.opts,this.config),i=a.yAxisWidth;this.config.yAxisWidth=i;var n=0,o=B(this.opts.categories,this.opts,this.config),l=o.xAxisPoints,s=o.startX,c=o.endX,d=o.eachSpacing,f=d*(l.length-1),h=c-s;n=h-f,this.scrollOption={currentOffset:n,startTouchX:n,distance:0,lastMoveTime:0},this.opts._scrollDistance_=n;break}bt.call(this,this.opts.type,this.opts,this.config,this.context)},yt.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=q(this.opts.series,this.opts,this.config),n=i.yAxisWidth;this.config.yAxisWidth=n;var r=0,o=B(this.opts.categories,this.opts,this.config),l=o.xAxisPoints,s=o.startX,c=o.endX,d=o.eachSpacing,f=d*a,h=c-s,u=h-d*(l.length-1);r=h/2-f,r>0&&(r=0),r<u&&(r=u),this.scrollOption={currentOffset:r,startTouchX:r,distance:0,lastMoveTime:0},this.opts._scrollDistance_=r,bt.call(this,this.opts.type,this.opts,this.config,this.context)}else t.log("请启用滚动条后使用!")},yt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},yt.prototype.addEventListener=function(t,e){this.event.addEventListener(t,e)},yt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=v(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type?function(t,e){var a=-1;if(D(t,e.center,e.radius)){var i=Math.atan2(e.center.y-t.y,t.x-e.center.x);i=-i;for(var n=0,r=e.series.length;n<r;n++){var o=e.series[n];if(c(i,o._start_,o._start_+2*o._proportion_*Math.PI)){a=n;break}}}return a}({x:a.x,y:a.y},this.opts.chartData.pieData):"radar"===this.opts.type?function(t,e,a){var i=2*Math.PI/a,n=-1;if(D(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},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var l=e.angleList.map((function(t){return t=r(-1*t),t}));l.forEach((function(t,e){var a=r(t-i/2),l=r(t+i/2);l<a&&(l+=2*Math.PI),(o>=a&&o<=l||o+2*Math.PI>=a&&o+2*Math.PI<=l)&&(n=e)}))}return n}({x:a.x,y:a.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var a=-1,i=0,n=e.series.length;i<n;i++){var r=e.series[i];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){a=i;break}}return a}({x:a.x,y:a.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var a=-1,i=e.chartData.mapData,n=e.series,r=function(t,e,a,i,n,r){return{x:(e-n)/i+a.xMin,y:a.yMax-(t-r)/i}}(t.y,t.x,i.bounds,i.scale,i.xoffset,i.yoffset),o=[r.x,r.y],l=0,s=n.length;l<s;l++){var c=n[l].geometry.coordinates;if(ht(o,c)){a=l;break}}return a}({x:a.x,y:a.y},this.opts):"word"===this.opts.type?function(t,e){for(var a=-1,i=0,n=e.length;i<n;i++){var r=e[i];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){a=i;break}}return a}({x:a.x,y:a.y},this.opts.chartData.wordCloudData):function(t,e,a,i){for(var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r=-1,o=0,l=[],s=0;s<e[0].length;s++)l.push(e[0][s].x);return"line"!=a.type&&"area"!=a.type||"justify"!=a.xAxis.boundaryGap||(o=a.chartData.eachSpacing/2),a.categories||(o=0),S(t,a,i)&&l.forEach((function(e,a){t.x+n+o>e&&(r=a)})),r}({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},yt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=v(e,this.opts,t);return function(t,e,a){var i=-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 n=e.points,r=-1,o=0,l=n.length;o<l;o++)for(var s=n[o],c=0;c<s.length;c++){r+=1;var d=s[c]["area"];if(t.x>d[0]&&t.x<d[2]&&t.y>d[1]&&t.y<d[3]){i=r;break}}return i}return i}({x:a.x,y:a.y},this.opts.chartData.legendData)}return-1},yt.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){v(a,this.opts,t);var i=this.getLegendDataIndex(t);i>=0&&(this.opts.series[i].show=!this.opts.series[i].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,bt.call(this,this.opts.type,this.opts,this.config,this.context))}},yt.prototype.showToolTip=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;i=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],i||t.log("touchError");var n=v(i,this.opts,e),o=this.scrollOption.currentOffset,l=r({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type){var s=this.getCurrentDataIndex(e);if(s>-1){var c=y(this.opts.series,s);if(0!==c.length){var d=_(c,this.opts.chartData.calPoints,s,this.opts.categories,a),f=d.textList,h=d.offset;h.y=n.y,l.tooltip={textList:f,offset:h,option:a,index:s}}}bt.call(this,l.type,l,this.config,this.context)}if("mix"===this.opts.type){s=this.getCurrentDataIndex(e);if(s>-1){o=this.scrollOption.currentOffset,l=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=y(this.opts.series,s);if(0!==c.length){var u=k(c,this.opts.chartData.calPoints,s,this.opts.categories,a);f=u.textList,h=u.offset;h.y=n.y,l.tooltip={textList:f,offset:h,option:a,index:s}}}bt.call(this,l.type,l,this.config,this.context)}if("candle"===this.opts.type){s=this.getCurrentDataIndex(e);if(s>-1){o=this.scrollOption.currentOffset,l=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=y(this.opts.series,s);if(0!==c.length){d=A(this.opts.series[0].data,c,this.opts.chartData.calPoints,s,this.opts.categories,this.opts.extra.candle,a),f=d.textList,h=d.offset;h.y=n.y,l.tooltip={textList:f,offset:h,option:a,index:s}}}bt.call(this,l.type,l,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){s=this.getCurrentDataIndex(e);if(s>-1){o=this.scrollOption.currentOffset,l=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=this.opts._series_[s],f=[{text:a.format?a.format(c):c.name+": "+c.data,color:c.color}],h={x:n.x,y:n.y};l.tooltip={textList:f,offset:h,option:a,index:s}}bt.call(this,l.type,l,this.config,this.context)}if("map"===this.opts.type||"word"===this.opts.type){s=this.getCurrentDataIndex(e);if(s>-1){o=this.scrollOption.currentOffset,l=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=this.opts._series_[s],f=[{text:a.format?a.format(c):c.properties.name,color:c.color}],h={x:n.x,y:n.y};l.tooltip={textList:f,offset:h,option:a,index:s}}l.updateData=!1,bt.call(this,l.type,l,this.config,this.context)}if("radar"===this.opts.type){s=this.getCurrentDataIndex(e);if(s>-1){o=this.scrollOption.currentOffset,l=r({},this.opts,{_scrollDistance_:o,animation:!1}),c=y(this.opts.series,s);if(0!==c.length){f=c.map((function(t){return{text:a.format?a.format(t):t.name+": "+t.data,color:t.color}})),h={x:n.x,y:n.y};l.tooltip={textList:f,offset:h,option:a,index:s}}}bt.call(this,l.type,l,this.config,this.context)}},yt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=r({},this.opts,{_scrollDistance_:t,animation:!1});bt.call(this,this.opts.type,e,this.config,this.context)},yt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var a=v(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=a.x)},yt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.extra.touchMoveLimit||20,a=Date.now(),i=a-this.scrollOption.lastMoveTime;if(!(i<Math.floor(1e3/e))){this.scrollOption.lastMoveTime=a;var n=null;if(n=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],n&&!0===this.opts.enableScroll){var o,l=v(n,this.opts,t);o=l.x-this.scrollOption.startTouchX;var s=this.scrollOption.currentOffset,c=function(t,e,a,i,n){var r=n.width-n.area[1]-n.area[3],o=a.eachSpacing*(n.chartData.xAxisData.xAxisPoints.length-1),l=e;return e>=0?(l=0,t.event.trigger("scrollLeft")):Math.abs(e)>=o-r&&(l=r-o,t.event.trigger("scrollRight")),l}(this,s+o,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=o=c-s;var d=r({},this.opts,{_scrollDistance_:s+o,animation:!1});return bt.call(this,d.type,d,this.config,this.context),s+o}}},yt.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}},"object"===i(e)&&"object"===i(e.exports)&&(e.exports=yt)}).call(this,a("5a52")["default"],a("62e4")(t))},"42e2":function(t,e,a){"use strict";var i=a("d3d9"),n=a.n(i);n.a},"432e":function(t,e,a){"use strict";(function(t){a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("3835"));a("99af"),a("d81d"),a("fb6a"),a("4e82");var r=a("2027"),o=i(a("8600")),l=i(a("5c98")),s=i(a("0070")),c={components:{WPicker:o.default,uniCalendar:s.default,chartProgress:l.default},data:function(){return{type:0,date:{0:"",1:""},data:null,rank:[],choosedActie:0,activeList:[]}},filters:{maxNickname:function(t){return"".concat(t.substr(0,4)).concat(t.length>4?"...":"")}},mounted:function(){if(3!==this.$store.state.userinfo.user_type)return uni.navigateBack(),void setTimeout((function(){return uni.$emit("noopening")}));this.getActivityList()},onPullDownRefresh:function(){this.requestOnload(),this.type=0},methods:{getActivityList:function(){var e=this;(0,r._API_ActivityList)().then((function(a){200===a.code&&(e.activeList=a.data.map((function(t,e){return{label:t.title.length>26?t.title.slice(0,26)+"...":t.title,value:e,start:t.start_time,end:t.end_time}})),t.log(e.activeList),e.requestOnload())}))},requestOnload:function(){var t=this;uni.loading(),(0,r._API_OrderSum)().then((function(e){var a=e.data;t.data=a,(0,r._API_OrderRank)().then((function(e){var a=e.data.list;a.sort((function(t,e){return e.all-t.all})),t.rank=a}))}))},request:function(){var t=this;uni.loading(),0==this.choosedActie?(0,r._API_OrderSum)().then((function(e){var a=e.data;t.data=a,uni.loading(),(0,r._API_OrderRank)().then((function(e){var a=e.data.list;a.sort((function(t,e){return e.all-t.all})),t.rank=a}))})):(0,r._API_OrderSum)({start:this.date[0],end:this.date[1]}).then((function(e){var a=e.data;t.data=a,uni.loading(),(0,r._API_OrderRank)({start:t.date[0],end:t.date[1]}).then((function(e){var a=e.data.list;a.sort((function(t,e){return e.all-t.all})),t.rank=a}))}))},chooseTime:function(t){this.type=t,this.$refs.calendar.open()},confirm:function(t){var e=t.fulldate;0==this.type?this.date[0]=e:1==this.type&&(this.date[1]=e)},choosePicker:function(){this.$refs.Selector.show()},confirmActice:function(t){var e=(0,n.default)(t.defaultVal,1),a=e[0];this.choosedActie=a,this.date[0]=this.activeList[a].start,this.date[1]=this.activeList[a].end,this.request()}}};e.default=c}).call(this,a("5a52")["default"])},"46d6":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"chart-progress"},[e("v-uni-canvas",{staticClass:"chart",attrs:{"canvas-id":this.chartID,id:this.chartID}})],1)},n=[]},"583f":function(t,e,a){t.exports=a.p+"static/img/bg.e2a94237.png"},"5c98":function(t,e,a){"use strict";a.r(e);var i=a("46d6"),n=a("2b31");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("de93");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"39fa071b",null,!1,i["a"],void 0);e["default"]=l.exports},"66a4":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-1cef3005]{margin-top:%?10?%}.app-item uni-input[data-v-1cef3005], .app-item uni-picker[data-v-1cef3005], .app-item uni-textarea[data-v-1cef3005]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-1cef3005]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-1cef3005]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-1cef3005]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-1cef3005]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-1cef3005]{color:#fff;background:#f76454}.small-btn[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-1cef3005]{color:#999;border-color:#999}.login-btn[data-v-1cef3005]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-1cef3005]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-1cef3005]{margin-right:%?20?%}.border-right[data-v-1cef3005]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-1cef3005]{margin-right:%?6?%}.position-center[data-v-1cef3005]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-1cef3005]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-1cef3005]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-1cef3005]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-1cef3005]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-1cef3005]{color:#f76454}.swiper-nav[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-1cef3005]{color:#f76454}.swiper-nav .moveBar[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-1cef3005]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-1cef3005]{flex:1;width:100%}.swiper-area uni-swiper[data-v-1cef3005]{width:100%;height:100%}.article-header[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-1cef3005]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-1cef3005]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-1cef3005]{color:#f76454}.article-footer[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-1cef3005]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-1cef3005]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-1cef3005]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-1cef3005]{color:#f76454}\n/*主题色及按钮渐变背景*/\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-calendar[data-v-1cef3005]{display:flex;flex-direction:column}.uni-calendar__mask[data-v-1cef3005]{position:fixed;bottom:0;top:0;left:0;right:0;background-color:rgba(0,0,0,.4);transition-property:opacity;transition-duration:.3s;opacity:0;z-index:99}.uni-calendar--mask-show[data-v-1cef3005]{opacity:1}.uni-calendar--fixed[data-v-1cef3005]{position:fixed;bottom:0;left:0;right:0;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.3s;-webkit-transform:translateY(460px);transform:translateY(460px);z-index:99}.uni-calendar--ani-show[data-v-1cef3005]{-webkit-transform:translateY(0);transform:translateY(0)}.uni-calendar__content[data-v-1cef3005]{background-color:#fff}.uni-calendar__header[data-v-1cef3005]{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;height:50px;border-bottom-color:#c8c7cc;border-bottom-style:solid;border-bottom-width:1px}.uni-calendar--fixed-top[data-v-1cef3005]{display:flex;flex-direction:row;justify-content:space-between;border-top-color:#c8c7cc;border-top-style:solid;border-top-width:1px}.uni-calendar--fixed-width[data-v-1cef3005]{width:50px}.uni-calendar__backtoday[data-v-1cef3005]{position:absolute;right:0;top:%?25?%;padding:0 5px;padding-left:10px;height:25px;line-height:25px;font-size:12px;border-top-left-radius:25px;border-bottom-left-radius:25px;color:#333;background-color:#f1f1f1}.uni-calendar__header-text[data-v-1cef3005]{text-align:center;width:100px;font-size:%?28?%;color:#333}.uni-calendar__header-btn-box[data-v-1cef3005]{display:flex;flex-direction:row;align-items:center;justify-content:center;width:50px;height:50px}.uni-calendar__header-btn[data-v-1cef3005]{width:10px;height:10px;border-left-color:grey;border-left-style:solid;border-left-width:2px;border-top-color:#555;border-top-style:solid;border-top-width:2px}.uni-calendar--left[data-v-1cef3005]{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.uni-calendar--right[data-v-1cef3005]{-webkit-transform:rotate(135deg);transform:rotate(135deg)}.uni-calendar__weeks[data-v-1cef3005]{position:relative;display:flex;flex-direction:row}.uni-calendar__weeks-item[data-v-1cef3005]{flex:1}.uni-calendar__weeks-day[data-v-1cef3005]{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;height:45px;border-bottom-color:#f5f5f5;border-bottom-style:solid;border-bottom-width:1px}.uni-calendar__weeks-day-text[data-v-1cef3005]{font-size:14px}.uni-calendar__box[data-v-1cef3005]{position:relative}.uni-calendar__box-bg[data-v-1cef3005]{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;right:0;bottom:0}.uni-calendar__box-bg-text[data-v-1cef3005]{font-size:200px;font-weight:700;color:#999;opacity:.1;text-align:center;line-height:1}',""]),t.exports=e},"7b27":function(t,e,a){var i=a("bdc9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("1be03dca",i,!0,{sourceMap:!1,shadowMode:!1})},"83e6":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("380f")),r={props:{chartID:{type:String,default:"arcbar"},backgroundColor:{type:String,default:"#FFB769"},chartData:Object,width:String,height:String,title:{type:String,default:function(){return""}},value:{type:String,default:function(){return""}}},watch:{chartData:{handler:function(){this.draw(this.chartData)},immediate:!0}},methods:{draw:function(t){new n.default({$this:this,canvasId:this.chartID,type:"arcbar",fontSize:12,legend:{show:!1},background:"#FFFFFF",pixelRatio:1,series:t.series,animation:!0,width:uni.upx2px(+this.width),height:uni.upx2px(+this.height),title:{name:this.title,color:"#333333",fontSize:uni.upx2px(26)},subtitle:{name:this.value,color:t.series[0].color,fontSize:uni.upx2px(24)},extra:{arcbar:{type:"circle",width:uni.upx2px(16),startAngle:-.5,backgroundColor:this.backgroundColor}}})}}};e.default=r},"8fb0":function(t,e,a){"use strict";a.r(e);var i=a("d31b"),n=a("305a");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("e9e7");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"423d102e",null,!1,i["a"],void 0);e["default"]=l.exports},"92bb":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-39fa071b]{margin-top:%?10?%}.app-item uni-input[data-v-39fa071b], .app-item uni-picker[data-v-39fa071b], .app-item uni-textarea[data-v-39fa071b]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-39fa071b]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-39fa071b]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-39fa071b]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-39fa071b]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-39fa071b]{color:#fff;background:#f76454}.small-btn[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-39fa071b]{color:#999;border-color:#999}.login-btn[data-v-39fa071b]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-39fa071b]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-39fa071b]{margin-right:%?20?%}.border-right[data-v-39fa071b]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-39fa071b]{margin-right:%?6?%}.position-center[data-v-39fa071b]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-39fa071b]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-39fa071b]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-39fa071b]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-39fa071b]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-39fa071b]{color:#f76454}.swiper-nav[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-39fa071b]{color:#f76454}.swiper-nav .moveBar[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-39fa071b]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-39fa071b]{flex:1;width:100%}.swiper-area uni-swiper[data-v-39fa071b]{width:100%;height:100%}.article-header[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-39fa071b]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-39fa071b]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-39fa071b]{color:#f76454}.article-footer[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-39fa071b]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-39fa071b]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-39fa071b]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-39fa071b]{color:#f76454}\n/*主题色及按钮渐变背景*/\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.chart-progress[data-v-39fa071b], uni-canvas[data-v-39fa071b]{width:100%;height:100%}',""]),t.exports=e},9769:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-calendar-item__weeks-box",class:{"uni-calendar-item--disable":t.weeks.disable,"uni-calendar-item--isDay":t.calendar.fullDate===t.weeks.fullDate&&t.weeks.isDay,"uni-calendar-item--checked":t.calendar.fullDate===t.weeks.fullDate&&!t.weeks.isDay,"uni-calendar-item--before-checked":t.weeks.beforeMultiple,"uni-calendar-item--multiple":t.weeks.multiple,"uni-calendar-item--after-checked":t.weeks.afterMultiple},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.choiceDate(t.weeks)}}},[a("v-uni-view",{staticClass:"uni-calendar-item__weeks-box-item"},[t.selected&&t.weeks.extraInfo?a("v-uni-text",{staticClass:"uni-calendar-item__weeks-box-circle"}):t._e(),a("v-uni-text",{staticClass:"uni-calendar-item__weeks-box-text",class:{"uni-calendar-item--isDay-text":t.weeks.isDay,"uni-calendar-item--isDay":t.calendar.fullDate===t.weeks.fullDate&&t.weeks.isDay,"uni-calendar-item--checked":t.calendar.fullDate===t.weeks.fullDate&&!t.weeks.isDay,"uni-calendar-item--before-checked":t.weeks.beforeMultiple,"uni-calendar-item--multiple":t.weeks.multiple,"uni-calendar-item--after-checked":t.weeks.afterMultiple,"uni-calendar-item--disable":t.weeks.disable}},[t._v(t._s(t.weeks.date))]),t.lunar||t.weeks.extraInfo||!t.weeks.isDay?t._e():a("v-uni-text",{staticClass:"uni-calendar-item__weeks-lunar-text",class:{"uni-calendar-item--isDay-text":t.weeks.isDay,"uni-calendar-item--isDay":t.calendar.fullDate===t.weeks.fullDate&&t.weeks.isDay,"uni-calendar-item--checked":t.calendar.fullDate===t.weeks.fullDate&&!t.weeks.isDay,"uni-calendar-item--before-checked":t.weeks.beforeMultiple,"uni-calendar-item--multiple":t.weeks.multiple,"uni-calendar-item--after-checked":t.weeks.afterMultiple}},[t._v("今天")]),t.lunar&&!t.weeks.extraInfo?a("v-uni-text",{staticClass:"uni-calendar-item__weeks-lunar-text",class:{"uni-calendar-item--isDay-text":t.weeks.isDay,"uni-calendar-item--isDay":t.calendar.fullDate===t.weeks.fullDate&&t.weeks.isDay,"uni-calendar-item--checked":t.calendar.fullDate===t.weeks.fullDate&&!t.weeks.isDay,"uni-calendar-item--before-checked":t.weeks.beforeMultiple,"uni-calendar-item--multiple":t.weeks.multiple,"uni-calendar-item--after-checked":t.weeks.afterMultiple,"uni-calendar-item--disable":t.weeks.disable}},[t._v(t._s(t.weeks.isDay?"今天":"初一"===t.weeks.lunar.IDayCn?t.weeks.lunar.IMonthCn:t.weeks.lunar.IDayCn))]):t._e(),t.weeks.extraInfo&&t.weeks.extraInfo.info?a("v-uni-text",{staticClass:"uni-calendar-item__weeks-lunar-text",class:{"uni-calendar-item--extra":t.weeks.extraInfo.info,"uni-calendar-item--isDay-text":t.weeks.isDay,"uni-calendar-item--isDay":t.calendar.fullDate===t.weeks.fullDate&&t.weeks.isDay,"uni-calendar-item--checked":t.calendar.fullDate===t.weeks.fullDate&&!t.weeks.isDay,"uni-calendar-item--before-checked":t.weeks.beforeMultiple,"uni-calendar-item--multiple":t.weeks.multiple,"uni-calendar-item--after-checked":t.weeks.afterMultiple,"uni-calendar-item--disable":t.weeks.disable}},[t._v(t._s(t.weeks.extraInfo.info))]):t._e()],1)],1)},n=[]},9843:function(t,e,a){"use strict";var i=a("7b27"),n=a.n(i);n.a},abad:function(t,e,a){"use strict";a.r(e);var i=a("9769"),n=a("21a9");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("9843");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"861fec68",null,!1,i["a"],void 0);e["default"]=l.exports},bdc9:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-861fec68]{margin-top:%?10?%}.app-item uni-input[data-v-861fec68], .app-item uni-picker[data-v-861fec68], .app-item uni-textarea[data-v-861fec68]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-861fec68]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-861fec68]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-861fec68]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-861fec68]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-861fec68]{color:#fff;background:#f76454}.small-btn[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-861fec68]{color:#999;border-color:#999}.login-btn[data-v-861fec68]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-861fec68]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-861fec68]{margin-right:%?20?%}.border-right[data-v-861fec68]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-861fec68]{margin-right:%?6?%}.position-center[data-v-861fec68]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-861fec68]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-861fec68]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-861fec68]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-861fec68]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-861fec68]{color:#f76454}.swiper-nav[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-861fec68]{color:#f76454}.swiper-nav .moveBar[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-861fec68]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-861fec68]{flex:1;width:100%}.swiper-area uni-swiper[data-v-861fec68]{width:100%;height:100%}.article-header[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-861fec68]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-861fec68]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-861fec68]{color:#f76454}.article-footer[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-861fec68]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-861fec68]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-861fec68]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-861fec68]{color:#f76454}\n/*主题色及按钮渐变背景*/\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-calendar-item__weeks-box[data-v-861fec68]{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.uni-calendar-item__weeks-box-text[data-v-861fec68]{font-size:%?28?%;color:#333}.uni-calendar-item__weeks-lunar-text[data-v-861fec68]{font-size:%?24?%;color:#333}.uni-calendar-item__weeks-box-item[data-v-861fec68]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:%?100?%;height:%?100?%}.uni-calendar-item__weeks-box-circle[data-v-861fec68]{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:8px;background-color:#dd524d}.uni-calendar-item--disable[data-v-861fec68]{background-color:hsla(0,0%,97.6%,.3);color:silver}.uni-calendar-item--isDay-text[data-v-861fec68]{color:#007aff}.uni-calendar-item--isDay[data-v-861fec68]{background-color:#007aff;opacity:.8;color:#fff}.uni-calendar-item--extra[data-v-861fec68]{color:#dd524d;opacity:.8}.uni-calendar-item--checked[data-v-861fec68]{background-color:#007aff;color:#fff;opacity:.8}.uni-calendar-item--multiple[data-v-861fec68]{background-color:#007aff;color:#fff;opacity:.8}.uni-calendar-item--before-checked[data-v-861fec68]{background-color:#ff5a5f;color:#fff}.uni-calendar-item--after-checked[data-v-861fec68]{background-color:#ff5a5f;color:#fff}',""]),t.exports=e},c6ec:function(t,e,a){"use strict";(function(t){a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3");var n=i(a("285b")),r=i(a("abad")),o={components:{uniCalendarItem:r.default},props:{date:{type:String,default:""},selected:{type:Array,default:function(){return[]}},lunar:{type:Boolean,default:!1},startDate:{type:String,default:""},endDate:{type:String,default:""},range:{type:Boolean,default:!1},insert:{type:Boolean,default:!0},showMonth:{type:Boolean,default:!0},clearDate:{type:Boolean,default:!0}},data:function(){return{show:!1,weeks:[],calendar:{},nowDate:"",aniMaskShow:!1}},watch:{date:function(t){this.cale.setDate(t),this.init(this.cale.selectDate.fullDate)},startDate:function(t){this.cale.resetSatrtDate(t)},endDate:function(t){this.cale.resetEndDate(t)},selected:function(t){this.cale.setSelectInfo(this.nowDate.fullDate,t),this.weeks=this.cale.weeks}},created:function(){this.cale=new n.default({selected:this.selected,startDate:this.startDate,endDate:this.endDate,range:this.range}),this.cale.setDate(this.date),this.init(this.cale.selectDate.fullDate)},methods:{clean:function(){},bindDateChange:function(e){var a=e.detail.value+"-1";t.log(this.cale.getDate(a)),this.cale.setDate(a),this.init(a)},init:function(t){this.weeks=this.cale.weeks,this.nowDate=this.calendar=this.cale.getInfo(t)},open:function(){var t=this;this.clearDate&&!this.insert&&(this.cale.cleanMultipleStatus(),this.cale.setDate(this.date),this.init(this.cale.selectDate.fullDate)),this.show=!0,this.$nextTick((function(){setTimeout((function(){t.aniMaskShow=!0}),50)}))},close:function(){var t=this;this.aniMaskShow=!1,this.$nextTick((function(){setTimeout((function(){t.show=!1,t.$emit("close")}),300)}))},confirm:function(){this.setEmit("confirm"),this.close()},change:function(){this.insert&&this.setEmit("change")},monthSwitch:function(){var t=this.nowDate,e=t.year,a=t.month;this.$emit("monthSwitch",{year:e,month:Number(a)})},setEmit:function(t){var e=this.calendar,a=e.year,i=e.month,n=e.date,r=e.fullDate,o=e.lunar,l=e.extraInfo;this.$emit(t,{range:this.cale.multipleStatus,year:a,month:i,date:n,fulldate:r,lunar:o,extraInfo:l||{}})},choiceDate:function(t){t.disable||(this.calendar=t,this.cale.setMultiple(this.calendar.fullDate),this.weeks=this.cale.weeks,this.change())},backtoday:function(){t.log(this.cale.getDate(new Date).fullDate);var e=this.cale.getDate(new Date).fullDate;this.cale.setDate(e),this.init(e),this.change()},pre:function(){var t=this.cale.getDate(this.nowDate.fullDate,-1,"month").fullDate;this.setDate(t),this.monthSwitch()},next:function(){var t=this.cale.getDate(this.nowDate.fullDate,1,"month").fullDate;this.setDate(t),this.monthSwitch()},setDate:function(t){this.cale.setDate(t),this.weeks=this.cale.weeks,this.nowDate=this.cale.getInfo(t)}}};e.default=o}).call(this,a("5a52")["default"])},d035:function(t,e,a){var i=a("24fb"),n=a("1de5"),r=a("583f");e=i(!1);var o=n(r);e.push([t.i,'@charset "UTF-8";.app-item[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-423d102e]{margin-top:%?10?%}.app-item uni-input[data-v-423d102e], .app-item uni-picker[data-v-423d102e], .app-item uni-textarea[data-v-423d102e]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-423d102e]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-423d102e]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-423d102e]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-423d102e]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-423d102e]{color:#fff;background:#f76454}.small-btn[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-423d102e]{color:#999;border-color:#999}.login-btn[data-v-423d102e]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-423d102e]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-423d102e]{margin-right:%?20?%}.border-right[data-v-423d102e]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-423d102e]{margin-right:%?6?%}.position-center[data-v-423d102e]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-423d102e]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-423d102e]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-423d102e]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-423d102e]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-423d102e]{color:#f76454}.swiper-nav[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-423d102e]{color:#f76454}.swiper-nav .moveBar[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-423d102e]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-423d102e]{flex:1;width:100%}.swiper-area uni-swiper[data-v-423d102e]{width:100%;height:100%}.article-header[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-423d102e]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-423d102e]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-423d102e]{color:#f76454}.article-footer[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-423d102e]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-423d102e]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-423d102e]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-423d102e]{color:#f76454}\n/*主题色及按钮渐变背景*/\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.order-sum[data-v-423d102e]{height:100vh;padding-top:%?22?%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fff}.order-sum .topTittle[data-v-423d102e]{width:100%;padding:0 %?24?%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:%?32?%;font-family:PingFang SC-Bold,PingFang SC;font-weight:700;color:#333}.order-sum .topBox[data-v-423d102e]{width:%?704?%;height:%?182?%;margin:%?26?% auto %?24?%;background-image:url('+o+");background-size:100% 100%;border-radius:%?16?% %?16?% %?16?% %?16?%;padding:0 %?50?%}.order-sum .topBox uni-text[data-v-423d102e]{font-size:%?32?%;font-weight:400;color:#fff}.order-sum .topBox .text[data-v-423d102e]{color:#fff;font-size:%?32?%;margin-top:%?6?%}.order-sum .topBox .spec[data-v-423d102e]{font-size:%?56?%;font-weight:700}.order-sum .middata[data-v-423d102e]{width:100%;background:#fff;border-radius:%?24?% %?24?% 0 0;padding:0 %?24?%;display:flex;justify-content:space-between;align-items:center}.order-sum .middata_box[data-v-423d102e]{width:%?340?%;height:%?156?%;border-radius:%?16?%;display:flex;justify-content:center;align-items:center;flex-direction:column}.order-sum .middata_box uni-text[data-v-423d102e]{font-size:%?32?%;font-weight:400;color:#fff}.order-sum .middata_box .text[data-v-423d102e]{color:#fff;font-size:%?32?%}.order-sum .middata_box .spec[data-v-423d102e]{font-size:%?48?%;font-weight:700}.order-sum .middata .left[data-v-423d102e]{background:linear-gradient(180deg,#5b50ff,#8d3eff)}.order-sum .middata .right[data-v-423d102e]{background:linear-gradient(180deg,#3668fe,#5291fe)}.order-sum .data-detail[data-v-423d102e]{flex:1;width:100%;overflow-y:auto;margin-top:%?24?%}.order-sum .data-detail .type-detal .bold[data-v-423d102e]{border:none!important;margin:0!important;background-color:#f8f8f8!important;font-size:%?30?%!important;font-family:PingFang SC-Bold,PingFang SC;font-weight:700!important}.order-sum .data-detail .type-detal .detail-item[data-v-423d102e]{border-bottom:%?2?% solid #eee;display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;background:#fff;margin-bottom:%?1?%;font-size:%?32?%;margin:0 %?24?%}.order-sum .data-detail .type-detal .detail-item > uni-view[data-v-423d102e]{height:100%;display:flex;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:row}",""]),t.exports=e},d31b:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={uniCalendar:a("0070").default,wPicker:a("8600").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.data?i("v-uni-view",{staticClass:"order-sum"},[i("v-uni-view",{staticClass:"topTittle"},[t._v(t._s(t.activeList[t.choosedActie].label))]),i("v-uni-view",{staticClass:"topBox flexB"},[i("v-uni-view",{staticClass:"topBox_left"},[i("v-uni-view",{staticClass:"text spec"},[i("v-uni-text",[t._v("¥")]),t._v(t._s(t._f("numDot")(t.data.no_pay_money)))],1),i("v-uni-view",{staticClass:"text"},[t._v("未付金额")])],1),i("v-uni-image",{staticStyle:{width:"140rpx",height:"140rpx"},attrs:{src:a("36c3"),alt:"",mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"middata"},[i("v-uni-view",{staticClass:"middata_box left"},[i("v-uni-view",{staticClass:"text spec"},[i("v-uni-text",[t._v("¥")]),t._v(t._s(t._f("numDot")(t.data.pay_money)))],1),i("v-uni-view",{staticClass:"text"},[t._v("已付金额")])],1),i("v-uni-view",{staticClass:"middata_box right"},[i("v-uni-view",{staticClass:"text spec"},[i("v-uni-text",[t._v("¥")]),t._v(t._s(t._f("numDot")(t.data.money)))],1),i("v-uni-view",{staticClass:"text"},[t._v("总金额")])],1)],1),0==t.type?i("v-uni-view",{staticClass:"data-detail"},[i("v-uni-view",{staticClass:"type-detal"},[i("v-uni-view",{staticClass:"detail-item bold"},[i("v-uni-view",{staticClass:"name"},[t._v("款式")]),i("v-uni-view",{staticClass:"num"},[t._v("订货数量")]),i("v-uni-view",{staticClass:"money"},[t._v("订货金额")])],1),i("v-uni-view",{staticClass:"detail-item"},[i("v-uni-view",{staticClass:"name"},[t._v("精装版")]),i("v-uni-view",{staticClass:"num"},[t._v(t._s(t._f("numDot")(t.data.hard))+"(套)")]),i("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(t._f("numDot")(t.data.hard_money)))])],1),i("v-uni-view",{staticClass:"detail-item"},[i("v-uni-view",{staticClass:"name"},[t._v("简约版")]),i("v-uni-view",{staticClass:"num"},[t._v(t._s(t._f("numDot")(t.data.simple))+"(件)")]),i("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(t._f("numDot")(t.data.simple_money)))])],1),i("v-uni-view",{staticClass:"detail-item"},[i("v-uni-view",{staticClass:"name"},[t._v("高腰版")]),i("v-uni-view",{staticClass:"num"},[t._v(t._s(t._f("numDot")(t.data.old))+"(件)")]),i("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(t._f("numDot")(t.data.old_money)))])],1),i("v-uni-view",{staticClass:"detail-item"},[i("v-uni-view",{staticClass:"name"},[t._v("纯棉版")]),i("v-uni-view",{staticClass:"num"},[t._v(t._s(t._f("numDot")(t.data.newold))+"(件)")]),i("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(t._f("numDot")(t.data.newold_money)))])],1),i("v-uni-view",{staticClass:"detail-item"},[i("v-uni-view",{staticClass:"name"},[t._v("青春版")]),i("v-uni-view",{staticClass:"num"},[t._v(t._s(t._f("numDot")(t.data.youth))+"(件)")]),i("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(t._f("numDot")(t.data.youth_money)))])],1)],1)],1):t._e(),i("uni-calendar",{ref:"calendar",attrs:{insert:!1,lunar:!0},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}}),i("w-picker",{ref:"Selector",attrs:{mode:"selector",themeColor:"#F76454",selectList:t.activeList},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmActice.apply(void 0,arguments)}}})],1):t._e()},r=[]},d3d9:function(t,e,a){var i=a("66a4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("e238380c",i,!0,{sourceMap:!1,shadowMode:!1})},d905:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-calendar"},[!t.insert&&t.show?a("v-uni-view",{staticClass:"uni-calendar__mask",class:{"uni-calendar--mask-show":t.aniMaskShow},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clean.apply(void 0,arguments)}}}):t._e(),t.insert||t.show?a("v-uni-view",{staticClass:"uni-calendar__content",class:{"uni-calendar--fixed":!t.insert,"uni-calendar--ani-show":t.aniMaskShow}},[t.insert?t._e():a("v-uni-view",{staticClass:"uni-calendar__header uni-calendar--fixed-top"},[a("v-uni-view",{staticClass:"uni-calendar__header-btn-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"uni-calendar__header-text uni-calendar--fixed-width"},[t._v("取消")])],1),a("v-uni-view",{staticClass:"uni-calendar__header-btn-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"uni-calendar__header-text uni-calendar--fixed-width"},[t._v("确定")])],1)],1),a("v-uni-view",{staticClass:"uni-calendar__header"},[a("v-uni-view",{staticClass:"uni-calendar__header-btn-box",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.pre.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"uni-calendar__header-btn uni-calendar--left"})],1),a("v-uni-picker",{attrs:{mode:"date",value:t.date,fields:"month"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindDateChange.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"uni-calendar__header-text"},[t._v(t._s((t.nowDate.year||"")+"年"+(t.nowDate.month||"")+"月"))])],1),a("v-uni-view",{staticClass:"uni-calendar__header-btn-box",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.next.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"uni-calendar__header-btn uni-calendar--right"})],1),a("v-uni-text",{staticClass:"uni-calendar__backtoday",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.backtoday.apply(void 0,arguments)}}},[t._v("回到今天")])],1),a("v-uni-view",{staticClass:"uni-calendar__box"},[t.showMonth?a("v-uni-view",{staticClass:"uni-calendar__box-bg"},[a("v-uni-text",{staticClass:"uni-calendar__box-bg-text"},[t._v(t._s(t.nowDate.month))])],1):t._e(),a("v-uni-view",{staticClass:"uni-calendar__weeks"},[a("v-uni-view",{staticClass:"uni-calendar__weeks-day"},[a("v-uni-text",{staticClass:"uni-calendar__weeks-day-text"},[t._v("日")])],1),a("v-uni-view",{staticClass:"uni-calendar__weeks-day"},[a("v-uni-text",{staticClass:"uni-calendar__weeks-day-text"},[t._v("一")])],1),a("v-uni-view",{staticClass:"uni-calendar__weeks-day"},[a("v-uni-text",{staticClass:"uni-calendar__weeks-day-text"},[t._v("二")])],1),a("v-uni-view",{staticClass:"uni-calendar__weeks-day"},[a("v-uni-text",{staticClass:"uni-calendar__weeks-day-text"},[t._v("三")])],1),a("v-uni-view",{staticClass:"uni-calendar__weeks-day"},[a("v-uni-text",{staticClass:"uni-calendar__weeks-day-text"},[t._v("四")])],1),a("v-uni-view",{staticClass:"uni-calendar__weeks-day"},[a("v-uni-text",{staticClass:"uni-calendar__weeks-day-text"},[t._v("五")])],1),a("v-uni-view",{staticClass:"uni-calendar__weeks-day"},[a("v-uni-text",{staticClass:"uni-calendar__weeks-day-text"},[t._v("六")])],1)],1),t._l(t.weeks,(function(e,i){return a("v-uni-view",{key:i,staticClass:"uni-calendar__weeks"},t._l(e,(function(e,i){return a("v-uni-view",{key:i,staticClass:"uni-calendar__weeks-item"},[a("uni-calendar-item",{attrs:{weeks:e,calendar:t.calendar,selected:t.selected,lunar:t.lunar},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.choiceDate.apply(void 0,arguments)}}})],1)})),1)}))],2)],1):t._e()],1)},n=[]},de93:function(t,e,a){"use strict";var i=a("1334"),n=a.n(i);n.a},e56f:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d401"),a("d3b7"),a("25f0"),a("e25e");var i={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth:[31,28,31,30,31,30,31,31,30,31,30,31],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo:["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1:["日","一","二","三","四","五","六","七","八","九","十"],nStr2:["初","十","廿","卅"],nStr3:["正","二","三","四","五","六","七","八","九","十","冬","腊"],lYearDays:function(t){var e,a=348;for(e=32768;e>8;e>>=1)a+=this.lunarInfo[t-1900]&e?1:0;return a+this.leapDays(t)},leapMonth:function(t){return 15&this.lunarInfo[t-1900]},leapDays:function(t){return this.leapMonth(t)?65536&this.lunarInfo[t-1900]?30:29:0},monthDays:function(t,e){return e>12||e<1?-1:this.lunarInfo[t-1900]&65536>>e?30:29},solarDays:function(t,e){if(e>12||e<1)return-1;var a=e-1;return 1==a?t%4==0&&t%100!=0||t%400==0?29:28:this.solarMonth[a]},toGanZhiYear:function(t){var e=(t-3)%10,a=(t-3)%12;return 0==e&&(e=10),0==a&&(a=12),this.Gan[e-1]+this.Zhi[a-1]},toAstro:function(t,e){return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".substr(2*t-(e<[20,19,21,21,21,22,23,23,23,23,22,22][t-1]?2:0),2)+"座"},toGanZhi:function(t){return this.Gan[t%10]+this.Zhi[t%12]},getTerm:function(t,e){if(t<1900||t>2100)return-1;if(e<1||e>24)return-1;var a=this.sTermInfo[t-1900],i=[parseInt("0x"+a.substr(0,5)).toString(),parseInt("0x"+a.substr(5,5)).toString(),parseInt("0x"+a.substr(10,5)).toString(),parseInt("0x"+a.substr(15,5)).toString(),parseInt("0x"+a.substr(20,5)).toString(),parseInt("0x"+a.substr(25,5)).toString()],n=[i[0].substr(0,1),i[0].substr(1,2),i[0].substr(3,1),i[0].substr(4,2),i[1].substr(0,1),i[1].substr(1,2),i[1].substr(3,1),i[1].substr(4,2),i[2].substr(0,1),i[2].substr(1,2),i[2].substr(3,1),i[2].substr(4,2),i[3].substr(0,1),i[3].substr(1,2),i[3].substr(3,1),i[3].substr(4,2),i[4].substr(0,1),i[4].substr(1,2),i[4].substr(3,1),i[4].substr(4,2),i[5].substr(0,1),i[5].substr(1,2),i[5].substr(3,1),i[5].substr(4,2)];return parseInt(n[e-1])},toChinaMonth:function(t){if(t>12||t<1)return-1;var e=this.nStr3[t-1];return e+="月",e},toChinaDay:function(t){var e;switch(t){case 10:e="初十";break;case 20:e="二十";break;case 30:e="三十";break;default:e=this.nStr2[Math.floor(t/10)],e+=this.nStr1[t%10]}return e},getAnimal:function(t){return this.Animals[(t-4)%12]},solar2lunar:function(t,e,a){if(t<1900||t>2100)return-1;if(1900==t&&1==e&&a<31)return-1;if(t)i=new Date(t,parseInt(e)-1,a);else var i=new Date;var n,r=0,o=(t=i.getFullYear(),e=i.getMonth()+1,a=i.getDate(),(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate())-Date.UTC(1900,0,31))/864e5);for(n=1900;n<2101&&o>0;n++)r=this.lYearDays(n),o-=r;o<0&&(o+=r,n--);var l=new Date,s=!1;l.getFullYear()==t&&l.getMonth()+1==e&&l.getDate()==a&&(s=!0);var c=i.getDay(),d=this.nStr1[c];0==c&&(c=7);var f=n,h=this.leapMonth(n),u=!1;for(n=1;n<13&&o>0;n++)h>0&&n==h+1&&0==u?(--n,u=!0,r=this.leapDays(f)):r=this.monthDays(f,n),1==u&&n==h+1&&(u=!1),o-=r;0==o&&h>0&&n==h+1&&(u?u=!1:(u=!0,--n)),o<0&&(o+=r,--n);var p=n,x=o+1,g=e-1,b=this.toGanZhiYear(f),v=this.getTerm(t,2*e-1),y=this.getTerm(t,2*e),m=this.toGanZhi(12*(t-1900)+e+11);a>=v&&(m=this.toGanZhi(12*(t-1900)+e+12));var w=!1,_=null;v==a&&(w=!0,_=this.solarTerm[2*e-2]),y==a&&(w=!0,_=this.solarTerm[2*e-1]);var k=Date.UTC(t,g,1,0,0,0,0)/864e5+25567+10,A=this.toGanZhi(k+a-1),S=this.toAstro(e,a);return{lYear:f,lMonth:p,lDay:x,Animal:this.getAnimal(f),IMonthCn:(u?"闰":"")+this.toChinaMonth(p),IDayCn:this.toChinaDay(x),cYear:t,cMonth:e,cDay:a,gzYear:b,gzMonth:m,gzDay:A,isToday:s,isLeap:u,nWeek:c,ncWeek:"星期"+d,isTerm:w,Term:_,astro:S}},lunar2solar:function(t,e,a,i){i=!!i;var n=this.leapMonth(t);this.leapDays(t);if(i&&n!=e)return-1;if(2100==t&&12==e&&a>1||1900==t&&1==e&&a<31)return-1;var r=this.monthDays(t,e),o=r;if(i&&(o=this.leapDays(t,e)),t<1900||t>2100||a>o)return-1;for(var l=0,s=1900;s<t;s++)l+=this.lYearDays(s);var c=0,d=!1;for(s=1;s<e;s++)c=this.leapMonth(t),d||c<=s&&c>0&&(l+=this.leapDays(t),d=!0),l+=this.monthDays(t,s);i&&(l+=r);var f=Date.UTC(1900,1,30,0,0,0),h=new Date(864e5*(l+a-31)+f),u=h.getUTCFullYear(),p=h.getUTCMonth()+1,x=h.getUTCDate();return this.solar2lunar(u,p,x)}},n=i;e.default=n},e9e7:function(t,e,a){"use strict";var i=a("fe84"),n=a.n(i);n.a},f364:function(t,e,a){"use strict";a.r(e);var i=a("c6ec"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},fe84:function(t,e,a){var i=a("d035");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0b1dac05",i,!0,{sourceMap:!1,shadowMode:!1})}}]);