(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-myHealth-myHealth"],{"023f":function(t,e,a){"use strict";a.r(e);var i=a("80aa"),n=a("24db");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("e482");var r,s=a("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"1666093e",null,!1,i["a"],r);e["default"]=l.exports},1786:function(t,e,a){"use strict";a("99af"),a("c740"),a("4160"),a("caad"),a("a9e3"),a("e25e"),a("ac1f"),a("1276"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"dy-Datetime-Picker",props:{disabled:{type:Boolean,default:function(){return!1}},placeholder:{type:String,default:function(){return"请选择"}},timeType:{type:String,default:function(){return"anyTime"}},timeOptions:{type:Array,default:function(){return[]}},minDate:{type:Number,default:function(){return new Date("2001/01/05").getTime()}},timeIntervalMsec:{type:Number,default:function(){return 0}},maxDate:{type:Number,default:function(){return new Date("2050/12/31").getTime()}},minTime:{type:String,default:function(){return"00:00"}},maxTime:{type:String,default:function(){return"23:59"}},startColumn:{type:String,default:function(){return"year"}},columnCount:{type:Number,default:3},format:{type:Object,default:function(){return{}}},value:{default:function(){return""}},pickerIndex:{type:Number,default:1}},data:function(){return{index:[0,0],array:[],hourArr:[],minsArr:[],secondArr:[],yearArr:[],monthArr:[],dateArr:[],yearIndex:0,timeValue:this.value&&this.moment(this.value,"mtime")}},mounted:function(){this.init()},methods:{moment:function(t,e){if(t){var a=new Date(t),i=a.getFullYear(),n=a.getMonth()+1;n=n<10?"0".concat(n):n;var o=a.getDate();o=o<10?"0".concat(o):o;var r=a.getHours();r=r<10?"0".concat(r):r;var s=a.getMinutes();s=s<10?"0".concat(s):s;var l=a.getSeconds();l=l<10?"0".concat(l):l;var c="".concat(i,"/").concat(n,"/").concat(o," ").concat(r,":").concat(s,":").concat(l);return"date"===e&&(c="".concat(i,"/").concat(n,"/").concat(o)),"time"===e&&(c="".concat(r,":").concat(s,":").concat(l)),"mtime"===e&&(c="".concat(i,"/").concat(n,"/").concat(o," ").concat(r,":").concat(s)),"datetime"===e&&(c="".concat(i,"/").concat(n,"/").concat(o," ").concat(r,":").concat(s,":").concat(l)),"dateCar"===e&&(c="".concat(i,"-").concat(n,"-").concat(o)),c}},bindTimeChange:function(t){var e=t.detail.value,a=parseInt(this.array[0][e[0]]),i=parseInt(this.array[1][e[1]]);i=i<10?"0".concat(i):i;var n=e[2]?e[2]:0,o=parseInt(this.array[2][n]);o=o<10?"0".concat(o):o;var r="";if(this.timeOptions.length){var s=e[3]?e[3]:0;r=this.array[3][s]}else{var l=e[3]?e[3]:0,c=parseInt(this.array[3][l]);c=c<10?"0".concat(c):c;var d=e[4]?e[4]:0,h=parseInt(this.array[4][d]);h=h<10?"0".concat(h):h,r="".concat(c,":").concat(h)}this.timeValue="".concat(a,"/").concat(i,"/").concat(o," ").concat(r),this.$emit("getData",{time:this.timeValue,pickerIndex:this.pickerIndex})},indexInit:function(){},init:function(){this.dateInit(),"anyTime"!==this.timeType||this.timeOptions.length?this.array[3]=this.timeOptions:this.timeInit();this.valueEchoed()},valueEchoed:function(){var t=this,e=this.value||(new Date).getTime(),a=this.moment(e);if(a){a=a.split(" ");var i=a[0].split("/");i&&i.forEach((function(e,a){var n=0;n=t.array[a].findIndex((function(t){return parseInt(t)===parseInt(i[a])})),0===a&&(t.yearIndex=n,t.array[1]=t.monthArr[n],t.array[2]=t.getDateArr(parseInt(t.array[0][n]),parseInt(i[1])));var o=t.array[a];n=o&&o.findIndex((function(t){return parseInt(t)===parseInt(e)})),n<0&&(n=0),t.index[a]=n}))}if(a&&!this.timeOptions.length){var n=a[1].split(":");n.forEach((function(e,a){var i=a+3;if(a>1)return!1;var n=t.array[i].findIndex((function(t){return parseInt(t)===parseInt(e)}));n<0&&(n=0),0===a&&(t.array[4]=t.minsArr[n]),t.index[i]=n}))}if(this.timevalue&&this.timeOptions.length){var o=this.array[3].findIndex((function(e){return e===t.timevalue}))||0;this.index[3]=o}},getIndexArr:function(t){for(var e=[],a=[],i=0,n=0,o=0;ouni-view[data-v-16a0a3a8]{position:absolute}.load1[data-v-16a0a3a8],\n.load2[data-v-16a0a3a8],\n.load3[data-v-16a0a3a8]{height:24px;width:24px}.load2[data-v-16a0a3a8]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-16a0a3a8]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.loading-img>uni-view uni-view[data-v-16a0a3a8]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#777;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-16a0a3a8 1.56s ease infinite}.loading-img>uni-view uni-view[data-v-16a0a3a8]:nth-child(1){-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.loading-img>uni-view uni-view[data-v-16a0a3a8]:nth-child(2){-webkit-transform:rotate(180deg);top:11px;right:0}.loading-img>uni-view uni-view[data-v-16a0a3a8]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.loading-img>uni-view uni-view[data-v-16a0a3a8]:nth-child(4){top:11px;left:0}.load1 uni-view[data-v-16a0a3a8]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.load2 uni-view[data-v-16a0a3a8]:nth-child(1){-webkit-animation-delay:.13s;animation-delay:.13s}.load3 uni-view[data-v-16a0a3a8]:nth-child(1){-webkit-animation-delay:.26s;animation-delay:.26s}.load1 uni-view[data-v-16a0a3a8]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 uni-view[data-v-16a0a3a8]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 uni-view[data-v-16a0a3a8]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 uni-view[data-v-16a0a3a8]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 uni-view[data-v-16a0a3a8]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 uni-view[data-v-16a0a3a8]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 uni-view[data-v-16a0a3a8]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 uni-view[data-v-16a0a3a8]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 uni-view[data-v-16a0a3a8]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-16a0a3a8{0%{opacity:1}100%{opacity:.2}}",""]),t.exports=e},a809:function(t,e,a){"use strict";a.r(e);var i=a("f6bf"),n=a("54d6");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("d400");var r,s=a("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"e77e32d0",null,!1,i["a"],r);e["default"]=l.exports},b6802:function(t,e,a){"use strict";function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);ae&&(0,r.alertTip)("开始时间需大于结束时间!")},searchContent:function(t,e){if(this.page=1,console.log(t+"--------"+e+"==-===="+this.visitTj[t].name),this.currentTabIndex=1,this.visitStateIndex=e,"合计"==this.visitTj[t].name)this.RersonIndex=0;else for(var a=0;this.deptList.length;a++)if(this.deptList[a]==this.visitTj[t].name){this.RersonIndex=a;break}this.seachListStartdate=this.seachStartdate,this.seachListEnddate=this.seachEnddate,this.getVisitMsgList(this.deptList[this.RersonIndex],e)},searchInsideMsgList:function(t,e){if(this.insidepage=1,this.currentTabIndex=2,this.insideloadingType=0,"合计"==this.visitTj[t].name)this.insideDepIndex=0;else for(var a=0;this.deptList.length;a++)if(this.deptList[a]==this.visitTj[t].name){this.insideDepIndex=a;break}this.seachInsideListStartdate=this.seachStartdate,this.seachInsideListEnddate=this.seachEnddate,this.getInsideMsgList(this.deptList[this.insideDepIndex])},bindDateChange:function(t){this.seachStartdate=t.target.value},seachEnddateChange:function(t){this.seachEnddate=t.target.value},searchVisitList:function(){this.page=1,this.loadingType=0,console.log(this.seachStartdate+"--------"+this.seachEnddate),"全部"==this.visitState[this.visitStateIndex]?this.visitStateIndex=0:"已授权"==this.visitState[this.visitStateIndex]?this.visitStateIndex=1:"未授权"==this.visitState[this.visitStateIndex]&&(this.visitStateIndex=2);var t=new Date(this.seachListStartdate),e=new Date(this.seachListEnddate);t>e?(0,r.alertTip)("开始时间需大于结束时间!"):this.getVisitMsgList(this.deptList[this.RersonIndex],this.visitStateIndex)},getVisitMsgList:function(t,e){var a=this,i={method:s.greenVisitorStatisticsDetailed,data:{page:this.page,startDate:this.seachListStartdate,endDate:this.seachListEnddate,dep:t,userId:this.userId,type:e}};(0,r.callbackRequest)(i).then((function(t){1==t.data.returnCode&&(1==a.page?a.visitlist=t.data.returnData:t.data.returnData.length>0?(a.visitlist=[].concat((0,o.default)(a.visitlist),(0,o.default)(t.data.returnData)),a.loadingType=0):a.loadingType=2)}))},getHealthyList:function(){var t=this,e={method:s.getHealthyList,data:{userId:this.userId}};(0,r.callbackRequest)(e).then((function(e){if(1==e.data.returnCode){console.log(e.data.returnData),t.visitTj=e.data.returnData.list,t.tmpV=e.data.returnData.tmpV;var a=e.data.returnData.categoriesmap;console.log("LineA====="+a),n.showLineA("canvasLineA",a)}}))},coughradioChange:function(t){this.cough=t.target.value},weakradioChange:function(t){this.weak=t.target.value},breatheradioChange:function(t){this.breathe=t.target.value},epidemicradioChange:function(t){this.epidemic=t.target.value},overseasMsgDateChange:function(t){this.overseas=t.target.value},bindMsgDateChange:function(t){this.seachListStartdate=t.target.value},searchInsideList:function(){this.insideloadingType=0,this.insidepage=1,this.currentTabIndex=2;var t=new Date(this.seachInsideListStartdate),e=new Date(this.seachInsideListEnddate);t>e?(0,r.alertTip)("开始时间需大于结束时间!"):this.getInsideMsgList(this.deptList[this.insideDepIndex])},getInsideMsgList:function(t){var e=this,a={method:s.greenGetInsideList,data:{page:this.insidepage,startDate:this.seachInsideListStartdate,endDate:this.seachInsideListEnddate,userId:this.userId,dep:t}};(0,r.callbackRequest)(a).then((function(t){1==t.data.returnCode&&(1==e.insidepage?e.insideList=t.data.returnData:t.data.returnData.length>0?(e.insideList=[].concat((0,o.default)(e.insideList),(0,o.default)(t.data.returnData)),e.insideloadingType=0):e.insideloadingType=2)}))},seachInsideStartdateChange:function(t){this.seachInsideListStartdate=t.target.value},seachInsideEnddateChange:function(t){this.seachInsideListEnddate=t.target.value},getTime:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1,i=t.getDate(),n=t.getHours(),o=t.getMinutes();t.getSeconds();return e+"-"+a+"-"+i+" "+n+":"+o},getDay:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1;a<10&&(a="0"+a);var i=t.getDate();return e+"-"+a+"-"+i},initData:function(){},getRerson:function(){var t=this,e={method:s.greenVisitorStatistics,data:{userId:this.userId,startDate:this.seachStartdate,endDate:this.seachEnddate}};(0,r.callbackRequest)(e).then((function(e){1==e.data.returnCode&&(t.visitTj=e.data.returnData.visitlist,e.data.returnData.depList.length>0&&(t.deptList=e.data.returnData.depList))}))},toDetail:function(t){uni.navigateTo({url:t})},switchTab:function(t){this.chooseDateIndex=t,this.initData()},changeDepartment:function(t){this.departmentIndex=t.detail.value},changeRerson:function(t){this.RersonIndex=t.detail.value},changeInsideRerson:function(t){this.insideDepIndex=t.detail.value},visitState2:function(t){this.visitStateIndex=t.detail.value}}};e.default=p},cb29:function(t,e,a){var i=a("23e7"),n=a("81d5"),o=a("44d2");i({target:"Array",proto:!0},{fill:n}),o("fill")},d0ff:function(t,e,a){"use strict";a.r(e);var i=a("b6802");function n(t){if(Array.isArray(t))return Object(i["a"])(t)}a("a4d3"),a("e01a"),a("d28b"),a("a630"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function o(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}var r=a("dde1");function s(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t){return n(t)||o(t)||Object(r["a"])(t)||s()}a.d(e,"default",(function(){return l}))},d400:function(t,e,a){"use strict";var i=a("7fbc"),n=a.n(i);n.a},ddbe:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".placeholder[data-v-1666093e]{color:#b5b8c2;font-size:%?26?%}",""]),t.exports=e},dde1:function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));a("a630"),a("fb6a"),a("d3b7"),a("25f0"),a("3ca3");var i=a("b6802");function n(t,e){if(t){if("string"===typeof t)return Object(i["a"])(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Object(i["a"])(t,e):void 0}}},e482:function(t,e,a){"use strict";var i=a("9984"),n=a.n(i);n.a},e491:function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"load-more",props:{loadingType:{type:Number,default:0},showImage:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=i},f2c8:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */@font-face{font-family:iconfont;src:url(/static/ttf/iconfont.eot?t=1564651597095);\n /* IE9 */src:url(/static/ttf/iconfont.eot?t=1564651597095#iefix) format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABhMAAsAAAAAKtgAABf+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCIFgq/aLMaATYCJAOBHAtQAAQgBYRtB4MlG28jM5KzWniiKJW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U+C/3LiUEeACPGQUsIBGxNprZQbAQZDMBCwwXuYAHzGXxoHAQhUAMTYAwNuKTIaA8qeMAC44LKOAclHE2j+UGUDsg8wEVKAyB6TEcpE4GBGz2gcGuIOIzZ8YhqRE1rj2btVTkD7jpltOgy/BWJzLpqPJcMkJKDApCth7OXNOMGEoZ8fZjUGWESsMJRC6UexcsT4eC1XBUUh50AZGBuBcPXqEyfE07iwhoojTO+3Rj38KSF6GM4bNno17CRgWnjvjT8fPQTxJKqfNbsW7yD1pZjFjAivXNUiOiWYMZPlCwljUDSVAyBkpCrAL63zZ7gpck6PlU/nTKQkefFsUFx4ZCEQhBhmQCV0gC7L/ivouEpCEXMiDFBqfgJCImISUjCs37jzIKSipqHnS8DLCSKPCy41JyecYE+QkABsRKvkA2FQ527N6rp572fYzyoMNE8x85dlTazK/+kR+Wl5StB4KhW9TEL7+iF5ybGQI86jehiVvPU0rVp62BAPqEQu99zST9QR24eVVNUPrqoEeG5N/guqzPa2vBCzV5rBQyJVcO7s8uY04Cp/OrQ/zxJBcV22u6PNiT5VH5DW/mmnLY6PWmFXXnmzY4Uw3NItUxKm+Na5qHTdNX7jW+Z5qZCIw9aurz3E9FG4JUsYIAg==") format("woff2"),url(/static/ttf/iconfont.woff?t=1564651597095) format("woff"),url(/static/ttf/iconfont.ttf?t=1564651597095) format("truetype"),url(/static/ttf/iconfont.svg?t=1564651597095#iconfont) format("svg")\n /* iOS 4.1- */}.iconfont[data-v-e77e32d0]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-chongzhijiaofei[data-v-e77e32d0]:before{content:"\\e619"}.icon-dingwei[data-v-e77e32d0]:before{content:"\\e650"}.icon-chongzhi[data-v-e77e32d0]:before{content:"\\e653"}.icon-2xuanzhong[data-v-e77e32d0]:before{content:"\\e605"}.icon-ziguanjilu[data-v-e77e32d0]:before{content:"\\e68f"}.icon-zuo[data-v-e77e32d0]:before{content:"\\e64b"}.icon-xuanzhong[data-v-e77e32d0]:before{content:"\\e626"}.icon-you1[data-v-e77e32d0]:before{content:"\\e61d"}.icon-up[data-v-e77e32d0]:before{content:"\\e600"}.icon-icon_kefu[data-v-e77e32d0]:before{content:"\\e632"}.icon-xiugai[data-v-e77e32d0]:before{content:"\\e64e"}.icon-liebiao[data-v-e77e32d0]:before{content:"\\e601"}.icon-sousuo1[data-v-e77e32d0]:before{content:"\\e678"}.icon-you[data-v-e77e32d0]:before{content:"\\e608"}.icon-gerenxinxi[data-v-e77e32d0]:before{content:"\\e62a"}.icon-yingyeshijian[data-v-e77e32d0]:before{content:"\\e640"}.icon-list[data-v-e77e32d0]:before{content:"\\e602"}.icon-kefu[data-v-e77e32d0]:before{content:"\\e611"}.icon-shouye[data-v-e77e32d0]:before{content:"\\e603"}.icon-zuo1[data-v-e77e32d0]:before{content:"\\e606"}.icon-weixin[data-v-e77e32d0]:before{content:"\\e620"}.icon-shoucang[data-v-e77e32d0]:before{content:"\\e604"}.icon-SVG_daifukuan-miaobian[data-v-e77e32d0]:before{content:"\\e618"}.icon-daishouhuo[data-v-e77e32d0]:before{content:"\\e6ab"}.icon-xia[data-v-e77e32d0]:before{content:"\\e607"}.icon-zuo11[data-v-e77e32d0]:before{content:"\\e6b8"}.icon-shoucang1[data-v-e77e32d0]:before{content:"\\e625"}.icon-shoucang2[data-v-e77e32d0]:before{content:"\\e612"}.icon-jilu[data-v-e77e32d0]:before{content:"\\e654"}.icon-shouhou[data-v-e77e32d0]:before{content:"\\e67d"}.icon-qiandao[data-v-e77e32d0]:before{content:"\\e73a"}.icon-sousuo[data-v-e77e32d0]:before{content:"\\e749"}.icon-star[data-v-e77e32d0]:before{content:"\\e609"}.icon-xiangzuo[data-v-e77e32d0]:before{content:"\\e71a"}.icon-order[data-v-e77e32d0]:before{content:"\\e60b"}.icon-guanbi[data-v-e77e32d0]:before{content:"\\e60a"}.icon-shezhi[data-v-e77e32d0]:before{content:"\\e60c"}.icon-zu[data-v-e77e32d0]:before{content:"\\e60d"}.icon-dianhua[data-v-e77e32d0]:before{content:"\\e6a3"}.occupied[data-v-e77e32d0]{height:%?120?%}.footer-btn[data-v-e77e32d0]{position:fixed;bottom:0;left:0;width:100%;z-index:10}.footer-btn .btn[data-v-e77e32d0]{margin:%?20?% %?30?%;background:-webkit-linear-gradient(left,#ffc200,#ff9000);background:linear-gradient(90deg,#ffc200,#ff9000);\n /*设置按钮为渐变颜色*/font-size:%?28?%;color:#fff;text-align:center;line-height:%?80?%;border-radius:%?6?%}.footer-btn .btn-blue[data-v-e77e32d0]{margin:%?20?% %?30?%;background:-webkit-linear-gradient(left,#59deff,#3e83ea);background:linear-gradient(90deg,#59deff,#3e83ea);\n /*设置按钮为渐变颜色*/font-size:%?28?%;color:#fff;text-align:center;line-height:%?80?%;border-radius:%?6?%}.footer-btn-two[data-v-e77e32d0]{overflow:hidden}.footer-btn-two .btn[data-v-e77e32d0]{float:left;width:50%;margin:0;border-radius:%?0?%}.footer-btn-two .btn-col[data-v-e77e32d0]{background:#ccc}.footer-btn-two .btn-col1[data-v-e77e32d0]{background:#00c277}.common-shade[data-v-e77e32d0]{position:fixed;top:0;left:0;width:100%;height:100vh;background:rgba(0,0,0,.7);z-index:99}.bg-ccc[data-v-e77e32d0]{background:#ccc!important}.bRed[data-v-e77e32d0]{color:red}.fs30[data-v-e77e32d0]{font-size:%?30?%}.searchv[data-v-e77e32d0]{margin-top:%?0?%;padding:%?20?% 0}.search[data-v-e77e32d0]{margin-top:%?20?%;display:inline-block;background-color:#00c277;color:#fff;margin-left:2vh;font-size:2vh;border-radius:1vh;padding:1vh 2vh 1vh 2vh}.timecenter[data-v-e77e32d0]{font-size:%?26?%;margin-left:%?10?%;margin-right:%?10?%}.time[data-v-e77e32d0]{margin-top:%?10?%;font-size:%?28?%;display:inline-block;border:1px solid #c2c2c2}.time2[data-v-e77e32d0]{font-size:%?28?%;display:inline-block}.visitcon[data-v-e77e32d0]{display:inline-block;text-align:center;font-size:14px}.visitconContent[data-v-e77e32d0]{\n /* text-decoration:underline; */display:inline-block;text-align:center;font-size:14px}.w55[data-v-e77e32d0]{width:55%}.w50[data-v-e77e32d0]{width:50%}.w40[data-v-e77e32d0]{width:40%}.w25[data-v-e77e32d0]{width:25%}.w10[data-v-e77e32d0]{width:10%}.w15[data-v-e77e32d0]{width:15%}.w20[data-v-e77e32d0]{width:20%}.w30[data-v-e77e32d0]{width:30%}.w35[data-v-e77e32d0]{width:35%}.w45[data-v-e77e32d0]{width:45%}.container[data-v-e77e32d0]{position:relative;overflow:hidden;background:#f8f8f8;min-height:100vh}.container .banner-box[data-v-e77e32d0]{width:100%;height:%?240?%;position:absolute;top:0;left:0}.container .banner-box uni-image[data-v-e77e32d0]{width:100%;height:100%}.container .main[data-v-e77e32d0]{margin:%?172?% %?40?% 0;position:relative;z-index:10\n /*样式的width和height一定要与定义的cWidth和cHeight相对应*/}.container .main .tab-box[data-v-e77e32d0]{overflow:hidden;border-radius:%?10?% %?10?% 0 0;background:rgba(132,149,167,.8);height:%?70?%}.container .main .tab-box .tab-item[data-v-e77e32d0]{float:left;height:%?70?%;width:50%;font-size:%?30?%;color:#e5f6ff;text-align:center;line-height:%?70?%}.container .main .tab-box .active_tab[data-v-e77e32d0]{background:#fff;color:#333;border-radius:%?10?% %?10?% 0 0;font-weight:700}.container .main .form-box[data-v-e77e32d0]{padding:%?20?% %?30?% %?0?%;margin-bottom:%?20?%;background:#fff}.container .main .form-box .form-item[data-v-e77e32d0]{overflow:hidden;border-bottom:1px solid #eee;padding:%?30?% 0}.container .main .form-box .form-item .label[data-v-e77e32d0]{float:left;width:%?150?%;font-size:%?28?%;color:#333;font-weight:700;line-height:%?50?%}.container .main .form-box .form-item .ipt-box[data-v-e77e32d0]{margin-left:%?160?%}.container .main .form-box .form-item .ipt-box uni-input[data-v-e77e32d0]{width:100%;height:%?50?%;line-height:%?50?%;font-size:%?26?%;color:#666}.container .main .form-box .form-item .ipt-box .pic[data-v-e77e32d0]{width:%?60?%;height:%?60?%;line-height:%?80?%}.container .main .form-box .form-item .select .arrow[data-v-e77e32d0]{float:right;width:%?16?%;height:%?29?%;margin-top:%?10?%}.container .main .form-box .form-item .select uni-input[data-v-e77e32d0]{width:70%}.container .main .form-box .form-item .jian[data-v-e77e32d0]{width:%?50?%;height:%?50?%;margin-left:%?280?%}.container .main .form-box .form-item .select .arrow[data-v-e77e32d0]{float:right;width:%?16?%;height:%?29?%;margin-top:%?10?%}.container .main .form-box .form-item .select .picker[data-v-e77e32d0]{height:%?50?%;line-height:%?50?%;font-size:%?26?%;color:#666}.container .main .form-box .sure-btn[data-v-e77e32d0]{width:100%;height:%?80?%;font-size:%?28?%;color:#fff;text-align:center;line-height:%?80?%;border-radius:%?8?%;background:#06c;background:-webkit-linear-gradient(left,#ffc200,#ff9000);background:linear-gradient(90deg,#ffc200,#ff9000);\n /*设置按钮为渐变颜色*/margin-top:%?50?%}.container .main .list-box .list-item[data-v-e77e32d0]{background:#fff;margin-bottom:%?10?%}.container .main .list-box .list-item .title[data-v-e77e32d0]{border-bottom:1px solid #eee;padding:%?20?% %?10?%;overflow:hidden;line-height:%?40?%}.container .main .list-box .list-item .title .line[data-v-e77e32d0]{display:inline-block;width:%?10?%;height:%?32?%;background:#00c277;margin-top:%?4?%}.container .main .list-box .list-item .title .text[data-v-e77e32d0]{display:inline-block;font-size:%?28?%;color:#444;font-weight:700;margin-left:%?10?%;vertical-align:top}.container .main .list-box .list-item .title .status[data-v-e77e32d0]{font-size:%?26?%;color:#00c277;float:right}.container .main .list-box .list-item .title .status1[data-v-e77e32d0]{font-size:%?26?%;color:#5063c3;float:right}.container .main .list-box .list-item .title .status2[data-v-e77e32d0]{font-size:%?26?%;color:red;float:right}.container .main .list-box .list-item .content[data-v-e77e32d0]{padding:%?10?% %?20?%}.container .main .list-box .list-item .content .info-item[data-v-e77e32d0]{overflow:hidden;padding-bottom:%?10?%}.container .main .list-box .list-item .content .info-item .fl-text[data-v-e77e32d0]{float:left;font-size:%?26?%;color:#444;font-weight:700;line-height:%?40?%}.container .main .list-box .list-item .content .info-item .fr-text[data-v-e77e32d0]{float:right;font-size:%?26?%;color:#666;line-height:%?40?%}.container .main .list-box .comment-btn[data-v-e77e32d0]{float:right;font-size:%?24?%;border-radius:%?10?%;color:#fff;line-height:%?50?%;text-align:center;min-width:%?140?%;background-color:#00c277}.container .main .qiun-charts[data-v-e77e32d0]{width:%?670?%;height:%?500?%;background-color:#fff}.container .main .charts[data-v-e77e32d0]{width:%?670?%;height:%?500?%;background-color:#fff}',""]),t.exports=e},f4f8:function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{}},props:{title:{type:String,default:"暂无数据"},icon:{type:String,default:"/static/imgs/null-data.png"},iconWidth:{type:Number,default:100},padTop:{type:Number,default:25}}};e.default=i},f6bf:function(t,e,a){"use strict";var i,n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticClass:"banner-box"},[a("v-uni-image",{attrs:{src:"/static/imgs/myHealthBanner.png",mode:""}}),4==t.currentTabIndex?a("v-uni-image",{attrs:{src:"/static/imgs/visitor.png",mode:""}}):t._e()],1),a("v-uni-view",{staticClass:"main"},[a("v-uni-view",{staticClass:"tab-box"},[a("v-uni-view",{staticClass:"tab-item",class:0==t.currentTabIndex?"active_tab":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.currentTabIndex=0}}},[t._v("信息填报")]),a("v-uni-view",{staticClass:"tab-item",class:1==t.currentTabIndex?"active_tab":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.currentTabIndex=1}}},[t._v("历史记录")])],1),0==t.currentTabIndex?a("v-uni-view",{staticStyle:{"padding-left":"26upx","background-color":"#fff",height:"auto"}},[a("v-uni-view",{staticClass:"form-item searchv",staticStyle:{"padding-bottom":"10upx","padding-top":"20upx"}},[a("span",{staticStyle:{color:"#FF0000"}},[t._v("*")]),a("v-uni-text",{staticClass:"label fs30"},[t._v("时间")]),a("datetime-Picker",{staticClass:"time2",staticStyle:{position:"relative",float:"right",right:"26upx"},attrs:{mode:"time",value:t.commitTime,maxDate:t.defaultMaxDate,minDate:t.defaultMinDate,minTime:t.minTime,maxTime:t.maxTime},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindMsgDateChange.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticStyle:{"background-color":"#f2f2f2",height:"1upx"}}),a("v-uni-view",{staticClass:"form-item searchv",staticStyle:{"padding-bottom":"10upx"}},[a("span",{staticStyle:{color:"#FF0000"}},[t._v("*")]),a("v-uni-text",{staticClass:"label fs30",staticStyle:{display:"inline-block"}},[t._v("体温")]),a("v-uni-picker",{staticStyle:{"margin-top":"10upx","align-items":"center","font-size":"30upx",display:"flex",position:"relative",float:"right",right:"26upx"},attrs:{value:t.twindex,range:t.twlist,"range-key":"twindex"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeDepartment1.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"uni-input"},[t._v(t._s(t.twlist[t.twindex]))])],1)],1),a("v-uni-view",{staticStyle:{"background-color":"#f2f2f2",height:"1upx"}}),a("v-uni-view",{staticClass:"form-item searchv",staticStyle:{"padding-bottom":"10upx",display:"flow-root"}},[a("span",{staticStyle:{color:"#FF0000"}},[t._v("*")]),a("v-uni-text",{staticClass:"label fs30",staticStyle:{display:"inline-block"}},[t._v("位置")]),a("v-uni-text",{staticStyle:{float:"right",right:"26upx",width:"450upx",height:"auto","font-size":"30upx",position:"relative","text-align":"right"}},[t._v(t._s(t.locationDetail))])],1),a("v-uni-view",{staticStyle:{"background-color":"#f2f2f2",height:"1upx"}}),a("v-uni-view",{staticClass:"form-item searchv",staticStyle:{"padding-top":"10upx","padding-bottom":"10upx"}},[a("span",{staticStyle:{color:"#FF0000"}},[t._v("*")]),a("v-uni-text",{staticClass:"label fs30"},[t._v("是否咳嗽")]),a("v-uni-view",{staticClass:"uni-list"},[a("v-uni-radio-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.coughradioChange.apply(void 0,arguments)}}},[a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"1"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("是")])],1),a("v-uni-view"),a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"0",checked:"true"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("否")])],1)],1)],1)],1),a("v-uni-view",{staticStyle:{"background-color":"#f2f2f2",height:"1upx"}}),a("v-uni-view",{staticClass:"form-item searchv"},[a("span",{staticStyle:{color:"#FF0000"}},[t._v("*")]),a("v-uni-text",{staticClass:"label fs30"},[t._v("是否浑身无力")]),a("v-uni-view",{staticClass:"uni-list"},[a("v-uni-radio-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.weakradioChange.apply(void 0,arguments)}}},[a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"1"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("是")])],1),a("v-uni-view"),a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"0",checked:"true"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("否")])],1)],1)],1)],1),a("v-uni-view",{staticStyle:{"background-color":"#f2f2f2",height:"1upx"}}),a("v-uni-view",{staticClass:"form-item searchv"},[a("span",{staticStyle:{color:"#FF0000"}},[t._v("*")]),a("v-uni-text",{staticClass:"label fs30"},[t._v("是否呼吸困难")]),a("v-uni-view",{staticClass:"uni-list"},[a("v-uni-radio-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.breatheradioChange.apply(void 0,arguments)}}},[a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"1"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("是")])],1),a("v-uni-view"),a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"0",checked:"true"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("否")])],1)],1)],1)],1),a("v-uni-view",{staticStyle:{"background-color":"#f2f2f2",height:"1upx"}}),a("v-uni-view",{staticClass:"form-item searchv",staticStyle:{"padding-top":"10upx","padding-bottom":"10upx"}},[a("v-uni-text",{staticClass:"label fs30",staticStyle:{"margin-bottom":"10upx"}},[t._v("其它不适情况说明")]),a("v-uni-view",{staticStyle:{height:"10upx"}}),a("v-uni-textarea",{staticStyle:{border:"1px solid #f2f2f2",padding:"20upx","font-size":"30upx"},attrs:{"placeholder-style":"color:#d2d2d2",placeholder:"如有其它不适情况请填写",rows:"5",value:t.discomfortExplain,maxlength:"500"}})],1),a("v-uni-view",{staticStyle:{"background-color":"#f2f2f2",height:"1upx"}}),a("v-uni-view",{staticClass:"form-item searchv"},[a("span",{staticStyle:{color:"#FF0000"}},[t._v("*")]),a("v-uni-text",{staticClass:"label fs30"},[t._v("本日是否接触过疫区人员")]),a("v-uni-view",{staticClass:"uni-list"},[a("v-uni-radio-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.epidemicradioChange.apply(void 0,arguments)}}},[a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"1"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("是")])],1),a("v-uni-view"),a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"0",checked:"true"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("否")])],1)],1)],1)],1),a("v-uni-view",{staticStyle:{"background-color":"#f2f2f2",height:"1upx"}}),a("v-uni-view",{staticClass:"form-item searchv"},[a("span",{staticStyle:{color:"#FF0000"}},[t._v("*")]),a("v-uni-text",{staticClass:"label fs30 "},[t._v("近14天是否从海外归国或接触相关人员")]),a("v-uni-view",{staticClass:"uni-list"},[a("v-uni-radio-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.overseasMsgDateChange.apply(void 0,arguments)}}},[a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"1"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("是")])],1),a("v-uni-view"),a("v-uni-label",{staticClass:"uni-list-cell uni-list-cell-pd"},[a("v-uni-view",{staticStyle:{display:"inline-block","padding-top":"10upx"}},[a("v-uni-radio",{staticStyle:{transform:"scale(0.8)"},attrs:{value:"0",checked:"true"}})],1),a("v-uni-view",{staticClass:"fs30",staticStyle:{display:"inline-block"}},[t._v("否")])],1)],1)],1)],1),a("v-uni-view",{staticClass:"occupied"}),a("v-uni-view",{staticClass:"footer-btn footer-btn-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit()}}},[a("v-uni-view",{staticClass:"btn"},[t._v("提交")])],1)],1):1==t.currentTabIndex?a("v-uni-view",{staticClass:"reservation-box",staticStyle:{"background-color":"#fff"}},[a("v-uni-view",{staticClass:"qiun-columns"},[a("v-uni-view",{staticClass:"qiun-bg-white qiun-title-bar qiun-common-mt"},[a("v-uni-view",{staticClass:"qiun-title-dot-light",staticStyle:{"font-size":"30upx",margin:"20upx 0 20upx 0"}},[t._v("体温变化")])],1),a("v-uni-view",{staticClass:"qiun-charts"},[a("v-uni-canvas",{staticClass:"charts",attrs:{"canvas-id":"canvasLineA",id:"canvasLineA"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.touchLineA.apply(void 0,arguments)}}})],1)],1),t.visitTj.length>0?a("v-uni-view",{staticClass:"list-box"},[a("v-uni-view",{staticClass:"form-item",staticStyle:{width:"100%",padding:"20upx 10upx"}},[a("v-uni-view",{staticClass:"visitcon w20"},[t._v("姓名")]),a("v-uni-view",{staticClass:"visitcon w35"},[t._v("日期")]),a("v-uni-view",{staticClass:"visitcon w10"},[t._v("咳嗽")]),a("v-uni-view",{staticClass:"visitcon w15"},[t._v("体温")]),a("v-uni-view",{staticClass:"visitcon w20"},[t._v("数据来源")])],1),t._l(t.visitTj,(function(e,i){return a("v-uni-view",{key:i,staticClass:"form-item",staticStyle:{padding:"20upx 10upx","border-top":"1px solid #d2d2d2","align-items":"center",display:"flex"}},[a("v-uni-view",{staticClass:"visitcon w20"},[t._v(t._s(e.userName))]),a("v-uni-view",{staticClass:"visitconContent w35"},[t._v(t._s(e.time))]),a("v-uni-view",{staticClass:"visitconContent w10",class:["是"===e.cough?"bRed":""]},[t._v(t._s(e.cough))]),a("v-uni-view",{staticClass:"visitconContent w15",class:[e.temperature>=t.tmpV?"bRed":""]},[t._v(t._s(e.temperature))]),a("v-uni-view",{staticClass:"visitconContent w20"},[t._v(t._s(e.source))])],1)}))],2):t._e()],1):t._e()],1)],1)],1)},o=[];a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}))},f942:function(t,e,a){"use strict";a("99af"),a("cb29"),a("4de4"),a("4160"),a("d81d"),a("13d5"),a("26e9"),a("fb6a"),a("4e82"),a("a9e3"),a("b680"),a("d3b7"),a("e25e"),a("ac1f"),a("25f0"),a("5319"),a("1276"),a("159b");var i={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},n=function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),i=1;it.end.x||e.end.xt.start.y||e.start.y=0?(s=0,t.event.trigger("scrollLeft")):Math.abs(e)>=r-o&&(s=o-r,t.event.trigger("scrollRight")),s}function d(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<=a}function h(t,e,a){var i=t,n=a-e,o=i+(a-n-i)/Math.sqrt(2);o*=-1;var r=(a-n)*(Math.sqrt(2)-1)-(a-n-i)/Math.sqrt(2);return{transX:o,transY:r}}function u(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,o=null,r=null,s=null,l=null;if(e<1?(o=t[0].x+(t[1].x-t[0].x)*i,r=t[0].y+(t[1].y-t[0].y)*i):(o=t[e].x+(t[e+1].x-t[e-1].x)*i,r=t[e].y+(t[e+1].y-t[e-1].y)*i),e>t.length-3){var c=t.length-1;s=t[c].x-(t[c].x-t[c-1].x)*n,l=t[c].y-(t[c].y-t[c-1].y)*n}else s=t[e+1].x-(t[e+2].x-t[e].x)*n,l=t[e+1].y-(t[e+2].y-t[e].y)*n;return a(t,e+1)&&(l=t[e+1].y),a(t,e)&&(r=t[e].y),(r>=Math.max(t[e].y,t[e+1].y)||r<=Math.min(t[e].y,t[e+1].y))&&(r=t[e].y),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e+1].y),{ctrA:{x:o,y:r},ctrB:{x:s,y:l}}}function f(t,e,a){return{x:a.x+t,y:a.y-e}}function p(t,e){if(e)while(o.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0?t.start.y++:t.start.y>0?t.start.y++:t.start.y--;return t}function g(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 x(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 v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.fontSize;t=String(t);t=t.split("");for(var a=0,n=0;n4&&void 0!==arguments[4]?arguments[4]:{},o=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}})),r=[],s={x:0,y:0},l=0;l4&&void 0!==arguments[4]?arguments[4]:{},o=t.map((function(t){return{text:n.format?n.format(t,i[a]):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));for(var r=[],s={x:0,y:0},l=0;l6&&void 0!==arguments[6]&&arguments[6];var r=o.color.upFill,s=o.color.downFill,l=[r,r,s,r],c=[],d={text:n[i],color:null};c.push(d),e.map((function(e){0==i&&e.data[1]-e.data[0]<0?l[1]=s:(e.data[0]t[i-1][1]&&(l[2]=r),e.data[3]4&&void 0!==arguments[4]?arguments[4]:0,o=-1,r=0,s=[],l=0;le&&(o=a)})),o}function M(t,e,a){var i=-1;if(L(t,e.area)){for(var n=e.points,o=-1,r=0,s=n.length;rd[0]&&t.xd[1]&&t.ye.start.x&&t.xe.start.y&&t.y=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function F(t,e,a){var i=2*Math.PI/a,n=-1;if(W(t,e.center,e.radius)){var o=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r*=-1,r<0&&(r+=2*Math.PI);var s=e.angleList.map((function(t){return t=o(-1*t),t}));s.forEach((function(t,e){var a=o(t-i/2),s=o(t+i/2);s=a&&r<=s||r+2*Math.PI>=a&&r+2*Math.PI<=s)&&(n=e)}))}return n}function _(t,e){for(var a=-1,i=0,n=e.series.length;io.funnelArea[0]&&t.xo.funnelArea[1]&&t.yo.area[0]&&t.xo.area[1]&&t.ye.width-e.padding[1]-e.padding[3]?(h.push(p),f.push(u-e.legend.itemGap),u=y,p=[x]):(u+=y,p.push(x))}if(p.length){h.push(p),f.push(u-e.legend.itemGap),n.widthArr=f;var m=Math.max.apply(null,f);switch(e.legend.float){case"left":n.area.start.x=e.padding[3],n.area.end.x=e.padding[3]+2*o;break;case"right":n.area.start.x=e.width-e.padding[1]-m-2*o,n.area.end.x=e.width-e.padding[1];break;default:n.area.start.x=(e.width-m)/2-o,n.area.end.x=(e.width+m)/2+o}n.area.width=m+2*o,n.area.wholeWidth=m+2*o,n.area.height=h.length*d+2*o,n.area.wholeHeight=h.length*d+2*o+2*r,n.points=h}}else{var b=t.length,w=e.height-e.padding[0]-e.padding[2]-2*r-2*o,S=Math.min(Math.floor(w/d),b);switch(n.area.height=S*d+2*o,n.area.wholeHeight=S*d+2*o,e.legend.float){case"top":n.area.start.y=e.padding[0]+r,n.area.end.y=e.padding[0]+r+n.area.height;break;case"bottom":n.area.start.y=e.height-e.padding[2]-r-n.area.height,n.area.end.y=e.height-e.padding[2]-r;break;default:n.area.start.y=(e.height-n.area.height)/2,n.area.end.y=(e.height+n.area.height)/2}for(var A=b%S===0?b/S:Math.floor(b/S+1),T=[],P=0;PM&&(M=I)}n.widthArr.push(M),n.heightArr.push(D.length*d+2*o)}for(var F=0,_=0;_i&&(n.angle=45*Math.PI/180,n.xAxisHeight=2*a.xAxisTextPadding+r*Math.sin(n.angle)),n}function q(t,e,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,n=y(t),o=[];n=n.filter((function(t){return"object"===typeof t&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),n.map((function(t){"object"===typeof 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 r=0,s=0;if(o.length>0&&(r=Math.min.apply(this,o),s=Math.max.apply(this,o)),i>-1?("number"===typeof e.xAxis.data[i].min&&(r=Math.min(e.xAxis.data[i].min,r)),"number"===typeof e.xAxis.data[i].max&&(s=Math.max(e.xAxis.data[i].max,s))):("number"===typeof e.xAxis.min&&(r=Math.min(e.xAxis.min,r)),"number"===typeof e.xAxis.max&&(s=Math.max(e.xAxis.max,s))),r===s){var l=s||10;s+=l}for(var c=x(r,s),d=c.minRange,h=c.maxRange,u=[],f=(h-d)/e.xAxis.splitNumber,p=0;p<=e.xAxis.splitNumber;p++)u.push(d+f*p);return u}function j(t,e,a){var i={angle:0,xAxisHeight:a.xAxisHeight};i.ranges=q(t,e,a),i.rangesFormat=i.ranges.map((function(t){return t=e.xAxis.format?e.xAxis.format(t):o.toFixed(t,2),t}));var n=i.ranges.map((function(t){return t=o.toFixed(t,2),t=e.xAxis.format?e.xAxis.format(Number(t)):t,t}));i=Object.assign(i,tt(n,e,a));var r=i.eachSpacing,s=n.map((function(t){return v(t)})),l=Math.max.apply(this,s);return l+2*a.xAxisTextPadding>r&&(i.angle=45*Math.PI/180,i.xAxisHeight=2*a.xAxisTextPadding+l*Math.sin(i.angle)),!0===e.xAxis.disabled&&(i.xAxisHeight=0),i}function H(t,e,a,i,n){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,r=n.extra.radar||{};r.max=r.max||0;for(var s=Math.max(r.max,Math.max.apply(null,y(i))),l=[],c=function(n){var r=i[n],c={};c.color=r.color,c.legendShape=r.legendShape,c.pointShape=r.pointShape,c.data=[],r.data.forEach((function(i,n){var r={};r.angle=t[n],r.proportion=i/s,r.position=f(a*r.proportion*o*Math.cos(r.angle),a*r.proportion*o*Math.sin(r.angle),e),c.data.push(r)})),l.push(c)},d=0;d2&&void 0!==arguments[2]?arguments[2]:1,i=0,n=0,o=0;o2&&void 0!==arguments[2]?arguments[2]:1;t=t.sort((function(t,e){return parseInt(e.data)-parseInt(t.data)}));for(var i=0;i4&&void 0!==arguments[4]?arguments[4]:1,o=0,r=0,s=[],l=0;l2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var i=0;i=2&&(n._proportion_=n._proportion_%2)}return t}function U(t,e,a){for(var i=e-a+1,n=e,o=0;o=2&&(t[o]._endAngle_=t[o]._endAngle_%2),n=t[o]._endAngle_;return t}function X(t,e,a){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=0;n=a.oldData?o._proportion_=(o._endAngle_-o._oldAngle_)*i+a.oldAngle:o._proportion_=o._oldAngle_-(o._oldAngle_-o._endAngle_)*i,o._proportion_>=2&&(o._proportion_=o._proportion_%2)}return t}function J(t){t=G(t);for(var e=0,a=0;a0&&(t.width=Math.min(t.width,+o.extra.column.width)),t.width<=0&&(t.width=1),t.x+=(i+.5-a/2)*t.width,t)}))}function Z(t,e,a,i,n,o,r){return t.map((function(t){return null===t?null:(t.width=Math.ceil((e-2*n.columePadding)/2),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(t.width=Math.min(t.width,+o.extra.column.width)),i>0&&(t.width-=2*r),t)}))}function $(t,e,a,i,n,o,r){return t.map((function(t,a){return null===t?null:(t.width=Math.ceil((e-2*n.columePadding)/2),o.extra.column&&o.extra.column.width&&+o.extra.column.width>0&&(t.width=Math.min(t.width,+o.extra.column.width)),t)}))}function tt(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 o=i/n,r=[],s=e.area[3],l=e.width-e.area[1];return t.forEach((function(t,e){r.push(s+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?r.push(s+t.length*o):r.push(l)),{xAxisPoints:r,startX:s,endX:l,eachSpacing:o}}function et(t,e,a,i,n,o,r){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=o.height-o.area[0]-o.area[2];return t.forEach((function(t,r){if(null===t)l.push(null);else{var d=[];t.forEach((function(t,l){var h={};h.x=i[r]+Math.round(n/2);var u=t.value||t,f=c*(u-e)/(a-e);f*=s,h.y=o.height-Math.round(f)-o.area[2],d.push(h)})),l.push(d)}})),l}function at(t,e,a,i,n,o,r){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=o.type&&"area"!=o.type||(l=o.xAxis.boundaryGap);var c=[],d=o.height-o.area[0]-o.area[2],h=o.width-o.area[1]-o.area[3];return t.forEach((function(t,r){if(null===t)c.push(null);else{var u={};u.color=t.color,u.x=i[r];var f,p,g,x=t;if("object"===typeof t&&null!==t)if(t.constructor==Array)f=[].concat(o.chartData.xAxisData.ranges),p=f.shift(),g=f.pop(),x=t[1],u.x=o.area[3]+h*(t[0]-p)/(g-p);else x=t.value;"center"==l&&(u.x+=Math.round(n/2));var v=d*(x-e)/(a-e);v*=s,u.y=o.height-Math.round(v)-o.area[2],c.push(u)}})),c}function it(t,e,a,i,n,o,r,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,d=[],h=o.height-o.area[0]-o.area[2];return t.forEach((function(t,r){if(null===t)d.push(null);else{var u={};if(u.color=t.color,u.x=i[r]+Math.round(n/2),s>0){for(var f=0,p=0;p<=s;p++)f+=l[p].data[r];var g=f-t,x=h*(f-e)/(a-e),v=h*(g-e)/(a-e)}else f=t,x=h*(f-e)/(a-e),v=0;var y=v;x*=c,y*=c,u.y=o.height-Math.round(x)-o.area[2],u.y0=o.height-Math.round(y)-o.area[2],d.push(u)}})),d}function nt(t,e,a,i){var n,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;n="stack"==i?m(t,e.categories.length):y(t);var r=[];n=n.filter((function(t){return"object"===typeof t&&null!==t?t.constructor==Array?null!==t:null!==t.value:null!==t})),n.map((function(t){"object"===typeof t?t.constructor==Array?"candle"==e.type?t.map((function(t){r.push(t)})):r.push(t[1]):r.push(t.value):r.push(t)}));var s=0,l=0;if(r.length>0&&(s=Math.min.apply(this,r),l=Math.max.apply(this,r)),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&&(l=Math.max(e.yAxis.data[o].max,l))):("number"===typeof e.yAxis.min&&(s=Math.min(e.yAxis.min,s)),"number"===typeof e.yAxis.max&&(l=Math.max(e.yAxis.max,l))),s===l){var c=l||10;l+=c}for(var d=x(s,l),h=d.minRange,u=d.maxRange,f=[],p=(u-h)/e.yAxis.splitNumber,g=0;g<=e.yAxis.splitNumber;g++)f.push(h+p*g);return f.reverse()}function ot(t,e,a){var i=n({},{type:""},e.extra.column),r=e.yAxis.data.length,s=new Array(r);if(r>0){for(var l=0;l=2&&(d%=2),h+=c}}function ft(t,e,a,i,n,r){var s=i.extra.radar||{};e+=n.radarLabelTextMargin,t.forEach((function(t,l){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-=v(i.categories[l]||"")/2:c.x<0&&(h-=v(i.categories[l]||"")),r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(s.labelColor||"#666666"),r.fillText(i.categories[l]||"",h,u+n.fontSize/2),r.closePath(),r.stroke()}))}function pt(t,e,a,i,n,r){for(var s=a.pieChartLinePadding,l=[],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}})),h=0;h=0?g+a.pieChartTextPadding:g-a.pieChartTextPadding,w=x,S=v(u.text,u.textSize||a.fontSize),A=w;c&&o.isSameXCoordinateArea(c.start,{x:b})&&(A=b>0?Math.min(w,c.start.y):g<0?Math.max(w,c.start.y):w>0?Math.max(w,c.start.y):Math.min(w,c.start.y)),b<0&&(b-=S);var T={lineStart:{x:y,y:m},lineEnd:{x:g,y:x},start:{x:b,y:A},width:S,height:a.fontSize,text:u.text,color:u.color,textColor:u.textColor,textSize:u.textSize};c=p(T,c),l.push(c)}for(var P=0;Pa.width&&(f=!0),x+e.y>a.height&&(e.y=a.height-x),o.beginPath(),o.setFillStyle(r(c.bgColor||i.toolTipBackground,c.bgOpacity||i.toolTipOpacity)),f?(o.moveTo(e.x,e.y+10*a.pixelRatio),o.lineTo(e.x-u,e.y+10*a.pixelRatio-5*a.pixelRatio),o.lineTo(e.x-u,e.y),o.lineTo(e.x-u-Math.round(g),e.y),o.lineTo(e.x-u-Math.round(g),e.y+x),o.lineTo(e.x-u,e.y+x),o.lineTo(e.x-u,e.y+10*a.pixelRatio+5*a.pixelRatio),o.lineTo(e.x,e.y+10*a.pixelRatio)):(o.moveTo(e.x,e.y+10*a.pixelRatio),o.lineTo(e.x+u,e.y+10*a.pixelRatio-5*a.pixelRatio),o.lineTo(e.x+u,e.y),o.lineTo(e.x+u+Math.round(g),e.y),o.lineTo(e.x+u+Math.round(g),e.y+x),o.lineTo(e.x+u,e.y+x),o.lineTo(e.x+u,e.y+10*a.pixelRatio+5*a.pixelRatio),o.lineTo(e.x,e.y+10*a.pixelRatio)),o.closePath(),o.fill(),t.forEach((function(t,a){if(null!==t.color){o.beginPath(),o.setFillStyle(t.color);var n=e.x+u+2*i.toolTipPadding,r=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding+1;f&&(n=e.x-g-u+2*i.toolTipPadding),o.fillRect(n,r,d,i.fontSize),o.closePath()}})),t.forEach((function(t,a){var n=e.x+u+2*i.toolTipPadding+d+h;f&&(n=e.x-g-u+2*i.toolTipPadding+ +d+h);var r=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding;o.beginPath(),o.setFontSize(i.fontSize),o.setFillStyle(c.fontColor),o.fillText(t.text,n,r+i.fontSize),o.closePath(),o.stroke()})))}function bt(t,e,a,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=e.chartData.xAxisData,s=r.xAxisPoints,l=r.eachSpacing,c=n({},{type:"group",width:l/2,meter:{border:4,fillColor:"#FFFFFF"}},e.extra.column),d=[];i.save();var h=-2,u=s.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),h=Math.floor(-e._scrollDistance_/l)-2,u=h+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===o&&yt(e.tooltip.offset.x,e,a,i,l),t.forEach((function(n,r){var f,p,g;f=[].concat(e.chartData.yAxisData.ranges[n.index]),p=f.pop(),g=f.shift();var x=n.data;switch(c.type){case"group":var v=at(x,p,g,s,l,e,a,o),y=it(x,p,g,s,l,e,a,r,t,o);d.push(y),v=Y(v,l,t.length,r,a,e);for(var m=0;mh&&mh&&A0&&(S-=P),i.moveTo(w,T.y),i.fillRect(w,T.y,T.width-2,S),i.closePath(),i.fill()}}break;case"meter":v=at(x,p,g,s,l,e,a,o);if(d.push(v),v=Z(v,l,t.length,r,a,e,c.meter.border),0==r)for(var k=0;kh&&k0&&(i.beginPath(),i.setStrokeStyle(n.color),i.setLineWidth(c.meter.border*e.pixelRatio),i.moveTo(w+.5*c.meter.border,C.y+S),i.lineTo(w+.5*c.meter.border,C.y+.5*c.meter.border),i.lineTo(w+C.width-.5*c.meter.border,C.y+.5*c.meter.border),i.lineTo(w+C.width-.5*c.meter.border,C.y+S),i.stroke())}}else for(var D=0;Dh&&D5&&void 0!==arguments[5]?arguments[5]:1,s=n({},{color:{},average:{}},a.extra.candle);s.color=n({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},s.color),s.average=n({},{show:!1,name:[],day:[],color:i.colors},s.average),a.extra.candle=s;var l=a.chartData.xAxisData,c=l.xAxisPoints,d=l.eachSpacing,h=[];o.save();var f=-2,p=c.length+2,g=0,x=a.width+d;return a._scrollDistance_&&0!==a._scrollDistance_&&!0===a.enableScroll&&(o.translate(a._scrollDistance_,0),f=Math.floor(-a._scrollDistance_/d)-2,p=f+a.xAxis.itemCount+4,g=-a._scrollDistance_-d+a.area[3],x=g+(a.xAxis.itemCount+4)*d),s.average.show&&e.forEach((function(t,e){var n,s,l;n=[].concat(a.chartData.yAxisData.ranges[t.index]),s=n.pop(),l=n.shift();for(var h=t.data,f=at(h,s,l,c,d,a,i,r),p=O(f),v=0;vg&&(o.moveTo(w.x,w.y),m=1),b>0&&w.x>g&&w.xf&&y0?(o.setStrokeStyle(s.color.upLine),o.setFillStyle(s.color.upFill),o.setLineWidth(1*a.pixelRatio),o.moveTo(m[3].x,m[3].y),o.lineTo(m[1].x,m[1].y),o.lineTo(m[1].x-d/4,m[1].y),o.lineTo(m[0].x-d/4,m[0].y),o.lineTo(m[0].x,m[0].y),o.lineTo(m[2].x,m[2].y),o.lineTo(m[0].x,m[0].y),o.lineTo(m[0].x+d/4,m[0].y),o.lineTo(m[1].x+d/4,m[1].y),o.lineTo(m[1].x,m[1].y),o.moveTo(m[3].x,m[3].y)):(o.setStrokeStyle(s.color.downLine),o.setFillStyle(s.color.downFill),o.setLineWidth(1*a.pixelRatio),o.moveTo(m[3].x,m[3].y),o.lineTo(m[0].x,m[0].y),o.lineTo(m[0].x-d/4,m[0].y),o.lineTo(m[1].x-d/4,m[1].y),o.lineTo(m[1].x,m[1].y),o.lineTo(m[2].x,m[2].y),o.lineTo(m[1].x,m[1].y),o.lineTo(m[1].x+d/4,m[1].y),o.lineTo(m[0].x+d/4,m[0].y),o.lineTo(m[0].x,m[0].y),o.moveTo(m[3].x,m[3].y)),o.closePath(),o.fill(),o.stroke()}})),o.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:d}}function St(t,e,a,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=n({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),l=e.chartData.xAxisData,c=l.xAxisPoints,d=l.eachSpacing,h=e.height-e.area[2],f=[];i.save();var p=0,g=e.width+d;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),p=-e._scrollDistance_-d+e.area[3],g=p+(e.xAxis.itemCount+4)*d),t.forEach((function(t,n){var l,x,v;l=[].concat(e.chartData.yAxisData.ranges[t.index]),x=l.pop(),v=l.shift();var y=t.data,m=at(y,x,v,c,d,e,a,o);f.push(m);for(var b=O(m),w=0;w1){var T=S[0],P=S[S.length-1];i.moveTo(T.x,T.y);var k=0;if("curve"===s.type)for(var C=0;Cp&&(i.moveTo(D.x,D.y),k=1),C>0&&D.x>p&&D.xp&&(i.moveTo(I.x,I.y),k=1),L>0&&I.x>p&&I.xp&&(i.moveTo(E.x,E.y),R=1),z>0&&E.x>p&&E.xp&&(i.moveTo(B.x,B.y),R=1),N>0&&B.x>p&&B.x4&&void 0!==arguments[4]?arguments[4]:1,r=n({},{type:"straight",width:2},e.extra.line);r.width*=e.pixelRatio;var s=e.chartData.xAxisData,l=s.xAxisPoints,c=s.eachSpacing,d=[];i.save();var h=0,f=e.width+c;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),h=-e._scrollDistance_-c+e.area[3],f=h+(e.xAxis.itemCount+4)*c),t.forEach((function(t,n){var s,p,g;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),g=s.shift();var x=t.data,v=at(x,p,g,l,c,e,a,o);d.push(v);var y=O(v);if("dash"==t.lineType){var m=t.dashLength?t.dashLength:8;m*=e.pixelRatio,i.setLineDash([m,m])}i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(r.width),y.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"===r.type)for(var n=0;nh&&(i.moveTo(o.x,o.y),a=1),n>0&&o.x>h&&o.xh&&(i.moveTo(c.x,c.y),a=1),l>0&&c.x>h&&c.x4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,s=o.xAxisPoints,l=o.eachSpacing,c=e.height-e.area[2],d=[],h=0,f=0;t.forEach((function(t,e){"column"==t.type&&(f+=1)})),i.save();var p=-2,g=s.length+2,x=0,v=e.width+l;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),p=Math.floor(-e._scrollDistance_/l)-2,g=p+e.xAxis.itemCount+4,x=-e._scrollDistance_-l+e.area[3],v=x+(e.xAxis.itemCount+4)*l),t.forEach((function(t,o){var y,m,b;y=[].concat(e.chartData.yAxisData.ranges[t.index]),m=y.pop(),b=y.shift();var w=t.data,S=at(w,m,b,s,l,e,a,n);if(d.push(S),"column"==t.type){S=Y(S,l,f,h,a,e);for(var A=0;Ap&&A1){var M=D[0],L=D[D.length-1];i.moveTo(M.x,M.y);var I=0;if("curve"===t.style)for(var F=0;Fx&&(i.moveTo(_.x,_.y),I=1),F>0&&_.x>x&&_.xx&&(i.moveTo(E.x,E.y),I=1),z>0&&E.x>x&&E.xx&&(i.moveTo(l.x,l.y),r=1),s>0&&l.x>x&&l.xx&&(i.moveTo(h.x,h.y),r=1),d>0&&h.x>x&&h.x0&&(i.beginPath(),i.moveTo(t-l/2,d),i.lineTo(t-l/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,o.forEach((function(t,a){a%e.xAxis.gridEval==0&&(i.beginPath(),i.moveTo(t,d),i.lineTo(t,u),i.stroke())})),i.setLineDash([])),!0!==e.xAxis.disabled){var m=t.length;e.xAxis.labelCount&&(m=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,m-=1);for(var b=Math.ceil(t.length/m),w=[],S=t.length,A=0;A4&&void 0!==arguments[4]?arguments[4]:1,s=n({},{activeOpacity:.5,activeRadius:10*e.pixelRatio,offsetAngle:0,labelWidth:15*e.pixelRatio,ringWidth:0,border:!1,borderWidth:2,borderColor:"#FFFFFF"},e.extra.pie),l={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=s.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=G(t,c,o);var d=s.activeRadius;if(t=t.map((function(t){return t._start_+=s.offsetAngle*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(i.beginPath(),i.setFillStyle(r(t.color,e.extra.pie.activeOpacity||.5)),i.moveTo(l.x,l.y),i.arc(l.x,l.y,t._radius_+d,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(s.borderWidth*e.pixelRatio),i.lineJoin="round",i.setStrokeStyle(s.borderColor),i.setFillStyle(t.color),i.moveTo(l.x,l.y),i.arc(l.x,l.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill(),1==s.border&&i.stroke()})),"ring"===e.type){var h=.6*c;"number"===typeof e.extra.pie.ringWidth&&e.extra.pie.ringWidth>0&&(h=Math.max(0,c-e.extra.pie.ringWidth)),i.beginPath(),i.setFillStyle(e.background||"#ffffff"),i.moveTo(l.x,l.y),i.arc(l.x,l.y,h,0,2*Math.PI),i.closePath(),i.fill()}if(!1!==e.dataLabel&&1===o){for(var u=!1,f=0,p=t.length;f0){u=!0;break}u&&pt(t,e,a,i,c,l)}return 1===o&&"ring"===e.type&&dt(e,a,i,l),{center:l,radius:c,series:t}}function It(t,e,a,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=n({},{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=s.activeRadius);var l={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=s.minRadius||.5*c;t=V(t,s.type,d,c,o);var h=s.activeRadius;if(t=t.map((function(t){return t._start_+=(s.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(i.beginPath(),i.setFillStyle(r(t.color,s.activeOpacity||.5)),i.moveTo(l.x,l.y),i.arc(l.x,l.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(s.borderWidth*e.pixelRatio),i.lineJoin="round",i.setStrokeStyle(s.borderColor),i.setFillStyle(t.color),i.moveTo(l.x,l.y),i.arc(l.x,l.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill(),1==s.border&&i.stroke()})),!1!==e.dataLabel&&1===o){for(var u=!1,f=0,p=t.length;f0){u=!0;break}u&&pt(t,e,a,i,c,l)}return{center:l,radius:c,series:t}}function Ft(t,e,a,i){var o,r,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=n({},{startAngle:.75,endAngle:.25,type:"default",width:12*e.pixelRatio,gap:2*e.pixelRatio},e.extra.arcbar);t=K(t,l,s),o=l.center?l.center:{x:e.width/2,y:e.height/2},l.radius?r=l.radius:(r=Math.min(o.x,o.y),r-=5*e.pixelRatio,r-=l.width/2);for(var c=0;c5&&void 0!==arguments[5]?arguments[5]:1,l=n({},{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==l.oldAngle&&(l.oldAngle=l.startAngle),void 0==l.oldData&&(l.oldData=0),t=U(t,l.startAngle,l.endAngle);var c={x:a.width/2,y:a.height/2},d=Math.min(c.x,c.y);d-=5*a.pixelRatio,d-=l.width/2;var h=d-l.width,u=0;if("progress"==l.type){var f=d-3*l.width;o.beginPath();var p=o.createLinearGradient(c.x,c.y-f,c.x,c.y+f);p.addColorStop("0",r(e[0].color,.3)),p.addColorStop("1.0",r("#FFFFFF",.1)),o.setFillStyle(p),o.arc(c.x,c.y,f,0,2*Math.PI,!1),o.fill(),o.setLineWidth(l.width),o.setStrokeStyle(r(e[0].color,.3)),o.setLineCap("round"),o.beginPath(),o.arc(c.x,c.y,h,l.startAngle*Math.PI,l.endAngle*Math.PI,!1),o.stroke(),u=l.startAngle-l.endAngle+1;l.splitLine.splitNumber;var g=u/l.splitLine.splitNumber/l.splitLine.childNumber,x=-d-.5*l.width-l.splitLine.fixRadius,v=-d-l.width-l.splitLine.fixRadius+l.splitLine.width;o.save(),o.translate(c.x,c.y),o.rotate((l.startAngle-1)*Math.PI);for(var y=l.splitLine.splitNumber*l.splitLine.childNumber+1,m=e[0].data*s,b=0;bb/y?o.setStrokeStyle(r(e[0].color,1)):o.setStrokeStyle(r(e[0].color,.3)),o.setLineWidth(3*a.pixelRatio),o.moveTo(x,0),o.lineTo(v,0),o.stroke(),o.rotate(g*Math.PI);o.restore(),e=K(e,l,s),o.setLineWidth(l.width),o.setStrokeStyle(e[0].color),o.setLineCap("round"),o.beginPath(),o.arc(c.x,c.y,h,l.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),o.stroke();var w=d-2.5*l.width;o.save(),o.translate(c.x,c.y),o.rotate((e[0]._proportion_-1)*Math.PI),o.beginPath(),o.setLineWidth(l.width/3);var S=o.createLinearGradient(0,.6*-w,0,.6*w);S.addColorStop("0",r("#FFFFFF",0)),S.addColorStop("0.5",r(e[0].color,1)),S.addColorStop("1.0",r("#FFFFFF",0)),o.setStrokeStyle(S),o.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),o.stroke(),o.beginPath(),o.setLineWidth(1),o.setStrokeStyle(e[0].color),o.setFillStyle(e[0].color),o.moveTo(-w-l.width/3/2,-4),o.lineTo(-w-l.width/3/2-4,0),o.lineTo(-w-l.width/3/2,4),o.lineTo(-w-l.width/3/2,-4),o.stroke(),o.fill(),o.restore()}else{o.setLineWidth(l.width),o.setLineCap("butt");for(var A=0;A4&&void 0!==arguments[4]?arguments[4]:1,s=n({},{gridColor:"#cccccc",labelColor:"#666666",opacity:.2,gridCount:3},e.extra.radar),l=A(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-(S(e.categories)+a.radarLabelTextMargin),c.y-a.radarLabelTextMargin);d-=e.padding[1],i.beginPath(),i.setLineWidth(1*e.pixelRatio),i.setStrokeStyle(s.gridColor),l.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(s.gridColor),l.forEach((function(e,n){var o=f(d/s.gridCount*t*Math.cos(e),d/s.gridCount*t*Math.sin(e),c);0===n?(a=o,i.moveTo(o.x,o.y)):i.lineTo(o.x,o.y)})),i.lineTo(a.x,a.y),i.stroke(),i.closePath()},u=1;u<=s.gridCount;u++)h(u);var p=H(l,c,d,t,e,o);return p.forEach((function(t,a){if(i.beginPath(),i.setFillStyle(r(t.color,s.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}));ct(n,t.color,t.pointShape,i,e)}})),ft(l,d,c,e,a,i),{center:c,radius:d,angleList:l}}function zt(t,e,a){a=0==a?1:a;for(var i=[],n=0;ne[o].area[2]||t[1]>e[o].area[3]||t[2]a||t[3]>i){n=!0;break}n=!1}return n}function Wt(t){var e,a={};a.xMin=180,a.xMax=0,a.yMin=90,a.yMax=0;for(var i=0;ic.x?a.xMax:c.x,a.yMin=a.yMinc.y?a.yMax:c.y}}return a}function Ot(t,e,a,i,n,o){return{x:(e-a.xMin)*i+n,y:(a.yMax-t)*i+o}}function Nt(t,e,a,i,n,o){return{x:(e-n)/i+a.xMin,y:a.yMax-(t-o)/i}}function Bt(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])return!1;if(a[1]==t[1]&&e[1]>t[1])return!1;if(e[0].7},f=0;f4&&void 0!==arguments[4]?arguments[4]:1;n({},{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 r=e.chartData.wordCloudData;i.translate(e.width/2,e.height/2);for(var s=0;s0&&(e.tooltip&&e.tooltip.index==s?i.strokeText(l,(r[s].areav[0]+5-e.width/2)*o-d*(1-o)/2,(r[s].areav[1]+5+c-e.height/2)*o):i.fillText(l,(r[s].areav[0]+5-e.width/2)*o-d*(1-o)/2,(r[s].areav[1]+5+c-e.height/2)*o)):r[s].area[0]>0&&(e.tooltip&&e.tooltip.index==s?i.strokeText(l,(r[s].area[0]+5-e.width/2)*o-d*(1-o)/2,(r[s].area[1]+5+c-e.height/2)*o):i.fillText(l,(r[s].area[0]+5-e.width/2)*o-d*(1-o)/2,(r[s].area[1]+5+c-e.height/2)*o)),i.stroke(),i.restore()}i.restore()}function Qt(t,e,a,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,s=n({},{activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"},e.extra.funnel),l=(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=s.activeWidth,h=Math.min((e.width-e.area[1]-e.area[3])/2-d,(e.height-e.area[0]-e.area[2])/2-d);t=Q(t,h,o),i.save(),i.translate(c.x,c.y);for(var u=0;u0?y[A].width+e.yAxis.padding:y[A].width,S+=1):(e.area[1]+=w>0?y[A].width+e.yAxis.padding:y[A].width,w+=1)}else a.yAxisWidth=y;if(e.chartData.yAxisData=v,e.categories&&e.categories.length){e.chartData.xAxisData=tt(e.categories,e,a);var T=B(e.categories,e,a,e.chartData.xAxisData.eachSpacing),P=T.xAxisHeight,k=T.angle;a.xAxisHeight=P,a._xAxisTextAngle_=k,e.area[2]+=P,e.chartData.categoriesData=T}else if("line"===e.type||"area"===e.type||"points"===e.type){e.chartData.xAxisData=j(r,e,a),s=e.chartData.xAxisData.rangesFormat;var D=B(s,e,a,e.chartData.xAxisData.eachSpacing),M=D.xAxisHeight,L=D.angle;a.xAxisHeight=M,a._xAxisTextAngle_=L,e.area[2]+=M,e.chartData.categoriesData=D}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var I=0,F=e.chartData.xAxisData.xAxisPoints,_=e.chartData.xAxisData.startX,R=e.chartData.xAxisData.endX,z=e.chartData.xAxisData.eachSpacing,E=z*(F.length-1),W=R-_;I=W-E,o.scrollOption={currentOffset:I,startTouchX:I,distance:0,lastMoveTime:0},e._scrollDistance_=I}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(a._pieTextMaxLength_=!1===e.dataLabel?0:J(d)),t){case"word":var O=n({},{type:"normal",autoColors:!0},e.extra.word);1!=e.updateData&&void 0!=e.updateData||(e.chartData.wordCloudData=Ht(e,O.type)),this.animationInstance=new Xt({timing:"easeInOut",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),Gt(r,e,a,i,t),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"map":i.clearRect(0,0,e.width,e.height),jt(r,e,a,i);break;case"funnel":this.animationInstance=new Xt({timing:"easeInOut",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),e.chartData.funnelData=Qt(r,e,a,i,t),Mt(e.series,e,a,i,e.chartData),Pt(e,a,i,t),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"line":this.animationInstance=new Xt({timing:"easeIn",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),Ct(s,e,a,i),kt(s,e,a,i);var n=At(r,e,a,i,t),o=n.xAxisPoints,l=n.calPoints,c=n.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Dt(r,e,a,i),!1!==e.enableMarkLine&&1===t&&xt(e,a,i),Mt(e.series,e,a,i,e.chartData),Pt(e,a,i,t,c,o),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Xt({timing:"easeIn",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),Ct(s,e,a,i),kt(s,e,a,i);var n=Tt(r,e,a,i,t),o=n.xAxisPoints,l=n.calPoints,c=n.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Dt(r,e,a,i),!1!==e.enableMarkLine&&1===t&&xt(e,a,i),Mt(e.series,e,a,i,e.chartData),Pt(e,a,i,t,c,o),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"column":this.animationInstance=new Xt({timing:"easeIn",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),Ct(s,e,a,i),kt(s,e,a,i);var n=bt(r,e,a,i,t),o=n.xAxisPoints,l=n.calPoints,c=n.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Dt(r,e,a,i),!1!==e.enableMarkLine&&1===t&&xt(e,a,i),Mt(e.series,e,a,i,e.chartData),Pt(e,a,i,t,c,o),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"area":this.animationInstance=new Xt({timing:"easeIn",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),Ct(s,e,a,i),kt(s,e,a,i);var n=St(r,e,a,i,t),o=n.xAxisPoints,l=n.calPoints,c=n.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Dt(r,e,a,i),!1!==e.enableMarkLine&&1===t&&xt(e,a,i),Mt(e.series,e,a,i,e.chartData),Pt(e,a,i,t,c,o),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"ring":case"pie":this.animationInstance=new Xt({timing:"easeInOut",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),e.chartData.pieData=Lt(r,e,a,i,t),Mt(e.series,e,a,i,e.chartData),Pt(e,a,i,t),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Xt({timing:"easeInOut",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),e.chartData.pieData=It(r,e,a,i,t),Mt(e.series,e,a,i,e.chartData),Pt(e,a,i,t),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Xt({timing:"easeInOut",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),e.chartData.radarData=Rt(r,e,a,i,t),Mt(e.series,e,a,i,e.chartData),Pt(e,a,i,t),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Xt({timing:"easeInOut",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),e.chartData.arcbarData=Ft(r,e,a,i,t),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Xt({timing:"easeInOut",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),e.chartData.gaugeData=_t(s,r,e,a,i,t),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Xt({timing:"easeIn",duration:c,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&<(i,e),Ct(s,e,a,i),kt(s,e,a,i);var n=wt(r,d,e,a,i,t),o=n.xAxisPoints,l=n.calPoints,c=n.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=c,Dt(r,e,a,i),!1!==e.enableMarkLine&&1===t&&xt(e,a,i),Mt(d||e.series,e,a,i,e.chartData),Pt(e,a,i,t,c,o),Kt(e,i)},onAnimationFinish:function(){o.event.trigger("renderComplete")}});break}}function Yt(){this.events={}}Xt.prototype.stop=function(){this.isStop=!0},Yt.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},Yt.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),a=0;a0&&void 0!==arguments[0]?arguments[0]:{};this.opts=n({},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=ot(this.opts.series,this.opts,this.config),i=a.yAxisWidth;this.config.yAxisWidth=i;var o=0,r=tt(this.opts.categories,this.opts,this.config),s=r.xAxisPoints,l=r.startX,c=r.endX,d=r.eachSpacing,h=d*(s.length-1),u=c-l;o=u-h,this.scrollOption={currentOffset:o,startTouchX:o,distance:0,lastMoveTime:0},this.opts._scrollDistance_=o;break}Jt.call(this,this.opts.type,this.opts,this.config,this.context)},Zt.prototype.zoom=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var e=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=t.itemCount;var a=ot(this.opts.series,this.opts,this.config),i=a.yAxisWidth;this.config.yAxisWidth=i;var n=0,o=tt(this.opts.categories,this.opts,this.config),r=o.xAxisPoints,s=o.startX,l=o.endX,c=o.eachSpacing,d=c*e,h=l-s,u=h-c*(r.length-1);n=h/2-d,n>0&&(n=0),n1&&void 0!==arguments[1]?arguments[1]:{},a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a){b(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,Jt.call(this,this.opts.type,this.opts,this.config,this.context))}},Zt.prototype.showToolTip=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a||console.log("touchError");var i=b(a,this.opts,t),o=this.scrollOption.currentOffset,r=n({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type){var s=this.getCurrentDataIndex(t);if(s>-1){var l=w(this.opts.series,s);if(0!==l.length){var c=T(l,this.opts.chartData.calPoints,s,this.opts.categories,e),d=c.textList,h=c.offset;h.y=i.y,r.tooltip={textList:d,offset:h,option:e,index:s}}}Jt.call(this,r.type,r,this.config,this.context)}if("mix"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){o=this.scrollOption.currentOffset,r=n({},this.opts,{_scrollDistance_:o,animation:!1}),l=w(this.opts.series,s);if(0!==l.length){var u=P(l,this.opts.chartData.calPoints,s,this.opts.categories,e);d=u.textList,h=u.offset;h.y=i.y,r.tooltip={textList:d,offset:h,option:e,index:s}}}Jt.call(this,r.type,r,this.config,this.context)}if("candle"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){o=this.scrollOption.currentOffset,r=n({},this.opts,{_scrollDistance_:o,animation:!1}),l=w(this.opts.series,s);if(0!==l.length){c=k(this.opts.series[0].data,l,this.opts.chartData.calPoints,s,this.opts.categories,this.opts.extra.candle,e),d=c.textList,h=c.offset;h.y=i.y,r.tooltip={textList:d,offset:h,option:e,index:s}}}Jt.call(this,r.type,r,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){o=this.scrollOption.currentOffset,r=n({},this.opts,{_scrollDistance_:o,animation:!1}),l=this.opts._series_[s],d=[{text:e.format?e.format(l):l.name+": "+l.data,color:l.color}],h={x:i.x,y:i.y};r.tooltip={textList:d,offset:h,option:e,index:s}}Jt.call(this,r.type,r,this.config,this.context)}if("map"===this.opts.type||"word"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){o=this.scrollOption.currentOffset,r=n({},this.opts,{_scrollDistance_:o,animation:!1}),l=this.opts._series_[s],d=[{text:e.format?e.format(l):l.properties.name,color:l.color}],h={x:i.x,y:i.y};r.tooltip={textList:d,offset:h,option:e,index:s}}r.updateData=!1,Jt.call(this,r.type,r,this.config,this.context)}if("radar"===this.opts.type){s=this.getCurrentDataIndex(t);if(s>-1){o=this.scrollOption.currentOffset,r=n({},this.opts,{_scrollDistance_:o,animation:!1}),l=w(this.opts.series,s);if(0!==l.length){d=l.map((function(t){return{text:e.format?e.format(t):t.name+": "+t.data,color:t.color}})),h={x:i.x,y:i.y};r.tooltip={textList:d,offset:h,option:e,index:s}}}Jt.call(this,r.type,r,this.config,this.context)}},Zt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=n({},this.opts,{_scrollDistance_:t,animation:!1});Jt.call(this,this.opts.type,e,this.config,this.context)},Zt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var a=b(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=a.x)},Zt.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