41 lines
1.7 MiB
41 lines
1.7 MiB
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"0043":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"}}},"0060":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:""}};e.default=n},"00c2":function(t,e,i){"use strict";i.r(e);var n=i("a236"),r=i("5640");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"01cc":function(t,e,i){"use strict";i.r(e);var n=i("66c0"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"020a":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tmNavBar:i("a73c").default,uniIcons:i("4798").default,punchCalendar:i("d82f").default,detail_components:i("d62a").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("tm-nav-bar",{attrs:{"left-icon":"arrow-left",title:t.desc?t.getNameByKey(t.desc):t.getNameByKey(t.type),_i:1},on:{clickLeft:t.back}}),i("view",{staticClass:t._$s(2,"sc","content"),attrs:{_i:2}},[i("view",{staticClass:t._$s(3,"sc","over"),attrs:{_i:3},on:{click:function(e){t.flag=!t.flag}}},[i("text"),i("uni-icons",{attrs:{type:"down",size:"24",_i:5}})],1),i("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(6,"v-show",t.flag),expression:"_$s(6,'v-show',flag)"}],staticClass:t._$s(6,"sc","time"),attrs:{_i:6}},[i("punch-calendar",{ref:"calendar",attrs:{errorList:t.errorList,successList:t.successList,_i:7},on:{switchMonth:t.switchMonth,chooseDay:t.chooseDay}})],1),t._$s(8,"i","bloodLiquid"==t.type&&""==t.desc)?i("view",{staticClass:t._$s(8,"sc","flx flx_sb bloodl_box"),attrs:{_i:8}},t._l(t._$s(9,"f",{forItems:t.blData}),(function(e,n,r,o){return i("view",{key:t._$s(9,"f",{forIndex:r,key:n}),staticClass:t._$s("9-"+o,"sc","flx flx_ac"),attrs:{_i:"9-"+o}},[i("view",{staticClass:t._$s("10-"+o,"sc","yuan"),style:t._$s("10-"+o,"s",{backgroundColor:e.color}),attrs:{_i:"10-"+o}}),i("view",{staticClass:t._$s("11-"+o,"sc","name"),attrs:{_i:"11-"+o}},[t._v(t._$s("11-"+o,"t0-0",t._s(e.name)))])])})),0):t._e(),t._l(t._$s(12,"f",{forItems:t.dataList}),(function(e,n,r,o){return i("view",{key:t._$s(12,"f",{forIndex:r,key:n}),class:t._$s("12-"+o,"c","list"),attrs:{_i:"12-"+o},on:{click:function(e){return t.goInfo(n)}}},[t._$s("13-"+o,"i",!t.customType.includes(t.type)||""!=t.desc)?i("view",{staticClass:t._$s("13-"+o,"sc","row"),attrs:{_i:"13-"+o}},[i("view",{staticClass:t._$s("14-"+o,"sc","data"),attrs:{_i:"14-"+o}},[i("image",{attrs:{_i:"15-"+o}}),t._$s("16-"+o,"i","step"==t.type)?i("view",[t._v(t._$s("16-"+o,"t0-0",t._s(e.data_msg.stepCount)))]):t._e(),t._$s("17-"+o,"i","bloodPressure"==t.type)?i("view",[t._v(t._$s("17-"+o,"t0-0",t._s(e.data_msg.bloodPressureHigh))+t._$s("17-"+o,"t0-1",t._s(e.data_msg.bloodPressureLow)))]):t._e(),t._$s("18-"+o,"i","bloodOxygen"==t.type)?i("view",[t._v(t._$s("18-"+o,"t0-0",t._s(e.data_msg[0]?e.data_msg[0]+(e.data_msg[1]?" | ":""):""))+t._$s("18-"+o,"t0-1",t._s(e.data_msg[1]?e.data_msg[1]+(e.data_msg[2]?" | ":""):""))+t._$s("18-"+o,"t0-2",t._s(e.data_msg[2]?e.data_msg[2]+(e.data_msg[3]?" | ":""):""))+t._$s("18-"+o,"t0-3",t._s(e.data_msg[3]?e.data_msg[3]+(e.data_msg[4]?" | ":""):""))+t._$s("18-"+o,"t0-4",t._s(e.data_msg[4]?e.data_msg[4]:"")))]):t._e(),t._$s("19-"+o,"i","bloodGlucose"==t.type)?i("view",[t._v(t._$s("19-"+o,"t0-0",t._s(e.data_msg)))]):t._e(),t._$s("20-"+o,"i","bodyTemperature"==t.type)?i("view",[t._v(t._$s("20-"+o,"t0-0",t._s(e.data_msg)))]):t._e(),t._$s("21-"+o,"i","pulseReat"==t.type)?i("view",[t._v(t._$s("21-"+o,"t0-0",t._s(e.data_msg[0]?e.data_msg[0]+(e.data_msg[1]?" | ":""):""))+t._$s("21-"+o,"t0-1",t._s(e.data_msg[1]?e.data_msg[1]+(e.data_msg[2]?" | ":""):""))+t._$s("21-"+o,"t0-2",t._s(e.data_msg[2]?e.data_msg[2]+(e.data_msg[3]?" | ":""):""))+t._$s("21-"+o,"t0-3",t._s(e.data_msg[3]?e.data_msg[3]+(e.data_msg[4]?" | ":""):""))+t._$s("21-"+o,"t0-4",t._s(e.data_msg[4]?e.data_msg[4]:"")))]):t._e(),t._$s("22-"+o,"i","bloodLiquid"==t.type&&"uricAcidVal"==t.desc)?i("view",[t._v(t._$s("22-"+o,"t0-0",t._s((e.data_msg.uricAcidVal/10).toFixed(2))))]):t._e(),t._$s("23-"+o,"i","meiTuo"==t.type)?i("view",[t._v(t._$s("23-"+o,"t0-0",t._s(e.data_msg[0]/10)))]):t._e(),t._$s("24-"+o,"i","bloodLiquid"==t.type&&"uricAcidVal"!==t.desc)?i("view",[i("view",[t._v(t._$s("25-"+o,"t0-0",t._s((e.data_msg.cholesterol/100).toFixed(2))))]),i("view",[t._v(t._$s("26-"+o,"t0-0",t._s((e.data_msg.triacylglycerol/100).toFixed(2))))]),i("view",[t._v(t._$s("27-"+o,"t0-0",t._s((e.data_msg.highDensity/100).toFixed(2))))]),i("view",[t._v(t._$s("28-"+o,"t0-0",t._s((e.data_msg.lowDensity/100).toFixed(2))))])]):t._e(),t._$s("29-"+o,"i","ECGData"==t.type)?i("view",[i("view",[t._v(t._$s("30-"+o,"t0-0",t._s(e.data_msg.meanHeartRate)))]),i("view",[t._v(t._$s("31-"+o,"t0-0",t._s(e.data_msg.averageHRV)))]),i("view",[t._v(t._$s("32-"+o,"t0-0",t._s(e.data_msg.averageTimeInterval)))])]):t._e(),t._$s("33-"+o,"i","bodyData"==t.type)?i("view",[i("view",[t._v(t._$s("34-"+o,"t0-0",t._s(e.data_msg.BMI)))]),i("view",[t._v(t._$s("35-"+o,"t0-0",t._s(e.data_msg.bodyFatPercentage)))]),i("view",[t._v(t._$s("36-"+o,"t0-0",t._s(e.data_msg.muscleRate)))])]):t._e()]),i("view",{staticClass:t._$s("37-"+o,"sc","time"),attrs:{_i:"37-"+o}},[t._v(t._$s("37-"+o,"t0-0",t._s(e.date_str))+t._$s("37-"+o,"t0-1",t._s(e.hour_minute)))])]):i("view",[i("detail_components",{attrs:{key_name:t.type,item:e,_i:"39-"+o}})],1)])})),i("view")],2)],1)},o=[]},"0232":function(t){t.exports=JSON.parse('{"zp.refresher.default":"Pull down to refresh","zp.refresher.pulling":"Release to refresh","zp.refresher.refreshing":"Refreshing...","zp.refresher.complete":"Refresh succeeded","zp.refresher.f2":"Refresh to enter 2f","zp.loadingMore.default":"Click to load more","zp.loadingMore.loading":"Loading...","zp.loadingMore.noMore":"No more data","zp.loadingMore.fail":"Load failed,click to reload","zp.emptyView.title":"No data","zp.emptyView.reload":"Reload","zp.emptyView.error":"Sorry,load failed","zp.refresherUpdateTime.title":"Last update: ","zp.refresherUpdateTime.none":"None","zp.refresherUpdateTime.today":"Today","zp.refresherUpdateTime.yesterday":"Yesterday","zp.systemLoading.title":"Loading..."}')},"0323":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","zp-l-container"),class:t._$s(0,"c",{"zp-l-container-rpx":"rpx"===t.c.unit,"zp-l-container-px":"px"===t.c.unit}),style:t._$s(0,"s",[t.c.customStyle]),attrs:{_i:0},on:{click:t.doClick}},[t._$s(1,"i",!t.c.hideContent)?[t._$s(2,"i",t.c.showNoMoreLine&&t.finalStatus===t.M.NoMore)?i("text",{class:t._$s(2,"c",{"zp-l-line-rpx":"rpx"===t.c.unit,"zp-l-line-px":"px"===t.c.unit}),style:t._$s(2,"s",[{backgroundColor:t.zTheme.line[t.ts]},t.c.noMoreLineCustomStyle]),attrs:{_i:2}}):t._e(),t._$s(3,"i",t.finalStatus===t.M.Loading&&!!t.c.loadingIconCustomImage)?i("image",{class:t._$s(3,"c",{"zp-l-line-loading-custom-image":!0,"zp-l-line-loading-custom-image-animated":t.c.loadingAnimated,"zp-l-line-loading-custom-image-rpx":"rpx"===t.c.unit,"zp-l-line-loading-custom-image-px":"px"===t.c.unit}),style:t._$s(3,"s",[t.c.iconCustomStyle]),attrs:{src:t._$s(3,"a-src",t.c.loadingIconCustomImage),_i:3}}):t._e(),t._$s(4,"i",t.finalStatus===t.M.Loading&&"flower"===t.finalLoadingIconType&&!t.c.loadingIconCustomImage.length)?i("image",{class:t._$s(4,"c",{"zp-line-loading-image":!0,"zp-line-loading-image-rpx":"rpx"===t.c.unit,"zp-line-loading-image-px":"px"===t.c.unit}),style:t._$s(4,"s",[t.c.iconCustomStyle]),attrs:{src:t._$s(4,"a-src",t.zTheme.flower[t.ts]),_i:4}}):t._e(),t._$s(5,"i",t.finalStatus===t.M.Loading&&"circle"===t.finalLoadingIconType&&!t.c.loadingIconCustomImage.length)?i("text",{staticClass:t._$s(5,"sc","zp-l-circle-loading-view"),class:t._$s(5,"c",{"zp-l-circle-loading-view-rpx":"rpx"===t.c.unit,"zp-l-circle-loading-view-px":"px"===t.c.unit}),style:t._$s(5,"s",[{borderColor:t.zTheme.circleBorder[t.ts],borderTopColor:t.zTheme.circleBorderTop[t.ts]},t.c.iconCustomStyle]),attrs:{_i:5}}):t._e(),t._$s(6,"i",!t.c.isChat||!t.c.chatDefaultAsLoading&&t.finalStatus===t.M.Default||t.finalStatus===t.M.Fail)?i("text",{class:t._$s(6,"c",{"zp-l-text-rpx":"rpx"===t.c.unit,"zp-l-text-px":"px"===t.c.unit}),style:t._$s(6,"s",[{color:t.zTheme.title[t.ts]},t.c.titleCustomStyle]),attrs:{_i:6}},[t._v(t._$s(6,"t0-0",t._s(t.ownLoadingMoreText)))]):t._e(),t._$s(7,"i",t.c.showNoMoreLine&&t.finalStatus===t.M.NoMore)?i("text",{class:t._$s(7,"c",{"zp-l-line-rpx":"rpx"===t.c.unit,"zp-l-line-px":"px"===t.c.unit}),style:t._$s(7,"s",[{backgroundColor:t.zTheme.line[t.ts]},t.c.noMoreLineCustomStyle]),attrs:{_i:7}}):t._e()]:t._e()],2)},r=[]},"0463":function(t,e,i){"use strict";i.r(e);var n=i("8984"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"047f":function(t,e,i){"use strict";i.r(e);var n=i("c38e"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"0490":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.Canvas=void 0,e.dispatch=function(t,e){var i=e.x,n=e.y,r=e.wheelDelta;this.dispatch(t,{zrX:i,zrY:n,zrDelta:r,preventDefault:function(){},stopPropagation:function(){}})},e.setCanvasCreator=function(e,i){var n=i.canvas,r=i.node;if(e&&!e.registerPreprocessor)return t("warn","echarts \u7248\u672c\u4e0d\u5bf9\u6216\u672a\u4f20\u5165echarts\uff0cvue3\u8bf7\u4f7f\u7528esm\u683c\u5f0f"," at uni_modules/lime-echart/components/l-echart/canvas.js:353");e.registerPreprocessor((function(t){t&&t.series&&(t.series.length>0?t.series.forEach((function(t){t.progressive=0})):"object"===(0,o.default)(t.series)&&(t.series.progressive=0))})),e.setPlatformAPI&&e.setPlatformAPI({loadImage:n.setChart?function(t,e,i){var n=null;return r&&r.createImage?(n=r.createImage(),n.onload=e.bind(n),n.onerror=i.bind(n),n.src=t,n):(n=new c,n.onload=e.bind(n),n.onerror=i.bind(n),n.src=t,n)}:null,createCanvas:function(){var t="createOffscreenCanvas";return uni.canIUse(t)&&uni[t]?uni[t]({type:"2d"}):n}})};var r=n(i("af34")),o=n(i("3b2d")),a=n(i("67ad")),s=n(i("0bdb")),l={},u=function(){function t(){(0,a.default)(this,t),this.__events={}}return(0,s.default)(t,[{key:"on",value:function(t,e){if(t&&e){var i=this.__events[t]||[];i.push(e),this.__events[t]=i}}},{key:"emit",value:function(t,e){var i=this;if(t.constructor===Object&&(e=t,t=e&&e.type),t){var n=this.__events[t];n&&n.length&&n.forEach((function(t){t.call(i,e)}))}}},{key:"off",value:function(t,e){var i=this.__events,n=i[t];if(n&&n.length)if(e)for(var r=0,o=n.length;r<o;r++)n[r]===e&&(n.splice(r,1),r--);else delete i[t]}}]),t}(),c=function(){function t(){(0,a.default)(this,t),this.currentSrc=null,this.naturalHeight=0,this.naturalWidth=0,this.width=0,this.height=0,this.tagName="IMG"}return(0,s.default)(t,[{key:"src",get:function(){return this.currentSrc},set:function(t){var e=this;this.currentSrc=t,uni.getImageInfo({src:t,success:function(t){e.naturalWidth=e.width=t.width,e.naturalHeight=e.height=t.height,e.onload()},fail:function(){e.onerror()}})}}]),t}(),d=function(){function t(e,i,n){(0,a.default)(this,t),this.tagName="canvas",this.com=i,this.canvasId=n,this.ctx=e}return(0,s.default)(t,[{key:"width",get:function(){return this.com.offscreenWidth||0},set:function(t){this.com.offscreenWidth=t}},{key:"height",get:function(){return this.com.offscreenHeight||0},set:function(t){this.com.offscreenHeight=t}},{key:"getContext",value:function(t){return this.ctx}},{key:"getImageData",value:function(){var t=this;return new Promise((function(e,i){t.com.$nextTick((function(){uni.canvasGetImageData({x:0,y:0,width:t.com.offscreenWidth,height:t.com.offscreenHeight,canvasId:t.canvasId,success:function(t){e(t)},fail:function(t){i(t)}},t.com)}))}))}}]),t}(),h=function(){function e(t,i,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,a.default)(this,e),l[i.canvasId]={ctx:t},this.canvasId=i.canvasId,this.chart=null,this.isNew=n,this.tagName="canvas",this.canvasNode=r,this.com=i,n||this._initStyle(t),this._initEvent(),this._ee=new u}return(0,s.default)(e,[{key:"getContext",value:function(t){if("2d"===t)return this.ctx}},{key:"setAttribute",value:function(t,e){"aria-label"===t&&(this.com["ariaLabel"]=e)}},{key:"setChart",value:function(t){this.chart=t}},{key:"createOffscreenCanvas",value:function(t){if(!this.children){this.com.isOffscreenCanvas=!0,this.com.offscreenWidth=t.width||300,this.com.offscreenHeight=t.height||300;var e=this.com,i=this.com.offscreenCanvasId,n=uni.createCanvasContext(i,this.com);this._initStyle(n),this.children=new d(n,e,i)}return this.children}},{key:"appendChild",value:function(e){t("log","child",e," at uni_modules/lime-echart/components/l-echart/canvas.js:160")}},{key:"dispatchEvent",value:function(t,e){return"object"==(0,o.default)(t)?this._ee.emit(t.type,t):this._ee.emit(t,e),!0}},{key:"attachEvent",value:function(){}},{key:"detachEvent",value:function(){}},{key:"addEventListener",value:function(t,e){this._ee.on(t,e)}},{key:"removeEventListener",value:function(t,e){this._ee.off(t,e)}},{key:"_initCanvas",value:function(t,e){}},{key:"_initStyle",value:function(t,e){if(["fillStyle","strokeStyle","fontSize","globalAlpha","opacity","textAlign","textBaseline","shadow","lineWidth","lineCap","lineJoin","lineDash","miterLimit"].forEach((function(e){Object.defineProperty(t,e,{set:function(i){if("opacity"!==e){if("fillStyle"!==e&&"strokeStyle"!==e||"none"!==i&&null!==i){if("object"==(0,o.default)(i))return void((i.hasOwnProperty("colorStop")||i.hasOwnProperty("colors"))&&t["set"+e.charAt(0).toUpperCase()+e.slice(1)](i));t["set"+e.charAt(0).toUpperCase()+e.slice(1)](i)}}else t.setGlobalAlpha(i)}})})),this.isNew||e||(t.uniDrawImage=t.drawImage,t.drawImage=function(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];i[0]=i[0].src,t.uniDrawImage.apply(t,i)}),t.createRadialGradient||(t.createRadialGradient=function(){return t.createCircularGradient.apply(t,(0,r.default)(Array.prototype.slice.call(arguments).slice(-3)))}),t.strokeText||(t.strokeText=function(){t.fillText.apply(t,arguments)}),!t.measureText){var i=function(t){for(var e=0,i=0;i<t.length;i++)t.charCodeAt(i)>0&&t.charCodeAt(i)<128?e++:e+=2;return e};t.measureText=function(e,n){var r,o=(null===t||void 0===t||null===(r=t.state)||void 0===r?void 0:r.fontSize)||12;n&&(o=parseInt(n.match(/([\d\.]+)px/)[1])),o/=2;var a=o>=16,s=a?1.3:1;return{width:i(e)*o*s}}}}},{key:"_initEvent",value:function(t){var e=this;this.event={};[{wxName:"touchStart",ecName:"mousedown"},{wxName:"touchMove",ecName:"mousemove"},{wxName:"touchEnd",ecName:"mouseup"},{wxName:"touchEnd",ecName:"click"}].forEach((function(t){e.event[t.wxName]=function(i){var n=i.touches[0];e.chart.getZr().handler.dispatch(t.ecName,{zrX:"tap"===t.wxName?n.clientX:n.x,zrY:"tap"===t.wxName?n.clientY:n.y})}}))}},{key:"width",get:function(){return this.canvasNode.width||0},set:function(t){this.canvasNode.width=t}},{key:"height",get:function(){return this.canvasNode.height||0},set:function(t){this.canvasNode.height=t}},{key:"ctx",get:function(){return l[this.canvasId]["ctx"]||null}},{key:"chart",get:function(){return l[this.canvasId]["chart"]||null},set:function(t){l[this.canvasId]["chart"]=t}}]),e}();e.Canvas=h}).call(this,i("f3b9")["default"])},"0513":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=null;var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==n&&clearTimeout(n),i){var r=!n;n=setTimeout((function(){n=null}),e),r&&"function"===typeof t&&t()}else n=setTimeout((function(){"function"===typeof t&&t()}),e)};e.default=r},"0522":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tmNavBar:i("a73c").default,uqrcode:i("319e").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",[n("tm-nav-bar",{attrs:{"left-icon":"arrow-left",title:"\u767b\u9646\u8d26\u53f7",rbgs:!1,width:"100%",_i:1}}),n("view",{staticClass:t._$s(2,"sc","login flx flx_jc"),attrs:{_i:2}},[n("view",{staticClass:t._$s(3,"sc","flx flx_jc flx_ac"),attrs:{_i:3}},[n("view",{staticClass:t._$s(4,"sc","content"),attrs:{_i:4}},[n("view",{staticClass:t._$s(5,"sc","flx flx_jc"),attrs:{_i:5}},[t._$s(6,"i",t.qrCode)?n("uqrcode",{ref:"uqrcode",attrs:{"canvas-id":"qrcode",value:t.qrCode,options:{margin:10},_i:6}}):n("view",{staticClass:t._$s(7,"sc","flx flx_ac"),attrs:{_i:7}},[n("view",[t._v(t._$s(8,"t0-0",t._s(t.qrCodeMsg)))])])],1),n("view",[n("wButton",{staticClass:t._$s(10,"sc","wbutton"),attrs:{text:"\u5237\u65b0\u4e8c\u7ef4\u7801",rotate:t.isRotate,_i:10},on:{click:t.getLoginCode}})],1)])]),n("view",{staticClass:t._$s(11,"sc","flx flx_jc flx_ac"),attrs:{_i:11}},[n("view",{staticClass:t._$s(12,"sc","content"),attrs:{_i:12}},[n("view",{staticClass:t._$s(13,"sc","header"),attrs:{_i:13}},[n("image",{attrs:{src:t._$s(14,"a-src",i("ce08")),_i:14}})]),n("view",{staticClass:t._$s(15,"sc","main"),attrs:{_i:15}},[n("wInput",{attrs:{type:"text",maxlength:"11",placeholder:"\u7528\u6237\u540d/\u7535\u8bdd",focus:t.isFocus,_i:16},model:{value:t._$s(16,"v-model",t.phoneData),callback:function(e){t.phoneData=e},expression:"phoneData"}}),n("wInput",{attrs:{type:"password",maxlength:"9999",placeholder:"\u5bc6\u7801",_i:17},model:{value:t._$s(17,"v-model",t.passData),callback:function(e){t.passData=e},expression:"passData"}})],1),n("wButton",{staticClass:t._$s(18,"sc","wbutton"),attrs:{text:"\u767b \u5f55",rotate:t.isRotate,_i:18},on:{click:t.startLogin}}),n("view",{staticClass:t._$s(19,"sc","footer"),attrs:{_i:19}},[n("navigator",{}),n("text"),n("navigator",{})])],1)]),n("view",[t._v(t._$s(23,"t0-0",t._s(t.version)))])])],1)},o=[]},"06a4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"xdt",props:{datas:Object},data:function(){return{}}};e.default=n},"073e":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("ebea")),o=r.default.color,a={loadingIcon:{show:!0,color:o["u-tips-color"],textColor:o["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}};e.default=a},"07f4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:""}}},"085e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null}}},"09d7":function(t,e,i){"use strict";i.r(e);var n=i("78bc"),r=i("eb51");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"0bdb":function(t,e,i){var n=i("d551");function r(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,n(r.key),r)}}t.exports=function(t,e,i){return e&&r(t.prototype,e),i&&r(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"0deb":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:function(){return[]},sticky:!0,customNavHeight:0}}},"0df4":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t&&!(0,r.default)(e))return(0,o.default)(t,e);return e};var r=n(i("43cd")),o=n(i("5fb5"))},"0e85":function(t,e,i){"use strict";i.r(e);var n=i("3196"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"0ee4":function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},"10ab":function(t,e,i){"use strict";e.byteLength=function(t){var e=u(t),i=e[0],n=e[1];return 3*(i+n)/4-n},e.toByteArray=function(t){var e,i,n=u(t),a=n[0],s=n[1],l=new o(function(t,e,i){return 3*(e+i)/4-i}(0,a,s)),c=0,d=s>0?a-4:a;for(i=0;i<d;i+=4)e=r[t.charCodeAt(i)]<<18|r[t.charCodeAt(i+1)]<<12|r[t.charCodeAt(i+2)]<<6|r[t.charCodeAt(i+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;2===s&&(e=r[t.charCodeAt(i)]<<2|r[t.charCodeAt(i+1)]>>4,l[c++]=255&e);1===s&&(e=r[t.charCodeAt(i)]<<10|r[t.charCodeAt(i+1)]<<4|r[t.charCodeAt(i+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e);return l},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,o=[],a=0,s=i-r;a<s;a+=16383)o.push(d(t,a,a+16383>s?s:a+16383));1===r?(e=t[i-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===r&&(e=(t[i-2]<<8)+t[i-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)n[s]=a[s],r[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=e);var n=i===e?0:4-i%4;return[i,n]}function c(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function d(t,e,i){for(var n,r=[],o=e;o<i;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),r.push(c(n));return r.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},1140:function(t,e,i){t.exports=i.p+"static/image/richu.png"},"11e9":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:function(){return[]},overlay:!0,showToast:!0}}},"127e":function(t,e,i){var n=i("3b2d"),r=i("9fc1")();t.exports=r;try{regeneratorRuntime=r}catch(o){"object"===("undefined"===typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"12e3":function(t,e,i){"use strict";(function(t){
|
|
/*!
|
|
* The buffer module from node.js, for the browser.
|
|
*
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
* @license MIT
|
|
*/
|
|
var n=i("10ab"),r=i("ba37"),o=i("b0e4");function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=l.prototype):(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,i){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(t,e,i);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return u(this,t,e,i)}function u(t,e,i,n){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,i,n){if(e.byteLength,i<0||e.byteLength<i)throw new RangeError("'offset' is out of bounds");if(e.byteLength<i+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===i&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,i):new Uint8Array(e,i,n);l.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=l.prototype):t=h(t,e);return t}(t,e,i,n):"string"===typeof e?function(t,e,i){"string"===typeof i&&""!==i||(i="utf8");if(!l.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(e,i);t=s(t,n);var r=t.write(e,i);r!==n&&(t=t.slice(0,r));return t}(t,e,i):function(t,e){if(l.isBuffer(e)){var i=0|f(e.length);return t=s(t,i),0===t.length?t:(e.copy(t,0,0,i),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||function(t){return t!==t}(e.length)?s(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e){if(c(e),t=s(t,e<0?0:0|f(e)),!l.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function h(t,e){var i=e.length<0?0:0|f(e.length);t=s(t,i);for(var n=0;n<i;n+=1)t[n]=255&e[n];return t}function f(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(l.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return j(t).length;default:if(n)return F(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,i){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if(i>>>=0,e>>>=0,i<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return D(this,e,i);case"utf8":case"utf-8":return T(this,e,i);case"ascii":return I(this,e,i);case"latin1":case"binary":return A(this,e,i);case"base64":return M(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function m(t,e,i,n,r){if(0===t.length)return-1;if("string"===typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(r)return-1;i=t.length-1}else if(i<0){if(!r)return-1;i=0}if("string"===typeof e&&(e=l.from(e,n)),l.isBuffer(e))return 0===e.length?-1:y(t,e,i,n,r);if("number"===typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):y(t,[e],i,n,r);throw new TypeError("val must be string, number or Buffer")}function y(t,e,i,n,r){var o,a=1,s=t.length,l=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,i/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(r){var c=-1;for(o=i;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(i+l>s&&(i=s-l),o=i;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(t,o+h)!==u(e,h)){d=!1;break}if(d)return o}return-1}function _(t,e,i,n){i=Number(i)||0;var r=t.length-i;n?(n=Number(n),n>r&&(n=r)):n=r;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[i+a]=s}return a}function x(t,e,i,n){return H(F(e,t.length-i),t,i,n)}function b(t,e,i,n){return H(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,i,n)}function w(t,e,i,n){return b(t,e,i,n)}function S(t,e,i,n){return H(j(e),t,i,n)}function C(t,e,i,n){return H(function(t,e){for(var i,n,r,o=[],a=0;a<t.length;++a){if((e-=2)<0)break;i=t.charCodeAt(a),n=i>>8,r=i%256,o.push(r),o.push(n)}return o}(e,t.length-i),t,i,n)}function M(t,e,i){return 0===e&&i===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,i))}function T(t,e,i){i=Math.min(t.length,i);var n=[],r=e;while(r<i){var o,a,s,l,u=t[r],c=null,d=u>239?4:u>223?3:u>191?2:1;if(r+d<=i)switch(d){case 1:u<128&&(c=u);break;case 2:o=t[r+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=t[r+1],a=t[r+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=t[r+1],a=t[r+2],s=t[r+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),r+=d}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var i="",n=0;while(n<e)i+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return i}(n)}e.Buffer=l,e.SlowBuffer=function(t){+t!=t&&(t=0);return l.alloc(+t)},e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,i){return u(null,t,e,i)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,i){return function(t,e,i,n){return c(e),e<=0?s(t,e):void 0!==i?"string"===typeof n?s(t,e).fill(i,n):s(t,e).fill(i):s(t,e)}(null,t,e,i)},l.allocUnsafe=function(t){return d(null,t)},l.allocUnsafeSlow=function(t){return d(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var i=t.length,n=e.length,r=0,o=Math.min(i,n);r<o;++r)if(t[r]!==e[r]){i=t[r],n=e[r];break}return i<n?-1:n<i?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var n=l.allocUnsafe(e),r=0;for(i=0;i<t.length;++i){var a=t[i];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,r),r+=a.length}return n},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?T(this,0,t):g.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,i,n,r){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),e<0||i>t.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&e>=i)return 0;if(n>=r)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,r>>>=0,this===t)return 0;for(var o=r-n,a=i-e,s=Math.min(o,a),u=this.slice(n,r),c=t.slice(e,i),d=0;d<s;++d)if(u[d]!==c[d]){o=u[d],a=c[d];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(t,e,i){return-1!==this.indexOf(t,e,i)},l.prototype.indexOf=function(t,e,i){return m(this,t,e,i,!0)},l.prototype.lastIndexOf=function(t,e,i){return m(this,t,e,i,!1)},l.prototype.write=function(t,e,i,n){if(void 0===e)n="utf8",i=this.length,e=0;else if(void 0===i&&"string"===typeof e)n=e,i=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var r=this.length-e;if((void 0===i||i>r)&&(i=r),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return _(this,t,e,i);case"utf8":case"utf-8":return x(this,t,e,i);case"ascii":return b(this,t,e,i);case"latin1":case"binary":return w(this,t,e,i);case"base64":return S(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function I(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;r<i;++r)n+=String.fromCharCode(127&t[r]);return n}function A(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;r<i;++r)n+=String.fromCharCode(t[r]);return n}function D(t,e,i){var n=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>n)&&(i=n);for(var r="",o=e;o<i;++o)r+=V(t[o]);return r}function k(t,e,i){for(var n=t.slice(e,i),r="",o=0;o<n.length;o+=2)r+=String.fromCharCode(n[o]+256*n[o+1]);return r}function L(t,e,i){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>i)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,i,n,r,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<o)throw new RangeError('"value" argument is out of bounds');if(i+n>t.length)throw new RangeError("Index out of range")}function O(t,e,i,n){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-i,2);r<o;++r)t[i+r]=(e&255<<8*(n?r:1-r))>>>8*(n?r:1-r)}function R(t,e,i,n){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-i,4);r<o;++r)t[i+r]=e>>>8*(n?r:3-r)&255}function E(t,e,i,n,r,o){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function N(t,e,i,n,o){return o||E(t,0,i,4),r.write(t,e,i,n,23,4),i+4}function B(t,e,i,n,o){return o||E(t,0,i,8),r.write(t,e,i,n,52,8),i+8}l.prototype.slice=function(t,e){var i,n=this.length;if(t=~~t,e=void 0===e?n:~~e,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)i=this.subarray(t,e),i.__proto__=l.prototype;else{var r=e-t;i=new l(r,void 0);for(var o=0;o<r;++o)i[o]=this[o+t]}return i},l.prototype.readUIntLE=function(t,e,i){t|=0,e|=0,i||L(t,e,this.length);var n=this[t],r=1,o=0;while(++o<e&&(r*=256))n+=this[t+o]*r;return n},l.prototype.readUIntBE=function(t,e,i){t|=0,e|=0,i||L(t,e,this.length);var n=this[t+--e],r=1;while(e>0&&(r*=256))n+=this[t+--e]*r;return n},l.prototype.readUInt8=function(t,e){return e||L(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||L(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||L(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||L(t,e,this.length);var n=this[t],r=1,o=0;while(++o<e&&(r*=256))n+=this[t+o]*r;return r*=128,n>=r&&(n-=Math.pow(2,8*e)),n},l.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||L(t,e,this.length);var n=e,r=1,o=this[t+--n];while(n>0&&(r*=256))o+=this[t+--n]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||L(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt16BE=function(t,e){e||L(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt32LE=function(t,e){return e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||L(t,4,this.length),r.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||L(t,4,this.length),r.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||L(t,8,this.length),r.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||L(t,8,this.length),r.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,i,n){if(t=+t,e|=0,i|=0,!n){var r=Math.pow(2,8*i)-1;P(this,t,e,i,r,0)}var o=1,a=0;this[e]=255&t;while(++a<i&&(o*=256))this[e+a]=t/o&255;return e+i},l.prototype.writeUIntBE=function(t,e,i,n){if(t=+t,e|=0,i|=0,!n){var r=Math.pow(2,8*i)-1;P(this,t,e,i,r,0)}var o=i-1,a=1;this[e+o]=255&t;while(--o>=0&&(a*=256))this[e+o]=t/a&255;return e+i},l.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);P(this,t,e,i,r-1,-r)}var o=0,a=1,s=0;this[e]=255&t;while(++o<i&&(a*=256))t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+i},l.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);P(this,t,e,i,r-1,-r)}var o=i-1,a=1,s=0;this[e+o]=255&t;while(--o>=0&&(a*=256))t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+i},l.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,i){return N(this,t,e,!0,i)},l.prototype.writeFloatBE=function(t,e,i){return N(this,t,e,!1,i)},l.prototype.writeDoubleLE=function(t,e,i){return B(this,t,e,!0,i)},l.prototype.writeDoubleBE=function(t,e,i){return B(this,t,e,!1,i)},l.prototype.copy=function(t,e,i,n){if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<i&&(n=i),n===i)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-i&&(n=t.length-e+i);var r,o=n-i;if(this===t&&i<e&&e<n)for(r=o-1;r>=0;--r)t[r+e]=this[r+i];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)t[r+e]=this[r+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+o),e);return o},l.prototype.fill=function(t,e,i,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,i=this.length):"string"===typeof i&&(n=i,i=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;var o;if(e>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"===typeof t)for(o=e;o<i;++o)this[o]=t;else{var a=l.isBuffer(t)?t:F(new l(t,n).toString()),s=a.length;for(o=0;o<i-e;++o)this[o+e]=a[o%s]}return this};var z=/[^+\/0-9A-Za-z-_]/g;function V(t){return t<16?"0"+t.toString(16):t.toString(16)}function F(t,e){var i;e=e||1/0;for(var n=t.length,r=null,o=[],a=0;a<n;++a){if(i=t.charCodeAt(a),i>55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&o.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function j(t){return n.toByteArray(function(t){if(t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(z,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}(t))}function H(t,e,i,n){for(var r=0;r<n;++r){if(r+i>=e.length||r>=t.length)break;e[r+i]=t[r]}return r}}).call(this,i("0ee4"))},1379:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={};function r(t,e){function i(t,e){return t<<e|t>>>32-e}function n(t,e){var i,n,r,o,a;return r=2147483648&t,o=2147483648&e,i=1073741824&t,n=1073741824&e,a=(1073741823&t)+(1073741823&e),i&n?2147483648^a^r^o:i|n?1073741824&a?3221225472^a^r^o:1073741824^a^r^o:a^r^o}function r(t,e,r,o,a,s,l){return t=n(t,n(n(function(t,e,i){return t&e|~t&i}(e,r,o),a),l)),n(i(t,s),e)}function o(t,e,r,o,a,s,l){return t=n(t,n(n(function(t,e,i){return t&i|e&~i}(e,r,o),a),l)),n(i(t,s),e)}function a(t,e,r,o,a,s,l){return t=n(t,n(n(function(t,e,i){return t^e^i}(e,r,o),a),l)),n(i(t,s),e)}function s(t,e,r,o,a,s,l){return t=n(t,n(n(function(t,e,i){return e^(t|~i)}(e,r,o),a),l)),n(i(t,s),e)}function l(t){var e,i,n="",r="";for(i=0;i<=3;i++)e=t>>>8*i&255,r="0"+e.toString(16),n+=r.substr(r.length-2,2);return n}var u,c,d,h,f,p,g,v,m,y=Array();for(t=function(t){t=t.replace(/\r\n/g,"\n");for(var e="",i=0;i<t.length;i++){var n=t.charCodeAt(i);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e}(t),y=function(t){var e,i=t.length,n=i+8,r=(n-n%64)/64,o=16*(r+1),a=Array(o-1),s=0,l=0;while(l<i)e=(l-l%4)/4,s=l%4*8,a[e]=a[e]|t.charCodeAt(l)<<s,l++;return e=(l-l%4)/4,s=l%4*8,a[e]=a[e]|128<<s,a[o-2]=i<<3,a[o-1]=i>>>29,a}(t),p=1732584193,g=4023233417,v=2562383102,m=271733878,u=0;u<y.length;u+=16)c=p,d=g,h=v,f=m,p=r(p,g,v,m,y[u+0],7,3614090360),m=r(m,p,g,v,y[u+1],12,3905402710),v=r(v,m,p,g,y[u+2],17,606105819),g=r(g,v,m,p,y[u+3],22,3250441966),p=r(p,g,v,m,y[u+4],7,4118548399),m=r(m,p,g,v,y[u+5],12,1200080426),v=r(v,m,p,g,y[u+6],17,2821735955),g=r(g,v,m,p,y[u+7],22,4249261313),p=r(p,g,v,m,y[u+8],7,1770035416),m=r(m,p,g,v,y[u+9],12,2336552879),v=r(v,m,p,g,y[u+10],17,4294925233),g=r(g,v,m,p,y[u+11],22,2304563134),p=r(p,g,v,m,y[u+12],7,1804603682),m=r(m,p,g,v,y[u+13],12,4254626195),v=r(v,m,p,g,y[u+14],17,2792965006),g=r(g,v,m,p,y[u+15],22,1236535329),p=o(p,g,v,m,y[u+1],5,4129170786),m=o(m,p,g,v,y[u+6],9,3225465664),v=o(v,m,p,g,y[u+11],14,643717713),g=o(g,v,m,p,y[u+0],20,3921069994),p=o(p,g,v,m,y[u+5],5,3593408605),m=o(m,p,g,v,y[u+10],9,38016083),v=o(v,m,p,g,y[u+15],14,3634488961),g=o(g,v,m,p,y[u+4],20,3889429448),p=o(p,g,v,m,y[u+9],5,568446438),m=o(m,p,g,v,y[u+14],9,3275163606),v=o(v,m,p,g,y[u+3],14,4107603335),g=o(g,v,m,p,y[u+8],20,1163531501),p=o(p,g,v,m,y[u+13],5,2850285829),m=o(m,p,g,v,y[u+2],9,4243563512),v=o(v,m,p,g,y[u+7],14,1735328473),g=o(g,v,m,p,y[u+12],20,2368359562),p=a(p,g,v,m,y[u+5],4,4294588738),m=a(m,p,g,v,y[u+8],11,2272392833),v=a(v,m,p,g,y[u+11],16,1839030562),g=a(g,v,m,p,y[u+14],23,4259657740),p=a(p,g,v,m,y[u+1],4,2763975236),m=a(m,p,g,v,y[u+4],11,1272893353),v=a(v,m,p,g,y[u+7],16,4139469664),g=a(g,v,m,p,y[u+10],23,3200236656),p=a(p,g,v,m,y[u+13],4,681279174),m=a(m,p,g,v,y[u+0],11,3936430074),v=a(v,m,p,g,y[u+3],16,3572445317),g=a(g,v,m,p,y[u+6],23,76029189),p=a(p,g,v,m,y[u+9],4,3654602809),m=a(m,p,g,v,y[u+12],11,3873151461),v=a(v,m,p,g,y[u+15],16,530742520),g=a(g,v,m,p,y[u+2],23,3299628645),p=s(p,g,v,m,y[u+0],6,4096336452),m=s(m,p,g,v,y[u+7],10,1126891415),v=s(v,m,p,g,y[u+14],15,2878612391),g=s(g,v,m,p,y[u+5],21,4237533241),p=s(p,g,v,m,y[u+12],6,1700485571),m=s(m,p,g,v,y[u+3],10,2399980690),v=s(v,m,p,g,y[u+10],15,4293915773),g=s(g,v,m,p,y[u+1],21,2240044497),p=s(p,g,v,m,y[u+8],6,1873313359),m=s(m,p,g,v,y[u+15],10,4264355552),v=s(v,m,p,g,y[u+6],15,2734768916),g=s(g,v,m,p,y[u+13],21,1309151649),p=s(p,g,v,m,y[u+4],6,4149444226),m=s(m,p,g,v,y[u+11],10,3174756917),v=s(v,m,p,g,y[u+2],15,718787259),g=s(g,v,m,p,y[u+9],21,3951481745),p=n(p,c),g=n(g,d),v=n(v,h),m=n(m,f);return 32==e?(l(p)+l(g)+l(v)+l(m)).toLowerCase():(l(g)+l(v)).toLowerCase()}n.hex_md5_16=function(t){return r(t,16)},n.hex_md5_16Upper=function(t){return r(t,16).toUpperCase()},n.hex_md5_32=function(t){return r(t,32)},n.hex_md5_32Upper=function(t){return r(t,32).toUpperCase()};var o=n;e.default=o},"154c":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("127e")),o=n(i("ee10")),a=n(i("cf91")),s=n(i("cc03")),l={props:{loadingMoreCustomStyle:{type:Object,default:a.default.gc("loadingMoreCustomStyle",{})},loadingMoreTitleCustomStyle:{type:Object,default:a.default.gc("loadingMoreTitleCustomStyle",{})},loadingMoreLoadingIconCustomStyle:{type:Object,default:a.default.gc("loadingMoreLoadingIconCustomStyle",{})},loadingMoreLoadingIconType:{type:String,default:a.default.gc("loadingMoreLoadingIconType","flower")},loadingMoreLoadingIconCustomImage:{type:String,default:a.default.gc("loadingMoreLoadingIconCustomImage","")},loadingMoreLoadingAnimated:{type:Boolean,default:a.default.gc("loadingMoreLoadingAnimated",!0)},loadingMoreEnabled:{type:Boolean,default:a.default.gc("loadingMoreEnabled",!0)},toBottomLoadingMoreEnabled:{type:Boolean,default:a.default.gc("toBottomLoadingMoreEnabled",!0)},loadingMoreDefaultAsLoading:{type:Boolean,default:a.default.gc("loadingMoreDefaultAsLoading",!1)},loadingMoreDefaultText:{type:[String,Object],default:a.default.gc("loadingMoreDefaultText",null)},loadingMoreLoadingText:{type:[String,Object],default:a.default.gc("loadingMoreLoadingText",null)},loadingMoreNoMoreText:{type:[String,Object],default:a.default.gc("loadingMoreNoMoreText",null)},loadingMoreFailText:{type:[String,Object],default:a.default.gc("loadingMoreFailText",null)},hideNoMoreInside:{type:Boolean,default:a.default.gc("hideNoMoreInside",!1)},hideNoMoreByLimit:{type:Number,default:a.default.gc("hideNoMoreByLimit",0)},showDefaultLoadingMoreText:{type:Boolean,default:a.default.gc("showDefaultLoadingMoreText",!0)},showLoadingMoreNoMoreView:{type:Boolean,default:a.default.gc("showLoadingMoreNoMoreView",!0)},showLoadingMoreNoMoreLine:{type:Boolean,default:a.default.gc("showLoadingMoreNoMoreLine",!0)},loadingMoreNoMoreLineCustomStyle:{type:Object,default:a.default.gc("loadingMoreNoMoreLineCustomStyle",{})},insideMore:{type:Boolean,default:a.default.gc("insideMore",!1)},lowerThreshold:{type:[Number,String],default:a.default.gc("lowerThreshold","100rpx")}},data:function(){return{M:s.default.More,loadingStatus:s.default.More.Default,loadingStatusAfterRender:s.default.More.Default,loadingMoreTimeStamp:0,loadingMoreDefaultSlot:null,showLoadingMore:!1,customNoMore:-1}},computed:{zLoadMoreConfig:function(){return{status:this.loadingStatusAfterRender,defaultAsLoading:this.loadingMoreDefaultAsLoading||this.useChatRecordMode&&this.chatLoadingMoreDefaultAsLoading,defaultThemeStyle:this.finalLoadingMoreThemeStyle,customStyle:this.loadingMoreCustomStyle,titleCustomStyle:this.loadingMoreTitleCustomStyle,iconCustomStyle:this.loadingMoreLoadingIconCustomStyle,loadingIconType:this.loadingMoreLoadingIconType,loadingIconCustomImage:this.loadingMoreLoadingIconCustomImage,loadingAnimated:this.loadingMoreLoadingAnimated,showNoMoreLine:this.showLoadingMoreNoMoreLine,noMoreLineCustomStyle:this.loadingMoreNoMoreLineCustomStyle,defaultText:this.finalLoadingMoreDefaultText,loadingText:this.finalLoadingMoreLoadingText,noMoreText:this.finalLoadingMoreNoMoreText,failText:this.finalLoadingMoreFailText,hideContent:!this.loadingMoreDefaultAsLoading&&this.listRendering,unit:this.unit,isChat:this.useChatRecordMode,chatDefaultAsLoading:this.chatLoadingMoreDefaultAsLoading}},finalLoadingMoreThemeStyle:function(){return this.loadingMoreThemeStyle.length?this.loadingMoreThemeStyle:this.defaultThemeStyle},finalLowerThreshold:function(){return a.default.convertToPx(this.lowerThreshold)},showLoadingMoreDefault:function(){return this._showLoadingMore("Default")},showLoadingMoreLoading:function(){return this._showLoadingMore("Loading")},showLoadingMoreNoMore:function(){return this._showLoadingMore("NoMore")},showLoadingMoreFail:function(){return this._showLoadingMore("Fail")},showLoadingMoreCustom:function(){return this._showLoadingMore("Custom")}},methods:{pageReachBottom:function(){!this.useChatRecordMode&&this._onLoadingMore("toBottom")},doLoadMore:function(t){this._onLoadingMore(t)},_checkScrolledToBottom:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1===this.cacheScrollNodeHeight?this._getNodeClientRect(".zp-scroll-view").then((function(i){if(i){var n=i[0].height;e.cacheScrollNodeHeight=n,t-n<=e.finalLowerThreshold&&e._onLoadingMore("toBottom")}})):(t-this.cacheScrollNodeHeight<=this.finalLowerThreshold?this._onLoadingMore("toBottom"):t-this.cacheScrollNodeHeight<=500&&!i&&a.default.delay((function(){e._getNodeClientRect(".zp-scroll-view",!0,!0).then((function(t){if(t){e.oldScrollTop=t[0].scrollTop;var i=t[0].scrollHeight-e.oldScrollTop;e._checkScrolledToBottom(i,!0)}}))}),150,"checkScrolledToBottomDelay"),this.oldScrollTop<=150&&0!==this.oldScrollTop&&a.default.delay((function(){0!==e.oldScrollTop&&e._getNodeClientRect(".zp-scroll-view",!0,!0).then((function(t){t&&0===t[0].scrollTop&&0!==e.oldScrollTop&&e._onScrollToUpper()}))}),150,"checkScrolledToTopDelay"))},_onLoadingMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"click";this.isIos&&"toBottom"===e&&!this.scrollToBottomBounceEnabled&&this.scrollEnable&&(this.scrollEnable=!1,this.$nextTick((function(){t.scrollEnable=!0}))),this.$emit("scrolltolower",e),this.refresherOnly||!this.loadingMoreEnabled||this.loadingStatus!==s.default.More.Default&&this.loadingStatus!==s.default.More.Fail||this.loading||this.showEmpty||this._doLoadingMore()},_doLoadingMore:function(){var t=this;this.pageNo>=this.defaultPageNo&&this.loadingStatus!==s.default.More.NoMore&&(this.pageNo++,this._startLoading(!1),this.isLocalPaging?this._localPagingQueryList(this.pageNo,this.defaultPageSize,this.localPagingLoadingTime,(function(e){t.completeByTotal(e,t.totalLocalPagingList.length),t.queryFrom=s.default.QueryFrom.LoadingMore})):(this._emitQuery(this.pageNo,this.defaultPageSize,s.default.QueryFrom.LoadingMore),this._callMyParentQuery()),this.loadingType=s.default.LoadingType.LoadingMore)},_preCheckShowNoMoreInside:function(t,e,i){var n=this;this.loadingStatus===s.default.More.NoMore&&this.hideNoMoreByLimit>0&&t.length?this.showLoadingMore=t.length>this.hideNoMoreByLimit:this.loadingStatus===s.default.More.NoMore&&this.hideNoMoreInside&&t.length||this.insideMore&&!1!==this.insideOfPaging&&t.length?(this.$nextTick((function(){n._checkShowNoMoreInside(t,e,i)})),this.insideMore&&!1!==this.insideOfPaging&&t.length&&(this.showLoadingMore=t.length)):this.showLoadingMore=t.length},_checkShowNoMoreInside:function(t,e,i){var n=this;return(0,o.default)(r.default.mark((function o(){var a,s,l,u,c;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(r.prev=0,r.t0=e,r.t0){r.next=6;break}return r.next=5,n._getNodeClientRect(".zp-scroll-view");case 5:r.t0=r.sent;case 6:if(a=r.t0,!n.usePageScroll){r.next=11;break}a&&(s=a[0].top+a[0].height,n.insideOfPaging=s<n.windowHeight,n.hideNoMoreInside&&(n.showLoadingMore=!n.insideOfPaging),n._updateInsideOfPaging()),r.next=22;break;case 11:if(r.t1=i,r.t1){r.next=16;break}return r.next=15,n._getNodeClientRect(".zp-paging-container-content");case 15:r.t1=r.sent;case 16:l=r.t1,u=l?l[0].height:0,c=a?a[0].height:0,n.insideOfPaging=u<c,n.hideNoMoreInside&&(n.showLoadingMore=!n.insideOfPaging),n._updateInsideOfPaging();case 22:r.next=29;break;case 24:r.prev=24,r.t2=r["catch"](0),n.insideOfPaging=!t.length,n.hideNoMoreInside&&(n.showLoadingMore=!n.insideOfPaging),n._updateInsideOfPaging();case 29:case"end":return r.stop()}}),o,null,[[0,24]])})))()},_showLoadingMore:function(t){if(!this.showLoadingMoreWhenReload&&(this.loadingStatus===s.default.More.Default&&!this.nShowBottom||!this.realTotalData.length))return!1;if((!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==s.default.More.Loading)&&!this.showLoadingMore||!this.loadingMoreEnabled&&(!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==s.default.More.Loading)||this.refresherOnly)return!1;if(this.useChatRecordMode&&"Loading"!==t)return!1;if(!this.zSlots)return!1;if("Custom"===t)return this.showDefaultLoadingMoreText&&!(this.loadingStatus===s.default.More.NoMore&&!this.showLoadingMoreNoMoreView);var e=this.loadingStatus===s.default.More[t]&&this.zSlots["loadingMore".concat(t)]&&("NoMore"!==t||this.showLoadingMoreNoMoreView);return e}}};e.default=l},"165f":function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},borderRadius:{type:String}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup:function(t){}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{backgroundColor:"transparent",borderRadius:this.borderRadius||"0",position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:"top"}},computed:{getStyles:function(){var t={backgroundColor:this.bg};return this.borderRadius,t=Object.assign(t,{borderRadius:this.borderRadius}),t},isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},bg:function(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted:function(){var t=this;(function(){var e=uni.getSystemInfoSync(),i=e.windowWidth,n=e.windowHeight,r=e.windowTop,o=e.safeArea,a=(e.screenHeight,e.safeAreaInsets);t.popupWidth=i,t.popupHeight=n+(r||0),o&&t.safeArea?t.safeAreaInsets=a.bottom:t.safeAreaInsets=0})()},destroyed:function(){this.setH5Visible()},activated:function(){this.setH5Visible(!this.showPopup)},deactivated:function(){this.setH5Visible(!0)},created:function(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible:function(){},closeMask:function(){this.maskShow=!1},disableMask:function(){this.mkclick=!1},clear:function(t){t.stopPropagation(),this.clearPropagation=!0},open:function(e){if(!this.showPopup){e&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):t("error","\u7f3a\u5c11\u7c7b\u578b\uff1a",e," at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:298")}},close:function(t){var e=this;this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((function(){e.showPopup=!1}),300)},touchstart:function(){this.clearPropagation=!1},onTap:function(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top:function(t){var e=this;this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((function(){e.showPoptrans(),e.messageChild&&"message"===e.type&&e.messageChild.timerClose()})))},bottom:function(t){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},t||this.showPoptrans()},center:function(t){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center",borderRadius:this.borderRadius||"0"},t||this.showPoptrans()},left:function(t){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},t||this.showPoptrans()},right:function(t){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},t||this.showPoptrans()},showPoptrans:function(){var t=this;this.$nextTick((function(){t.showPopup=!0,t.showTrans=!0}))}}};e.default=i}).call(this,i("f3b9")["default"])},"175f":function(t,e,i){"use strict";i.r(e);var n=i("653f"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"1aae":function(t,e,i){"use strict";i.r(e);var n=i("2965"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"1b28":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={formItem:{label:"",prop:"",borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""}}},"1b9d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={toast:{zIndex:10090,loading:!1,text:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:function(){},duration:2e3,isTab:!1,url:"",callback:null,back:!1}}},"1c6a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={swiper:{list:function(){return[]},indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1}}},"1d9f":function(t,e,i){"use strict";var n=i("3b2d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(!e)return t;var i;if(r.isURLSearchParams(e))i=e.toString();else{var n=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e="".concat(e,"[]"):t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),n.push("".concat(a(e),"=").concat(a(t)))})))})),i=n.join("&")}if(i){var o=t.indexOf("#");-1!==o&&(t=t.slice(0,o)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t};var r=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!==typeof t)return{default:t};var i=o(e);if(i&&i.has(t))return i.get(t);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(r,s,l):r[s]=t[s]}r.default=t,i&&i.set(t,r);return r}(i("29c3"));function o(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(o=function(t){return t?i:e})(t)}function a(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}},"1e51":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:""}}},"1fba":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniTransition:i("c35c").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.showPopup)?i("view",{staticClass:t._$s(0,"sc","uni-popup"),class:t._$s(0,"c",[t.popupstyle,t.isDesktop?"fixforpc-z-index":""]),attrs:{_i:0}},[i("view",{attrs:{_i:1},on:{touchstart:t.touchstart}},[t._$s(2,"i",t.maskShow)?i("uni-transition",{key:"1",attrs:{name:"mask","mode-class":"fade",styles:t.maskClass,duration:t.duration,show:t.showTrans,_i:2},on:{click:t.onTap}}):t._e(),i("uni-transition",{key:"2",attrs:{"mode-class":t.ani,name:"content",styles:t.transClass,duration:t.duration,show:t.showTrans,_i:3},on:{click:t.onTap}},[i("view",{staticClass:t._$s(4,"sc","uni-popup__wrapper"),class:t._$s(4,"c",[t.popupstyle]),style:t._$s(4,"s",t.getStyles),attrs:{_i:4},on:{click:t.clear}},[t._t("default",null,{_i:5})],2)])],1)]):t._e()},o=[]},"1ff5":function(t,e,i){"use strict";i.r(e);var n=i("7364"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"1ffe":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("38f8")),o=n(i("cc03")),a={name:"z-paging-load-more",data:function(){return{M:o.default.More,zTheme:{title:{white:"#efefef",black:"#a4a4a4"},line:{white:"#efefef",black:"#eeeeee"},circleBorder:{white:"#aaaaaa",black:"#c8c8c8"},circleBorderTop:{white:"#ffffff",black:"#444444"},flower:{white:r.default.base64FlowerWhite,black:r.default.base64Flower},indicator:{white:"#eeeeee",black:"#777777"}}}},props:["zConfig"],computed:{ts:function(){return this.c.defaultThemeStyle},c:function(){return this.zConfig||{}},ownLoadingMoreText:function(){var t=[this.c.defaultText,this.c.loadingText,this.c.noMoreText,this.c.failText];return t[this.finalStatus]},finalStatus:function(){return this.c.defaultAsLoading&&this.c.status===this.M.Default?this.M.Loading:this.c.status},finalLoadingIconType:function(){return this.c.loadingIconType}},methods:{doClick:function(){this.$emit("doClick")}}};e.default=a},"200d":function(t,e,i){t.exports=i.p+"static/icon/sleep.png"},"211f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"}}},"22b9":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","x-skeleton"),style:t._$s(0,"s",t.variableStr),attrs:{_i:0}},[t._$s(1,"i",t.skeletonLoading)?i("view",{staticClass:t._$s(1,"sc","x-skeleton__wrapper"),class:t._$s(1,"c",[t.startFadeOut&&"fade-out"]),style:t._$s(1,"s",{padding:t.skeletonConfigs.padding}),attrs:{_i:1}},t._l(t._$s(2,"f",{forItems:t.gridRowsArr}),(function(e,n,r,o){return i("view",{key:t._$s(2,"f",{forIndex:r,key:n}),staticClass:t._$s("2-"+o,"sc","x-skeleton__wrapper__rows"),style:t._$s("2-"+o,"s",{marginBottom:n<t.gridRowsArr.length-1?t.skeletonConfigs.gridRowsGap:0}),attrs:{_i:"2-"+o}},t._l(t._$s("3-"+o,"f",{forItems:t.gridColumnsArr}),(function(e,n,r,a){return i("view",{key:t._$s("3-"+o,"f",{forIndex:r,key:n}),staticClass:t._$s("3-"+o+"-"+a,"sc","x-skeleton__wrapper__columns"),style:t._$s("3-"+o+"-"+a,"s",{flexDirection:t.skeletonConfigs.itemDirection,alignItems:t.skeletonConfigs.itemAlign,marginRight:n<t.gridColumnsArr.length-1?t.skeletonConfigs.gridColumnsGap:0}),attrs:{_i:"3-"+o+"-"+a}},[t._$s("4-"+o+"-"+a,"i",t.skeletonConfigs.headShow)?i("view",{staticClass:t._$s("4-"+o+"-"+a,"sc","x-skeleton__wrapper__head"),class:t._$s("4-"+o+"-"+a,"c",[t.animate&&"animate"]),style:t._$s("4-"+o+"-"+a,"s",{width:t.skeletonConfigs.headWidth,height:t.skeletonConfigs.headHeight,borderRadius:t.skeletonConfigs.headBorderRadius,marginRight:"row"==t.skeletonConfigs.itemDirection&&t.skeletonConfigs.textShow?t.skeletonConfigs.itemGap:0,marginBottom:"column"==t.skeletonConfigs.itemDirection&&t.skeletonConfigs.textShow?t.skeletonConfigs.itemGap:0}),attrs:{_i:"4-"+o+"-"+a}}):t._e(),t._$s("5-"+o+"-"+a,"i",t.skeletonConfigs.textShow)?i("view",{staticClass:t._$s("5-"+o+"-"+a,"sc","x-skeleton__wrapper__text"),attrs:{_i:"5-"+o+"-"+a}},t._l(t._$s("6-"+o+"-"+a,"f",{forItems:t.textRowsArr}),(function(e,n,r,s){return i("view",{key:t._$s("6-"+o+"-"+a,"f",{forIndex:r,key:n}),staticClass:t._$s("6-"+o+"-"+a+"-"+s,"sc","x-skeleton__wrapper__text__row"),class:t._$s("6-"+o+"-"+a+"-"+s,"c",[t.animate&&"animate"]),style:t._$s("6-"+o+"-"+a+"-"+s,"s",{width:e.width,height:e.height,borderRadius:t.skeletonConfigs.textBorderRadius,marginBottom:n<t.textRowsArr.length-1?t.skeletonConfigs.textRowsGap:0}),attrs:{_i:"6-"+o+"-"+a+"-"+s}})})),0):t._e()])})),0)})),0):i("view",[t._t("default",null,{_i:8})],2)])},r=[]},"22d7":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("38f8")),o={name:"z-paging-empty-view",data:function(){return{}},props:{emptyViewText:{type:String,default:"\u6ca1\u6709\u6570\u636e\u54e6~"},emptyViewImg:{type:String,default:""},showEmptyViewReload:{type:Boolean,default:!1},emptyViewReloadText:{type:String,default:"\u91cd\u65b0\u52a0\u8f7d"},isLoadFailed:{type:Boolean,default:!1},emptyViewStyle:{type:Object,default:function(){return{}}},emptyViewImgStyle:{type:Object,default:function(){return{}}},emptyViewTitleStyle:{type:Object,default:function(){return{}}},emptyViewReloadStyle:{type:Object,default:function(){return{}}},emptyViewZIndex:{type:Number,default:9},emptyViewFixed:{type:Boolean,default:!0},unit:{type:String,default:"rpx"}},computed:{emptyImg:function(){return this.isLoadFailed?r.default.base64Error:r.default.base64Empty},finalEmptyViewStyle:function(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick:function(){this.$emit("reload")},emptyViewClick:function(){this.$emit("viewClick")}}};e.default=o},2488:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={version:"2.7.11",delayTime:100,errorUpdateKey:"z-paging-error-emit",completeUpdateKey:"z-paging-complete-emit",cachePrefixKey:"z-paging-cache",listCellIndexKey:"zp_index",listCellIndexUniqueKey:"zp_unique_index"}},"253d":function(t,e,i){"use strict";(function(t){var n=i("47a9"),r=i("3b2d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("127e")),a=n(i("af34")),s=n(i("ee10")),l=n(i("7ca3")),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var i=d(e);if(i&&i.has(t))return i.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}n.default=t,i&&i.set(t,n);return n}(i("ee80")),c=i("8f59");function d(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(d=function(t){return t?i:e})(t)}function h(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var f={data:function(){return{stepCount:0,calorie:0,distance:0,time:(new Date).toISOString().substring(0,10),type:"",desc:"",dataConfig:{bloodGlucose:{title:"123123",name:"\u8840\u7cd6",color:"#fb8544",unit:"\u6beb\u6469\u5c14/\u5347",cankaoData:[{name:"\u7a7a\u8179/\u9910\u524d",data:[0,3.9,6.1,15],adjustment:[.05,0,-.05],max:15},{name:"\u9910\u540e1\u5c0f\u65f6",data:[0,6.7,9.4,15],adjustment:[.04,0,-.04],max:15},{name:"\u9910\u540e2\u5c0f\u65f6",data:[0,4.4,7.8,15],adjustment:[.04,0,-.04],max:15}]},step:{name:"\u6bcf\u65e5\u8fd0\u52a8",color:"#29cf6f",unit:"\u6beb\u6469\u5c14/\u5347"},bloodOxygen:{title:"123123",name:"\u8840\u6c27",color:"#bf32fc",unit:"%",cankaoData:!1},bodyTemperature:{title:"bodyTemperature",name:"\u4f53\u6e29",color:"#2ec8d8",unit:"\u2103",cankaoData:!1},bloodPressure:{title:"bloodPressure",name:"\u8840\u538b",color:"#fb8544",color1:"#00c3da",unit:"\u2103",cankaoData:!1},pulseReat:{title:"123123",name:"\u5fc3\u7387",color:"#fd5656",unit:"\u6b21/\u5206",cankaoData:!1},bloodLiquid:{title:"123123",name:"\u5c3f\u9178",color:"#f00",unit:"\u5fae\u6469\u5c14/\u5347",cankaoData:[{name:"\u5c3f\u9178",data:[0,150,420,1e3],adjustment:[.06,0,-.06],max:1e3}]},bloodLiquidAll:{title:"123123",name:"\u8840\u8102",unit:"\u5fae\u6469\u5c14/\u5347",overviewData:{name:"\u8840\u8102\u6982\u51b5",tb_head:["","\u8303\u56f4","\u5e73\u5747\u503c"],data:[{name:"\u603b\u80c6\u56fa\u9187",value:"0-0",average:0,color:"#46b4ff",bgColor:"#e1f3fd"},{name:"\u7518\u6cb9\u4e09\u916f",value:"0-0",average:0,color:"#29cf6c",bgColor:"#e2fff3"},{name:"\u9ad8\u5bc6\u5ea6\u8102\u86cb\u767d",value:"0-0",average:0,color:"#fcc05d",bgColor:"#fef5e3"},{name:"\u4f4e\u5bc6\u5ea6\u8102\u86cb\u767d",value:"0-0",average:0,color:"#fa4e33",bgColor:"#fee5e1"}]},cankaoData:[{name:"\u603b\u80c6\u56fa\u9187",data:[0,2.8,5.17,20],adjustment:[.05,.02,-.05],max:10},{name:"\u7518\u6cb9\u4e09\u916f",data:[0,.56,1.7,20],adjustment:[.06,-.02,-.04],max:3},{name:"\u9ad8\u5bc6\u5ea6\u8102\u86cb\u767d",data:[0,.96,1.15,20],adjustment:[.04,0,-.04],max:1.5},{name:"\u4f4e\u5bc6\u5ea6\u8102\u86cb\u767d",data:[0,3.1,20],adjustment:[.04,0,-.04],max:20}]}},option:{xAxis:{splitLine:{show:!1},type:"value",max:4,min:0,axisLabel:{show:!0,splitNumber:2,formatter:function(t,e){return["12am","6am","12pm","6pm","12am"][Math.floor(e)]}}},yAxis:{splitLine:{show:!0,lineStyle:{color:["#ccc"],type:"dashed"}},axisTick:{show:!1},axisLine:{show:!1},axisLabel:{},position:"right",splitNumber:3},series:[{symbolSize:5,data:[],markLine:{data:[{show:!1,yAxis:2.5}],lineStyle:{color:"#ccc",cap:"butt"},label:{color:"#ccc"}},type:"scatter"}]}}},onLoad:function(t){this.type=t.type,this.desc=t.desc||"",this.calorie=t.calorie||0,this.stepCount=t.step||0,this.distance=t.distance||0},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?h(Object(i),!0).forEach((function(e){(0,l.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,c.mapGetters)({getActiceDevice:"api/getActiceDevice"})),methods:{init:function(){var t=this;return(0,s.default)(o.default.mark((function e(){var i;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.chartRef.init(u);case 2:return t.chart=e.sent,e.next=5,t.getDataList();case 5:i=e.sent,t.chart.setOption(i);case 7:case"end":return e.stop()}}),e)})))()},back:function(){uni.navigateBack({delta:1})},goPath:function(){t("log","233333333"," at pages/index/echarts.vue:388");var e=this.type;"bloodLiquid"==this.type&&(e="bloodLiquid&desc=uricAcidVal"),"bloodLiquidAll"==this.type&&(e="bloodLiquid"),uni.navigateTo({url:"./detail?type="+e})},makeHour:function(t){return Math.floor(t/6)},makeMinute:function(t){return t/60},makeFloatHoursMinutes:function(t,e){var i=3600*t+60*e,n=i/86400*4;return n.toFixed(2)},getDataList:function(){var t=this;return(0,s.default)(o.default.mark((function e(){var i,n;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.type,"step"==t.type&&(i="step_split"),"bloodLiquidAll"==t.type&&(i="bloodLiquid"),e.next=5,t.$store.dispatch("api/getDeviceListDays",{type:i,device_real_time:t.time,device_id:t.getActiceDevice.device_id});case 5:return n=e.sent,e.abrupt("return",t.makeOptionConfig(n.data));case 7:case"end":return e.stop()}}),e)})))()},getAverage:function(t){if(0===t.length)return 0;var e=t.reduce((function(t,e){return t+e}));return e/t.length},subtractMinutes:function(t,e){var i=t.split(":"),n=parseInt(i[0],10),r=parseInt(i[1],10),o=new Date;o.setHours(n,r,0,0),o.setMinutes(o.getMinutes()-e);var a=o.getHours().toString().padStart(2,"0"),s=o.getMinutes().toString().padStart(2,"0");return a+":"+s},makeOptionConfig:function(e){var i=[],n=0,r=0,o=0,s=0,l=0,c=[],d={};switch(this.option.series[0].markLine.symbol="none",this.option.series[0].markLine.label.position="insideEndTop",this.type){case"step":for(var h in e.map((function(t,e){var i=t.hour_minute.split(":"),n="";n=i[1]<30?i[0]+":00":i[0]+":30",void 0==d[n]?d[n]={val:t.data_msg.stepCount,from:1}:d[n].val+=t.data_msg.stepCount})),d)if(d.hasOwnProperty(h)){var f=h.split(":"),p=this.makeFloatHoursMinutes(f[0],f[1]);i.push({value:[p,d[h].val],itemStyle:{color:this.dataConfig[this.type].color}})}t("log",i," at pages/index/echarts.vue:491"),this.option.series[0].data=i,this.option.series[0].markLine=[],this.option.series[0].type="bar",this.option.series[0].barMaxWidth="10",this.option.title={text:this.stepCount+"\u6b65",left:"center"};break;case"bodyTemperature":for(var g in e.map((function(t,e){var i=t.hour_minute.split(":"),s=i[0]+":00";void 0==d[s]?d[s]={val:[parseFloat(t.data_msg)],from:0}:d[s].val=[].concat((0,a.default)(d[s].val),[parseFloat(t.data_msg)]);var l=parseFloat(t.data_msg);n+=l,(0==r||r<l)&&(r=l),(0==o||o>l)&&(o=l)})),s=n/e.length,s=parseFloat(s.toFixed(2)),t("log",d," at pages/index/echarts.vue:527"),d)if(d.hasOwnProperty(g)){var v=g.split(":"),m=this.makeFloatHoursMinutes(v[0],v[1]);i.push({value:[m,this.getAverage(d[g].val)],itemStyle:{color:this.dataConfig[this.type].color}})}this.option.series[0].data=i,this.option.series[0].type="line",this.option.series[0].lineStyle={},this.option.series[0].lineStyle.color="#ccc",this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.type].color,this.option.yAxis.min=parseInt(o)-1,this.option.yAxis.max=parseInt(r)+1,this.option.yAxis.splitNumber=1,this.option.title={text:o+"-"+r,subtext:"\u2103",left:"center"},this.dataConfig.bodyTemperature.title=o+"-"+r;break;case"bloodOxygen":for(var y in e.map((function(t,e){var i=t.hour_minute.split(":"),n=t.data_msg.filter((function(t){return t>0}));if(i[1]%10==0){var r=t.hour_minute;void 0==d[r]?d[r]={val:n,from:0}:d[r].val=[].concat((0,a.default)(d[r].val),(0,a.default)(n))}else{var o=i[0]+":"+(i[1]-5==0?"00":i[1]-5);void 0==d[o]?d[o]={val:n,from:1}:d[o].val=[].concat((0,a.default)(d[o].val),(0,a.default)(n))}n.map((function(t,e){t>0&&c.push(t)}))})),d)if(d.hasOwnProperty(y)){var _=y.split(":"),x=this.makeFloatHoursMinutes(_[0],_[1]);i.push({value:[x,this.getAverage(d[y].val)],itemStyle:{color:this.dataConfig[this.type].color}})}c.length>0&&(o=Math.min.apply(Math,c),r=Math.max.apply(Math,c)),this.option.series[0].data=i,this.option.yAxis.axisLabel.formatter="{value}%",this.option.series[0].markLine.data[0].yAxis=this.getAverage(c),this.option.series[0].markLine.data[0].value=this.getAverage(c),this.option.series[0].markLine.symbol="none",this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.type].color,this.option.series[0].markLine.label.position="insideEndTop",this.option.series[0].markLine.label.formatter=function(t){return t.value+"%"},this.option.title={text:o+"-"+r,subtext:"%",left:"center"},this.option.yAxis.splitNumber=2,this.dataConfig.bodyTemperature.title=o+"-"+r,this.option.yAxis.min=o,this.option.yAxis.max=100;break;case"bloodGlucose":for(var b in e.map((function(t,e){var i=t.hour_minute.split(":");if(i[1]<30){var s=i[0]+":00";void 0==d[s]?d[s]={val:[t.data_msg],from:0}:d[s].val=[].concat((0,a.default)(d[s].val),[t.data_msg])}else{var l=i[0]+":30";void 0==d[l]?d[l]={val:[t.data_msg],from:1}:d[l].val=[].concat((0,a.default)(d[l].val),[t.data_msg])}n+=t.data_msg,(0==r||r<t.data_msg)&&(r=t.data_msg),(0==o||o>t.data_msg)&&(o=t.data_msg)})),s=n/e.length,s=parseFloat(s.toFixed(2)),d)if(d.hasOwnProperty(b)){var w=b.split(":"),S=this.makeFloatHoursMinutes(w[0],w[1]);i.push({value:[S,this.getAverage(d[b].val)],itemStyle:{color:this.dataConfig[this.type].color}})}this.option.series[0].data=i,this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.type].color,this.option.title={text:o+"-"+r,subtext:"\u6beb\u6469\u5c14/\u5347",left:"center"},this.dataConfig.bloodGlucose.title=o+"-"+r;break;case"bloodPressure":var C=0,M=0,T=0,I=[];e.map((function(t,e){var i=t.hour_minute.split(":"),s=i[0]+":00";void 0==d[s]?d[s]={val:[t.data_msg.bloodPressureHigh],val2:[t.data_msg.bloodPressureLow],from:0}:(d[s].val=[].concat((0,a.default)(d[s].val),[t.data_msg.bloodPressureHigh]),d[s].val2=[].concat((0,a.default)(d[s].val2),[t.data_msg.bloodPressureLow])),n+=t.data_msg.bloodPressureHigh,T+=t.data_msg.bloodPressureLow,(0==r||r<t.data_msg.bloodPressureHigh)&&(r=t.data_msg.bloodPressureHigh),(0==o||o>t.data_msg.bloodPressureHigh)&&(o=t.data_msg.bloodPressureHigh),(0==C||C<t.data_msg.bloodPressureLow)&&(C=t.data_msg.bloodPressureLow),(0==M||M>t.data_msg.bloodPressureLow)&&(M=t.data_msg.bloodPressureLow)})),s=n/e.length;var A=T/e.length;for(var D in s=parseInt(s),A=parseInt(A),t("log",d," at pages/index/echarts.vue:768"),d)if(d.hasOwnProperty(D)){var k=D.split(":"),L=this.makeFloatHoursMinutes(k[0],k[1]);i.push({value:[L,this.getAverage(d[D].val)],itemStyle:{color:this.dataConfig[this.type].color}}),i.push({value:[L,this.getAverage(d[D].val2)],itemStyle:{color:this.dataConfig[this.type].color1}})}this.option.series[0].data=i,this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.type].color,this.option.series[0].markLine.data[1]={},this.option.series[0].markLine.data[1].lineStyle={},this.option.series[0].markLine.data[1].lineStyle.color=this.dataConfig[this.type].color1,this.option.series[0].markLine.data[1].label={},this.option.series[0].markLine.data[1].label.color=this.dataConfig[this.type].color1,this.option.series[0].markLine.data[1].yAxis=A,this.option.title={text:"\u6536\u7f29\u538b"+o+"-"+r+" \u8212\u5f20\u538b\uff1a"+M+"-"+C,left:"center"},this.dataConfig.bloodGlucose.title=o+"-"+r;break;case"pulseReat":for(var P in e.map((function(t,e){for(var i=t.data_msg,s=t.hour_minute.split(":"),u=i.length>5?5:i.length,c=[],h=0;h<u;h++){var f=i[h];f<30||f>=200||(c.push(f),l+=1,n+=f,(0==r||r<f)&&(r=f),(0==o||o>f)&&(o=f))}if(s[1]<30){var p=s[0]+":00";void 0==d[p]?d[p]={val:c.filter((function(t){return t>30||t<=200})),from:0}:d[p].val=[].concat((0,a.default)(d[p].val),(0,a.default)(c.filter((function(t){return t>30||t<=200}))))}else{var g=s[0]+":30";void 0==d[g]?d[g]={val:c.filter((function(t){return t>30||t<=200})),from:0}:d[g].val=[].concat((0,a.default)(d[g].val),(0,a.default)(c.filter((function(t){return t>30||t<=200}))))}})),s=n/l,s=parseInt(s),d)if(d.hasOwnProperty(P)){var O=P.split(":"),R=this.makeFloatHoursMinutes(O[0],O[1]);i.push({value:[R,this.getAverage(d[P].val)],itemStyle:{color:this.dataConfig[this.type].color}})}this.option.series[0].data=i,this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.type].color,this.option.title={text:o+"-"+r,subtext:"\u6b21/\u5206",left:"center"},this.dataConfig.bloodGlucose.title=o+"-"+r,this.option.yAxis.splitNumber=1,this.option.yAxis.min=30,this.option.yAxis.max=90;break;case"bloodLiquid":for(var E in e.map((function(t,e){var i=t.data_msg,s=i.uricAcidVal/10,u=t.hour_minute.split(":");if(u[1]%10==0)var c=t.hour_minute;else c=u[0]+":"+(u[1]-5==0?"00":u[1]-5);void 0==d[c]?d[c]={val:[s]}:d[c].val=[].concat((0,a.default)(d[c].val),[s]),n+=s,(0==r||r<s)&&(r=s),(0==o||o>s)&&(o=s),l+=1})),s=n/l,s=parseFloat(s.toFixed(2)),d)if(d.hasOwnProperty(E)){var N=E.split(":"),B=this.makeFloatHoursMinutes(N[0],N[1]),z=this.subtractMinutes(E,10);i.push({value:[B,this.getAverage(d[E].val)],itemStyle:{color:this.dataConfig[this.type].color}}),d.hasOwnProperty(z)||i.push(null)}this.option.series[0].data=i,this.option.series[0].markLine.label.position="insideEndTop",this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.type].color,this.option.series[0].type="line",this.option.series[0].symbol="none",this.option.series[0].smooth=!0,this.option.series[0].itemStyle={color:"rgb(255, 70, 131)"},this.option.series[0].areaStyle={color:new u.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(254, 174, 173)"},{offset:1,color:"rgb(255, 255, 248)"}])},this.option.title={text:o+"-"+r,subtext:"\u5fae\u6469\u5c14/\u5347",left:"center",textStyle:{fontWeight:"lighter",fontSize:24}},this.dataConfig.bloodGlucose.title=o+"-"+r,this.option.yAxis.axisLabel.formatter=function(t,e){return t},this.option.yAxis.splitNumber=3,this.option.yAxis.min=0,this.option.yAxis.max=Math.round(r)+1;break;case"bloodLiquidAll":var V={cholesterol:[],highDensity:[],lowDensity:[],triacylglycerol:[]};e.map((function(t,e){var i=t.data_msg,n={cholesterol:(i.cholesterol/100).toFixed(2),highDensity:(i.highDensity/100).toFixed(2),lowDensity:(i.lowDensity/100).toFixed(2),triacylglycerol:(i.triacylglycerol/100).toFixed(2)};V.cholesterol.push(parseFloat(n.cholesterol)),V.highDensity.push(parseFloat(n.highDensity)),V.lowDensity.push(parseFloat(n.lowDensity)),V.triacylglycerol.push(parseFloat(n.triacylglycerol));var r=t.hour_minute.split(":");if(r[1]%10==0)var o=t.hour_minute;else o=r[0]+":"+(r[1]-5==0?"00":r[1]-5);void 0==d[o]?d[o]={val:[n.cholesterol],highDensity:[n.highDensity],lowDensity:[n.lowDensity],triacylglycerol:[n.triacylglycerol]}:(d[o].val=[].concat((0,a.default)(d[o].val),[n.cholesterol]),d[o].highDensity=[].concat((0,a.default)(d[o].highDensity),[n.highDensity]),d[o].lowDensity=[].concat((0,a.default)(d[o].lowDensity),[n.lowDensity]),d[o].triacylglycerol=[].concat((0,a.default)(d[o].triacylglycerol),[n.triacylglycerol]))}));var F=[];I=[];var j=[];for(var H in d)if(d.hasOwnProperty(H)){var G=H.split(":"),W=this.makeFloatHoursMinutes(G[0],G[1]),$=this.subtractMinutes(H,10);i.push({value:[W,this.getAverage(d[H].val)]}),d.hasOwnProperty($)||i.push(null),F.push({value:[W,this.getAverage(d[H].highDensity)]}),d.hasOwnProperty($)||F.push(null),I.push({value:[W,this.getAverage(d[H].lowDensity)]}),d.hasOwnProperty($)||I.push(null),j.push({value:[W,this.getAverage(d[H].triacylglycerol)]}),d.hasOwnProperty($)||j.push(null)}t("log",[]," at pages/index/echarts.vue:1050"),this.option.legend={data:["\u603b\u80c6\u56fa\u9187","\u7518\u6cb9\u4e09\u916f","\u9ad8\u5bc6\u5ea6\u8102\u86cb\u767d","\u4f4e\u5bc6\u5ea6\u8102\u86cb\u767d"]},this.option.series[0].data=i,this.option.series[0].type="line",this.option.series[0].symbol="none",this.option.series[0].smooth=!0,this.option.series[0].name=this.option.legend.data[0],this.option.series[0].color=this.dataConfig.bloodLiquidAll.overviewData.data[0].color,this.option.series[1]={},this.option.series[1].data=j,this.option.series[1].type="line",this.option.series[1].symbol="none",this.option.series[1].smooth=!0,this.option.series[1].name=this.option.legend.data[1],this.option.series[1].color=this.dataConfig.bloodLiquidAll.overviewData.data[1].color,this.option.series[2]={},this.option.series[2].data=F,this.option.series[2].type="line",this.option.series[2].symbol="none",this.option.series[2].smooth=!0,this.option.series[2].name=this.option.legend.data[2],this.option.series[2].color=this.dataConfig.bloodLiquidAll.overviewData.data[2].color,this.option.series[3]={},this.option.series[3].data=I,this.option.series[3].type="line",this.option.series[3].symbol="none",this.option.series[3].smooth=!0,this.option.series[3].name=this.option.legend.data[3],this.option.series[3].color=this.dataConfig.bloodLiquidAll.overviewData.data[3].color,this.option.series[0].markLine=[],this.dataConfig.bloodGlucose.title=o+"-"+r,this.dataConfig.bloodLiquidAll.overviewData.data[0].average=this.getAverage(V.cholesterol).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[1].average=this.getAverage(V.triacylglycerol).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[2].average=this.getAverage(V.highDensity).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[3].average=this.getAverage(V.lowDensity).toFixed(2),V.cholesterol.length>0&&(this.dataConfig.bloodLiquidAll.overviewData.data[0].value=Math.min.apply(Math,(0,a.default)(V.cholesterol)).toFixed(2)+"-"+Math.max.apply(Math,(0,a.default)(V.cholesterol)).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[1].value=Math.min.apply(Math,(0,a.default)(V.triacylglycerol)).toFixed(2)+"-"+Math.max.apply(Math,(0,a.default)(V.triacylglycerol)).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[2].value=Math.min.apply(Math,(0,a.default)(V.highDensity)).toFixed(2)+"-"+Math.max.apply(Math,(0,a.default)(V.highDensity)).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[3].value=Math.min.apply(Math,(0,a.default)(V.lowDensity)).toFixed(2)+"-"+Math.max.apply(Math,(0,a.default)(V.lowDensity)).toFixed(2)),this.option.yAxis.splitNumber=3,this.option.yAxis.min=0,this.option.yAxis.max=6;break}return this.option}}};e.default=f}).call(this,i("f3b9")["default"])},2583:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={collapse:{value:null,accordion:!1,border:!0}}},"26a7":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"cankao",props:{cankaoData:Array},data:function(){return{}},methods:{getPostion:function(t,e){var i={position:"absolute",top:"22rpx",right:"-10rpx",fontSize:"24rpx"};return 0==t&&(i.left="2rpx"),t+1==e.length&&(i.right=0),i}}};e.default=n},"26bf":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:function(){},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5}}},2798:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",[t._$s(1,"i","bodyData"==t.key_name)?n("view",[n("view",{staticClass:t._$s(2,"sc","flx flx_sb flx_ac"),attrs:{_i:2}},[n("view",{staticClass:t._$s(3,"sc","flx"),attrs:{_i:3}},[n("view",[n("text",{staticClass:t._$s(5,"sc","iconfont icon-wode"),style:t._$s(5,"s","font-size:40rpx;color:"+t.bodyData.BMI.color),attrs:{_i:5}})]),n("view",{staticClass:t._$s(6,"sc"," "),attrs:{_i:6}},[t._v(t._$s(6,"t0-0",t._s(t.bodyData.BMI.name)))]),n("view",[t._v(t._$s(7,"t0-0",t._s(t.item.hour_minute)))])]),n("view",[n("text",{staticClass:t._$s(9,"sc","iconfont icon-right"),attrs:{_i:9}})])]),n("view",{staticClass:t._$s(10,"sc","flx flx_sb "),attrs:{_i:10}},t._l(t._$s(11,"f",{forItems:Object.keys(t.bodyData)}),(function(e,i,r,o){return n("view",{key:t._$s(11,"f",{forIndex:r,key:i})},[n("view",{staticClass:t._$s("12-"+o,"sc","flx flx_ac flx_jc"),attrs:{_i:"12-"+o}},[n("view",[t._v(t._$s("13-"+o,"t0-0",t._s(t.item.data_msg[e])))]),n("view",[n("text",{class:t._$s("15-"+o,"c","iconfont "+t.bodyData[e].icon_key),style:t._$s("15-"+o,"s","font-size:40rpx;color:"+t.bodyData[e].color),attrs:{_i:"15-"+o}})])]),n("view",[t._v(t._$s("16-"+o,"t0-0",t._s(t.bodyData[e].title)))])])})),0)]):t._e(),t._$s(17,"i","ECGData"==t.key_name)?n("view",[n("view",{staticClass:t._$s(18,"sc","flx flx_sb flx_ac"),attrs:{_i:18}},[n("view",{staticClass:t._$s(19,"sc","flx"),attrs:{_i:19}},[n("view",{staticClass:t._$s(20,"sc"," "),attrs:{_i:20}},[n("image",{attrs:{src:t._$s(21,"a-src",i("714c")),_i:21}})]),n("view",[t._v(t._$s(22,"t0-0",t._s(t.item.hour_minute)))])]),n("view",[n("text",{staticClass:t._$s(24,"sc","iconfont icon-right"),attrs:{_i:24}})])]),n("view",{staticClass:t._$s(25,"sc","flx flx_sb "),attrs:{_i:25}},t._l(t._$s(26,"f",{forItems:Object.keys(t.ECGData)}),(function(e,i,r,o){return n("view",{key:t._$s(26,"f",{forIndex:r,key:i})},[n("view",{staticClass:t._$s("27-"+o,"sc","flx flx_ac flx_jc"),attrs:{_i:"27-"+o}},[n("view",[t._v(t._$s("28-"+o,"t0-0",t._s(void 0==t.item.data_msg[e]?t.item.data_msg[t.ECGData[e].keyname]:t.item.data_msg[e])))]),n("view",[t._v(t._$s("29-"+o,"t0-0",t._s(t.ECGData[e].unit)))])]),n("view",[t._v(t._$s("30-"+o,"t0-0",t._s(t.ECGData[e].name)))])])})),0)]):t._e(),t._$s(31,"i","bloodLiquid"==t.key_name)?n("view",[n("view",{staticClass:t._$s(32,"sc","flx flx_sb flx_ac"),attrs:{_i:32}},[n("view",{staticClass:t._$s(33,"sc","flx"),attrs:{_i:33}},[n("view",{staticClass:t._$s(34,"sc"," "),attrs:{_i:34}})]),n("view",[n("view",[t._v(t._$s(36,"t0-0",t._s(t.item.hour_minute)))])])]),n("view",{staticClass:t._$s(37,"sc","flx flx_sb d_box"),attrs:{_i:37}},[n("view",{style:t._$s(38,"s",{backgroundColor:t.colorArr[0].bgColor,color:t.colorArr[0].color}),attrs:{_i:38}},[t._v(t._$s(38,"t0-0",t._s(t.item.data_msg.cholesterol/100)))]),n("view",{style:t._$s(39,"s",{backgroundColor:t.colorArr[1].bgColor,color:t.colorArr[1].color}),attrs:{_i:39}},[t._v(t._$s(39,"t0-0",t._s(t.item.data_msg.triacylglycerol/100)))]),n("view",{style:t._$s(40,"s",{backgroundColor:t.colorArr[2].bgColor,color:t.colorArr[2].color}),attrs:{_i:40}},[t._v(t._$s(40,"t0-0",t._s(t.item.data_msg.highDensity/100)))]),n("view",{style:t._$s(41,"s",{backgroundColor:t.colorArr[3].bgColor,color:t.colorArr[3].color}),attrs:{_i:41}},[t._v(t._$s(41,"t0-0",t._s(t.item.data_msg.lowDensity/100)))])])]):t._e()])},r=[]},"27bf":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"sleep-list-data",props:{dataList:Array,canvasId:String},data:function(){return{zz:"block"}},watch:{dataList:function(t,e){var i=this;if(t.length>0){this.zz="none";var n=uni.createSelectorQuery().in(this);n.select("#myCanvas").boundingClientRect((function(t){if(t){var e=t.width;i.doDraw(e)}})).exec()}}},mounted:function(){},methods:{doDraw:function(t){var e=["#e933dd","#6452da","#4faffc"],i=[40,20,0],n=(t/this.dataList.length).toFixed(2),r=uni.createCanvasContext(this.canvasId,this);this.dataList.map((function(t,o){r.setFillStyle(e[parseInt(t)]),r.fillRect((o*n).toFixed(2),i[parseInt(t)],n,20)})),r.draw()}}};e.default=n},"27eb":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("cf91")),o={props:{autoShowBackToTop:{type:Boolean,default:r.default.gc("autoShowBackToTop",!1)},backToTopThreshold:{type:[Number,String],default:r.default.gc("backToTopThreshold","400rpx")},backToTopImg:{type:String,default:r.default.gc("backToTopImg","")},backToTopWithAnimate:{type:Boolean,default:r.default.gc("backToTopWithAnimate",!0)},backToTopBottom:{type:[Number,String],default:r.default.gc("backToTopBottom","160rpx")},backToTopStyle:{type:Object,default:r.default.gc("backToTopStyle",{})},enableBackToTop:{type:Boolean,default:r.default.gc("enableBackToTop",!0)}},data:function(){return{backToTopClass:"zp-back-to-top zp-back-to-top-hide",lastBackToTopShowTime:0,showBackToTopClass:!1}},computed:{backToTopThresholdUnitConverted:function(){return r.default.addUnit(this.backToTopThreshold,this.unit)},backToTopBottomUnitConverted:function(){return r.default.addUnit(this.backToTopBottom,this.unit)},finalEnableBackToTop:function(){return!this.usePageScroll&&this.enableBackToTop},finalBackToTopThreshold:function(){return r.default.convertToPx(this.backToTopThresholdUnitConverted)},finalBackToTopStyle:function(){var t=this.backToTopStyle;return t.bottom||(t.bottom=this.windowBottom+r.default.convertToPx(this.backToTopBottomUnitConverted)+"px"),t.position||(t.position=this.usePageScroll?"fixed":"absolute"),t},finalBackToTopClass:function(){return"".concat(this.backToTopClass," zp-back-to-top-").concat(this.unit)}},methods:{_backToTopClick:function(){var t=this,e=!1;this.$emit("backToTopClick",(function(i){(void 0===i||!0===i)&&t._handleToTop(),e=!0})),this.$nextTick((function(){!e&&t._handleToTop()}))},_handleToTop:function(){!this.backToTopWithAnimate&&this._checkShouldShowBackToTop(0),this.scrollToTop(this.backToTopWithAnimate)},_checkShouldShowBackToTop:function(t){var e=this;this.autoShowBackToTop?t>this.finalBackToTopThreshold?this.showBackToTopClass||(this.showBackToTopClass=!0,this.lastBackToTopShowTime=(new Date).getTime(),r.default.delay((function(){e.backToTopClass="zp-back-to-top zp-back-to-top-show"}),300)):this.showBackToTopClass&&(this.backToTopClass="zp-back-to-top zp-back-to-top-hide",r.default.delay((function(){e.showBackToTopClass=!1}),(new Date).getTime()-this.lastBackToTopShowTime<500?0:300)):this.showBackToTopClass=!1}}};e.default=o},"28b7":function(t,e,i){t.exports=i.p+"static/icon/tan.png"},2965:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n(i("bd30"));var r,o=n(i("b5b8")),a=n(i("ab6c")),s={data:function(){return{logoImage:"https://img.agrimedia.cn/watch-app/logo.jpeg",phoneData:"",passData:"",imgCode:"",captcha_id:"",img64:"",verCode:"",showAgree:!0,isRotate:!1}},components:{wInput:o.default,wButton:a.default},mounted:function(){r=this,this.getImgcode()},methods:{getImgcode:function(){var t=this;this.$store.dispatch("api/code").then((function(e){t.img64=e.captcha_src,t.captcha_id=e.captcha_id}))},isShowAgree:function(){r.showAgree=!r.showAgree},reset:function(){this.getImgcode()},getVerCode:function(){return this.imgCode?""==r.phoneData?(uni.showToast({icon:"none",position:"bottom",title:"\u624b\u673a\u53f7\u4e0d\u80fd\u4e3a\u7a7a"}),!1):(this.$refs.runCode.$emit("runCode"),uni.showToast({icon:"none",position:"bottom",title:"\u9a8c\u8bc1\u7801\u53d1\u9001\u4e2d"}),this.$store.dispatch("api/sendSms",{type:0,mobile:this.phoneData,captcha_id:this.captcha_id,captcha_code:this.imgCode}).then((function(t){})),void setTimeout((function(){r.$refs.runCode.$emit("runCode",0)}),6e4)):(uni.showToast({icon:"none",position:"bottom",title:"\u8bf7\u8f93\u5165\u56fe\u5f62\u9a8c\u8bc1\u7801"}),!1)},back:function(){uni.navigateBack({delta:1})},startReg:function(){return t("log",this.phoneData,this.verCode,this.passData,this.showAgree,this.imgCode," at pages/login/register.vue:157"),!this.isRotate&&(0==this.showAgree?(uni.showToast({icon:"none",position:"bottom",title:"\u8bf7\u5148\u540c\u610f\u300a\u534f\u8bae\u53ca\u9690\u79c1\u300b"}),!1):""==this.phoneData?(t("log",this.phoneData," at pages/login/register.vue:171"),uni.showToast({icon:"none",position:"bottom",title:"\u624b\u673a\u53f7\u4e0d\u80fd\u4e3a\u7a7a"}),!1):""==this.passData?(uni.showToast({icon:"none",position:"bottom",title:"\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a"}),!1):""==this.verCode?(uni.showToast({icon:"none",position:"bottom",title:"\u9a8c\u8bc1\u7801\u4e0d\u80fd\u4e3a\u7a7a"}),!1):(this.$store.dispatch("api/register",{type:0,mobile:this.phoneData,password:this.passData,code:this.verCode}).then((function(e){t("log",e," at pages/login/register.vue:202"),uni.showToast({icon:"none",position:"bottom",title:"\u6ce8\u518c\u6210\u529f\uff01"}),setTimeout((function(){uni.reLaunch({url:"/pages/login/login"})}),3e3)})),void setTimeout((function(){r.isRotate=!1}),3e3)))}}};e.default=s}).call(this,i("f3b9")["default"])},2976:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:function(){return{color:"#909399",fontSize:"19px"}}}}},"29c3":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.deepMerge=function t(){var e={};function i(i,n){"object"===(0,r.default)(e[n])&&"object"===(0,r.default)(i)?e[n]=t(e[n],i):"object"===(0,r.default)(i)?e[n]=t({},i):e[n]=i}for(var n=0,o=arguments.length;n<o;n++)s(arguments[n],i);return e},e.forEach=s,e.isArray=a,e.isBoolean=function(t){return"boolean"===typeof t},e.isDate=function(t){return"[object Date]"===o.call(t)},e.isObject=function(t){return null!==t&&"object"===(0,r.default)(t)},e.isPlainObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},e.isURLSearchParams=function(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams},e.isUndefined=function(t){return"undefined"===typeof t};var r=n(i("3b2d")),o=Object.prototype.toString;function a(t){return"[object Array]"===o.call(t)}function s(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==(0,r.default)(t)&&(t=[t]),a(t))for(var i=0,n=t.length;i<n;i++)e.call(null,t[i],i,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}},"2b82":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"};e.default=n},"2b8f":function(t,e,i){"use strict";i.r(e);var n=i("22b9"),r=i("0e85");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"67adcfb6",null,!1,n["a"],void 0);e["default"]=s.exports},"2bf6":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:function(){return[]},inverted:!1,absolute:!1}}},"2c0c":function(t,e,i){"use strict";i.r(e);var n=i("0522"),r=i("175f");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"8ad2d1e0",null,!1,n["a"],void 0);e["default"]=s.exports},"2c69":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0}}},"2cb7":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("af34")),o={data:function(){return{dataId:"",interval:null,pLeft:"-10",list:[-8e-4,-.0016,-.0016,-.0016,-.0016,-8e-4,-8e-4,-.0016,-.0016,-.0024000000000000002,-.004,-.0048000000000000004,-.005600000000000001,-.007200000000000001,-.0088,-.009600000000000001,-.011200000000000002,-.012,-.0128,-.013600000000000001,-.015200000000000002,-.016,-.016800000000000002,-.0176,-.018400000000000003],height:300,width:3e3,centerY:200}},onShow:function(){},onReady:function(){this.list=this.list.filter((function(t){return 0!==t}));var t=uni.createCanvasContext("ecg",this);t.setStrokeStyle("#d5d5d5"),t.setLineWidth(1);for(var e=.5;e<3e3;e+=15)t.moveTo(e,0),t.lineTo(e,3e3),t.stroke();for(var i=.5;i<3e3;i+=15)t.moveTo(0,i),t.lineTo(3e3,i),t.stroke();t.draw(),this.drawCurve()},methods:{play:function(){var e=this;this.interval=setInterval((function(){t("log",123," at pages/only_test/ot2.vue:91"),e.move()}),50)},stop:function(){this.interval&&clearInterval(this.interval)},move:function(){this.pLeft-=1},drawCurve:function(){var t=uni.createCanvasContext("myCanvas",this),e=this.list,i=this.centerY,n=this.width,o=n/(e.length-1),a=i/(Math.max.apply(Math,(0,r.default)(e))-Math.min.apply(Math,(0,r.default)(e))),s=i/2-e[0]*a;t.beginPath(),t.moveTo(0,s),t.setStrokeStyle("#c96d79"),t.setLineWidth(2);for(var l=1;l<e.length;l++){var u=l*o,c=i/2-e[l]/2*a;t.lineTo(u,c)}t.stroke(),t.draw(!1)}}};e.default=o}).call(this,i("f3b9")["default"])},"2d4d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={checkboxGroup:{name:"",value:function(){return[]},shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1}}},"2e56":function(t,e,i){"use strict";i.r(e);var n=i("e173"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"2e6c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={carKeyboard:{random:!1}}},"2f7d":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("3b2d")),o=function(){function e(t,e){return null!=e&&t instanceof e}var i,n,o;try{i=Map}catch(u){i=function(){}}try{n=Set}catch(u){n=function(){}}try{o=Promise}catch(u){o=function(){}}function a(s,u,c,d,h){"object"===(0,r.default)(u)&&(c=u.depth,d=u.prototype,h=u.includeNonEnumerable,u=u.circular);var f=[],p=[],g="undefined"!=typeof t;return"undefined"==typeof u&&(u=!0),"undefined"==typeof c&&(c=1/0),function s(c,v){if(null===c)return null;if(0===v)return c;var m,y;if("object"!=(0,r.default)(c))return c;if(e(c,i))m=new i;else if(e(c,n))m=new n;else if(e(c,o))m=new o((function(t,e){c.then((function(e){t(s(e,v-1))}),(function(t){e(s(t,v-1))}))}));else if(a.__isArray(c))m=[];else if(a.__isRegExp(c))m=new RegExp(c.source,l(c)),c.lastIndex&&(m.lastIndex=c.lastIndex);else if(a.__isDate(c))m=new Date(c.getTime());else{if(g&&t.isBuffer(c))return t.from?m=t.from(c):(m=new t(c.length),c.copy(m)),m;e(c,Error)?m=Object.create(c):"undefined"==typeof d?(y=Object.getPrototypeOf(c),m=Object.create(y)):(m=Object.create(d),y=d)}if(u){var _=f.indexOf(c);if(-1!=_)return p[_];f.push(c),p.push(m)}for(var x in e(c,i)&&c.forEach((function(t,e){var i=s(e,v-1),n=s(t,v-1);m.set(i,n)})),e(c,n)&&c.forEach((function(t){var e=s(t,v-1);m.add(e)})),c){var b=Object.getOwnPropertyDescriptor(c,x);b&&(m[x]=s(c[x],v-1));try{var w=Object.getOwnPropertyDescriptor(c,x);if("undefined"===w.set)continue;m[x]=s(c[x],v-1)}catch(A){if(A instanceof TypeError)continue;if(A instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(c);for(x=0;x<S.length;x++){var C=S[x],M=Object.getOwnPropertyDescriptor(c,C);(!M||M.enumerable||h)&&(m[C]=s(c[C],v-1),Object.defineProperty(m,C,M))}}if(h){var T=Object.getOwnPropertyNames(c);for(x=0;x<T.length;x++){var I=T[x];M=Object.getOwnPropertyDescriptor(c,I);M&&M.enumerable||(m[I]=s(c[I],v-1),Object.defineProperty(m,I,M))}}return m}(s,c)}function s(t){return Object.prototype.toString.call(t)}function l(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return a.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},a.__objToStr=s,a.__isDate=function(t){return"object"===(0,r.default)(t)&&"[object Date]"===s(t)},a.__isArray=function(t){return"object"===(0,r.default)(t)&&"[object Array]"===s(t)},a.__isRegExp=function(t){return"object"===(0,r.default)(t)&&"[object RegExp]"===s(t)},a.__getRegExpFlags=l,a}(),a=o;e.default=a}).call(this,i("12e3").Buffer)},"2fe3":function(t,e,i){"use strict";i.r(e);var n=i("863f"),r=i("716e");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},3012:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=n(i("ebea")),a=n(i("6ce7")),s=n(i("7e4e")),l=n(i("9b52")),u=n(i("58c2")),c=n(i("f527")),d=n(i("2976")),h=n(i("2bf6")),f=n(i("07f4")),p=n(i("d332")),g=n(i("2e6c")),v=n(i("a1e7")),m=n(i("bcd5")),y=n(i("941f")),_=n(i("2d4d")),x=n(i("c7a4")),b=n(i("a7a0")),w=n(i("c7fe")),S=n(i("ffdf")),C=n(i("2583")),M=n(i("b1db")),T=n(i("e0c6")),I=n(i("3682")),A=n(i("37f4")),D=n(i("7a55")),k=n(i("c1bf")),L=n(i("2c69")),P=n(i("6c4c")),O=n(i("1b28")),R=n(i("4a63")),E=n(i("d5fc")),N=n(i("e667")),B=n(i("4656")),z=n(i("563b")),V=n(i("33d2")),F=n(i("0deb")),j=n(i("525a")),H=n(i("6a67")),G=n(i("c9b7")),W=n(i("898e")),$=n(i("53ef")),U=n(i("daa8")),Y=n(i("6c14")),Z=n(i("073e")),Q=n(i("56f4")),X=n(i("ad5e")),q=n(i("9500")),K=n(i("bb4d")),J=n(i("ad0c")),tt=n(i("f61b")),et=n(i("d836")),it=n(i("0060")),nt=n(i("5bcc2")),rt=n(i("651f")),ot=n(i("965f")),at=n(i("5a6e")),st=n(i("26bf")),lt=n(i("8b84")),ut=n(i("eab3")),ct=n(i("6ef6")),dt=n(i("aba3")),ht=n(i("c40f")),ft=n(i("8ae8")),pt=n(i("c940")),gt=n(i("f2c9")),vt=n(i("9ed7")),mt=n(i("be6e")),yt=n(i("e854")),_t=n(i("7bc1")),xt=n(i("bc89")),bt=n(i("fc3f")),wt=n(i("bb7a")),St=n(i("211f")),Ct=n(i("ecab")),Mt=n(i("4863")),Tt=n(i("1c6a")),It=n(i("0043")),At=n(i("351f")),Dt=n(i("6e34")),kt=n(i("f05d")),Lt=n(i("e18d")),Pt=n(i("1e51")),Ot=n(i("f175")),Rt=n(i("085e")),Et=n(i("1b9d")),Nt=n(i("a85a")),Bt=n(i("11e9")),zt=n(i("72c4")),Vt=n(i("c651"));function Ft(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function jt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ft(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ft(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}o.default.color;var Ht=jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt(jt({},a.default),s.default),l.default),u.default),c.default),d.default),h.default),f.default),p.default),g.default),v.default),m.default),y.default),_.default),x.default),b.default),w.default),S.default),C.default),M.default),T.default),I.default),A.default),D.default),k.default),L.default),P.default),O.default),R.default),E.default),N.default),B.default),z.default),V.default),F.default),j.default),H.default),G.default),W.default),$.default),U.default),Y.default),Z.default),Q.default),X.default),q.default),K.default),J.default),tt.default),et.default),it.default),nt.default),rt.default),ot.default),at.default),st.default),lt.default),ut.default),ct.default),dt.default),ht.default),ft.default),pt.default),gt.default),vt.default),mt.default),yt.default),_t.default),xt.default),bt.default),wt.default),St.default),Ct.default),Mt.default),Tt.default),It.default),At.default),Dt.default),kt.default),Lt.default),Pt.default),Ot.default),Rt.default),Et.default),Nt.default),Bt.default),zt.default),Vt.default);e.default=Ht},3196:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("9745")),o={name:"x-skeleton",mixins:[r.default],props:{type:{type:String,default:""},loading:{type:Boolean,default:!0},animate:{type:Boolean,default:!0},animateTime:{type:Number|String,default:1.8},fadeOut:{type:Boolean,default:!0},fadeOutTime:{type:Number|String,default:.5},bgColor:{type:String,default:"#EAEDF5"},highlightBgColor:{type:String,default:"#F9FAFF"},configs:{type:Object,default:function(){return{}}}},computed:{gridRowsArr:function(){var t;return new Array(Number((null===(t=this.skeletonConfigs)||void 0===t?void 0:t.gridRows)||[]))},gridColumnsArr:function(){var t;return new Array(Number((null===(t=this.skeletonConfigs)||void 0===t?void 0:t.gridColumns)||[]))},textRowsArr:function(){var e;if(null===(e=this.skeletonConfigs)||void 0===e||!e.textShow)return[];/%$/.test(this.skeletonConfigs.textHeight)&&t("error","x-skeleton: textHeight\u53c2\u6570\u4e0d\u652f\u6301\u767e\u5206\u6bd4\u5355\u4f4d"," at uni_modules/x-skeleton/components/x-skeleton/x-skeleton.vue:143");for(var i=[],n=0;n<this.skeletonConfigs.textRows;n++){var r=this.skeletonConfigs,o=r.gridRows,a=r.textWidth,s=r.textHeight,l={},u=this.isArray(a)?a[n]||(n===o-1?"70%":"100%"):n===o-1?"70%":a,c=this.isArray(s)?s[n]||"30rpx":s;/%$/.test(u)?l.width=u:l.width=this.addUnit(u),l.height=this.addUnit(c),i.push(l)}return i},variableStr:function(){var t=this,e=["animateTime","fadeOutTime","bgColor","highlightBgColor"].map((function(e){return e.indexOf("Time")>-1?"--".concat(e,":").concat(t[e],"s"):"--".concat(e,":").concat(t[e])})).join(";");return e}},watch:{loading:{immediate:!0,handler:function(t){var e=this;t?this.skeletonLoading=!0:this.fadeOut?(this.startFadeOut=!0,setTimeout((function(){e.skeletonLoading=!1,e.startFadeOut=!1}),1e3*this.fadeOutTime)):this.skeletonLoading=!1}},type:{immediate:!0,handler:function(t){this.skeletonConfigs="banner"===t?this.bannerConfigs():"info"===t?this.infoConfigs():"text"===t?this.textConfigs():"menu"===t?this.menuConfigs():"list"===t?this.listConfigs():"waterfall"===t?this.waterfallConfigs():this.configs||{}}}},data:function(){return{skeletonConfigs:this.configs||{},skeletonLoading:this.loading,startFadeOut:!1,width:0}},mounted:function(){},methods:{isArray:function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},addUnit:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return t=String(t),/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(t)?"".concat(t).concat(e):t}}};e.default=o}).call(this,i("f3b9")["default"])},"319e":function(t,e,i){"use strict";i.r(e);var n=i("68de"),r=i("40ca");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"7cc72100",null,!1,n["a"],void 0);e["default"]=s.exports},"32a3":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default="plus"},"32b9":function(t,e,i){"use strict";i.r(e);var n=i("d74e"),r=i("5cbf");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"b2f0aa38",null,!1,n["a"],void 0);e["default"]=s.exports},"33d2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32}}},"34cf":function(t,e,i){var n=i("ed45"),r=i("7172"),o=i("6382"),a=i("dd3e");t.exports=function(t,e){return n(t)||r(t,e)||o(t,e)||a()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"351f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0}}},"355c":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("cf91")),o={props:{useChatRecordMode:{type:Boolean,default:r.default.gc("useChatRecordMode",!1)},chatRecordMoreOffset:{type:[Number,String],default:r.default.gc("chatRecordMoreOffset","0rpx")},autoHideKeyboardWhenChat:{type:Boolean,default:r.default.gc("autoHideKeyboardWhenChat",!0)},autoAdjustPositionWhenChat:{type:Boolean,default:r.default.gc("autoAdjustPositionWhenChat",!0)},chatAdjustPositionOffset:{type:[Number,String],default:r.default.gc("chatAdjustPositionOffset","0rpx")},autoToBottomWhenChat:{type:Boolean,default:r.default.gc("autoToBottomWhenChat",!1)},showChatLoadingWhenReload:{type:Boolean,default:r.default.gc("showChatLoadingWhenReload",!1)},chatLoadingMoreDefaultAsLoading:{type:Boolean,default:r.default.gc("chatLoadingMoreDefaultAsLoading",!0)}},data:function(){return{keyboardHeight:0,isKeyboardHeightChanged:!1}},computed:{finalChatRecordMoreOffset:function(){return r.default.convertToPx(this.chatRecordMoreOffset)},finalChatAdjustPositionOffset:function(){return r.default.convertToPx(this.chatAdjustPositionOffset)},chatRecordRotateStyle:function(){var t,e=this;return t=this.useChatRecordMode?{transform:"scaleY(-1)"}:{},this.$emit("update:cellStyle",t),this.$emit("cellStyleChange",t),this.$nextTick((function(){e.isFirstPage&&e.isChatRecordModeAndNotInversion&&e.$nextTick((function(){e._scrollToBottom(!1),r.default.delay((function(){e._scrollToBottom(!1),r.default.delay((function(){e._scrollToBottom(!1)}),50)}),50)}))})),t},isChatRecordModeHasTransform:function(){return this.useChatRecordMode&&this.chatRecordRotateStyle&&this.chatRecordRotateStyle.transform},isChatRecordModeAndNotInversion:function(){return this.isChatRecordModeHasTransform&&"scaleY(1)"===this.chatRecordRotateStyle.transform},isChatRecordModeAndInversion:function(){return this.isChatRecordModeHasTransform&&"scaleY(-1)"===this.chatRecordRotateStyle.transform},chatRecordModeSafeAreaBottom:function(){return this.safeAreaInsetBottom&&!this.keyboardHeight?this.safeAreaBottom:0}},mounted:function(){this.useChatRecordMode&&uni.onKeyboardHeightChange(this._handleKeyboardHeightChange)},methods:{addChatRecordData:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.useChatRecordMode&&(this.isTotalChangeFromAddData=!0,this.addDataFromTop(t,e,i))},doChatRecordLoadMore:function(){this.useChatRecordMode&&this._onLoadingMore("click")},_handleKeyboardHeightChange:function(t){var e=this;this.$emit("keyboardHeightChange",t),this.autoAdjustPositionWhenChat&&(this.isKeyboardHeightChanged=!0,this.keyboardHeight=t.height>0?t.height+this.finalChatAdjustPositionOffset:t.height),this.autoToBottomWhenChat&&this.keyboardHeight>0&&r.default.delay((function(){e.scrollToBottom(!1),r.default.delay((function(){e.scrollToBottom(!1)}))}))}}};e.default=o},3577:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=uni.getSystemInfoSync().statusBarHeight+"px",r={name:"TMStatusBar",data:function(){return{statusBarHeight:n}}};e.default=r},3585:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965}},"35e0":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("d099"),r={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""},fontFamily:{type:String,default:""}},data:function(){return{icons:n.fontData}},computed:{unicode:function(){var t=this,e=this.icons.find((function(e){return e.font_class===t.type}));return e?e.unicode:""},iconSize:function(){return function(t){return"number"===typeof t||/^[0-9]*$/g.test(t)?t+"px":t}(this.size)},styleObj:function(){return""!==this.fontFamily?"color: ".concat(this.color,"; font-size: ").concat(this.iconSize,"; font-family: ").concat(this.fontFamily,";"):"color: ".concat(this.color,"; font-size: ").concat(this.iconSize,";")}},methods:{_onClick:function(){this.$emit("click")}}};e.default=r},3682:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1}}},"37f4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""}}},"382e":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={lEchart:i("00c2").default},r=function(){var t=this.$createElement,e=this._self._c||t;return e("view",[e("view",[e("l-echart",{ref:"chartRef",attrs:{_i:2},on:{finished:this.init}})],1)])},o=[]},"38d0":function(t,e,i){"use strict";i.r(e);var n=i("4546"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"38f8":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={base64Arrow:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAD1BMVEVHcExRUVFMTExRUVFRUVE9CdWsAAAABHRSTlMAjjrY9ZnUjwAAAQFJREFUWMPt2MsNgzAMgGEEE1B1gKJmAIRYoCH7z9RCXrabh33iYktcIv35EEg5ZBh07pvxJU6MFSPOSRnjnBUjUsaciRUjMsb4xIoRCWNiYsUInzE5sWKEyxiYWDbyefqHx1zIeiYTk7mQYziTYecxHvEJjwmIT3hMQELCYSISEg4TkZj0mYTEpM8kJCU9JiMp6TEZyUmbAUhO2gxAQNJiIAKSFgMRmNQZhMCkziAEJTUGIyipMRjBSZkhCE7KDEFIUmTeGCHJxWz0zXaE0GTCG8ZFtEaS347r/1fe11YyHYVfubxayfjoHmc0YYwmmmiiiSaaaKLJ7ckyz5ve+dw3Xw2emdwm9xSbAAAAAElFTkSuQmCC",base64ArrowWhite:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEVHcEz///////////////////+IGTx/AAAABnRSTlMA/dAkXZOhASU/AAABYElEQVRYw+2YwXLCIBCGsdAHWGbyAKZ4zxi9O017rxLf/1UaWFAgA1m8dcpedNSPf/l/Vh0Ya/Wn6hN0JcGvoCqRM4C8VBFiDwBqqNuJKV0rAnCgy3AUqZE57x0iqTL8Br4U3WBf/YWaIlTKfAcELU/h9w72CSVPa3C3OCDvhpHbRp/s2vq4fHhCeiCl2A3m4Qd71DQR257mFBlMcTlbFnFWzNtHxewYEfSiaLS4el8d8nyhmKJd1CF4eOS0keLMAuSxubLBIeIGQW8YHCFFo7EH9+YDcQt9FMZEswTheaNxTHwHT8SZorJjMrEVwo4Zo0U8HSEyZvJMOg4RjnmmRr8nDYeIz3OMkbfE/QhBo+U9RnZJxjGCRh/WKmHEMWLNkfPKsGh/CWJk1JjG0kcuJggTt34VDP8aWAFhp4nybVb5+9qQhjSkIQ1pSEMa8k+Q5U9rV3dF8MpFBK+/7miVq1/HZ2qmo9D+pAAAAABJRU5ErkJggg==",base64Flower:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAKlBMVEVHcEzDw8Ovr6+pqamUlJTCwsKenp61tbWxsbGysrLNzc2bm5u5ubmjo6MpovhuAAAACnRSTlMA/P79/sHDhiZS0DxZowAABBBJREFUWMPtl89rE0EUx7ctTXatB3MI1SWnDbUKPUgXqh4ED8Uf7KUVSm3ooVSpSii0Fn/gD4j4o+APiEoVmos9FO2celiqZVgwgaKHPQiCCkv+F99kM7Ozm5kxq1dfD91k9pPve9/3ZjbRNHHok/mKli4eIPNgSuRObuN9SqSEzM20iGnm0yIbqCuV7NSSSIV7uyPM6JMBYdeTOanh/QihJYZsUCSby+VkMj2AvOt0rAeQAwqE3lfKMZVlQCZk1QOCKkkVPadITCfIRNKxfoJI5+0OIFtJx14CMSg1mRSDko7VAfksRQzEbGYqxOJcVTWMCH2I1/IACNW0PWU2M8cmAVHtnH5mM1VRWtwKZjOd5JbF6s1IbaYqaotjNlPHgDAnlAizubTR6ovMYn052g/U5qcmOpi0WL8xTS/3IfSet5m8MEr5ajjF5le6dq/OJpobrdY0t3i9QgefWrxW9/1BLhk0E9m8FeUMhhXal499iD0eQRfDF+ts/tttORRerfp+oV7f4xJj82iUYm1Yzod+ZQEAlS/8mMBwKebVmCVp1f0JLS6zKd17+iwRKTARVg2SHtz3iEbBH+Q+U28zW2Jiza8Tjb1YFoYZMsJyjDqp3M9XBQdSdPLFdxEpvOB37JrHcmR/y9+LgoTlCFGZEa2sc6d4PGlweEa2JSVPoVm+IfGG3ZL037iV9oH+P+Jxc4HGVflNq1M0pivao/EopO4b/ojVCP9GjmiXOeS0DOn1o/iiccT4ORnyvBGF3yUywkQajW4Ti0SGuiy/wVSg/L8w+X/8Q+hvUx8Xd90z4oV5a1i88MbFWHz0WZZ1UrTwBGPX3Rat9AFiXRMRjoMdIdJLEOt2h7jrYOzgOamKZSWSNspOS0X8SAqRYmxRL7sg4eLzYmNehcxh3uoyud/BH2Udux4ywxFTc1xC7Mgf4vMhc5S+kSH3Y7yj+qpwIWSoPTVCOOPVthGx9FbGqrwFw6wSFxJr+17zeKcztt3u+2roAEVgUjDd+AHGuxHy2rZHaa8JMkTHEeyi85ANPO9j9BVuBRD2FY5LDMo/Sz/2hReqGIs/KiFin+CsPsYO/yvM3jL2vE8EbX7/Bf8ejtr2GLN65bioAdgLd8Bis/mD5GmP2qeqyo2ZwQEOtAjRIDH7mBKpUcMoApbZJ5UIxkEwxyMZyMxW/uKFvHCFR3SSmerHyDNQ2dF4JG6zIMpBgLfjSF9x1D6smFcYnGApjmSLICO3ecCDWrQ48geba9DI3STy2i7ax6WIB62fSyIZIiO3GFQqSURp8wCo7GhJBGwuSovJBNjb7kT6FPVnIa9qJ2Ko+l9mefGIdinaMp0yC1URYiwsdfNE45EuA5Cx9EhalfvN5s+UyItm81vaB3p4joniN+SCP7Qc1hblAAAAAElFTkSuQmCC",base64FlowerWhite:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEX///9HcEz///////////////84chYNAAAABnRSTlP/AGzCOYZj5g1nAAACfklEQVRYw+2YTVPDIBCGtza9Jw25a0bvcax30o73OOr//yvma2F3YWlpPTijXNpAHrK8LLALVPFium2vNIFSbwGKTGQA2GUiHcD29yDNy3sMIdUBQl7r2H8mOEVqAHgPkYZUS6Qc2zYhQqtjyDZEximCZwWZLIBeIgYShs2NzxKpSUehYpMJhURGb+O+w5BpMCAREKPnCDHbIY20SzhM5yxziAXpOiBXydrekT9i5XDEq4NIIHHgyU5mRGqviII4mREJJA4QJzMiILwlRJzpKxJKvCBm8OsBBbLux0tsPl4RKYm5aPu6jw1U4mGxEUR9g8M1PcqBEp/WJliNgYOXueBzS4jZSIcgY5lCtevgDSgyzE+rAfuOTQMq0yzvoGH18qju27Mayzs4fPyMziCx81NJa5RNfW7vPYK9KOfDiVkBxFHG8hAj9txuoBuSWORsFfkpBf7xKFLSeaOefEojh5jz22DJEqMP8fUyaKdQx+RnG+yXMpe8Aars8ueR1pVH/bW3FyyvPRw90upLDHwpgBDtg4aUBNkxRLXMAi03IhcZtr1m+FeI/O/JNyDmmL1djLOauSlNflBpW18RQ2bPqXI22MXXEk75KRHTnkPkYbESbdKP2ZFk0r5sIwffAjy1lx+vx7NLjB6/E7Jfv5ERKhzpN0w8IDE8IGFDv5dhz10s7GFiXRZcUeLCEG5P5nDq9k4PFDcoMpE3GY4OuxuCXhmuyNB6k0RsLIAvqp9NE5r8ZCSS8gxnUp7ODdYhZTqxuiJ9uyJJtPmpqJ7wVj+XVieS903iViHziqAhchLEJAyb7jWU647EpUofQ0ziUuXXXhDddtlllSwjgSQu7r4BRWhQqfDPMVwAAAAASUVORK5CYII=",base64Success:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEVRUVFHcExTU1NRUVFRUVFRUVFOSlSUAAAABnRSTlP/AI6+VySB3ZENAAACcElEQVRYw+2YyYKCMAyGI8hdpdxdZu7gcpdZ7jL6/s8yYheSNi0aPdqbwOffpGmaFOYPD3gj4bisN7vddv17N/JVgxn5x12IWgIaWTuO/IE3PseQbwjGPo2cgRmHFLJwdm/X643zwiqOKPPJ1nj3sjEP2iiifZWj5bhopSyGaEO2HX5fbQJzwJ+W7x/jw5ZFjsEU0PMph9xE8i5EqprKALW95eJQURkgzw98uJ/JvwGecR7bIjWWsUgVrrIfFZ2HlLy3sKETD1mmRLRMRhGVssRa0xJkdn3SpJBymBkM8+pSSDXMDNyDaToVHd2fgpNt0sjwiUZO19+jGQ+gQEg9Oq+bufmAVGihomNmjQG7UG3020vrlm7lkFnKFGU3kZ0KGAdmKe821pipQ+qEKcrZeTL2g5FsUks4cStjEZWwXg0b0n4GxmEpkWwIs5VBynjgK7xZaz1/0D7OxkVuLpsY5BQNFyLS84VBjjbg0iL2r2EQHBOxBhikuUOkdxODVF1cxHoWtPPsiyXO455Iv34hssCO8EV4ZIYTjS8SR4qYSHRiTiYQ4ZFbHi0iIhhBTi6dTCgSWRcnw4h4yGTuyTAiOGBIWGoZTgSHJQl+LcOJ4OCnW6yX2bMnJ9pidCOXtkTkTrIGpYuOynAiOF14SamMiOCk5Ke+mq8BcOrrvym8d0zKIQnWT+M1WwOQNO4fFiWb18hhERxJPx2fblbPHHyC41VyiAtKBUFBIih7JMWVoIQTFIr3lKPN80WvoLSWFPC653ioTZA0I0FrQ7qU6asaK0H7JmkSJa2ooOGVtNUsc3j9FYHkIkJy3SG6VHnfXKXGP9t4N9Q4Ye98AAAAAElFTkSuQmCC",base64SuccessWhite:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAGFBMVEVHcEz///////////////////////////8dS1W+AAAAB3RSTlMAiVYk6KvDHLfaegAAAo1JREFUWMPtWEtzmzAQNhCTq910ytXpiyvxTNOr60zrayepx9d02gnX4sTm7xcEiJX2gdnkGJ1A4tOnfWqXyeR1vMRYzrcPD9v5h5MBl3/Ldvx4cxIg/FWC8X0xjLjalM54uhhCfCrRuJURX0pi3EmIqZV7O59vrRZmguStHL9b7S7ftfLwOtiZDw7AHMtmquAQ12b5Wwbnordm8g9zLLO49qc/m2n6aKnhwPOGZ08hAiNHhheiHae1lOUPGZpQkPKa3q0mOUjaRzSRaGUjpy/mmWSwySSpllcEteBKAT52KEnSbblA51pJEPxBQoiH1FP4E3s5+FJv07h6/ylD6ui7B+9fq/ehrFB98ghec9EoVtyjK8pqCHLmCBOwMWSCeWFNN4MbPAk55NhsvoFHSSVR0k5TCTTEzlUGcqV/nVp7n9oIVkmtaqbAEqEgfdgHJPwsEAyZ9r4VAZXFjpEwyaw3+H2v42KYxKhs1XvY/gSSGv+IHyUSuHXCeZhLAgVI3EjgSGo1Fb3xO0tGGU9S2/KAIbtjxpJASG73qox6w5LUq0cEOa+iIONIWIilQSQ0pPa2jgaRQAgQP7c0mITRWGxpMAmEQFN2NAQJNCV0mI6GIIEO47hlQ0ORQLd0nL+hoUjg1m6I1TRr8uYEAriBHLcVFQ5UEMiBe3XkTBEG04WXlGKGxPnMS305XQPA1Ocn2JiuAZwE66fxnKwBnDTuXxZTMq85lwW6kt5ndLqZPefiU1yvmktcUSooChJF2aMprhQlnKJQ5FxRKkcVRa+itNYU8Io2oVkY14w0NMWYlqft91Bj9VHq+ca3b43BxjWJmla0sfKohlfTVpPN+93L/yLQ/IjQ/O5Q/VR5HdL4D7mlxmjwVdELAAAAAElFTkSuQmCC",base64Empty:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAALeGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDg4LCAyMDIwLzA3LzEwLTIyOjA2OjUzICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIiB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI0LTAxLTEzVDE5OjA5OjQwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNC0wMS0xM1QxOTowOTo0MCswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ZWQwMWYzNWQtOWRjOC00MDBiLWEyMmQtNjM5OGZiNzVhNGRiIiB4bXBNTTpEb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6ZDhlMzQ3ZmEtMDY2My1jYTRiLTgzNTctNTk4YjBkNGIzOTU2IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHRpZmY6T3JpZW50YXRpb249IjEiIHRpZmY6WFJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6WVJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiIGV4aWY6Q29sb3JTcGFjZT0iMSIgZXhpZjpQaXhlbFhEaW1lbnNpb249IjMwMCIgZXhpZjpQaXhlbFlEaW1lbnNpb249IjMwMCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBzdEV2dDp3aGVuPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjQwNjg2NzJkLWY5NDMtOTU0Mi1iMDBiLTVlMDExNmE1NmIzZSIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxMDoyNjoxNiswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDphYmJkZmUyZC0xY2Q2LTJiNDgtYjUyNS05YzlhZjdlNjA4NDMiIHN0RXZ0OndoZW49IjIwMjQtMDEtMTNUMTE6MjM6NDArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY29udmVydGVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJmcm9tIGFwcGxpY2F0aW9uL3ZuZC5hZG9iZS5waG90b3Nob3AgdG8gaW1hZ2UvcG5nIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJjb252ZXJ0ZWQgZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6YTQ5MjM5MDAtNDhiZC03YTQ1LWI4NGItYmVlZTVjOWUxYTM1IiBzdEV2dDp3aGVuPSIyMDI0LTAxLTEzVDExOjIzOjQwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmVkMDFmMzVkLTlkYzgtNDAwYi1hMjJkLTYzOThmYjc1YTRkYiIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxOTowOTo0MCswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmFiYmRmZTJkLTFjZDYtMmI0OC1iNTI1LTljOWFmN2U2MDg0MyIgc3RSZWY6ZG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjM2ZGQ4NTQxLWQ0MWEtYmY0Yy1iZjA3LWNmNjZhNjZhMDg2MSIgc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmQwODAyODAyLTM1MmEtODU0YS05MWI3LTZkZTZkNTJlYjNkMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pm30U/gAAAAJcEhZcwAALiMAAC4jAXilP3YAAAA/UExURUdwTODg4O3t7e7u7unp6d7e3uTk5M/Pz8nJyePj4+jo6Pj4+MrKyszMzO7u7unp6fb29vLy8vr6+v7+/sHBweag3xAAAAAOdFJOUwAxia5pF0n+/vzX3KbULQ2DYQAACG1JREFUeNrtm4l2o7gShi20IWFrAd7/WUc7EosDWKZ976Hc7WTmdMKXv0qlqpLyeNx222233Xbbbbfddtv/mOHn8xexSNsiRH5PrbFtW4p+DetpsF4v8Gs+HA3WEwOAfwzriYxaLTVsP8X1QK0z+vqQCzewYogi60aL9SEX5oyxphYVCFTGjfSJCTmN1jBruN5KTGCUS8bhySQGHRaohmW4glwtldbOeYJYKlgvbyUuA8aFFEKc++aIM4hrRnyiMnIZKq1PrihcM3GNKboMF1Naa9X9+8T1KrxIlVbGjv3cAEHOYYMqqgUsVuJqqehV3+sjDwB+DTJp0lYtMCyZpxqjF4e+74+sRcQSFZO8UonUSEFzuUY+DKo59A2kZDatGCjzCauy/2AmhSyCq0WHEj0KTNJDmVeNhErMt1Q8W4xti4/FwMJ4jaxl05TKFiNtD3kBGrHnhiph9V0eXQc6DkyE2xX830AlKshFTErXeuCZXK/9m41wFsGSfZ4lcGeyZ98PrylJ7MWCojQZ3qSukL2QslgdngqJnTEPdTJhXvbNBoR/+7wabIxWduN/Ja5dWEivm4XSZ2uQckNzmRlHrn2lc6eiafvS4V2Hd12tesau8toZW0CtWoZYb9t+OqxdCYKYjVPF16pVbILIy/gR7MVaWMHYPCoa2VkzkX4Iry2rirXbumGyAjGC1h62YLw6ApsNKZph3fpIWHt08JovRWD62sejpXhTrhWrPpl6zZ6PW2oTG5ltlvgtF6weNYCWKeJJSfg4W6PNJlj3sVZgOXV4lc8n4RlkMTLEBDVoYc3nI09kpyzzfgWsjyzBZSNDKF2/wjh+sxYvn8Y1scxlfLF9T1RBO3wVHsnq8Fk4oGkEh/0KJPSa8T2CeWE5X9BPmgLsaRIGeNL2kshCsWoLBmdPJW5Wbz1ndAKUXjPwxXYAUpSV3fy5BJg1aa1tyVXHHMgVH31ewDVrleHr9XqC684SUF4mecR3+wW5SC2QNvxUizRv98mLDhPgYiMDb+v8g0OADxqxcnf9w01mZYJF0fUVP5LcdswbsMmy1DVs5PlE5NpNiTR8M8qAWZkOy6aN13VcoOF2/s3xn3Mes8Xza05tgR/BuNz69nlNzMR0fH45p+G4R9oxh2mKt9MF4J7K/lvWUojwF5nCgCpuRUptnZMQ3au0nSo2UsHgV3xpmeLYzGml3ZFBBzYGPCpOQRwXs1/GG1J74dlZc6JKUOtjBAz9XjVxucGWHbZVJDPJQGYDRl1Qmf1ovk2Sbghb6MQlnF7mBzM1bgOqJAPpoOQaVe+4Skcit3uqHMyG/Sh1rHNN0gAfM0nnPrmulfLVBSm20TSZSdWa0LJl2ukVyE4vTYCgP3uQkwv1TKtQWgxDzBSg80OQjCs4klKvuUzHLCfIbDKIE/S5VIGqD1iD2819pkAqTWdmeina+oZABi7X5B1MGoTJqJSchuk6JNHcgUPAcsVFk0+N0oDN68Vo7FQSmCXjx46OEtUk1lpY2ZFQGr/AcpqVato4wPUD+RhfAeyQI5sJ6l2sDwnKqNFSJvpiyJbFl3kTOjZ2ievwCR7hkUoWeV2vOLAXvB39AJoyqYa81A5cvaAidXYTFTycKDBcalVK5f3XS89kzLVl9txfL+K+p6NUnitz5KkKm7D3DrRPNq4bk7l20aFRppNilmuQI+uzTtj9wPBkTsVwM7HbJ5pwGgujyRyZDzQLNoiRFluRtQ+GzEguqRxUL+ZMFqulMzIfaP3ARj2k/txB8c+2HyjmDizCaVWtNoE5MvMlKs/4VQ7HUJZCrU6qCKcNJ2aSWUZhJZu4VI0LB4CHFdj77DRuGi28WKAxoRyZyzGVrmc0jmk1nP5QaxZo1puqq1YIAqgZb8e/rABZJWNCNxV7DSTpOO7Aail9J9nYHtua/4ouE/aS0X1qtXQzwGx+rnbi2vhF/TfZG52oc6DPo1WCi3RTDnRk7TEntoEp38gg+DjYs2opkR3JW5EpL9rU0XSK5/6LOTAVS+72x7pm60zSf5HMdldjhzJqw1FRcxXdS3ZNZp0s92FiyluUvBPoD9ynZNkBiu2NF11ofnlnQbZgKqvusj9R/f6DOzgVsahbNlXxlsxU8y7qrbTupitRyxFBKG6H3aEPUqj7YrzAymq41FXlZLlO4WLbvG2Kg4vYB+wPfWS2B5Rq8TW9ROpAZbiF6MmCTsx1NLLsx7NOoOiZup2CNbZ36xc96ErcxzuILGrmmFhimjtwKo/yTm7feTVwB61IzbnW4967Kt3cDDotGt8JKrTiUyO3Uy2PZZt9tapXEfXhWmTgcoB+JchFWsiCKvYnhmn/tKuJDbgly897FnFfkE1rQLKy810OU7xW3bEJHCD5gERtuTGuxoJqA6qI9TNMa6MbvZomsiubbPYx78YXDaaRqqsyqfSaLZdjYGHLu65rDgydXCWm1P5EvcQ828f9pcBapTILSMv1nZCAc0WzFIFsGfUi/kmAxc6cFqDSYuPSMIbs1OVrwITTQM9HVRFJ5JL56qcoFzzT1uVcd2v9jFw8BHlcWtmEI86hp5Dy/zOlK8cUp/rVseRUBqawz6kmAcPLM9l5m8h4V53Iz/2mFJaTCvF8JbsMvPjU/7crbUXart0v4WyE0LnDPcAX95Knj4VUE8HCdNdUP8BDcOXKdPl4uSWbh4LfOV0HDdfipOmu+eIRrDsNPkIT7np/8ZAzVdOd1u8wHIqeXt8VqtgiO50ePeNaGG+uO9rHiKdL71pnIun8jxEKXv2r2HYBzO/mz96vFKoMM5WLk7tQXS9U5kwCu5lk7n6++kdCFWRaTUzm0/5fClWGWTrM/AGhCrJO/ZBQhTPFLwmV7ebgcdttt91222233Xbbbf+H9h+2WEtdHVinLAAAAABJRU5ErkJggg==",base64Error:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAALeGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDg4LCAyMDIwLzA3LzEwLTIyOjA2OjUzICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIiB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI0LTAxLTEzVDE5OjEwOjEwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNC0wMS0xM1QxOToxMDoxMCswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTQ3NTExNjAtZDY5MC00ZTkzLWFhNGUtNGMwYTViNGU1ZGFjIiB4bXBNTTpEb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YzRiNzlkYWMtZTJmYS1iNzQ0LWIxM2ItOWU1N2VjMDhhM2YwIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHRpZmY6T3JpZW50YXRpb249IjEiIHRpZmY6WFJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6WVJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiIGV4aWY6Q29sb3JTcGFjZT0iMSIgZXhpZjpQaXhlbFhEaW1lbnNpb249IjMwMCIgZXhpZjpQaXhlbFlEaW1lbnNpb249IjMwMCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBzdEV2dDp3aGVuPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjQwNjg2NzJkLWY5NDMtOTU0Mi1iMDBiLTVlMDExNmE1NmIzZSIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxMDoyNjoxNiswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpjZjk1NTE1OC04MjFiLTA4NDUtYWJmNS05YTE1NGM1ZTY4NjEiIHN0RXZ0OndoZW49IjIwMjQtMDEtMTNUMTE6MDQ6MDQrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY29udmVydGVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJmcm9tIGFwcGxpY2F0aW9uL3ZuZC5hZG9iZS5waG90b3Nob3AgdG8gaW1hZ2UvcG5nIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJjb252ZXJ0ZWQgZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZGM1Y2IyNWItZDZlNC0yZjQ2LTgyODQtZmUwOTNlY2M2ZTkxIiBzdEV2dDp3aGVuPSIyMDI0LTAxLTEzVDExOjA0OjA0KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjE0NzUxMTYwLWQ2OTAtNGU5My1hYTRlLTRjMGE1YjRlNWRhYyIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxOToxMDoxMCswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmNmOTU1MTU4LTgyMWItMDg0NS1hYmY1LTlhMTU0YzVlNjg2MSIgc3RSZWY6ZG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjM2ZGQ4NTQxLWQ0MWEtYmY0Yy1iZjA3LWNmNjZhNjZhMDg2MSIgc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmQwODAyODAyLTM1MmEtODU0YS05MWI3LTZkZTZkNTJlYjNkMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ph2LDQsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA5UExURUdwTNra2s7Ozq2tre3t7dPT087OzuPj4+3t7dbW1u/v79bW1vz8/MrKytDQ0Nzc3MPDw/X19bi4uMZQDnEAAAAKdFJOUwBqEPywotz+wzqApqiTAAAHW0lEQVR42u1b25akIAwcbx2UFoj//7HLTQVBRcSZfTDnbM/uTl/KSlEkwf75eeONN95444033njjjTduR9/0/yOsbqoevObL7101tYX1HFs9QFtfZalRP+rpQVgdAFx990ZnT8L6eZItUl99jeGpf1DxdV/VP9fV1f/PFlF1bYHoVFSRC60IyVjrFRnuB8IoxpExSrstsErKHpJw1eqybNLbAQvAYkKjUrjoBgKRqAaeIjG5+qaps6hKcMWmcdSwqAJWBbAgCZZaIYbsqggqqlHNbFFa5yVR4jKvrKEErOEjNCqNSwHrfE8lpLsod/u+cOPPMPBJ+Gz5dM0cXNgclre+pSxhYI1WW5Tf9ENSMIdLCiWs6q9hwQprBVYKFqyPlx4WtoSvrT9lC/wkGt8qlkQooC3hi6sgW3Bb8gtdpSV/za/mn49pC0oYhONbfyd5hzDLFivKFpTS1gKM0we0tQCEncfgQn7Rt+DC/299i1MSRJcBC0r7VviG5KZvwV5WIUobxHyrJKy8VRjXVgFYsPu5kOtbxdhycCDuihziXVLoW7xwEiUmDgd544B46luWLW+nugMLB2BimmC3cxTNxCDg8xFtuUSNqoFsDKzY8psa+XtBNWXr74N6qxwsS5T6VL5robKl10+ZRu5S9qBvUYuJwVHzjwjrE3G33qKh+WXBgmkmCvHYquTvZ8oo7rLFA4PJgYW0MdePIRQIGUPNbSMw5lubJMKtJI6+Wk6cVFMmACO+VVryeL7ZgI8MhwS2fnNPPK0geHBRd11eJSiyL4KjrL2umm1XIpRii1MKB/mU/iCZwF+pt5z3UJ7UiF3nQqadAXC3T3xEW2IyuDBe3yDTe0+A64it2WTyYSGVHymUI/EduvSWKJ80Dtv2NbYSoQxbMkVC7yzNGIWFvDF7gRD79RYrWW/BDGti4wwLtgvO7gWKUZ8Mt94qX8vLJE70+xVNwzDm9ghNM+FX7p/jlZUId2HJD+Tf79hMe3WNrAK/30E+C8/6xOCqbqxE5JNMYrNbnaLUvJAewfCg8zF0Ba/tbviWLvPYfsGFA1PVD8ZdnjlVc/DS/o7LK4NHjOjKKbfCTSCo5XmwKbaZM4jlc9NGEYd9Ijd0QS5ZGaOR2O+DPlGyRb2nXZzgnI1GdFWF+0gh3ifyTRqvzpXI2eElk58FeHziCF5hY+hSMV9Ge/mohUTGuQ4vzHYe8bW5sNdFQ58St22Vcf5zzJbtcGT4iYQ7iz8dFuxoWRYMjAM7KCnypHOTLSqdUwYIFpndOD/6B2FBzNQxYmW/zxYE4j8yLHga1s2Rbm/O5PXtGcuNDIW1dTj5hpjGsO+7z2Kk9NP1JWDlnWKAM4H6zCUNM05KyVPHBclYzUbgjE3N3tP2JWHBmbqD4GLeCs2jhMT13lMVljwcEbetwZgtHUxVQ21ho3fE7inf2s8vzMWq0EWpfOBg5hcDSGwaF2+LaysRIzNFqRgBv2sMhi/Ix0WiW8rBKNBv4ExBI7eorx9ANazsPCb5FkSNH+Reacos+AYxaFzX76KMH65c8ytzZ40YvpFAqtgC/otn1eCmMI5K8yVRQVVwq3aVtU+jJktwjyP7x+BKv8vtoH098vXYSJcrWGJcAW11r8WVRxe5vgcuFbXqwnaEZejS6mrLwYKUg1ch2RJswTFYgMOwoau+AQsSp/FuDhVZi7J402ifgGla/GJIzGLYG5H4rnKMCUydL9wcsmZSuPikR2QmjQbWqaV2ob2RdMvaLEvFlRiXpYeTwqVOtMZF+qi0dS4uEjJKMvWuYK3S0jHZwaq7BylYp/O2uu3q04lNqudLWEJQd/3paTBz12IaLIPtzE5P1AUuW9TB8NVzaG9/TIfV+eXsWeezz6HWlptEbo4SIAeWur/Y/RZC/gmZTiLzUY2j5ct6fjKsFvxqgyQxE9sbmfYtnJMIciEKo6+FL0wziJmtkzspIcUl0PgWrL7VCKP7hl61U4WLeN+7Ieli2vZhmq0VgjDOgIyhJ62sSpDkWNZa1wiB8WoLlxzy29XpGVPgn1ut5VYcGyRLK7OCiJaDYMrAneJUkZWdw0yDgNm5nDowqLc0Kp581FO7QS4pC9S/YRW9xkVdNOj0ZHCp9anEZw3VEK/fopiDrkMObkcdJtT1g6+uzQ60bIdUPztdWZWy53m+v/zFYPOGHO4AZsalmtJNkyHrCAx1RXX7mt5g1L1pDezpkXv8wJwpVRSSaf2c26Y0rrXXxyWBptu/ovdak+VhkqjGBZUdvKygqANKA/MqZ/36kcGwFn90RnWp66ksKuHgitLFY8BU+F2ZvqpxpMY9qR3YwOUJ12fc0KUHVKdswcKXuwetErCnwvMKuXxfc/3RVJ2yFc+iosQd3X+WGSVz1UiuN2J156FyVyHbsOUp3krezaPUT/VxXqdfwvknb/Zgp+idTxTbrkLqYuKreRnhy65Gf4W0NsDoYiqf6uZsvr8V9eo6XWc5+3TVf/3N1TfeeOONN95444033njjjTfeSI1/IeOYOeO4fGAAAAAASUVORK5CYII=",base64BackToTop:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIBAMAAABfdrOtAAAAElBMVEVRUVH+/v5HcEyZmZlRUVFRUVGm1ByOAAAABnRSTlPMzADMTZAJBBGsAAAEnElEQVR42t2cS27jMAyGf7/2U+QCQeDsbeQCgZDujaC5/1UmkzaJn+JDFGcw3LdfflKibJkkDnxrL7dbg7sNt6+L4O8OYBM+B0ys+QrGkHZG+OEEQ8g6go8Bx1GIGMdpNOQyIG6XdMgnSPtKhLQDGEZFBgYMkhKFtGBb0EIEjDgFRowoBVaMGAWpMedEfxMiZtwpUsgZCqtlkCNUdpVAWigtCCCDFtLwIWeoreZCWiRYYEKGFEjDg+yRZCUH0iLRAgNyToXUNCRZyMqWhGnUN2IPm3wSlwJ7IUspyCBkIQUZhCykIIeQuRTkEDKXAuM9srrtYbrZN7Y98giZSoFd+t1OxmMITG0dcrSFXFchZ1tIvQZpYWxhBbK3hpQrkMEa0iwh5t4a+QvZvDXyF7J5a+Qv5PPW21/I5623v5DPW29/IaO3Xv5Clrw1y1/Ikrdm+Qs5svw83yNnSJ5BQb4F/F7EIEJSnThGBAXxkFQfLOviQUE8JAUPsosHBfGQfDAtHhREQ1JxIV00KIgmrnRI84S0yAd5BAXxxJUck0f6Qnwr9qmr6xF5xLMjcwn/iudIEAdWnyjkEXlQKZiRVzoqRyLbgeUKKR8Q4alY7cSnoxzSf2ggsqehKr6YVpcXpOd7H93f60cKhOd7Re2LteUF4eLqiVS1mr0ge4io6C2+soaFkJ7MuuuQs1yITEp9hwwKISIpzR2iESKSIoT0rLNwuVHQqoSIpAQJpGce60vIUSdEIuUqgPTsJ5QFZK8UIpBS8iG94GFrDjlrhfCl8CG96Llxmle4kEr6vKWBPIVo9kqDQSRk9/3cWoikcCFPAd33v4dIChPyEvLzBA6RlEYWke4JEUnhKXkLeUEKxRHJFfKCQHGucIW8IdZSRkLeEGMpYyEjiK2UsZARxFTKRMgYYillImQMMZQyFTKB2EmZCplAuFLIHT8TMoWwpQwiIVMIUwqpZP5bp5CCvCTiQKr5f5lCQN+tPCBn2ZvVDFJwIDUP0m1BYAfZYRNSsCB7BqTbhoARePIxtZ9tgwWkoJcwCalmv3MBAemtO4R6dah2HaKQqj8Zvp9sQDjvJ21+SPCBHPJDDk6QITekEV7gqCC19CpKAym9IMfckKv4olMBCeIrWwVEfvkshzQekO9r9P1/ALk+IG1eSPCDiCJfyG+FyU+A6ZCa/piZDinpz7LpkCv5gdkAEshP5emQhv7onw6pGeULyZCSUYiRDAmMkpJkCKs4JhFSq8p8hJBSVbAkhARV6ZUQoisik0FqXTmcDHLVFfbJIEFXoiiCNMpiSxGkVJaNiiBBWQArgTTaUl4JpNQWJUsgQVteXQg+AKkLxQWFGKW+5J2+eVp4S168X3CF1CltCKdTJ8lb84YK2bUBO+wZW0Pqv9nk4tKu49N45NJC5dMM5tLW5tOg59Jq6NM06dL+abFXwr/RkuvTXJwae1abtE/Dt0/ruksTvs84AZ/BCC4jHnyGVfiM3VBQFANEXEah+Ax18RlP4zNox2dkkM/wI58xTn8yDCXGYCDV3W5RGSajtXyGhG1jbpbjzpwGt/0MJft8jqC7iUbQ/QZaxdnKqcIftwAAAABJRU5ErkJggg=="}},3977:function(t,e,i){"use strict";i.r(e);var n=i("165f"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"3a77":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i("d3b4"),o=n(i("f5c0")),a=(n(i("cf91")),n(i("2488")),n(i("ee4f"))),s=(0,r.initVueI18n)(o.default),l=s.t,u=uni.getSystemInfoSync().language,c={data:function(){return{language:u}},computed:{finalLanguage:function(){try{var t=uni.getLocale(),e=this.language;return"auto"===t?a.default._handleLanguage2Local(e,this._language2Local(e)):t}catch(i){return"zh-Hans"}},finalRefresherDefaultText:function(){return this._getI18nText("zp.refresher.default",this.refresherDefaultText)},finalRefresherPullingText:function(){return this._getI18nText("zp.refresher.pulling",this.refresherPullingText)},finalRefresherRefreshingText:function(){return this._getI18nText("zp.refresher.refreshing",this.refresherRefreshingText)},finalRefresherCompleteText:function(){return this._getI18nText("zp.refresher.complete",this.refresherCompleteText)},finalRefresherUpdateTimeTextMap:function(){return{title:l("zp.refresherUpdateTime.title"),none:l("zp.refresherUpdateTime.none"),today:l("zp.refresherUpdateTime.today"),yesterday:l("zp.refresherUpdateTime.yesterday")}},finalRefresherGoF2Text:function(){return this._getI18nText("zp.refresher.f2",this.refresherGoF2Text)},finalLoadingMoreDefaultText:function(){return this._getI18nText("zp.loadingMore.default",this.loadingMoreDefaultText)},finalLoadingMoreLoadingText:function(){return this._getI18nText("zp.loadingMore.loading",this.loadingMoreLoadingText)},finalLoadingMoreNoMoreText:function(){return this._getI18nText("zp.loadingMore.noMore",this.loadingMoreNoMoreText)},finalLoadingMoreFailText:function(){return this._getI18nText("zp.loadingMore.fail",this.loadingMoreFailText)},finalEmptyViewText:function(){return this.isLoadFailed?this.finalEmptyViewErrorText:this._getI18nText("zp.emptyView.title",this.emptyViewText)},finalEmptyViewReloadText:function(){return this._getI18nText("zp.emptyView.reload",this.emptyViewReloadText)},finalEmptyViewErrorText:function(){return this.customerEmptyViewErrorText||this._getI18nText("zp.emptyView.error",this.emptyViewErrorText)},finalSystemLoadingText:function(){return this._getI18nText("zp.systemLoading.title",this.systemLoadingText)}},methods:{getLanguage:function(){return this.finalLanguage},_getI18nText:function(t,e){var i=Object.prototype.toString.call(e);if("[object Object]"===i){var n=e[this.finalLanguage];if(n)return n}else if("[object String]"===i)return e;return l(t)},_language2Local:function(t){var e=t.toLowerCase().replace(new RegExp("_",""),"-");return-1!==e.indexOf("zh")?"zh"===e||"zh-cn"===e||-1!==e.indexOf("zh-hans")?"zh-Hans":"zh-Hant":-1!==e.indexOf("en")?"en":t}}};e.default=c},"3b2d":function(t,e){function i(e){return t.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3ba4":function(t,e,i){"use strict";i.r(e);var n=i("506f"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"3e64":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("127e")),o=n(i("ee10")),a=n(i("cf91")),s=n(i("2488")),l=n(i("cc03")),u={props:{useVirtualList:{type:Boolean,default:a.default.gc("useVirtualList",!1)},useCompatibilityMode:{type:Boolean,default:a.default.gc("useCompatibilityMode",!1)},extraData:{type:Object,default:a.default.gc("extraData",{})},useInnerList:{type:Boolean,default:a.default.gc("useInnerList",!1)},forceCloseInnerList:{type:Boolean,default:a.default.gc("forceCloseInnerList",!1)},cellKeyName:{type:String,default:a.default.gc("cellKeyName","")},innerListStyle:{type:Object,default:a.default.gc("innerListStyle",{})},innerCellStyle:{type:Object,default:a.default.gc("innerCellStyle",{})},preloadPage:{type:[Number,String],default:a.default.gc("preloadPage",12),validator:function(t){return t<=0&&a.default.consoleErr("preload-page\u5fc5\u987b\u5927\u4e8e0\uff01"),t>0}},cellHeightMode:{type:String,default:a.default.gc("cellHeightMode",l.default.CellHeightMode.Fixed)},fixedCellHeight:{type:[Number,String],default:a.default.gc("fixedCellHeight",0)},virtualListCol:{type:[Number,String],default:a.default.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:a.default.gc("virtualScrollFps",80)}},data:function(){return{virtualListKey:a.default.getInstanceId(),virtualPageHeight:0,virtualCellHeight:0,virtualScrollTimeStamp:0,virtualList:[],virtualPlaceholderTopHeight:0,virtualPlaceholderBottomHeight:0,virtualTopRangeIndex:0,virtualBottomRangeIndex:0,lastVirtualTopRangeIndex:0,lastVirtualBottomRangeIndex:0,virtualItemInsertedCount:0,virtualHeightCacheList:[],getCellHeightRetryCount:{fixed:0,dynamic:0},pagingOrgTop:-1,updateVirtualListFromDataChange:!1}},watch:{realTotalData:function(){this.updateVirtualListRender()},virtualList:function(t){this.$emit("update:virtualList",t),this.$emit("virtualListChange",t)}},computed:{virtualCellIndexKey:function(){return s.default.listCellIndexKey},finalUseVirtualList:function(){return this.useVirtualList&&this.usePageScroll&&a.default.consoleErr("\u4f7f\u7528\u9875\u9762\u6eda\u52a8\u65f6\uff0c\u5f00\u542f\u865a\u62df\u5217\u8868\u65e0\u6548\uff01"),this.useVirtualList&&!this.usePageScroll},finalUseInnerList:function(){return this.useInnerList||this.finalUseVirtualList&&!this.forceCloseInnerList},finalCellKeyName:function(){return this.cellKeyName},finalVirtualPageHeight:function(){return this.virtualPageHeight>0?this.virtualPageHeight:this.windowHeight},finalFixedCellHeight:function(){return a.default.convertToPx(this.fixedCellHeight)},virtualRangePageHeight:function(){return this.finalVirtualPageHeight*this.preloadPage},virtualScrollDisTimeStamp:function(){return 1e3/this.virtualScrollFps}},methods:{doInsertVirtualListItem:function(t,e){var i=this;if(this.cellHeightMode===l.default.CellHeightMode.Dynamic){this.virtualItemInsertedCount++,t&&"[object Object]"===Object.prototype.toString.call(t)||(t={item:t});var n=this.virtualCellIndexKey;t[n]="custom-".concat(this.virtualItemInsertedCount),t[s.default.listCellIndexUniqueKey]="".concat(this.virtualListKey,"-").concat(t[n]),this.$nextTick((0,o.default)(r.default.mark((function o(){var l,u,c,d,h,f,p;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:l=0;case 1:if(!(l<=10)){r.next=19;break}return r.next=4,a.default.wait(s.default.delayTime);case 4:return r.next=6,i._getNodeClientRect("#zp-id-".concat(t[n]),i.finalUseInnerList);case 6:if(u=r.sent,u){r.next=10;break}return l++,r.abrupt("continue",1);case 10:for(c=u?u[0].height:0,d=i.virtualHeightCacheList[e-1],h=d?d.totalHeight:0,i.virtualHeightCacheList.splice(e,0,{height:c,lastTotalHeight:h,totalHeight:h+c}),f=e+1;f<i.virtualHeightCacheList.length;f++)p=i.virtualHeightCacheList[f],p.lastTotalHeight+=c,p.totalHeight+=c;return i._updateVirtualScroll(i.oldScrollTop),r.abrupt("break",19);case 19:case"end":return r.stop()}}),o)}))))}},didUpdateVirtualListCell:function(t){var e=this;if(this.cellHeightMode===l.default.CellHeightMode.Dynamic){var i=this.virtualHeightCacheList[t];this.$nextTick((function(){e._getNodeClientRect("#zp-id-".concat(t),e.finalUseInnerList).then((function(n){var r=n?n[0].height:0,o=r-i.height;i.height=r,i.totalHeight=i.lastTotalHeight+r;for(var a=t+1;a<e.virtualHeightCacheList.length;a++){var s=e.virtualHeightCacheList[a];s.totalHeight+=o,s.lastTotalHeight+=o}}))}))}},didDeleteVirtualListCell:function(t){if(this.cellHeightMode===l.default.CellHeightMode.Dynamic){for(var e=this.virtualHeightCacheList[t],i=t+1;i<this.virtualHeightCacheList.length;i++){var n=this.virtualHeightCacheList[i];n.totalHeight-=e.height,n.lastTotalHeight-=e.height}this.virtualHeightCacheList.splice(t,1)}},updateVirtualListRender:function(){var t=this;this.finalUseVirtualList&&(this.updateVirtualListFromDataChange=!0,this.$nextTick((function(){t.getCellHeightRetryCount.fixed=0,t.realTotalData.length?t.cellHeightMode===l.default.CellHeightMode.Fixed&&t.isFirstPage&&t._updateFixedCellHeight():t._resetDynamicListState(!t.isUserPullDown),t._updateVirtualScroll(t.oldScrollTop)})))},_virtualListInit:function(){var t=this;this.$nextTick((function(){a.default.delay((function(){t._getNodeClientRect(".zp-scroll-view").then((function(e){e&&(t.pagingOrgTop=e[0].top,t.virtualPageHeight=e[0].height)}))}))}))},_updateFixedCellHeight:function(){var t=this;this.finalFixedCellHeight?this.virtualCellHeight=this.finalFixedCellHeight:this.$nextTick((function(){a.default.delay((function(){t._getNodeClientRect("#zp-id-".concat(0),t.finalUseInnerList).then((function(e){if(e)t.virtualCellHeight=e[0].height,t._updateVirtualScroll(t.oldScrollTop);else{if(t.getCellHeightRetryCount.fixed>10)return;t.getCellHeightRetryCount.fixed++,t._updateFixedCellHeight()}}))}),s.default.delayTime,"updateFixedCellHeightDelay")}))},_updateDynamicCellHeight:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bottom",n="top"===i,l=this.virtualHeightCacheList,u=n?[]:l,c=0;this.$nextTick((function(){a.default.delay((0,o.default)(r.default.mark((function o(){var a,s,d,h,f,p,g;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:a=0;case 1:if(!(a<t.length)){r.next=16;break}return r.next=4,e._getNodeClientRect("#zp-id-".concat(t[a][e.virtualCellIndexKey]),e.finalUseInnerList);case 4:if(s=r.sent,d=s?s[0].height:0,s){r.next=9;break}return e.getCellHeightRetryCount.dynamic<=10&&(l.splice(l.length-a,a),e.getCellHeightRetryCount.dynamic++,e._updateDynamicCellHeight(t,i)),r.abrupt("return");case 9:h=u.length?u.slice(-1)[0]:null,f=h?h.totalHeight:0,u.push({height:d,lastTotalHeight:f,totalHeight:f+d}),n&&(c+=d);case 13:a++,r.next=1;break;case 16:if(n&&t.length){for(p=0;p<l.length;p++)g=l[p],g.lastTotalHeight+=c,g.totalHeight+=c;e.virtualHeightCacheList=u.concat(l)}e._updateVirtualScroll(e.oldScrollTop);case 18:case"end":return r.stop()}}),o)}))),s.default.delayTime,"updateDynamicCellHeightDelay")}))},_setCellIndex:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bottom",i=0,n=this.virtualCellIndexKey;if([l.default.QueryFrom.Refresh,l.default.QueryFrom.Reload].indexOf(this.queryFrom)>=0&&this._resetDynamicListState(),this.totalData.length){if("bottom"===e){i=this.realTotalData.length;var r=this.realTotalData.length?this.realTotalData.slice(-1)[0]:null;r&&void 0!==r[n]&&(i=r[n]+1)}else if("top"===e){var o=this.realTotalData.length?this.realTotalData[0]:null;o&&void 0!==o[n]&&(i=o[n]-t.length)}}else this._resetDynamicListState();for(var u=0;u<t.length;u++){var c=t[u];c&&"[object Object]"===Object.prototype.toString.call(c)||(c={item:c}),c[s.default.listCellIndexUniqueKey]&&(c=a.default.deepCopy(c)),c[n]=i+u,c[s.default.listCellIndexUniqueKey]="".concat(this.virtualListKey,"-").concat(c[n]),t[u]=c}this.getCellHeightRetryCount.dynamic=0,this.cellHeightMode===l.default.CellHeightMode.Dynamic&&this._updateDynamicCellHeight(t,e)},_updateVirtualScroll:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=a.default.getTime();if(0===t&&this._resetTopRange(),!(0!==t&&this.virtualScrollTimeStamp&&i-this.virtualScrollTimeStamp<=this.virtualScrollDisTimeStamp)){this.virtualScrollTimeStamp=i;var n=0,r=this.cellHeightMode;if(r===l.default.CellHeightMode.Fixed)n=parseInt(t/this.virtualCellHeight)||0,this._updateFixedTopRangeIndex(n),this._updateFixedBottomRangeIndex(n);else if(r===l.default.CellHeightMode.Dynamic){var o=e>0?"top":"bottom",s=this.virtualRangePageHeight,u=t-s,c=t+this.finalVirtualPageHeight+s,d=0,h=0,f=!1,p=this.virtualHeightCacheList,g=p?p.slice(-1)[0]:null,v=this.virtualTopRangeIndex;if("bottom"===o)for(var m=v;m<p.length;m++){var y=p[m];if(y&&y.totalHeight>u){this.virtualTopRangeIndex=m,this.virtualPlaceholderTopHeight=y.lastTotalHeight;break}}else{for(var _=!1,x=v;x>=0;x--){var b=p[x];if(b&&b.totalHeight<u){this.virtualTopRangeIndex=x,this.virtualPlaceholderTopHeight=b.lastTotalHeight,_=!0;break}}!_&&this._resetTopRange()}for(var w=this.virtualTopRangeIndex;w<p.length;w++){var S=p[w];if(S&&S.totalHeight>c){d=w,h=g.totalHeight-S.totalHeight,f=!0;break}}f&&0!==this.virtualBottomRangeIndex?(this.virtualBottomRangeIndex=d,this.virtualPlaceholderBottomHeight=h):(this.virtualBottomRangeIndex=this.realTotalData.length?this.realTotalData.length-1:this.pageSize,this.virtualPlaceholderBottomHeight=0),this._updateVirtualList()}}},_updateFixedTopRangeIndex:function(t){var e=0===this.virtualCellHeight?0:t-(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*this.preloadPage;e*=this.virtualListCol,e=Math.max(0,e),this.virtualTopRangeIndex=e,this.virtualPlaceholderTopHeight=e/this.virtualListCol*this.virtualCellHeight},_updateFixedBottomRangeIndex:function(t){var e=0===this.virtualCellHeight?this.pageSize:t+(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*(this.preloadPage+1);e*=this.virtualListCol,e=Math.min(this.realTotalData.length,e),this.virtualBottomRangeIndex=e,this.virtualPlaceholderBottomHeight=(this.realTotalData.length-e)*this.virtualCellHeight/this.virtualListCol,this._updateVirtualList()},_updateVirtualList:function(){var t=this.updateVirtualListFromDataChange||this.lastVirtualTopRangeIndex!==this.virtualTopRangeIndex||this.lastVirtualBottomRangeIndex!==this.virtualBottomRangeIndex;t&&(this.updateVirtualListFromDataChange=!1,this.lastVirtualTopRangeIndex=this.virtualTopRangeIndex,this.lastVirtualBottomRangeIndex=this.virtualBottomRangeIndex,this.virtualList=this.realTotalData.slice(this.virtualTopRangeIndex,this.virtualBottomRangeIndex+1))},_resetDynamicListState:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.virtualHeightCacheList=[],t&&(this.virtualList=[]),this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0},_resetTopRange:function(){this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0,this._updateVirtualList()},_checkVirtualListScroll:function(){var t=this;this.finalUseVirtualList&&this.$nextTick((function(){t._getNodeClientRect(".zp-paging-touch-view").then((function(e){var i=e?e[0].top:0;(!e||i===t.pagingOrgTop&&0!==t.virtualPlaceholderTopHeight)&&t._updateVirtualScroll(0)}))}))},_innerCellClick:function(t,e){this.$emit("innerCellClick",t,e)}}};e.default=u},"40ca":function(t,e,i){"use strict";i.r(e);var n=i("e6ca"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},4108:function(t,e,i){"use strict";i.r(e);var n=i("d604"),r=i("c0ad");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=i("e807"),l=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"48796872",null,!1,n["a"],void 0);"function"===typeof s["a"]&&Object(s["a"])(l),e["default"]=l.exports},"42ca":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cacheImageList=void 0;e.cacheImageList=[]},"436e":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("3b2d"));function o(t){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(t)}function a(t){switch((0,r.default)(t)){case"undefined":return!0;case"string":if(0==t.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!t)return!0;break;case"number":if(0===t||isNaN(t))return!0;break;case"object":if(null===t||0===t.length)return!0;for(var e in t)return!1;return!0}return!1}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function l(t){return"function"===typeof t}var u={email:function(t){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t)},mobile:function(t){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(t)},url:function(t){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(t)},date:function(t){return!!t&&(o(t)&&(t=+t),!/Invalid|NaN/.test(new Date(t).toString()))},dateISO:function(t){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:o,digits:function(t){return/^\d+$/.test(t)},idCard:function(t){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(t)},carNo:function(t){return 7===t.length?/^[\u4eac\u6d25\u6caa\u6e1d\u5180\u8c6b\u4e91\u8fbd\u9ed1\u6e58\u7696\u9c81\u65b0\u82cf\u6d59\u8d63\u9102\u6842\u7518\u664b\u8499\u9655\u5409\u95fd\u8d35\u7ca4\u9752\u85cf\u5ddd\u5b81\u743c\u4f7f\u9886A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9\u6302\u5b66\u8b66\u6e2f\u6fb3]{1}$/.test(t):8===t.length&&/^[\u4eac\u6d25\u6caa\u6e1d\u5180\u8c6b\u4e91\u8fbd\u9ed1\u6e58\u7696\u9c81\u65b0\u82cf\u6d59\u8d63\u9102\u6842\u7518\u664b\u8499\u9655\u5409\u95fd\u8d35\u7ca4\u9752\u85cf\u5ddd\u5b81\u743c\u4f7f\u9886A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/.test(t)},amount:function(t){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(t)},chinese:function(t){return/^[\u4e00-\u9fa5]+$/gi.test(t)},letter:function(t){return/^[a-zA-Z]*$/.test(t)},enOrNum:function(t){return/^[0-9a-zA-Z]*$/g.test(t)},contains:function(t,e){return t.indexOf(e)>=0},range:function(t,e){return t>=e[0]&&t<=e[1]},rangeLength:function(t,e){return t.length>=e[0]&&t.length<=e[1]},empty:a,isEmpty:a,jsonString:function(t){if("string"===typeof t)try{var e=JSON.parse(t);return!("object"!==(0,r.default)(e)||!e)}catch(i){return!1}return!1},landline:function(t){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(t)},object:s,array:function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},code:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(e,"}$")).test(t)},func:l,promise:function(t){return s(t)&&l(t.then)&&l(t.catch)},video:function(t){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(t)},image:function(t){var e=t.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(e)},regExp:function(t){return t&&"[object RegExp]"===Object.prototype.toString.call(t)},string:function(t){return"string"===typeof t}};e.default=u},"43cd":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},"44ba":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{systemInfo:null,cssSafeAreaInsetBottom:-1,isReadyDestroy:!1}},computed:{windowTop:function(){return this.systemInfo&&this.systemInfo.windowTop||0},safeAreaBottom:function(){if(!this.systemInfo)return 0;var t=0;return t=this.systemInfo.safeAreaInsets.bottom||0,t},isOldWebView:function(){try{var t=uni.getSystemInfoSync().system.split(" "),e=t[0],i=parseInt(t[1]);if("iOS"===e&&i<=10||"Android"===e&&i<=6)return!0}catch(n){return!1}return!1},zSlots:function(){return this.$scopedSlots||this.$slots}},beforeDestroy:function(){this.isReadyDestroy=!0},methods:{updateFixedLayout:function(){var t=this;this.fixed&&this.$nextTick((function(){t.systemInfo=uni.getSystemInfoSync()}))},_getNodeClientRect:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.isReadyDestroy)return Promise.resolve(!1);var n=e?uni.createSelectorQuery().in(!0===e?this:e):uni.createSelectorQuery();return i?n.select(t).scrollOffset():n.select(t).boundingClientRect(),new Promise((function(t,e){n.exec((function(e){t(!(!e||""==e||void 0==e||!e.length)&&e)}))}))},_updateLeftAndRightWidth:function(t,e){var i=this;this.$nextTick((function(){setTimeout((function(){["left","right"].map((function(n){i._getNodeClientRect(".".concat(e,"-").concat(n)).then((function(e){i.$set(t,n,e?e[0].width+"px":"0px")}))}))}),0)}))},_getCssSafeAreaInsetBottom:function(t){var e=this;this._getNodeClientRect(".zp-safe-area-inset-bottom").then((function(i){e.cssSafeAreaInsetBottom=i?i[0].height:-1,i&&t&&t()}))}}};e.default=n},4546:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("127e")),o=n(i("ee10")),a=n(i("951c")),s={created:function(){},beforeMount:function(){},beforeCreate:function(){},onLoad:function(){uni.onNetworkStatusChange((function(e){t("log","\u7f51\u7edc\u7c7b\u578b\u53d8\u5316:",e.networkType," at App.vue:15"),t("log","\u8fde\u63a5\u7f51\u7edc\u72b6\u6001\u53d8\u5316:",e.isConnected?"\u5df2\u8fde\u63a5":"\u65ad\u5f00\u8fde\u63a5"," at App.vue:16")}))},onLaunch:function(){var t=(0,o.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return plus.screen.lockOrientation("landscape-primary"),uni.getSystemInfo({success:function(t){a.default.prototype.StatusBar=t.statusBarHeight,"android"==t.platform?a.default.prototype.CustomBar=t.statusBarHeight+50:a.default.prototype.CustomBar=t.statusBarHeight+45}}),t.next=4,this.getIsUpdata();case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),onShow:function(){uni.getNetworkType({success:function(e){t("log",e.networkType," at App.vue:58")}}),uni.onNetworkStatusChange((function(e){t("log",e.isConnected," at App.vue:62"),t("log",e.networkType," at App.vue:63")})),this.$store.getters["api/getApiToken"]&&setTimeout((function(){uni.reLaunch({url:"/pages/index/index"})}),1e3)},onHide:function(){t("log","App \u5173\u95ed"," at App.vue:77")},methods:{getIsUpdata:function(){var e=this;plus.runtime.getProperty(plus.runtime.appid,(function(i){e.version=i.version,e.versionCode=i.versionCode;var n={version:i.version};e.$store.dispatch("api/getVersion",n).then((function(i){1==e.compareVersions(res.data.version,n.version)&&(t("log",i," at App.vue:90"),uni.showModal({title:"\u7248\u672c\u66f4\u65b0",content:"\u6709\u65b0\u7684\u7248\u672c\u53d1\u5e03\uff0c\u662f\u5426\u7acb\u5373\u8fdb\u884c\u65b0\u7248\u672c\u4e0b\u8f7d\uff1f",confirmText:"\u7acb\u5373\u66f4\u65b0",cancelText:"\u7a0d\u540e\u8fdb\u884c",success:function(e){e.confirm?plus.runtime.openURL(encodeURI(i.data.url)):e.cancel&&t("log","\u7a0d\u540e\u66f4\u65b0"," at App.vue:103")}}))}))}))},compareVersions:function(t,e){for(var i=t.split(".").map(Number),n=e.split(".").map(Number),r=0;r<Math.max(i.length,n.length);r++){var o=i[r]||0,a=n[r]||0;if(o>a)return 1;if(o<a)return-1}return 0}}};e.default=s}).call(this,i("f3b9")["default"])},4656:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("ebea")),o=r.default.color,a={icon:{name:"",color:o["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:o["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}};e.default=a},4798:function(t,e,i){"use strict";i.r(e);var n=i("7923"),r=i("c789");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"47a9":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"47ad":function(t,e,i){"use strict";i.r(e);var n=i("64a6"),r=i("1aae");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"481f":function(t,e,i){"use strict";i.r(e);var n=i("cbaa"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"484b":function(t,e,i){"use strict";i.r(e);var n=i("5ace"),r=i("6c09");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},4863:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={swipeActionItem:{show:!1,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300}}},"48d2":function(t,e,i){t.exports=i.p+"static/icon/xinlv-small.png"},"4a05":function(t,e,i){"use strict";i.r(e);var n=i("deaa"),r=i("2e56");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"4443a5e8",null,!1,n["a"],void 0);e["default"]=s.exports},"4a63":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}}}},"4c23":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sendSms=e.register=e.getVersion=e.getUserInfo=e.getLoginCode=e.getIndexData=e.getDeviceListDays=e.getDayInfo=e.getBindUserDeviceId=e.forgotPassword=e.dologin=e.default=e.code=e.checkLoginCode=void 0;var n=i("dcd1"),r=function(t){return(0,n.post)("watch/captcha/getCaptcha",t)};e.code=r;var o=function(t){return(0,n.post)("watch/login/dologin",t)};e.dologin=o;var a=function(t){return(0,n.post)("watch/sms/sendSms",t)};e.sendSms=a;var s=function(t){return(0,n.post)("watch/login/register",t)};e.register=s;var l=function(t){return(0,n.post)("watch/device/getBindUserDeviceId",t)};e.getBindUserDeviceId=l;var u=function(t){return(0,n.post)("watch/device/getDayInfo",t)};e.getDayInfo=u;var c=function(t){return(0,n.post)("watch/device/getDeviceListDays",t)};e.getDeviceListDays=c;var d=function(t){return(0,n.post)("watch/version/index",t)};e.getVersion=d;var h=function(t){return(0,n.post)("watch/device/getIndexData",t)};e.getIndexData=h;var f=function(t){return(0,n.post)("watch/login/forgotPassword",t)};e.forgotPassword=f;var p=function(t){return(0,n.post)("watch/user/getUserInfo",t)};e.getUserInfo=p;var g=function(t){return(0,n.post)("watch/login/checkLoginCode",t,{custom:{hideLoading:!0}})};e.checkLoginCode=g;var v=function(t){return(0,n.post)("watch/login/getLoginCode",t)};e.getLoginCode=v;var m={code:r,dologin:o,sendSms:a,register:s,getBindUserDeviceId:l,getDayInfo:u,getDeviceListDays:c,getVersion:d,getIndexData:h,forgotPassword:f,getUserInfo:p,checkLoginCode:g,getLoginCode:v};e.default=m},"4d39":function(t,e,i){"use strict";i.r(e);var n=i("95c4"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"4fbd":function(t,e,i){"use strict";i.r(e);var n=i("75c2"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"506f":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=(n(i("bd30")),i("8f59"));n(i("70ff"));function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var s={data:function(){return{deviceList:[]}},onLoad:function(){var t=this;this.$store.dispatch("api/getBindUserDeviceId").then((function(e){t.deviceList=e}))},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,o.mapGetters)({getActiceDevice:"api/getActiceDevice"})),methods:{changeDev:function(t){this.$store.commit("api/setActiceDevice",t)},getNameByKey:function(t){return this.keyNameMap[t]||"Key not found"},back:function(){uni.navigateBack({delta:1})}}};e.default=s},"525a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:-1,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null}}},5399:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{class:t._$s(0,"c",{"zp-container":!0,"zp-container-fixed":t.emptyViewFixed}),style:t._$s(0,"s",[t.finalEmptyViewStyle]),attrs:{_i:0},on:{click:t.emptyViewClick}},[i("view",{staticClass:t._$s(1,"sc","zp-main"),attrs:{_i:1}},[t._$s(2,"i",!t.emptyViewImg.length)?i("image",{class:t._$s(2,"c",{"zp-main-image-rpx":"rpx"===t.unit,"zp-main-image-px":"px"===t.unit}),style:t._$s(2,"s",[t.emptyViewImgStyle]),attrs:{src:t._$s(2,"a-src",t.emptyImg),_i:2}}):i("image",{class:t._$s(3,"c",{"zp-main-image-rpx":"rpx"===t.unit,"zp-main-image-px":"px"===t.unit}),style:t._$s(3,"s",[t.emptyViewImgStyle]),attrs:{src:t._$s(3,"a-src",t.emptyViewImg),_i:3}}),i("text",{staticClass:t._$s(4,"sc","zp-main-title"),class:t._$s(4,"c",{"zp-main-title-rpx":"rpx"===t.unit,"zp-main-title-px":"px"===t.unit}),style:t._$s(4,"s",[t.emptyViewTitleStyle]),attrs:{_i:4}},[t._v(t._$s(4,"t0-0",t._s(t.emptyViewText)))]),t._$s(5,"i",t.showEmptyViewReload)?i("text",{class:t._$s(5,"c",{"zp-main-error-btn":!0,"zp-main-error-btn-rpx":"rpx"===t.unit,"zp-main-error-btn-px":"px"===t.unit}),style:t._$s(5,"s",[t.emptyViewReloadStyle]),attrs:{_i:5},on:{click:function(e){return e.stopPropagation(),t.reloadClick(e)}}},[t._v(t._$s(5,"t0-0",t._s(t.emptyViewReloadText)))]):t._e()])])},r=[]},"53ef":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("ebea")),o=r.default.color,a={link:{color:o["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"\u94fe\u63a5\u5df2\u590d\u5236\uff0c\u8bf7\u5728\u6d4f\u89c8\u5668\u6253\u5f00",lineColor:"",text:""}};e.default=a},"543f":function(t,e,i){"use strict";i.r(e);var n=i("253d"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"55db":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniIcons:i("4798").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","uni-navbar"),style:t._$s(0,"s",{zIndex:999999}),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","tm-navbar__content"),class:t._$s(1,"c",{"tm-navbar--fixed":t.fixed}),style:t._$s(1,"s",{height:t.height+"px",color:t.titleColor,fontSize:t.fontSize+"px",background:t.backgroundColor,width:t.width}),attrs:{_i:1}},[t._$s(2,"i",t.backgroundType)?i("img",{staticClass:t._$s(2,"sc","tm-navbar__header-bg"),attrs:{src:t._$s(2,"a-src",t.backgroundImgUrl),_i:2}}):t._e(),i("view",{staticClass:t._$s(3,"sc","tm-navbar__header-btns tm-navbar__header-btns-left"),attrs:{_i:3},on:{click:t.onClickLeft}},[t._$s(4,"i",t.leftIcon.length)?i("uni-icons",{attrs:{color:t.leftColor,type:t.leftIcon,size:t.iconSize,_i:4}}):t._e(),t._$s(5,"i",t.leftText.length)?i("text",{staticClass:t._$s(5,"sc","tm-navbar-btn-text"),style:t._$s(5,"s",{color:t.leftColor,fontSize:t.fontSize+"px"}),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.leftText)))]):t._e(),t._t("left",null,{_i:6})],2),i("view",{staticClass:t._$s(7,"sc","tm-navbar__header-container"),attrs:{_i:7},on:{click:t.onClickTitle}},[i("view",{staticClass:t._$s(8,"sc","tm-navbar__header-title textOverflow"),attrs:{_i:8}},[t._v(t._$s(8,"t0-0",t._s(t.title)))]),t._t("default",null,{_i:9})],2),i("view",{staticClass:t._$s(10,"sc","tm-navbar__header-btns tm-navbar__header-btns-right"),style:t._$s(10,"s",t.rbgs?"background-color: #000":"background-color: transparent"),attrs:{_i:10},on:{click:t.onClickRight}},[t._$s(11,"i",t.rightIcon.length)?i("uni-icons",{attrs:{color:t.rightColor,type:t.rightIcon,size:t.iconSize,_i:11}}):t._e(),t._$s(12,"i",t.rightText.length)?i("text",{staticClass:t._$s(12,"sc","tm-navbar-btn-text"),style:t._$s(12,"s",{color:t.rightColor,fontSize:t.fontSize+"px"}),attrs:{_i:12}},[t._v(t._$s(12,"t0-0",t._s(t.rightText)))]):t._e(),t._t("right",null,{_i:13})],2)]),t._$s(14,"i",t.fixed&&"transparent"!==t.backgroundColor)?i("view",{staticClass:t._$s(14,"sc","tm-navbar__place"),attrs:{_i:14}},[t._$s(15,"i",t.statusBar)?i("status-bar",{attrs:{_i:15}}):t._e(),i("view",{style:t._$s(16,"s",{height:t.height+"px"}),attrs:{_i:16}})],1):t._e()])},o=[]},"563b":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"}}},5640:function(t,e,i){"use strict";i.r(e);var n=i("db53"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},5665:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("cf91")),o={props:{hideEmptyView:{type:Boolean,default:r.default.gc("hideEmptyView",!1)},emptyViewText:{type:[String,Object],default:r.default.gc("emptyViewText",null)},showEmptyViewReload:{type:Boolean,default:r.default.gc("showEmptyViewReload",!1)},showEmptyViewReloadWhenError:{type:Boolean,default:r.default.gc("showEmptyViewReloadWhenError",!0)},emptyViewReloadText:{type:[String,Object],default:r.default.gc("emptyViewReloadText",null)},emptyViewImg:{type:String,default:r.default.gc("emptyViewImg","")},emptyViewErrorText:{type:[String,Object],default:r.default.gc("emptyViewErrorText",null)},emptyViewErrorImg:{type:String,default:r.default.gc("emptyViewErrorImg","")},emptyViewStyle:{type:Object,default:r.default.gc("emptyViewStyle",{})},emptyViewSuperStyle:{type:Object,default:r.default.gc("emptyViewSuperStyle",{})},emptyViewImgStyle:{type:Object,default:r.default.gc("emptyViewImgStyle",{})},emptyViewTitleStyle:{type:Object,default:r.default.gc("emptyViewTitleStyle",{})},emptyViewReloadStyle:{type:Object,default:r.default.gc("emptyViewReloadStyle",{})},emptyViewFixed:{type:Boolean,default:r.default.gc("emptyViewFixed",!1)},emptyViewCenter:{type:Boolean,default:r.default.gc("emptyViewCenter",!0)},autoHideEmptyViewWhenLoading:{type:Boolean,default:r.default.gc("autoHideEmptyViewWhenLoading",!0)},autoHideEmptyViewWhenPull:{type:Boolean,default:r.default.gc("autoHideEmptyViewWhenPull",!0)},emptyViewZIndex:{type:Number,default:r.default.gc("emptyViewZIndex",9)}},data:function(){return{customerEmptyViewErrorText:""}},computed:{finalEmptyViewImg:function(){return this.isLoadFailed?this.emptyViewErrorImg:this.emptyViewImg},finalShowEmptyViewReload:function(){return this.isLoadFailed?this.showEmptyViewReloadWhenError:this.showEmptyViewReload},showEmpty:function(){return!(this.refresherOnly||this.hideEmptyView||this.realTotalData.length)&&(!this.autoHideEmptyViewWhenLoading||(!(!this.isAddedData||this.firstPageLoaded||this.loading)||!this.autoHideEmptyViewWhenPull&&!this.isUserReload))}},methods:{_emptyViewReload:function(){var t=this,e=!1;this.$emit("emptyViewReload",(function(i){void 0!==i&&!0!==i||(t.fromEmptyViewReload=!0,t.reload().catch((function(){}))),e=!0})),this.$nextTick((function(){e||(t.fromEmptyViewReload=!0,t.reload().catch((function(){})))}))},_emptyViewClick:function(){this.$emit("emptyViewClick")}}};e.default=o},5688:function(t,e,i){t.exports=i.p+"static/image/body.png"},"56e6":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{current:Number},data:function(){return{paddingBottomHeight:0,list:[{text:"\u5bb6\u4eba",icon:"/static/image/home.png",iconPath:"/static/image/home-select.png",path:"/pages/index/index",width:"66rpx",height:"66rpx"},{text:"\u8bbe\u5907",icon:"/static/image/device.png",iconPath:"/static/image/device-select.png",path:"/pages/device/device",width:"66rpx",height:"66rpx"},{text:"\u6211\u7684",icon:"/static/image/my.png",iconPath:"/static/image/my-select.png",path:"/pages/my/my",width:"66rpx",height:"66rpx"}]}},created:function(){uni.getSystemInfo({success:function(t){["X","XR","XS","11","12","13","14","15"].forEach((function(t){}))}})},methods:{tabbarChange:function(t){uni.reLaunch({url:t})}}};e.default=n},"56f4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={loadingPage:{loadingText:"\u6b63\u5728\u52a0\u8f7d",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8"}}},"572c":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("cf91")),o=n(i("cc03")),a={props:{autoHideLoadingAfterFirstLoaded:{type:Boolean,default:r.default.gc("autoHideLoadingAfterFirstLoaded",!0)},loadingFullFixed:{type:Boolean,default:r.default.gc("loadingFullFixed",!1)},autoShowSystemLoading:{type:Boolean,default:r.default.gc("autoShowSystemLoading",!1)},systemLoadingMask:{type:Boolean,default:r.default.gc("systemLoadingMask",!0)},systemLoadingText:{type:[String,Object],default:r.default.gc("systemLoadingText",null)}},data:function(){return{loading:!1,loadingForNow:!1}},watch:{loadingStatus:function(t){var e=this;this.$emit("loadingStatusChange",t),this.$nextTick((function(){e.loadingStatusAfterRender=t})),!this.useChatRecordMode||!this.isFirstPage||t!==o.default.More.NoMore&&t!==o.default.More.Fail?this.isFirstPageAndNoMore=!1:this.isFirstPageAndNoMore=!0},loading:function(t){t&&(this.loadingForNow=t)}},computed:{showLoading:function(){return!(this.firstPageLoaded||!this.loading||!this.loadingForNow)&&(this.finalShowSystemLoading&&uni.showLoading({title:this.finalSystemLoadingText,mask:this.systemLoadingMask}),this.autoHideLoadingAfterFirstLoaded?!!this.fromEmptyViewReload||!this.pagingLoaded:this.loadingType===o.default.LoadingType.Refresher)},finalShowSystemLoading:function(){return this.autoShowSystemLoading&&this.loadingType===o.default.LoadingType.Refresher}},methods:{_startLoading:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(this.showLoadingMoreWhenReload&&!this.isUserPullDown||!t)&&(this.loadingStatus=o.default.More.Loading),this.loading=!0},_endSystemLoadingAndRefresh:function(){this.finalShowSystemLoading&&uni.hideLoading(),!this.useCustomRefresher&&uni.stopPullDownRefresh()}}};e.default=a},"57ed":function(t,e,i){"use strict";i.r(e);var n=i("949d"),r=i("d236");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"c1ff5bea",null,!1,n["a"],void 0);e["default"]=s.exports},"58c2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""}}},"5a6e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={picker:{show:!1,showToolbar:!0,title:"",columns:function(){return[]},loading:!1,itemHeight:44,cancelText:"\u53d6\u6d88",confirmText:"\u786e\u5b9a",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,keyName:"text",closeOnClickOverlay:!1,defaultIndex:function(){return[]},immediateChange:!1}}},"5ace":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tmNavBar:i("a73c").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","forget"),attrs:{_i:0}},[i("tm-nav-bar",{attrs:{"left-icon":"arrow-left",title:"\u5fd8\u8bb0\u5bc6\u7801",width:"100%",rbgs:!1,_i:1},on:{clickLeft:t.back}}),i("view",{staticClass:t._$s(2,"sc","content"),attrs:{_i:2}},[i("view",{staticClass:t._$s(3,"sc","main"),attrs:{_i:3}},[i("view",{staticClass:t._$s(4,"sc","tips"),attrs:{_i:4}}),i("wInput",{attrs:{type:"text",maxlength:"11",placeholder:"\u8bf7\u8f93\u5165\u624b\u673a\u53f7\u7801",_i:5},model:{value:t._$s(5,"v-model",t.phoneData),callback:function(e){t.phoneData=e},expression:"phoneData"}}),i("wInput",{attrs:{type:"password",maxlength:"11",placeholder:"\u8bf7\u8f93\u5165\u65b0\u5bc6\u7801",isShowPass:!0,_i:6},model:{value:t._$s(6,"v-model",t.passData),callback:function(e){t.passData=e},expression:"passData"}}),i("view",{staticClass:t._$s(7,"sc","main-list oBorder"),attrs:{_i:7}},[i("view"),i("input",{directives:[{name:"model",rawName:"v-model",value:t.imgCode,expression:"imgCode"}],staticClass:t._$s(9,"sc","main-input"),attrs:{_i:9},domProps:{value:t._$s(9,"v-model",t.imgCode)},on:{input:function(e){e.target.composing||(t.imgCode=e.target.value)}}}),i("image",{attrs:{src:t._$s(10,"a-src",t.img64),_i:10},on:{click:function(e){return t.reset()}}})]),i("wInput",{ref:"runCode",attrs:{type:"number",maxlength:"4",placeholder:"\u9a8c\u8bc1\u7801",isShowCode:!0,codeText:"\u83b7\u53d6\u91cd\u7f6e\u7801",setTime:"30",_i:11},on:{setCode:function(e){return t.getVerCode()}},model:{value:t._$s(11,"v-model",t.verCode),callback:function(e){t.verCode=e},expression:"verCode"}})],1),i("wButton",{staticClass:t._$s(12,"sc","wbutton"),attrs:{text:"\u91cd\u7f6e\u5bc6\u7801",rotate:t.isRotate,_i:12},nativeOn:{click:function(e){return t.startRePass()}}})],1)],1)},o=[]},"5b47":function(t,e,i){t.exports=i.p+"static/icon/xueyang.png"},"5bcc":function(t,e,i){t.exports=i.p+"static/image/juli.jpg"},"5bcc2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={numberKeyboard:{mode:"number",dotDisabled:!1,random:!1}}},"5c6a":function(t,e,i){"use strict";i.r(e);var n=i("7e5a"),r=i("e111");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"5cbf":function(t,e,i){"use strict";i.r(e);var n=i("06a4"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"5d7d":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniPopup:i("9460").default,xdt:i("32b9").default,body_info_components:i("b2a1").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","content"),attrs:{_i:0}},[n("uni-popup",{ref:"popup",attrs:{type:"bottom","border-radius":"10px 10px 0 0",_i:1}},[n("view",{staticClass:t._$s(2,"sc","main"),attrs:{_i:2}},[t._$s(3,"i",1==t.typeIndex)?n("view",{staticClass:t._$s(3,"sc","pop-main"),attrs:{_i:3}},[n("view",{staticClass:t._$s(4,"sc","pops"),attrs:{_i:4}},[n("view",{staticClass:t._$s(5,"sc","pop-close"),attrs:{_i:5},on:{click:function(e){return t.close()}}}),n("view",{staticClass:t._$s(6,"sc","dxxl"),attrs:{_i:6}},[n("scroll-view",{staticClass:t._$s(7,"sc","myScoll"),attrs:{_i:7}},[n("view",{staticClass:t._$s(8,"sc","box1"),attrs:{_i:8}},[n("canvas",{})]),n("view",{staticClass:t._$s(10,"sc","box2"),style:t._$s(10,"s",{left:t.pLeft+"px"}),attrs:{_i:10}},[n("canvas",{})])])]),n("view",{staticClass:t._$s(12,"sc","list"),attrs:{_i:12}},[n("view",{staticClass:t._$s(13,"sc","flx flx_ac "),attrs:{_i:13}},[n("view",[n("image",{attrs:{src:t._$s(15,"a-src",i("48d2")),_i:15}})]),n("view")]),n("view",{staticClass:t._$s(17,"sc","flx flx_sb sl_box flx_wp"),attrs:{_i:17}},[t._l(t._$s(18,"f",{forItems:t.xinlv.jisuan}),(function(e,i,r,o){return n("view",{key:t._$s(18,"f",{forIndex:r,key:"18-"+o}),staticClass:t._$s("18-"+o,"sc","all"),attrs:{_i:"18-"+o}},[n("view",[n("span",{staticClass:t._$s("20-"+o,"sc","sl_box_wz"),attrs:{_i:"20-"+o}},[t._v(t._$s("20-"+o,"t0-0",t._s(e.times?e.times:0)))]),n("span",{staticClass:t._$s("21-"+o,"sc","sl_box_unit"),attrs:{_i:"21-"+o}},[t._v(t._$s("21-"+o,"t0-0",t._s(e.unit)))])]),n("view",{staticClass:t._$s("22-"+o,"sc","sl_box_desc"),attrs:{_i:"22-"+o}},[t._v(t._$s("22-"+o,"t0-0",t._s(e.desc)))]),t._$s("23-"+o,"i",e.cankao)?n("view",{staticClass:t._$s("23-"+o,"sc","sl_box_cankao"),attrs:{_i:"23-"+o}},[t._v(t._$s("23-"+o,"t0-0",t._s(e.cankao)))]):t._e()])})),t._l(t._$s(24,"f",{forItems:t.xinlv.cankao}),(function(e,i,r,o){return n("view",{key:t._$s(24,"f",{forIndex:r,key:"24-"+o}),staticClass:t._$s("24-"+o,"sc","all"),attrs:{_i:"24-"+o}},[n("view",[n("span",{staticClass:t._$s("26-"+o,"sc","sl_box_wz"),attrs:{_i:"26-"+o}},[t._v(t._$s("26-"+o,"t0-0",t._s(e.times.toFixed(2))))]),n("span",{staticClass:t._$s("27-"+o,"sc","sl_box_unit"),attrs:{_i:"27-"+o}},[t._v(t._$s("27-"+o,"t0-0",t._s(e.unit)))])]),n("view",{staticClass:t._$s("28-"+o,"sc","sl_box_desc"),attrs:{_i:"28-"+o}},[t._v(t._$s("28-"+o,"t0-0",t._s(e.desc)))]),t._$s("29-"+o,"i",e.cankao)?n("view",{staticClass:t._$s("29-"+o,"sc","sl_box_cankao"),attrs:{_i:"29-"+o}},[t._v(t._$s("29-"+o,"t0-0",t._s(e.cankao)))]):t._e()])}))],2)]),n("view",{staticClass:t._$s(30,"sc","list"),attrs:{_i:30}},[n("view",{staticClass:t._$s(31,"sc","flx flx_ac "),attrs:{_i:31}},[n("view",[n("image",{attrs:{src:t._$s(33,"a-src",i("48d2")),_i:33}})]),n("view")]),n("view",[n("xdt",{attrs:{datas:t.ybx.hrv,_i:36}}),n("xdt",{attrs:{datas:t.ybx.sdnn,_i:37}}),n("xdt",{attrs:{datas:t.ybx.rmssd,_i:38}})],1)]),n("view",{staticClass:t._$s(39,"sc","list"),attrs:{_i:39}},[n("view",{staticClass:t._$s(40,"sc","flx flx_ac "),attrs:{_i:40}},[n("view",[n("image",{attrs:{src:t._$s(42,"a-src",i("48d2")),_i:42}})]),n("view")]),n("view",[n("xdt",{attrs:{datas:t.xdt.pwv,_i:45}}),n("xdt",{attrs:{datas:t.xdt.qtc,_i:46}}),n("xdt",{attrs:{datas:t.xdt.qsrf,_i:47}}),n("xdt",{attrs:{datas:t.xdt.qsrx,_i:48}}),n("xdt",{attrs:{datas:t.xdt.qsrfx,_i:49}}),n("xdt",{attrs:{datas:t.xdt.st,_i:50}})],1)]),n("view")])]):t._e(),t._$s(52,"i",2==t.typeIndex)?n("view",{staticClass:t._$s(52,"sc","pop-main"),attrs:{_i:52}},[n("view",{staticClass:t._$s(53,"sc","pops"),attrs:{_i:53}},[n("view",{staticClass:t._$s(54,"sc","pop-close"),attrs:{_i:54},on:{click:function(e){return t.close()}}}),n("view",[n("view",{staticClass:t._$s(56,"sc","flx flx_ac"),attrs:{_i:56}},[n("view",[n("text",{staticClass:t._$s(58,"sc","iconfont icon-wode"),style:t._$s(58,"s","font-size: 50rpx;margin-right:10rpx;color:"+t.bodyDesc.color),attrs:{_i:58}})]),n("view",[n("text",[t._v(t._$s(60,"t0-0",t._s(t.bodyDesc.name)))])])]),n("view",[n("image",{attrs:{src:t._$s(62,"a-src",i("5688")),_i:62}}),n("view",{staticClass:t._$s(63,"sc","left_position postion "),attrs:{_i:63}},[n("view",{staticClass:t._$s(64,"sc","desc_box"),attrs:{_i:64}},[n("view",{staticClass:t._$s(65,"sc","flx flx_ac"),attrs:{_i:65}},[n("view",{staticClass:t._$s(66,"sc","tt"),attrs:{_i:66}},[t._v(t._$s(66,"t0-0",t._s(t.dataInfo.data_msg.basalMetabolicRate)))]),n("view",{staticClass:t._$s(67,"sc","unit"),attrs:{_i:67}})]),n("view",{staticClass:t._$s(68,"sc","name"),attrs:{_i:68}})]),n("view",{staticClass:t._$s(69,"sc","desc_box"),attrs:{_i:69}},[n("view",{staticClass:t._$s(70,"sc","flx flx_ac"),attrs:{_i:70}},[n("view",{staticClass:t._$s(71,"sc","tt"),attrs:{_i:71}},[t._v(t._$s(71,"t0-0",t._s(t.dataInfo.data_msg.boneMass)))]),n("view",{staticClass:t._$s(72,"sc","unit"),attrs:{_i:72}})]),n("view",{staticClass:t._$s(73,"sc","name"),attrs:{_i:73}})]),n("view",{staticClass:t._$s(74,"sc","desc_box"),attrs:{_i:74}},[n("view",{staticClass:t._$s(75,"sc","flx flx_ac"),attrs:{_i:75}},[n("view",{staticClass:t._$s(76,"sc","tt"),attrs:{_i:76}},[t._v(t._$s(76,"t0-0",t._s(t.dataInfo.data_msg.waterContent)))]),n("view",{staticClass:t._$s(77,"sc","unit"),attrs:{_i:77}})]),n("view",{staticClass:t._$s(78,"sc","name"),attrs:{_i:78}})])]),n("view",{staticClass:t._$s(79,"sc","right_position postion"),attrs:{_i:79}},[n("view",{staticClass:t._$s(80,"sc","desc_box"),attrs:{_i:80}},[n("view",{staticClass:t._$s(81,"sc","flx flx_ac"),attrs:{_i:81}},[n("view",{staticClass:t._$s(82,"sc","tt"),attrs:{_i:82}},[t._v(t._$s(82,"t0-0",t._s(t.dataInfo.data_msg.fatMass)))]),n("view",{staticClass:t._$s(83,"sc","unit"),attrs:{_i:83}})]),n("view",{staticClass:t._$s(84,"sc","name"),attrs:{_i:84}})]),n("view",{staticClass:t._$s(85,"sc","desc_box"),attrs:{_i:85}},[n("view",{staticClass:t._$s(86,"sc","flx flx_ac"),attrs:{_i:86}},[n("view",{staticClass:t._$s(87,"sc","tt"),attrs:{_i:87}},[t._v(t._$s(87,"t0-0",t._s(t.dataInfo.data_msg.proteinAmount)))]),n("view",{staticClass:t._$s(88,"sc","unit"),attrs:{_i:88}})]),n("view",{staticClass:t._$s(89,"sc","name"),attrs:{_i:89}})])]),n("view",{staticClass:t._$s(90,"sc","postion center_posion"),attrs:{_i:90}},[t._v(t._$s(90,"t0-0",t._s("2"==t.dataInfo.data_msg.userInfo.gender?"\u5973":"\u7537"))+t._$s(90,"t0-1",t._s(t.dataInfo.data_msg.userInfo.weight)))]),n("view",{staticClass:t._$s(91,"sc","postion right_center"),attrs:{_i:91}},[t._v(t._$s(91,"t0-0",t._s(t.dataInfo.data_msg.userInfo.height)))])]),n("view",{staticClass:t._$s(92,"sc","radius_box"),attrs:{_i:92}},t._l(t._$s(93,"f",{forItems:t.arr}),(function(e,i,r,o){return n("view",{key:t._$s(93,"f",{forIndex:r,key:i})},[n("body_info_components",{attrs:{key_name:e,value:parseFloat(t.dataInfo.data_msg[e]),_i:"94-"+o}})],1)})),0),n("view")]),n("view")])]):t._e()])])],1)},o=[]},"5e48":function(t,e,i){"use strict";i.r(e);var n=i("2cb7"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"5fb5":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return e?"".concat(t.replace(/\/+$/,""),"/").concat(e.replace(/^\/+/,"")):t}},"61f2":function(t,e,i){"use strict";i.r(e);var n=i("868f"),r=i("ee50");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"93349ed2",null,!1,n["a"],void 0);e["default"]=s.exports},6382:function(t,e,i){var n=i("6454");t.exports=function(t,e){if(t){if("string"===typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports["default"]=t.exports},6454:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n},t.exports.__esModule=!0,t.exports["default"]=t.exports},"64a6":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tmNavBar:i("a73c").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","register"),attrs:{_i:0}},[i("tm-nav-bar",{attrs:{"left-icon":"arrow-left",title:"\u6ce8\u518c\u8d26\u53f7",width:"100%",rbgs:!1,_i:1},on:{clickLeft:t.back}}),i("view",{staticClass:t._$s(2,"sc","content"),attrs:{_i:2}},[i("view",{staticClass:t._$s(3,"sc","header"),attrs:{_i:3}},[i("image",{attrs:{src:t._$s(4,"a-src",t.logoImage),_i:4}})]),i("view",{staticClass:t._$s(5,"sc","main"),attrs:{_i:5}},[i("wInput",{attrs:{type:"text",maxlength:"11",placeholder:"\u624b\u673a\u53f7",_i:6},model:{value:t._$s(6,"v-model",t.phoneData),callback:function(e){t.phoneData=e},expression:"phoneData"}}),i("wInput",{attrs:{type:"password",maxlength:"11",placeholder:"\u767b\u5f55\u5bc6\u7801",isShowPass:!0,_i:7},model:{value:t._$s(7,"v-model",t.passData),callback:function(e){t.passData=e},expression:"passData"}}),i("view",{staticClass:t._$s(8,"sc","main-list oBorder"),attrs:{_i:8}},[i("view"),i("input",{directives:[{name:"model",rawName:"v-model",value:t.imgCode,expression:"imgCode"}],staticClass:t._$s(10,"sc","main-input"),attrs:{_i:10},domProps:{value:t._$s(10,"v-model",t.imgCode)},on:{input:function(e){e.target.composing||(t.imgCode=e.target.value)}}}),i("image",{attrs:{src:t._$s(11,"a-src",t.img64),_i:11},on:{click:function(e){return t.reset()}}})]),i("wInput",{ref:"runCode",attrs:{type:"number",maxlength:"4",placeholder:"\u77ed\u4fe1\u9a8c\u8bc1\u7801",isShowCode:!0,_i:12},on:{setCode:function(e){return t.getVerCode()}},model:{value:t._$s(12,"v-model",t.verCode),callback:function(e){t.verCode=e},expression:"verCode"}})],1),i("wButton",{staticClass:t._$s(13,"sc","wbutton"),attrs:{text:"\u6ce8 \u518c",rotate:t.isRotate,_i:13},nativeOn:{click:function(e){return t.startReg()}}}),i("view",{staticClass:t._$s(14,"sc","footer"),attrs:{_i:14}},[i("text",{staticClass:t._$s(15,"sc","cuIcon"),class:t._$s(15,"c",t.showAgree?"cuIcon-radiobox":"cuIcon-round"),attrs:{_i:15},on:{click:t.isShowAgree}}),i("navigator",{}),i("navigator",{})])],1)],1)},o=[]},"64c5":function(t,e,i){"use strict";i.r(e);var n=i("bbf1"),r=i("7788");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"7fb7d26e",null,!1,n["a"],void 0);e["default"]=s.exports},"651f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={overlay:{show:!1,zIndex:10070,duration:300,opacity:.5}}},"653f":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n(i("bd30"));var r=n(i("b5b8")),o=n(i("ab6c")),a={data:function(){return{sn:"",version:"",qrCodeMsg:"\u52a0\u8f7d\u4e2d...",qrCode:"",qrCodeVal:"",login_type:0,phoneData:"",passData:"",isRotate:!1,isFocus:!0}},onLoad:function(){var t=this.$store.getters["api/getApiToken"];t&&uni.navigateTo({url:"/pages/index/index"}),0==this.login_type&&this.getLoginCode(),this.version=this.$utils.getVersion()},components:{wInput:r.default,wButton:o.default},mounted:function(){this},methods:{back:function(){uni.navigateTo({url:"/pages/index/index"})},getLoginCode:function(){var e=this,i=this.$store.getters["api/getApiToken"];i||(t("log","\u65e0token"," at pages/login/login.vue:130"),this.$store.dispatch("api/getLoginCode").then((function(t){e.qrCode="https://ai.agrimedia.cn/qrcodeLogin/index?qrcode="+t.key,e.qrCodeVal=t.key,setTimeout((function(){e.qrCode="",e.qrCodeMsg="\u4e8c\u7ef4\u7801\u5df2\u8fc7\u671f"}),55e3),e.checkQrCode()})))},checkQrCode:function(){var t=this;this.qrCode&&setTimeout((function(){t.$store.dispatch("api/checkLoginCode",{key:t.qrCodeVal}).then((function(e){0==e.status&&t.checkQrCode(),1==e.status&&(t.$store.commit("api/setApiToken",e.token),uni.reLaunch({url:"/pages/index/index"}))}))}),1e3)},startLogin:function(t){var e=this;if(this.isRotate)return!1;""!=this.phoneData?""!=this.passData?(uni.showLoading({title:"\u767b\u5f55\u4e2d"}),this.$store.dispatch("api/dologin",{mobile:this.phoneData,password:this.passData}).then((function(t){t.token&&(e.$store.commit("api/setApiToken",t.token),uni.reLaunch({url:"/pages/index/index"}))}))):uni.showToast({icon:"none",position:"bottom",title:"\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a"}):uni.showToast({icon:"none",position:"bottom",title:"\u8d26\u53f7\u4e0d\u80fd\u4e3a\u7a7a"})}}};e.default=a}).call(this,i("f3b9")["default"])},"65fc":function(t,e,i){"use strict";i.r(e);var n=i("6d28"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"66c0":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{text:String,rotate:{type:[Boolean,String],default:!1},bgColor:{type:String,default:"linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.6))"},fontColor:{type:String,default:"#FFFFFF"}},computed:{_rotate:function(){return"false"!==String(this.rotate)}}};e.default=n},"679f":function(t,e,i){"use strict";i.r(e);var n=i("7da6"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"67ad":function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports["default"]=t.exports},6860:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","main-list oBorder"),attrs:{_i:0}},[i("input",{staticClass:t._$s(1,"sc","main-input"),attrs:{value:t._$s(1,"a-value",t.value),type:t._$s(1,"a-type",t._type),focus:t._$s(1,"a-focus",t._focus),maxlength:t._$s(1,"a-maxlength",t.maxlength),placeholder:t._$s(1,"a-placeholder",t.placeholder),password:t._$s(1,"a-password","password"===t.type&&!t.showPassword),_i:1},on:{input:function(e){return t.$emit("input",e.detail.value)},blur:function(e){return t.$emit("blur",e)},focus:function(e){return t.$emit("focus",e)},longpress:function(e){return t.$emit("longtap",e)},confirm:function(e){return t.$emit("confirm",e)},click:function(e){return t.$emit("click",e)},touchcancel:function(e){return t.$emit("touchcancel",e)},touchend:function(e){return t.$emit("touchend",e)},touchmove:function(e){return t.$emit("touchmove",e)},touchstart:function(e){return t.$emit("touchstart",e)}}}),t._$s(2,"i",t._isShowPass&&"password"===t.type&&!t._isShowCode)?i("image",{staticClass:t._$s(2,"sc","img cuIcon"),class:t._$s(2,"c",t.showPassword?"cuIcon-attention":"cuIcon-attentionforbid"),attrs:{_i:2},on:{click:t.showPass}}):t._e(),t._$s(3,"i",t._isShowCode&&!t._isShowPass)?i("view",{class:t._$s(3,"c",["vercode",{"vercode-run":t.second>0}]),attrs:{_i:3},on:{click:t.setCode}},[t._v(t._$s(3,"t0-0",t._s(t.getVerCodeSecond)))]):t._e()])},r=[]},"68de":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","uqrcode"),class:t._$s(0,"c",{"uqrcode-hide":t.hide}),style:t._$s(0,"s",{width:t.templateOptions.width+"px",height:t.templateOptions.height+"px"}),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","uqrcode-canvas-wrapper"),attrs:{_i:1}},[t._$s(2,"i",t.templateOptions.canvasDisplay)?i("canvas",{staticClass:t._$s(2,"sc","uqrcode-canvas"),style:t._$s(2,"s",{width:t.templateOptions.canvasWidth+"px",height:t.templateOptions.canvasHeight+"px",transform:t.templateOptions.canvasTransform}),attrs:{id:t._$s(2,"a-id",t.canvasId),"canvas-id":t._$s(2,"a-canvas-id",t.canvasId),type:t._$s(2,"a-type",t.canvasType),_i:2},on:{click:t.onClick}}):t._e()]),t._$s(3,"i",void 0===t.loading?t.makeing:t.loading)?i("view",{staticClass:t._$s(3,"sc","uqrcode-makeing"),attrs:{_i:3}},[t._t("loading",[i("image",{staticClass:t._$s(5,"sc","uqrcode-makeing-image"),style:t._$s(5,"s",{width:t.templateOptions.size/4+"px",height:t.templateOptions.size/4+"px"}),attrs:{_i:5}})],{_i:4})],2):t._e(),t._$s(6,"i",t.isError)?i("view",{staticClass:t._$s(6,"sc","uqrcode-error"),attrs:{_i:6},on:{click:t.onClick}},[t._t("error",[i("text",{staticClass:t._$s(8,"sc","uqrcode-error-message"),attrs:{_i:8}},[t._v(t._$s(8,"t0-0",t._s(t.error.errMsg)))])],{error:t.error,_i:7})],2):t._e()])},r=[]},6999:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("bd30")),o=(n(i("f859")),i("dcd1"));location&&location.origin;e.default=function(){var e=Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"\u4e2d\u9f0e\u4e91\u533b",VUE_APP_PLATFORM:"app-plus",BASE_URL:"/"}).bcUrl;uni.$u.http.setConfig((function(t){return e&&(t.baseURL=e),t.baseURL=o.baseUrl,t})),uni.$u.http.interceptors.request.use((function(t){t.baseURL||(t.url="/"+t.url),t.data=t.data||{};var e=r.default.getters["api/getApiToken"],i=parseInt(Date.now()/1e3)-r.default.getters["api/getServerTime"];t.header.systemType=0,t.header.ApiToken=e,t.header.timestamp=i;"GET"==t.method?t.params:t.data;var n=t.custom.hideLoading||!1;return n||uni.showLoading({mask:!0,title:"\u52a0\u8f7d\u4e2d..."}),t}),(function(t){return Promise.reject(t)})),uni.$u.http.interceptors.response.use((function(e){var i;uni.hideLoading({});var n=e.data,o=null===(i=e.config)||void 0===i?void 0:i.custom;return 200!==n.code?(401===n.code||1005===n.code||400===n.code||0===n.code?uni.showToast({mask:!0,title:n.msg,icon:"none"}):7776===n.code&&r.default.commit("api/setActiceDevice",{}),!1!==o.toast&&uni.$u.toast(n.msg),7777==n.code&&(r.default.commit("api/setApiToken",""),uni.showToast({mask:!0,title:"\u8bf7\u91cd\u65b0\u767b\u5f55",icon:"none"}),setTimeout((function(){uni.reLaunch({url:"/pages/login/login"})}),1e3)),t("log",e.config.url," at config/request.js:109"),Promise.reject(n)):void 0===n.data?{}:n.data}),(function(t){return uni.showToast({mask:!0,title:"\u7f51\u7edc\u65ad\u5f00",icon:"none"}),Promise.reject(t)}))}}).call(this,i("f3b9")["default"])},"69bc":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("af34")),o={data:function(){return{dataId:"",list:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.0648,.06720000000000001,.068,.068,.0664,.0632,.05840000000000001,.052000000000000005,.04240000000000001,.030400000000000003,.0176,.0032,-.012,-.0296,-.0488,-.06960000000000001,-.09040000000000001,-.11040000000000001,-.13040000000000002,-.1496,-.16720000000000002,-.1824,-.19360000000000002,-.20160000000000003,-.2064,-.2088,-.20800000000000002,-.20560000000000003,-.2008,-.1952,-.188,-.18080000000000002,-.1744,-.16640000000000002,-.15760000000000002,-.148,-.1376,-.128,-.1192,-.11120000000000001,-.1032,-.096,-.08960000000000001,-.08480000000000001,-.08080000000000001,-.07680000000000001,-.07200000000000001,-.0664,-.06,-.054400000000000004,-.0488,-.0432,-.0376,-.032,-.028800000000000003,-.027200000000000002,-.026400000000000003,-.027200000000000002,-.027200000000000002,-.028800000000000003,-.031200000000000002,-.033600000000000005,-.036800000000000006,-.04,-.0432,-.0456,-.049600000000000005,-.0536,-.0568,-.06,-.062400000000000004,-.064,-.0664,-.06720000000000001,-.068,-.0688,-.0688,-.0688,-.0688,-.06960000000000001,-.06960000000000001,-.06960000000000001,-.0688,-.0688,-.068,-.06720000000000001,-.0664,-.0656,-.0648,-.064,-.0632,-.062400000000000004,-.0632,-.0632,-.062400000000000004,-.0616,-.0616,-.06080000000000001,-.0592,-.057600000000000005,-.055200000000000006,-.05280000000000001,-.05040000000000001,-.048,-.0456,-.044,-.04240000000000001,-.041600000000000005,-.04240000000000001,-.044,-.046400000000000004,-.049600000000000005,-.054400000000000004,-.06,-.0664,-.07360000000000001,-.08080000000000001,-.08960000000000001,-.0984,-.108,-.1184,-.128,-.1384,-.1496,-.16080000000000003,-.17200000000000001,-.18160000000000004,-.1904,-.19760000000000003,-.20400000000000001,-.20960000000000004,-.21280000000000002,-.2144,-.21520000000000003,-.21520000000000003,-.216,-.216,-.21680000000000002,-.21760000000000002,-.22,-.22480000000000003,-.23040000000000002,-.2368,-.24560000000000004,-.2544,-.264,-.27440000000000003,-.28240000000000004,-.2888,-.2928,-.5264,-.45280000000000004,-.3448,-.2048,-.039200000000000006,.1416,.3304,.52,.7072,.8856,1.0496,1.1952,1.3136,1.4024,1.4584000000000001,1.4776000000000002,1.4544000000000001,1.3880000000000001,1.2792000000000001,1.1376000000000002,.976,.8096,.6488,.5056,.38880000000000003,.30319999999999997,.2768,.2912,.3008,.304,.3008,.2968,.2952,.2936,.2928,.2936,.2968,.30319999999999997,.31440000000000007,.32560000000000006,.33520000000000005,.34400000000000003,.352,.36,.37040000000000006,.38,.38560000000000005,.3904,.3936,.39520000000000005,.396,.39280000000000004,.38480000000000003,.3728,.3592000000000001,.34240000000000004,.32320000000000004,.30240000000000006,.27840000000000004,.25360000000000005,.2272,.2,.17200000000000001,.1448,.1184,.09280000000000001,.068,.0456,.024800000000000003,.005600000000000001,-.009600000000000001,-.024800000000000003,-.039200000000000006,-.05280000000000001,-.0648,-.0752,-.08480000000000001,-.09280000000000001,-.10160000000000001,-.10880000000000001,-.11520000000000001,-.12160000000000001,-.128,-.1336,-.1408,-.148,-.156,-.164,-.1728,-.18160000000000004,-.1904,-.19920000000000002,-.20800000000000002,-.216,-.2232,-.22960000000000003,-.2344,-.2384,-.24080000000000001,-.24160000000000004,-.24160000000000004,-.24,-.23760000000000003,-.2344,-.23040000000000002,-.22560000000000002,-.22640000000000002,-.22,-.21280000000000002,-.20560000000000003,-.19840000000000002,-.192,-.18560000000000001,-.18080000000000002,-.176,-.17120000000000002,-.168,-.1648,-.1632,-.16080000000000003,-.1584,-.156,-.15280000000000002,-.1496,-.14720000000000003,-.1448,-.1416,-.1384,-.13520000000000001,-.1328,-.1296,-.1264,-.12240000000000001,-.11760000000000001,-.11280000000000001,-.1072,-.10160000000000001,-.096,-.08960000000000001,-.08320000000000001,-.07680000000000001,-.0704,-.0648,-.0592,-.0536,-.048,-.0432,-.039200000000000006,-.0352,-.0328,-.031200000000000002,-.0296,-.030400000000000003,-.032,-.0344,-.036800000000000006,-.04,-.0432,-.047200000000000006,-.05040000000000001,-.05280000000000001,-.054400000000000004,-.055200000000000006,-.056,-.055200000000000006,-.054400000000000004,-.05280000000000001,-.05040000000000001,-.047200000000000006,-.044,-.04,-.036800000000000006,-.033600000000000005,-.0296,-.026400000000000003,-.024,-.023200000000000002,-.022400000000000003,-.023200000000000002,-.024800000000000003,-.027200000000000002,-.0296,-.0328,-.036000000000000004,-.039200000000000006,-.041600000000000005,-.0432,-.044800000000000006,-.046400000000000004,-.047200000000000006,-.048,-.047200000000000006,-.0456,-.0432,-.04,-.0352,-.028800000000000003,-.020800000000000003,-.011200000000000002,-8e-4,.009600000000000001,.0216,.0344,.047200000000000006,.0592,.0712,.0816,.09040000000000001,.09920000000000001,.10560000000000001,.11120000000000001,.1144,.116,.116,.11520000000000001,.112,.1072,.10080000000000001,.09280000000000001,.084,.07440000000000001,.064,.05280000000000001,.041600000000000005,.032,.022400000000000003,.0128,.004,-.004,-.013600000000000001,-.022400000000000003,-.032,-.044,-.0568,-.0712,-.0864,-.10160000000000001,-.116,-.1312,-.1456,-.1592,-.1704,-.38320000000000004,-.34240000000000004,-.28400000000000003,-.20960000000000004,-.1192,-.015200000000000002,.10160000000000001,.23040000000000002,.36640000000000006,.5032000000000001,.636,.7576,.8632000000000001,.9456,1,1.0232,1.0128000000000001,.9712000000000001,.9048,.8192,.7208000000000001,.6152000000000001,.5064000000000001,.3976,.2952,.2024,.12240000000000001,.057600000000000005,.008,-.0216,-.028,-.0176,-.0024000000000000002,.011200000000000002,.024,.036800000000000006,.05040000000000001,.0632,.07680000000000001,.08880000000000002,.09920000000000001,.10960000000000002,.12080000000000002,.132,.14320000000000002,.1504,.15120000000000003,.14880000000000002,.1424,.132,.11760000000000001,.0984,.07360000000000001,.046400000000000004,.019200000000000002,-.0088,-.0376,-.0688,-.10160000000000001,-.13520000000000001,-.168,-.2,-.232,-.2632,-.2936,-.32160000000000005,-.34640000000000004,-.368,-.38720000000000004,-.40320000000000006,-.4168,-.428,-.43440000000000006,-.43840000000000007,-.43920000000000003,-.4368,-.4312,-.42240000000000005,-.41120000000000007,-.39680000000000004,-.38,-.3608,-.33920000000000006,-.316,-.2912,-.264,-.23600000000000002,-.20720000000000002,-.1784,-.1496,-.12240000000000001,-.0976,-.07440000000000001,-.055200000000000006,-.038400000000000004,-.0256,-.016800000000000002,-.011200000000000002,-.008,-.008,-.0088,-.012,-.016800000000000002,-.023200000000000002,-.0296,-.036000000000000004,-.0432,-.05040000000000001,-.05840000000000001,-.0648,-.0688,-.07200000000000001,-.0728,-.0728,-.0712,-.068,-.062400000000000004,-.0568,-.05280000000000001,-.049600000000000005,-.10480000000000002,-.1,-.0952,-.09360000000000002,-.0952,-.0976,-.10160000000000001,-.1072,-.1136,-.12160000000000001,-.13040000000000002,-.14,-.1496,-.1584,-.16720000000000002,-.17520000000000002,-.1824,-.18960000000000002,-.196,-.20320000000000002,-.21120000000000003,-.2184,-.22560000000000002,-.232,-.2384,-.2424,-.244,-.24160000000000004,-.2344,-.224,-.2104,-.19360000000000002,-.17200000000000001,-.1464,-.1192,-.08960000000000001,-.06,-.028,.007200000000000001,.0456,.084,.1232,.16240000000000002,.2024,.24320000000000003,.2816,.31360000000000005,.34240000000000004,.36640000000000006,.38720000000000004,.4056,.4192000000000001,.42640000000000006,.4312,.436,.44,.44240000000000007,.44240000000000007,.43920000000000003,.43520000000000003,.4312,.42560000000000003,.4176,.40720000000000006,.39520000000000005,.3824,.36960000000000004,.3568,.34240000000000004,.32880000000000004,.31440000000000007,.3008,.28800000000000003,.276,.2632,.25120000000000003,.24,.2288,.2184,.20720000000000002,.1968,.1864,.1768,.16640000000000002,.156,.1464,.1368,.128,.1192,.11040000000000001,.10160000000000001,.09280000000000001,.08480000000000001,.0752,.0656,.055200000000000006,.0432,.032,.02,.008,-.004,-.016,-.028,-.039200000000000006,-.0488,-.05840000000000001,-.068,-.076,-.08320000000000001,-.08960000000000001,-.0952,-.1,-.10480000000000002,-.10880000000000001,-.11120000000000001,-.1136,-.11680000000000001,-.1184,-.12080000000000002,-.1232,-.12560000000000002,-.12880000000000003,-.132,-.13520000000000001,-.1384,-.1424,-.14720000000000003,-.15280000000000002,-.15760000000000002,-.1632,-.16960000000000003,-.17520000000000002,-.18080000000000002,-.1864,-.1912,-.1952,-.19920000000000002,-.2024,-.20560000000000003,-.2088,-.21120000000000003,-.2144,-.21760000000000002,-.22160000000000002,-.22480000000000003,-.228,-.23040000000000002,-.23120000000000002,-.23120000000000002,-.22960000000000003,-.22640000000000002,-.22160000000000002,-.21520000000000003,-.2064,-.19840000000000002,-.18880000000000002,-.17920000000000003,-.1688,-.15680000000000002,-.1448,-.1328,-.12080000000000002,-.108,-.096,-.08320000000000001,-.07200000000000001,-.062400000000000004,-.054400000000000004,-.047200000000000006,-.041600000000000005,-.036800000000000006,-.0328,-.030400000000000003,-.028800000000000003,-.0256,-.023200000000000002,-.02,-.016800000000000002,-.015200000000000002,-.014400000000000001,-.0128,-.012,-.012,-.0128,-.014400000000000001,-.015200000000000002,-.016,-.015200000000000002,-.0128,-.010400000000000001,-.0064,-.0016,.004,.012,.019200000000000002,.027200000000000002,.0344,.04240000000000001,.05040000000000001,.05840000000000001,.0656,.0728,.0792,.08480000000000001,.0912,.096,.09920000000000001,.10080000000000001,.10160000000000001,.10160000000000001,.10080000000000001,.09920000000000001,.096,.09360000000000002,.092,.09040000000000001,.08960000000000001,.08960000000000001,.088,.0872,.0864,.08560000000000001,.08320000000000001,.08,.076,.0712,.06720000000000001,.0632,.05840000000000001,.05280000000000001,.047200000000000006,.04240000000000001,.0376,.032,.026400000000000003,.020800000000000003,.014400000000000001,.0088,.0032,-.0016,-.007200000000000001,-.012,-.0176,-.022400000000000003,-.027200000000000002,-.032,-.036800000000000006,-.04240000000000001,-.048,-.05280000000000001,-.057600000000000005,-.062400000000000004,-.0664,-.06960000000000001,-.07200000000000001,-.0728,-.09040000000000001,-.07200000000000001,-.0512,-.028800000000000003,-.0064,.015200000000000002,.0352,.0536,.0688,.08080000000000001,.08880000000000002,.09360000000000002,.09440000000000001,.0912,.084,.07200000000000001,.056,.036800000000000006,.015200000000000002,-.007200000000000001,-.030400000000000003,-.0536,-.0752,-.09440000000000001,-.11040000000000001,-.12480000000000001,-.1376,-.1504,-.1632,-.1768,-.18960000000000002,-.2024,-.21280000000000002,-.22,-.22160000000000002,-.21520000000000003,-.19920000000000002,-.1728,-.136,-.09040000000000001,-.039200000000000006,.015200000000000002,.0704,.0976,.09680000000000001,.0952,.0952,.09680000000000001,.09920000000000001,.1024,.10640000000000001,.112,.1184,.12480000000000001,.13040000000000002,.1368,.1424,.14720000000000003,.15280000000000002,.15680000000000002,.1592,.16240000000000002,.16560000000000002,.16960000000000003,.1728,.17520000000000002,.17760000000000004,.17920000000000003,.18080000000000002,.18160000000000004,.18,.1768,.1728,.168,.1632,.15760000000000002,.15120000000000003,.1448,.13920000000000002,.13440000000000002,.1296,.12480000000000001,.1192,.11280000000000001,.10560000000000001,.0984,.09040000000000001,.0816,.07200000000000001,.0616,.0512,.0408,.030400000000000003,.02,.009600000000000001,-8e-4,-.012,-.022400000000000003,-.033600000000000005,-.044800000000000006,-.056,-.06720000000000001,-.07760000000000002,-.0864,-.096,-.10400000000000001,-.11280000000000001,-.12,-.12560000000000002,-.132,-.1376,-.14400000000000002,-.1496,-.15520000000000003,-.16,-.164,-.168,-.1704,-.1728,-.1728,-.17200000000000001,-.1704,-.168,-.164,-.1592,-.15360000000000001,-.148,-.1408,-.1336,-.1264,-.1184,-.10960000000000002,-.10160000000000001,-.09360000000000002,-.08560000000000001,-.07840000000000001,-.0704,-.064,-.057600000000000005,-.0512,-.046400000000000004,-.041600000000000005,-.036800000000000006,-.033600000000000005,-.030400000000000003,-.028,-.0256,-.024,-.022400000000000003,-.0216,-.02,-.019200000000000002,-.0176,-.016,-.015200000000000002,-.013600000000000001,-.012,-.010400000000000001,-.0088,-.007200000000000001,-.0064,-.0048000000000000004,-.0032,-.0016,0,8e-4,.0032,.005600000000000001,.008,.010400000000000001,.012,.014400000000000001,.016,.0176,.019200000000000002,.02,.020800000000000003,.020800000000000003,.0216,.0216,.0216,.022400000000000003,.022400000000000003,.022400000000000003,.023200000000000002,.024,.0256,.028,.030400000000000003,.0344,.039200000000000006,.044800000000000006,.052000000000000005,.0592,.0664,.07440000000000001,.08320000000000001,.0912,.09920000000000001,.10640000000000001,.1136,.12080000000000002,.128,.13520000000000001,.1416,.14880000000000002,.15520000000000003,.16160000000000002,.168,.1744,.18,.18480000000000002,.18880000000000002,.192,.196,.19840000000000002,.2008,.20160000000000003,.2024,.20160000000000003,.2008,.19840000000000002,.19360000000000002,.18720000000000003,.18,.1704,.16080000000000003,.1496,.1368,.124,.11120000000000001,.0984,.08560000000000001,.0728,.06080000000000001,.048,.036800000000000006,.0256,.016,.0064,-8e-4,-.0088,-.015200000000000002,-.02,-.024800000000000003,-.028,-.031200000000000002,-.0344,-.036000000000000004,-.0376,-.039200000000000006,-.04,-.041600000000000005,-.04240000000000001,-.044,-.0456,-.08320000000000001,-.0864,-.08560000000000001,-.08480000000000001,-.084,-.08320000000000001,-.0816,-.0792,-.07680000000000001,-.07440000000000001,-.0712,-.0688,-.0656,-.0632,-.06,-.057600000000000005,-.056,-.054400000000000004,-.0536,-.05280000000000001,-.05280000000000001,-.0536,-.055200000000000006,-.05840000000000001,-.062400000000000004,-.068,-.07360000000000001,-.08,-.088,-.096,-.1032,-.11120000000000001,-.1184,-.12560000000000002,-.1336,-.14,-.1464,-.152,-.15680000000000002,-.16160000000000002,-.1648,-.168,-.16960000000000003,-.17120000000000002,-.17120000000000002,-.17120000000000002,-.16960000000000003,-.1688,-.16640000000000002,-.164,-.16160000000000002,-.1584,-.156,-.15360000000000001,-.1504,-.148,-.1456,-.14320000000000002,-.1416,-.13920000000000002,-.1368,-.13440000000000002,-.1312,-.12880000000000003,-.12560000000000002,-.12240000000000001,-.1192,-.11680000000000001,-.1144,-.112,-.10960000000000002,-.1072,-.10640000000000001,-.10480000000000002,-.10400000000000001,-.10400000000000001,-.1032,-.1032,-.10400000000000001,-.10480000000000002,-.10560000000000001,-.10640000000000001,-.1072,-.108,-.108,-.10640000000000001,-.10480000000000002,-.10160000000000001,-.0976,-.09280000000000001,-.0872,-.0816,-.076,-.06960000000000001,-.064,-.057600000000000005,-.05280000000000001,-.047200000000000006,-.041600000000000005,-.036000000000000004,-.030400000000000003,-.024800000000000003,-.019200000000000002,-.014400000000000001,-.0088,-.004,0,.0032,.0064,.0088,.012,.015200000000000002,.018400000000000003,.0216,.024800000000000003,.028,.0328,.036800000000000006,.0408,.044800000000000006,.0488,.05280000000000001,.057600000000000005,.0616,.0656,.06960000000000001,.07440000000000001,.07840000000000001,.084,.08880000000000002,.09280000000000001,.0976,.1024,.1072,.11120000000000001,.11520000000000001,.11760000000000001,.12,.12240000000000001,.124,.12480000000000001,.12480000000000001,.12480000000000001,.124,.1232,.12240000000000001,.12,.11760000000000001,.11520000000000001,.112,.1072,.1032,.0976,.092,.0872,.0816,.07680000000000001,.07200000000000001,.06720000000000001,.0632,.06080000000000001,.057600000000000005,.055200000000000006,.0536,.0512,.049600000000000005,.048,.046400000000000004,.044,.04240000000000001,.04,.0376,.0352,.0328,.0296,.0256,.022400000000000003,.019200000000000002,.016800000000000002,.014400000000000001,.012,.012,.0128,.015200000000000002,.019200000000000002,.024,.030400000000000003,.038400000000000004,.047200000000000006,.057600000000000005,.068,.0792,.0912,.1032,.11520000000000001,.1272,.13920000000000002,.1504,.1592,.16720000000000002,.17360000000000003,.17920000000000003,.18320000000000003,.1864,.188,.18880000000000002,.18960000000000002,.1904,.1904,.1904,.18960000000000002,.188,.1864,.184,.1824,.18,.1768,.17360000000000003,.1704,.16640000000000002,.16240000000000002,.15760000000000002,.15120000000000003,.14400000000000002,.136,.128,.1192,.11040000000000001,.10160000000000001,.09280000000000001,.08480000000000001,.07840000000000001,.07200000000000001,.06720000000000001,.062400000000000004,.05840000000000001,.054400000000000004,.052000000000000005,.0512,.05040000000000001,.049600000000000005,.05040000000000001,.052000000000000005,.0536,.0568,.0592,.0616,.0632,.0648,.0656,.0664,.06720000000000001,.0664,.0656,.064,.0632,.055200000000000006,.05280000000000001,.05040000000000001,.047200000000000006,.0432,.039200000000000006,.0344,.0296,.023200000000000002,.016800000000000002,.010400000000000001,.0032,-.0032,-.011200000000000002,-.019200000000000002,-.028,-.036800000000000006,-.046400000000000004,-.055200000000000006,-.0648,-.07440000000000001,-.08480000000000001,-.09440000000000001,-.10400000000000001,-.1144,-.124,-.13440000000000002,-.1448,-.15520000000000003,-.16560000000000002,-.17520000000000002,-.18560000000000001,-.196,-.2064,-.216,-.22640000000000002,-.23520000000000002,-.244,-.252,-.2592,-.2656,-.2712,-.2752,-.2776,-.2792,-.27840000000000004,-.2752,-.2712,-.26480000000000004,-.25680000000000003,-.248,-.23760000000000003,-.22640000000000002,-.21520000000000003,-.20400000000000001,-.19280000000000003,-.18160000000000004,-.1704,-.16,-.1496,-.14,-.1312,-.1232,-.11680000000000001,-.11120000000000001,-.10640000000000001,-.1032,-.10080000000000001,-.10080000000000001,-.10080000000000001,-.10160000000000001,-.1032,-.10480000000000002,-.108,-.11120000000000001,-.1144,-.11760000000000001,-.12080000000000002,-.12480000000000001,-.1296,-.13520000000000001,-.14,-.1456,-.15120000000000003,-.15760000000000002,-.164,-.1704,-.1768,-.18320000000000003,-.18960000000000002,-.1968,-.2024,-.2088,-.21360000000000004,-.21920000000000003,-.224,-.228,-.23120000000000002,-.2344,-.2368,-.2384,-.23920000000000002,-.23920000000000002,-.23760000000000003,-.23520000000000002,-.232,-.228,-.22240000000000001,-.216,-.20800000000000002,-.2008,-.192,-.18320000000000003,-.17360000000000003,-.16240000000000002,-.15120000000000003,-.13920000000000002,-.1272,-.1136,-.09920000000000001,-.08480000000000001,-.06960000000000001,-.055200000000000006,-.0408,-.027200000000000002,-.013600000000000001,-.0016,.009600000000000001,.02,.0296,.04,.049600000000000005,.0592,.0688,.07760000000000002,.0872,.09680000000000001,.10640000000000001,.116,.12560000000000002,.13440000000000002,.14320000000000002,.15280000000000002,.16240000000000002,.17200000000000001,.18160000000000004,.1912,.20160000000000003,.212,.22240000000000001,.23120000000000002,.24,.248,.256,.264,.27040000000000003,.276,.2816,.2872,.292,.29760000000000003,.30160000000000003,.3048,.308,.31040000000000006,.312,.312,.312,.31040000000000006,.308,.30640000000000006,.30319999999999997,.3,.2968,.2936,.2912,.2888,.28640000000000004,.2848,.2832,.28240000000000004,.28240000000000004,.2832,.28400000000000003,.2856,.2872,.2888,.29040000000000005,.292,.2928,.2928,.292,.2912,.2888,.28640000000000004,.2832,.2792,.2752,.2696,.26480000000000004,.2592,.2528,.15680000000000002,.16080000000000003,.16160000000000002,.1592,.15280000000000002,.1424,.12880000000000003,.112,.09360000000000002,.076,.0616,.049600000000000005,.04,.033600000000000005,.028,.023200000000000002,.019200000000000002,.015200000000000002,.008,0,-.011200000000000002,-.024,-.036800000000000006,-.049600000000000005,-.062400000000000004,-.07440000000000001,-.08560000000000001,-.09440000000000001,-.1024,-.10960000000000002,-.116,-.12240000000000001,-.12880000000000003,-.136,-.1448,-.15360000000000001,-.1648,-.176,-.18720000000000003,-.19760000000000003,-.20720000000000002,-.21360000000000004,-.21680000000000002,-.216,-.212,-.20400000000000001,-.19360000000000002,-.18720000000000003,-.1864,-.18560000000000001,-.18560000000000001,-.18560000000000001,-.1864,-.1864,-.152,-.15520000000000003,-.1584,-.16080000000000003,-.1632,-.16560000000000002,-.1688,-.17120000000000002,-.17360000000000003,-.176,-.1784,-.18160000000000004,-.184,-.1864,-.188,-.18880000000000002,-.18880000000000002,-.18960000000000002,-.18960000000000002,-.18880000000000002,-.188,-.18720000000000003,-.1864,-.1864,-.1864,-.1864,-.18560000000000001,-.18560000000000001,-.1864,-.18720000000000003,-.18720000000000003,-.188,-.18880000000000002,-.18960000000000002,-.1912,-.19280000000000003,-.19440000000000002,-.196,-.19840000000000002,-.2,-.2024,-.20400000000000001,-.2064,-.20800000000000002,-.20960000000000004,-.21120000000000003,-.21280000000000002,-.2144,-.216,-.21680000000000002,-.21760000000000002,-.2184,-.2184,-.2184,-.2184,-.2184,-.2184,-.21760000000000002,-.216,-.21520000000000003,-.21280000000000002,-.21120000000000003,-.20800000000000002,-.2048,-.20160000000000003,-.19760000000000003,-.19360000000000002,-.18960000000000002,-.18560000000000001,-.18160000000000004,-.17760000000000004,-.17360000000000003,-.16960000000000003,-.16560000000000002,-.16160000000000002,-.15680000000000002,-.15120000000000003,-.1464,-.1408,-.13440000000000002,-.128,-.12160000000000001,-.11520000000000001,-.10880000000000001,-.1024,-.096,-.08960000000000001,-.08320000000000001,-.07760000000000002,-.0712,-.0656,-.0592,-.0536,-.048,-.0432,-.038400000000000004,-.0344,-.031200000000000002,-.028,-.024800000000000003,-.023200000000000002,-.022400000000000003,-.020800000000000003,-.019200000000000002,-.016800000000000002,-.015200000000000002,-.013600000000000001,-.010400000000000001,-.007200000000000001,-.0032,0,.0048000000000000004,.009600000000000001,.016,.022400000000000003,.028800000000000003,.0352,.04240000000000001,.049600000000000005,.057600000000000005,.0656,.07360000000000001,.0816,.09040000000000001,.09920000000000001,.108,.116,.124,.1312,.1384,.1456,.15120000000000003,.156,.16080000000000003,.16560000000000002,.16960000000000003,.17360000000000003,.1768,.17920000000000003,.1824,.18480000000000002,.1864,.18720000000000003,.18720000000000003,.18720000000000003,.164,.17120000000000002,.1784,.18560000000000001,.192,.19840000000000002,.20560000000000003,.2144,.22560000000000002,.2384,.25520000000000004,.2752,.29840000000000005,.32480000000000003,.352,.37920000000000004,.404,.42560000000000003,.4408,.448,.4464,.43440000000000006,.4136,.38480000000000003,.35040000000000004,.312,.27440000000000003,.24080000000000001,.21280000000000002,.192,.1784,.17200000000000001,.17200000000000001,.17360000000000003,.17520000000000002,.17200000000000001,.164,.1496,.13040000000000002,.10640000000000001,.0792,.049600000000000005,.02,-.0048000000000000004,-.026400000000000003,-.044,-.0592,-.07200000000000001,-.08320000000000001,-.092,-.1,-.108,-.11520000000000001,-.12240000000000001,-.12880000000000003,-.132,-.1336,-.13440000000000002,-.13520000000000001,-.13520000000000001,-.13520000000000001,-.136,-.1368,-.14,-.14400000000000002,-.14880000000000002,-.15360000000000001,-.15760000000000002,-.16080000000000003,-.1632,-.1648,-.16560000000000002,-.1648,-.164,-.1632,-.1632,-.1632,-.1632,-.164,-.164,-.1648,-.16560000000000002,-.16640000000000002,-.16720000000000002,-.168,-.1688,-.1704,-.17200000000000001,-.17360000000000003,-.1744,-.176,-.17760000000000004,-.1784,-.17920000000000003,-.18,-.18,-.18,-.18,-.17920000000000003,-.1784,-.1768,-.1744,-.17200000000000001,-.1688,-.16560000000000002,-.16160000000000002,-.15760000000000002,-.15280000000000002,-.148,-.14320000000000002,-.1376,-.1272,-.1232,-.1184,-.1144,-.11040000000000001,-.10640000000000001,-.1024,-.09920000000000001,-.096,-.09280000000000001,-.08960000000000001,-.0872,-.06,-.0568,-.05280000000000001,-.046400000000000004,-.038400000000000004,-.028,-.016,-.0032,.009600000000000001,.023200000000000002,.036800000000000006,.0488,.0592,.06720000000000001,.07200000000000001,.0728,.0704,.062400000000000004,.05040000000000001,.033600000000000005,.0128,-.009600000000000001,-.0344,-.057600000000000005,-.07840000000000001,-.096,-.108,-.11520000000000001,-.116,-.11280000000000001,-.1072,-.1,-.0952,-.092,-.0912,-.092,-.09360000000000002,-.0952,-.096,-.09680000000000001,-.096,-.096,-.096,-.096,-.0952,-.0952,-.09360000000000002,-.092,-.0912,-.08960000000000001,-.0864,-.08320000000000001,-.0792,-.0752,-.0712,-.0664,-.0616,-.056,-.0512,-.0456,-.0408,-.036000000000000004,-.031200000000000002,-.0256,-.0216,-.016800000000000002,-.0128,-.009600000000000001,-.005600000000000001,-.0024000000000000002,0,.0016,.004,.005600000000000001,.007200000000000001,.009600000000000001,.012,.014400000000000001,.016800000000000002,.020800000000000003,.024800000000000003,.0296,.036000000000000004,.04240000000000001,.049600000000000005,.05840000000000001,.0664,.076,.08480000000000001,.09360000000000002,.1024,.11120000000000001,.1184,.1264,.1336,.1408,.14720000000000003,.15360000000000001,.1584,.16240000000000002,.16560000000000002,.168,.168,.16640000000000002,.1632,.1584,.152,.1448,.13520000000000001,.12480000000000001,.11280000000000001,.1,.0872,.07440000000000001,.0592,.044,.028800000000000003,.013600000000000001,0,-.015200000000000002,-.0296,-.0432,-.054400000000000004,-.0648,-.07360000000000001,-.08080000000000001,-.0872,-.092,-.0952,-.0976,-.1,-.10160000000000001,-.1032,-.10400000000000001,-.1032,-.1024,-.10160000000000001,-.1,-.0984,-.0952,-.092,-.088,-.084,-.08,-.0752,-.0704,-.0648,-.06,-.055200000000000006,-.05040000000000001,-.0456,-.041600000000000005,-.038400000000000004,-.0352,-.033600000000000005,-.032,-.031200000000000002,-.031200000000000002,-.032,-.032,-.0328,-.0344,-.0352,-.036800000000000006,-.038400000000000004,-.039200000000000006,-.039200000000000006,-.04,-.0408,-.04,-.038400000000000004,-.036000000000000004,-.033600000000000005,-.0296,-.0256,-.020800000000000003,-.015200000000000002,-.009600000000000001,-.0032,.0016,.0088,.016,.024,.033600000000000005,.044800000000000006,.0568,.0712,.0864,.10400000000000001,.12160000000000001,.14,.1584,.176,.19360000000000002,.2104,.22640000000000002,.24080000000000001,.2544,.2664,.2768,.28640000000000004,.2936,.29760000000000003,.2992,.2992,.29760000000000003,.2936,.2872,.27840000000000004,.26880000000000004,.26,.24960000000000002,.23920000000000002,.2288,.21680000000000002,.2048,.19360000000000002,.18160000000000004,.1688,.15520000000000003,.1416,.1272,.1136,.1,.08560000000000001,.07200000000000001,.057600000000000005,.0432,.030400000000000003,.016800000000000002,.004,-.008,-.02,-.031200000000000002,-.04240000000000001,-.052000000000000005,-.06080000000000001,-.06960000000000001,-.07760000000000002,-.08480000000000001,-.092,-.09920000000000001,-.10560000000000001,-.11120000000000001,-.1144,-.1192,-.124,-.128,-.13040000000000002,-.1328,-.13520000000000001,-.1368,-.1376,-.1376,-.1384,-.1384,-.13920000000000002,-.13920000000000002,-.13920000000000002,-.1384,-.1384,-.1384,-.1384,-.13920000000000002,-.13920000000000002,-.14,-.1424,-.1456,-.1496,-.15360000000000001,-.15760000000000002,-.16240000000000002,-.16720000000000002,-.17120000000000002,-.17520000000000002,-.17760000000000004,-.17920000000000003,-.18,-.18160000000000004,-.1824,-.1824,-.1824,-.1824,-.1824,-.1824,-.18160000000000004,-.18,-.17760000000000004,-.17360000000000003,-.16960000000000003,-.16560000000000002,-.16,-.1544,-.148,-.1408,-.13440000000000002,-.12880000000000003,-.12240000000000001,-.11520000000000001,-.108,-.10160000000000001,-.09440000000000001,-.0872,-.08,-.0712,-.0632,-.056,-.0488,-.0408,-.033600000000000005,-.026400000000000003,-.018400000000000003,-.012,-.0048000000000000004,.0024000000000000002,.011200000000000002,.019200000000000002,.028,.036000000000000004,.044,.05280000000000001,.06,.06720000000000001,.0728,.07760000000000002,.0824,.0872,.092,.0952,.09920000000000001,.1032,.1072,.112,.116,.1192,.12240000000000001,.12480000000000001,.1264,.128,.128,.1272,.1264,.12560000000000002,.124,.12240000000000001,.12,.11760000000000001,.1144,.11120000000000001,.108,.10480000000000002,.10080000000000001,.096,.092,.0872,.08320000000000001,.0792,.0752,.06960000000000001,.0648,.0592,.05280000000000001,.0456,.0376,.028800000000000003,.02,.010400000000000001,8e-4,-.008,-.0176,-.026400000000000003,-.0352,-.04240000000000001,-.0488,-.056,-.0616,-.06720000000000001,-.07200000000000001,-.076,-.08,-.08320000000000001,-.08560000000000001,-.088,-.08960000000000001,-.09040000000000001,-.0912,-.092,-.09360000000000002,-.09360000000000002,-.11040000000000001,-.10400000000000001,-.0952,-.084,-.0704,-.0536,-.033600000000000005,-.009600000000000001,.016,.0432,.0704,.096,.1192,.1384,.15280000000000002,.16240000000000002,.16640000000000002,.16640000000000002,.1632,.15760000000000002,.1504,.1416,.1312,.1192,.1072,.0952,.0824,.06960000000000001,.05840000000000001,.048,.0408,.038400000000000004,.04,.0408,.041600000000000005,.041600000000000005,.04240000000000001,.04240000000000001,.0432,.0432,.0432,.0432,.044,.044,.044800000000000006,.044,.0432,.04240000000000001,.041600000000000005,.0408,.04,.039200000000000006,.039200000000000006,.039200000000000006,.039200000000000006,.0408,.041600000000000005,.044,.0456,.048,.0512,.055200000000000006,.0592,.0632,.068,.07200000000000001,.076,.08,.08320000000000001,.08560000000000001,.0864,.0864,.08560000000000001,.084,.0824,.08080000000000001,.07760000000000002,.0752,.0728,.0704,.06720000000000001,.0648,.06080000000000001,.057600000000000005,.0536,.049600000000000005,.046400000000000004,.04240000000000001,.0376,.033600000000000005,.028800000000000003,.024,.018400000000000003,.012,.0048000000000000004,-.0024000000000000002,-.011200000000000002,-.02,-.028800000000000003,-.038400000000000004,-.048,-.056,-.064,-.0704,-.07680000000000001,-.0824,-.0872,-.09040000000000001,-.09360000000000002,-.0952,-.096,-.0976,-.09680000000000001,-.0952,-.09360000000000002,-.0912,-.08960000000000001,-.088,-.0864,-.08560000000000001,-.08480000000000001,-.08480000000000001,-.08480000000000001,-.08560000000000001,-.0864,-.088,-.08960000000000001,-.0912,-.09280000000000001,-.0952,-.09920000000000001,-.1024,-.10640000000000001,-.11040000000000001,-.1144,-.1184,-.12240000000000001,-.12560000000000002,-.12880000000000003,-.13040000000000002,-.132,-.18,-.16160000000000002,-.1368,-.10560000000000001,-.06960000000000001,-.031200000000000002,.0088,.049600000000000005,.08960000000000001,.12880000000000003,.16560000000000002,.2,.2288,.25120000000000003,.268,.276,.2768,.26880000000000004,.252,.22960000000000003,.20320000000000002,.17760000000000004,.15360000000000001,.13440000000000002,.1272,.1296,.1328,.13440000000000002,.13520000000000001,.13440000000000002,.1328,.13040000000000002,.12880000000000003,.1264,.1232,.12080000000000002,.11760000000000001,.1144,.11120000000000001,.108,.1032,.0984,.092,.0864,.08080000000000001,.0752,.0688,.0632,.05840000000000001,.054400000000000004,.052000000000000005,.049600000000000005,.047200000000000006,.044800000000000006,.044,.0432,.0432,.0432,.0432,.044800000000000006,.046400000000000004,.0488,.0512,.054400000000000004,.057600000000000005,.06,.0632,.0664,.0688,.0704,.0712,.07200000000000001,.0712,.0704,.0688,.0656,.062400000000000004,.05840000000000001,.054400000000000004,.049600000000000005,.044800000000000006,.039200000000000006,.0344,.0296,.0256,.0216,.018400000000000003,.016800000000000002,.016,.016800000000000002,.018400000000000003,.0216,.0256,.0296,.0352,.0408,.046400000000000004,.0512,.0568,.0616,.06720000000000001,.0728,.07840000000000001,.08320000000000001,.08880000000000002,.09360000000000002,.0984,.1024,.10640000000000001,.10880000000000001,.11040000000000001,.112,.11280000000000001,.11280000000000001,.11280000000000001,.11120000000000001,.10880000000000001,.10560000000000001,.10160000000000001,.09680000000000001,.09040000000000001,.08320000000000001,.0752,.06720000000000001,.05840000000000001,.05040000000000001,.04240000000000001,.0352,.028800000000000003,.024,.02,.016800000000000002,.013600000000000001,.011200000000000002,.008,.005600000000000001,.0032,0,-.004,-.0088,-.013600000000000001,-.018400000000000003,-.024,-.030400000000000003,-.038400000000000004,-.048,-.057600000000000005,-.068,-.08,-.092,-.10560000000000001,-.1192,-.132,-.14400000000000002,-.15520000000000003,-.16640000000000002,-.17760000000000004,-.188,-.1968,-.20560000000000003,-.2144,-.22240000000000001,-.23120000000000002,-.23920000000000002,-.2464,-.25360000000000005,-.26080000000000003,-.268,-.2752,-.2816,-.28800000000000003,-.29440000000000005,-.3,-.30640000000000006,-.31120000000000003,-.31520000000000004,-.3184,-.32080000000000003,-.32160000000000005,-.32080000000000003,-.3184,-.31440000000000007,-.3088,-.3,-.29040000000000005,-.2776,-.2632,-.248,-.23120000000000002,-.21360000000000004,-.1952,-.1768,-.1592,-.1424,-.1264,-.112,-.0976,-.08480000000000001,-.0728,-.0616,-.052000000000000005,-.0432,-.0344,-.027200000000000002,-.020800000000000003,-.015200000000000002,-.010400000000000001,-.0064,-8e-4,.004,.009600000000000001,.015200000000000002,.020800000000000003,.027200000000000002,.033600000000000005,.04,.046400000000000004,.0512,.056,.06080000000000001,.0664,.07200000000000001,.07760000000000002,.084,.09040000000000001,.0976,.10160000000000001,.10960000000000002,.11680000000000001,.124,.13040000000000002,.1368,.14320000000000002,.14880000000000002,.15360000000000001,.1584,.16240000000000002,.16560000000000002,.168,.1704,.1704,.16960000000000003,.168,.16560000000000002,.16240000000000002,.1584,.15360000000000001,.148,.1424,.1368,.1312,.12560000000000002,.12,.1144,.10960000000000002,.10480000000000002,.1,.0952,.09040000000000001,.08560000000000001,.0816,.07760000000000002,.07360000000000001,.0704,.06720000000000001,.064,.0616,.06,.057600000000000005,.056,.055200000000000006,.054400000000000004,.0536,.0536,.0536,.0536,.0536,.0536,.0536,.0536,.0536,.0536,.05280000000000001,.0536,.054400000000000004,.056,.05840000000000001,.055200000000000006,.0752,.1024,.136,.17360000000000003,.21120000000000003,.24560000000000004,.27280000000000004,.2896,.2968,.2928,.27840000000000004,.25680000000000003,.2288,.2,.17200000000000001,.14880000000000002,.12880000000000003,.1136,.1032,.0952,.0912,.088,.08320000000000001,.07840000000000001,.0728,.068,.0656,.0648,.0656,.0656,.0664,.06720000000000001,.068,.06720000000000001,.0664,.0656,.0648,.064,.0632,.0616,.0592,.056,.0536,.05040000000000001,.046400000000000004,.041600000000000005,.036800000000000006,.032,.027200000000000002,.022400000000000003,.0176,.012,.007200000000000001,.0016,-.004,-.009600000000000001,-.015200000000000002,-.0216,-.028800000000000003,-.0352,-.041600000000000005,-.0488,-.055200000000000006,-.0616,-.0688,-.07680000000000001,-.08480000000000001,-.09280000000000001,-.10160000000000001,-.11040000000000001,-.12080000000000002,-.1312,-.1416,-.152,-.1632,-.17360000000000003,-.18480000000000002,-.1952,-.2048,-.21360000000000004,-.22240000000000001,-.23040000000000002,-.23760000000000003,-.244,-.24960000000000002,-.25520000000000004,-.26080000000000003,-.2656,-.2696,-.27280000000000004,-.276,-.27840000000000004,-.2792,-.28,-.27840000000000004,-.2776,-.276,-.2736,-.272,-.27040000000000003,-.2696,-.26880000000000004,-.27040000000000003,-.27280000000000004,-.2752,-.27840000000000004,-.2816,-.2848,-.28800000000000003,-.2888,-.2872,-.2832,-.27840000000000004,-.27040000000000003,-.26,-.24720000000000003,-.23120000000000002,-.21280000000000002,-.19360000000000002,-.17120000000000002,-.1448,-.116,-.08560000000000001,-.0536,-.020800000000000003,.012,.046400000000000004,.07840000000000001,.1072,.1328,.1544,.1744,.192,.20560000000000003,.216,.224,.23120000000000002,.23760000000000003,.24320000000000003,.2464,.2464,.24480000000000002,.24320000000000003,.23920000000000002,.23520000000000002,.22960000000000003,.22160000000000002,.2144,.20720000000000002,.2,.19280000000000003,.18560000000000001,.1768,.1688,.16080000000000003,.15280000000000002,.1456,.1384,.1312,.12480000000000001,.12,.11520000000000001,.112,.10880000000000001,.10640000000000001,.10480000000000002,.1032,.1024,.1024,.1032,.10400000000000001,.10480000000000002,.10640000000000001,.108,.10960000000000002,.11120000000000001,.11280000000000001,.1144,.11520000000000001,.11520000000000001,.11520000000000001,.1144,.11280000000000001,.11040000000000001,.1072,.10400000000000001,.1,.096,.09040000000000001,.08560000000000001,.08,.07440000000000001,.068,.062400000000000004,.054400000000000004,.0488,.0432,.039200000000000006,.0344,.030400000000000003,.027200000000000002,.024800000000000003,.023200000000000002,.0216,.020800000000000003,.02,.02,.020800000000000003,.020800000000000003,.0216,.0216,.0216,.022400000000000003,.022400000000000003,.023200000000000002,.023200000000000002,.023200000000000002,.024,.024,.024,.024,.024,.023200000000000002,.022400000000000003,.0216,.020800000000000003,.019200000000000002,.018400000000000003,.016,.014400000000000001,.011200000000000002,.008,.0048000000000000004,0,-.004,-.009600000000000001,-.015200000000000002,-.0216,-.028800000000000003,-.0352,-.04240000000000001,-.049600000000000005,-.0568,-.0632,-.06960000000000001,-.076,-.0816,-.0864,-.08960000000000001,-.09280000000000001,-.0952,-.0976,-.1,-.1032,-.10640000000000001,-.11040000000000001,-.11520000000000001,-.12080000000000002,-.128,-.136,-.14400000000000002,-.15280000000000002,-.16160000000000002,-.1704,-.17920000000000003,-.188,-.196,-.20320000000000002,-.2104,-.21680000000000002,-.22240000000000001,-.22640000000000002,-.228,-.2272,-.22480000000000003,-.22,-.21360000000000004,-.2048,-.19360000000000002,-.18160000000000004,-.1688,-.15520000000000003,-.1408,-.1264,-.11040000000000001,-.09440000000000001,-.07840000000000001,-.062400000000000004,-.0456,-.0296,-.0128,.0024000000000000002,.0176,.031200000000000002,.044800000000000006,.057600000000000005,.06960000000000001,.08,.08960000000000001,.0976,.10560000000000001,.11280000000000001,.1184,.1232,.1272,.1312,.13440000000000002,.1376,.1408,.1448,.14880000000000002,.17200000000000001,.1864,.2048,.22640000000000002,.24880000000000002,.27040000000000003,.28800000000000003,.2992,.30240000000000006,.29760000000000003,.2832,.26160000000000005,.23360000000000003,.2024,.16960000000000003,.14,.1144,.09360000000000002,.07840000000000001,.068,.0616,.0592,.0568,.0536,.047200000000000006,.04,.031200000000000002,.022400000000000003,.0128,.004,-.004,-.0088,-.012,-.013600000000000001,-.014400000000000001,-.015200000000000002,-.016800000000000002,-.018400000000000003,-.02,-.022400000000000003,-.026400000000000003,-.031200000000000002,-.036800000000000006,-.041600000000000005,-.047200000000000006,-.0536,-.06080000000000001,-.06960000000000001,-.0792,-.08880000000000002,-.1,-.112,-.12480000000000001,-.1368,-.1496,-.16080000000000003,-.17120000000000002,-.18080000000000002,-.18880000000000002,-.1952,-.2,-.2024,-.20400000000000001,-.20400000000000001,-.20320000000000002,-.2,-.1968,-.19280000000000003,-.188,-.1824,-.176,-.16960000000000003,-.1632,-.156,-.1496,-.14320000000000002,-.136,-.128,-.1192,-.10880000000000001,-.09680000000000001,-.0824,-.06720000000000001,-.05040000000000001,-.0328,-.016,-.0016,.0088,.016,.02,.018400000000000003,.013600000000000001,.005600000000000001,-.0032,-.014400000000000001,-.024,-.032,-.039200000000000006,-.044,-.0488,-.05280000000000001,-.057600000000000005,-.064,-.07360000000000001,-.0872,-.1032,-.12160000000000001,-.1416,-.16080000000000003,-.1784,-.192,-.196,-.19280000000000003,-.18880000000000002,-.18560000000000001,-.18080000000000002,-.1768,-.17120000000000002,-.16560000000000002,-.1592,-.152,-.14400000000000002,-.13520000000000001,-.12480000000000001,-.1144,-.1032,-.0912,-.0792,-.0664,-.055200000000000006,-.0432,-.0328,-.0216,-.011200000000000002,-8e-4,.007200000000000001,.016800000000000002,.026400000000000003,.036000000000000004,.168,.17760000000000004,.18720000000000003,.19760000000000003,.20800000000000002,.21760000000000002,.2272,.2344,.23920000000000002,.24160000000000004,.24160000000000004,.23920000000000002,.23360000000000003,.22640000000000002,.21680000000000002,.2048,.1904,.1768,.1632,.152,.148,.1496,.15120000000000003,.15360000000000001,.156,.15760000000000002,.1592,.16,.16,.1592,.1584,.15680000000000002,.1544,.15120000000000003,.14720000000000003,.1424,.1376,.1312,.1232,.1136,.10400000000000001,.09280000000000001,.08080000000000001,.068,.054400000000000004,.0408,.028800000000000003,.016800000000000002,.005600000000000001,-.004,-.014400000000000001,-.022400000000000003,-.0296,-.0352,-.04,-.0432,-.044800000000000006,-.0456,-.044800000000000006,-.04240000000000001,-.039200000000000006,-.0352,-.030400000000000003,-.024800000000000003,-.018400000000000003,-.0128,-.007200000000000001,-.0016,.0032,.007200000000000001,.010400000000000001,.0128,.014400000000000001,.015200000000000002,.014400000000000001,.013600000000000001,.012,.010400000000000001,.008,.005600000000000001,.004,.0024000000000000002,0,-8e-4,-.0024000000000000002,-.0032,-.0032,-.004,-.004,-.0032,-.0024000000000000002,-.0016,-8e-4,0,0,-8e-4,-.0016,-.0024000000000000002,-.0032,-.0048000000000000004,-.0064,-.007200000000000001,-.0088,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.010400000000000001,-.010400000000000001,-.011200000000000002,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.009600000000000001,-.008,-.007200000000000001,-.0048000000000000004,-.0032,-8e-4,8e-4,.0024000000000000002,.004,.005600000000000001,.007200000000000001,.0088,.0088,.009600000000000001,.010400000000000001,.010400000000000001,.011200000000000002,.011200000000000002,.010400000000000001,.010400000000000001,.009600000000000001,.0088,.008,.0064,.0048000000000000004,.0024000000000000002,8e-4,-8e-4,-.0032,-.005600000000000001,-.0088,-.011200000000000002,-.014400000000000001,-.016800000000000002,-.02,-.023200000000000002,-.026400000000000003,-.0296,-.0328,-.036800000000000006,-.04,-.044,-.048,-.052000000000000005,-.056,-.06,-.064,-.068,-.0712,-.0752,-.07840000000000001,-.0824,-.0864,-.08960000000000001,-.09360000000000002,-.0984,-.1024,-.1072,-.112,-.11680000000000001,-.12080000000000002,-.12560000000000002,-.13040000000000002,-.13520000000000001,-.14,-.14400000000000002,-.14880000000000002,-.15280000000000002,-.15760000000000002,-.16160000000000002,-.16560000000000002,-.1688,-.17120000000000002,-.17360000000000003,-.17520000000000002,-.176,-.17520000000000002,-.17360000000000003,-.17120000000000002,-.16720000000000002,-.1632,-.15760000000000002,-.15120000000000003,-.1448,-.1376,-.13040000000000002,-.1232,-.11520000000000001,-.108,-.1,-.09280000000000001,-.08480000000000001,-.07680000000000001,-.0688,-.0616,-.054400000000000004,-.048,-.041600000000000005,-.0352,-.0296,-.024,-.019200000000000002,-.0128,-.007200000000000001,-.0016,.0032,.008,.0128,.0176,.0216,.024800000000000003,.026400000000000003,.027200000000000002,.028,.028,.027200000000000002,.0256,.024,.0216,.019200000000000002,.0176,.014400000000000001,.011200000000000002,.008,.004,0,-.0024000000000000002,-.0064,-.010400000000000001,-.014400000000000001,-.0176,-.02,-.022400000000000003,-.024800000000000003,-.026400000000000003,-.028,-.028800000000000003,-.028800000000000003,-.028,-.026400000000000003,-.024,-.020800000000000003,-.016,-.011200000000000002,-1.0568,-1.0568,-1.052,-1.052,-1.0592000000000001,-1.052,-1.0544,-1.052,-1.0592000000000001,-1.052,-1.052,-1.06,-1.0552000000000001,-1.052,-1.052,-1.0544,-.984,-1.0056,-.9664000000000001,-.9512,-.9392,-.9104000000000001,-.8632000000000001,-.8184000000000001,-.7744000000000001,-.736,-.6584000000000001,-.6248000000000001,-.5384,-.4848,-.42,-.352,-.2664,-.21120000000000003,-.12560000000000002,-.036800000000000006,.0352,.1264,.1952,.2768,.384,.44960000000000006,.5576,.6352000000000001,.7224000000000002,.7488000000000001,.7976000000000001,.8792000000000001,.9184000000000001,.9848000000000001,1.0016,1.0704,1.0672000000000001,1.0512000000000001,1.072,1.0872000000000002,1.0248,1.0432000000000001,.9904000000000001,.9536,.9176000000000001,.864,.8416,.7496,.7064000000000001,.6456000000000001,.5792,.5096,.45120000000000005,.3568,.2928,.21280000000000002,.11760000000000001,.055200000000000006,.0024000000000000002,-.05840000000000001,-.1328,-.2048,-.2816,-.3336,-.3904,-.4504,-.49440000000000006,-.536,-.5744,-.6248000000000001,-.6496000000000001,-.6816,-.7136,-.7456,-.7632000000000001,-.7864000000000001,-.8152,-.8304000000000001,-.8456,-.8624,-.8856,-.8896000000000001,-.9096000000000001,-.9168000000000001,-.9352,-.9376,-.9472,-.9632000000000001,-.9664000000000001,-.9712000000000001,-.9776,-.992,-.9904000000000001,-.9976,-.9952000000000001,-1.0168000000000001,-1.0088000000000001,-1.012,-1.0176,-1.0264000000000002,-1.4976000000000003,-.7752000000000001,-.8304000000000001,-.2624,.2992,.8472000000000001,1.3896000000000002,1.972,2.5248000000000004,3.0528000000000004,3.6008000000000004,4.177600000000001,4.1432,3.5352000000000006,2.8536000000000006,2.2256,1.564,.9512,.264,-.3528,-1.0144000000000002,-1.6672,-2.3144,-1.0544,-1.0496,-1.0544,-1.0544,-1.0544,-1.0592000000000001,-1.0544,-1.0544,-1.0648,-1.0592000000000001,-1.0448,-1.0544,-1.0592000000000001,-1.0496,-1.0448,-1.0648,-1.0592000000000001,-1.0512000000000001,-1.0688,-1.06,-1.0512000000000001,-1.056,-1.0688,-1.0504000000000002,-1.0568,-.9864000000000002,-1.008,-.9688000000000001,-.9536,-.9408000000000001,-.912,-.8648000000000001,-.8200000000000001,-.7752000000000001,-.7376,-.66,-.6256,-.5392,-.48560000000000003,-.4208,-.3528,-.2672,-.212,-.1264,-.0376,.0344,.1264,.1952,.2768,.384,.44880000000000003,.5576,.6352000000000001,.7224000000000002,.748,.7976000000000001,.8792000000000001,.9184000000000001,.984,1.0016,1.0704,1.0672000000000001,1.0504000000000002,1.072,1.0872000000000002,1.0248,1.0432000000000001,.9904000000000001,.9536,.9176000000000001,.864,.8416,.7496,.7064000000000001,.6448,.5792,.5096,.45120000000000005,.3568,.2928,.21280000000000002,.11760000000000001,.055200000000000006,.010400000000000001,-.06,-.1368,-.20320000000000002,-.2696,-.3416,-.388,-.44,-.49040000000000006,-.5376000000000001,-.5728000000000001,-.6128000000000001,-.6448,-.684,-.7088000000000001,-.7328000000000001,-.7632000000000001,-.7864000000000001,-.8024000000000001,-.8192,-.8472000000000001,-.8592000000000001,-.8712000000000001,-.8856,-.9088,-.9104000000000001,-.9184000000000001,-.9416,-.9440000000000001,-.9472,-.96,-.9728000000000001,-.9696,-.98,-2.2904,-2.2960000000000003,-2.3000000000000003,-2.3064,-2.3232000000000004,-2.3192000000000004,-2.324,-2.336,-2.336,-2.3376,-2.3392000000000004,-2.3552000000000004,-2.3488,-2.3512000000000004,-2.356,-2.364,-2.3592000000000004,-2.8488,-2.1192,-2.1856,-1.6112000000000002,-1.0648,-.5328,.016800000000000002,.5816,1.0856000000000001,1.6696000000000002,2.1968,2.7664,2.724,2.1632000000000002,1.5552000000000001,.9752000000000001,.38160000000000005,-.2064,-.8104000000000001,-1.3712,-1.9888000000000001,-2.54,-3.1288,-3.7184000000000004,-2.3936,-2.3888000000000003,-2.3888000000000003,-2.392,-2.3872000000000004,-2.392,-2.3848000000000003,-2.3944,-2.3904,-2.3848000000000003,-2.3944,-2.3904,-2.3904,-2.3856,-2.3952000000000004,-2.3904,-2.388,-2.388,-2.3976,-2.3856,-2.388,-2.3928000000000003,-2.388,-2.3336,-2.32,-2.3256,-2.3040000000000003,-2.2624,-2.2520000000000002,-2.208,-2.1696,-2.132,-2.0968000000000004,-2.0216000000000003,-1.9584000000000001,-1.92,-1.8496000000000001,-1.8,-1.7168000000000003,-1.6752,-1.5872000000000002,-1.5056000000000003,-1.4344000000000001,-1.3672,-1.2976,-1.22,-1.1208,-1.052,-.9808000000000001,-.892,-.8064000000000001,-.7152000000000001,-.6992,-.6608,-.5848000000000001,-.536,-.47440000000000004,-.4576,-.40800000000000003,-.39280000000000004,-.3904,-.404,-.38320000000000004,-.39520000000000005,-.4368,-.45840000000000003,-.48240000000000005,-.5112000000000001,-.5496000000000001,-.6136,-.6456000000000001,-.7216,-.7568000000000001,-.8048000000000001,-.8904000000000001,-.9512,-1.0176,-1.0824,-1.1408,-1.2176000000000002,-1.312,-1.3816000000000002,-1.4072,-1.48,-1.544,-1.6104,-1.6736000000000002,-1.736,-1.7808000000000002,-1.8232000000000002,-1.8848000000000003,-1.9136000000000002,-1.948,-1.9896000000000003,-2.0248000000000004,-2.0416000000000003,-2.0776,-2.1,-2.128,-2.1368,-2.1656,-2.1864000000000003,-2.1904000000000003,-2.2176,-2.2248,-2.24,-2.2544,-2.2608,-2.2680000000000002,-2.2864,-2.2928,-2.2952000000000004,-2.3048,-2.3144,-2.3184,-2.3168,-2.3384,-2.332,-2.3312000000000004,-2.3416,-2.356,-2.3424,-2.3488,-2.3648000000000002,-2.3528000000000002,-2.3576,-2.3648000000000002,-2.8504,-2.12,-2.1856,-1.6112000000000002,-1.0648,-.5328,.016800000000000002,.5816,1.0856000000000001,1.6696000000000002,2.1968,2.7664,2.724,2.1632000000000002,1.5552000000000001,.9752000000000001,.38160000000000005,-.2064,-.8104000000000001,-1.3712,-1.9888000000000001,-2.54,-3.1288,-3.7184000000000004,-2.384,-2.3792000000000004,-2.3888000000000003,-2.384,-2.3816,-2.3944,-2.38,-2.3824,-2.3824,-2.3904,-2.3832000000000004,-2.3848000000000003,-2.3824,-2.3896,-2.3832000000000004,-2.3824,-2.3896,-2.3856,-2.3824,-2.3824,-2.3904,-2.3832000000000004,-2.3848000000000003,-2.3288,-2.3152000000000004,-2.3216,-2.3000000000000003,-2.2592000000000003,-2.2488,-2.2048,-2.1664000000000003,-2.1296,-2.0944000000000003,-2.0192,-1.956,-1.9184,-1.848,-1.7984000000000002,-1.7152,-1.6736000000000002,-1.5864,-1.504,-1.4336000000000002,-1.3656000000000001,-1.2968000000000002,-1.2192,-1.12,-1.0512000000000001,.124,-.7288000000000001,-.592,-.36640000000000006,-.2184,-.05840000000000001,.13040000000000002,.28240000000000004,.44,.5448000000000001,.6752,.7648,.8368000000000001,.8864000000000001,.9656,1.008,1.3536000000000001,1.4192,1.4392,1.4824000000000002,1.5088000000000001,1.5112,1.5168000000000001,1.5184000000000002,1.5088000000000001,1.4928000000000001,1.4664000000000001,1.44,1.4056000000000002,1.3944,1.3192000000000002,1.2856,1.2536000000000003,1.1888,1.1464,1.0816000000000001,1.0352000000000001,.9464000000000001,.9168000000000001,.8344000000000001,.7768,.6928000000000001,.6336,.5632,.5048,.44720000000000004,.39680000000000004,.324,.2656,.2104,.15680000000000002,.10080000000000001,.062400000000000004,.018400000000000003,-.016800000000000002,-.0592,-.08480000000000001,-.11680000000000001,-.14720000000000003,-.1704,-.1912,-.21280000000000002,-.24,-.252,-.27040000000000003,-.28400000000000003,-.30560000000000004,-.31440000000000007,-.32080000000000003,-.3416,-.35040000000000004,-.3528,-.364,-.37920000000000004,-.38,-.38880000000000003,-.39280000000000004,-.40800000000000003,-.4016,-.40800000000000003,-.4232000000000001,-.41840000000000005,-.42160000000000003,-.4272000000000001,-.43360000000000004,-.432,-.43920000000000003,-.43760000000000004,-.444,-.44160000000000005,-.4464,-.44560000000000005,-.4544,-.45120000000000005,-.44720000000000004,-.45840000000000003,-.45520000000000005,-.456,-.8552000000000001,-.04240000000000001,.5456000000000001,1.3952,2.2408,3.0728000000000004,3.9368000000000003,4.800800000000001,4.7776000000000005,3.8872000000000004,2.9368000000000003,2.0104,1.0968,.1464,-.35120000000000007,-.42160000000000003,.6352000000000001,-.0088,-.096,-.1376,-.15760000000000002,-.184,-.2048,-.23040000000000002,-.24720000000000003,-.2624,-.27840000000000004,-.30319999999999997,-.30720000000000003,-.31920000000000004,-.33840000000000003,-.3456,-.3528,-.3592000000000001,-.38,-.37840000000000007,-.38560000000000005,-.34320000000000006,-.33440000000000003,-.35840000000000005,-.3304,-.3184,-.28240000000000004,-.28,-.23600000000000002,-.19280000000000003,-.17520000000000002,-.10640000000000001,-.0728,-.033600000000000005,.027200000000000002,.0824,.13920000000000002,.19760000000000003,.276,.3088,.4016,.44160000000000005,.5224,.6008000000000001,.6488,.7384000000000001,.8192,.8808000000000001,.9480000000000001,1.0408,1.0936000000000001,1.196,1.2656,1.2752000000000001,1.3272000000000002,1.3944,1.4312,1.4904000000000002,1.504,1.5432000000000001,1.5648000000000002,1.5624000000000002,1.564,1.5624000000000002,1.5488000000000002,1.5296,1.5008000000000001,1.4712,1.4344000000000001,1.4208000000000003,1.344,1.308,1.2744000000000002,1.208,1.1648,1.0984,1.0504000000000002,.9608000000000001,.9296000000000001,.8464000000000002,.788,.7024000000000001,.6432000000000001,.5712,.5128,.44960000000000006,.40080000000000005,.33840000000000003,.2656,.21120000000000003,.16,.11040000000000001,.054400000000000004,.024,-.020800000000000003,-.055200000000000006,-.08560000000000001,-.116,-.15360000000000001,-.1704,-.19360000000000002,-.2232,-.23920000000000002,-.25520000000000004,-.2696,-.29760000000000003,-.30319999999999997,-.316,-.33120000000000005,-.34720000000000006,-.35120000000000007,-.36,-.3768,-.3808,-.38560000000000005,-.39280000000000004,-.40640000000000004,-.40320000000000006,-.41520000000000007,-.41520000000000007,-.4272000000000001,-.4248,-.428,-.43920000000000003,-.43840000000000007,-.43840000000000007,-.44160000000000005,-.45120000000000005,-.44720000000000004,-.45120000000000005,-.45120000000000005,-.46,-.4544,-.456,-.2232,-.184,-.15680000000000002,-.13920000000000002,-.1296,-.13040000000000002,-.136,-.1368,-.12,-.068,.0328,.184,.37440000000000007,.5760000000000001,.7624000000000001,.9104000000000001,.9968000000000001,1.0104000000000002,.9416,.792,.5976,.41120000000000007,.28,.23360000000000003,-.46240000000000003,-.46320000000000006,-.45920000000000005,-.9256000000000001,-.09440000000000001,.25520000000000004,1.0288,1.78,2.5816000000000003,3.3704,4.1352,4.880800000000001,4.876,4.065600000000001,3.2880000000000003,2.4352000000000005,1.6208000000000002,.8104000000000001,0,-.9048,-1.6872,-.5624,-.5584,-.5584,-.5536,-.556,-.5536,-.5512,-.556,-.5568000000000001,-.552,-.552,-.56,-.5536,-.5552,-.5536,-.5608000000000001,-.5544,-.5536,-.556,-.5616,-.5544,-.5536,-.49760000000000004,-.49440000000000006,-.5008,-.468,-.45520000000000005,-.42640000000000006,-.37920000000000004,-.3672,-.3128,-.25520000000000004,-.2232,-.17200000000000001,-.1192,-.0536,-.004,.0792,.11520000000000001,.21520000000000003,.24560000000000004,.3376,.41040000000000004,.48640000000000005,.5536,.6144000000000001,.7104000000000001,.7784000000000001,.8664000000000001,.9456,1.008,1.1048,1.1848,1.2047999999999999,1.2568000000000001,1.3024000000000002,1.3696000000000002,1.4184,1.4456000000000002,1.4776000000000002,1.4776000000000002,1.512,1.4984000000000002,1.5056000000000003,1.4696000000000002,1.4704000000000002,1.444,1.3960000000000001,1.3816000000000002,1.332,1.2856,1.2232,1.2056000000000002,1.1256000000000002,1.0712000000000002,1.0208000000000002,.9656,.8888,.7984000000000001,.768,.664,.6264000000000001,.5312,.44240000000000007,.42640000000000006,.35040000000000004,.28800000000000003,.22160000000000002,.15280000000000002,.10080000000000001,.0512,.005600000000000001,-.05040000000000001,-.0824,-.1192,-.156,-.19360000000000002,-.21520000000000003,-.2424,-.27440000000000003,-.2936,-.312,-.33120000000000005,-.3568,-.364,-.3864,-.39520000000000005,-.41520000000000007,-.4208,-.4312,-.44880000000000003,-.45360000000000006,-.46,-.46720000000000006,-.48240000000000005,-.48240000000000005,-.49040000000000006,-.4888,-.5104000000000001,-.504,-.5072000000000001,-.5136000000000001,-.5224,-.5192000000000001,-.5216000000000001,-.532,-.528,-.528,-.5368,-.5416000000000001,-.5312,-.5424,-.5416000000000001,-.548,-.5424,-.5432,-.552,-.5384,-.5536,-.5552,-1.0016,-.17920000000000003,.1744,.9488000000000001,1.6992,2.5016000000000003,3.2896000000000005,4.0544,4.800800000000001,4.796,3.9856000000000003,3.208,2.3552000000000004,1.54,.7296,-.08,-.528,-.5712,.3808,-.2088,-.2872,-.32560000000000006,-.33280000000000004,-.3448,-.37840000000000007,-.38480000000000003,-.3904,-.40800000000000003,-.432,-.42640000000000006,-.44240000000000007,-.4544,-.46,-.46480000000000005,-.4768,-.48640000000000005,-.48240000000000005,-.49040000000000006,-.5008,-.5008,-.448,-.44880000000000003,-.45920000000000005,-.42960000000000004,-.4192000000000001,-.3936,-.3488,-.33920000000000006,-.2872,-.23120000000000002,-.2008,-.152,-.10080000000000001,-.036800000000000006,.011200000000000002,.09440000000000001,.12880000000000003,.2272,.25680000000000003,.3488,.42,.49520000000000003,.5616,.6216,.7168000000000001,.7848,.872,.9512,1.0128000000000001,1.1096000000000001,1.1888,1.2087999999999999,1.26,1.3056,1.3728000000000002,1.4216000000000002,1.4488000000000003,1.48,1.48,1.5144000000000002,1.5008000000000001,1.5072,1.4712,1.472,1.4448000000000003,1.3968000000000003,1.3832,1.3328000000000002,1.2864000000000002,1.224,1.2064000000000001,1.1264,1.072,1.0216,.9664000000000001,.0016,-.027200000000000002,-.057600000000000005,-.08960000000000001,-.12160000000000001,-.1544,-.1864,-.2184,-.24960000000000002,-.2808,-.3128,-.3448,-.37760000000000005,-.41120000000000007,-.44480000000000003,-.47840000000000005,-.512,-.5448000000000001,-.5760000000000001,-.604,-.6288000000000001,-.6504000000000001,-.6696000000000001,-.6864000000000001,-.6984000000000001,-.7072,-.7144000000000001,-.7192000000000001,-.7232000000000001,-.7248000000000001,-.7232000000000001,-.7192000000000001,-.7136,-.7072,-.7000000000000001,-.6896,-.6776000000000001,-.6664000000000001,-.6576000000000001,-.6496000000000001,-.6416000000000001,-.6344000000000001,-.6256,-.6168000000000001,-.6096,-.6,-.5872,-.5704,-.5504,-.5288,-.5064000000000001,-.48160000000000003,-.4544,-.42560000000000003,-.3976,-.3688,-.3416,-.31440000000000007,-.28640000000000004,-.2592,-.2344,-.2104,-.18960000000000002,-.17120000000000002,-.1544,-.14,-.128,-.1192,-.11120000000000001,-.10560000000000001,-.10080000000000001,-.09680000000000001,-.09440000000000001,-.09280000000000001,-.092,-.092,-.09280000000000001,-.09360000000000002,-.09440000000000001,-.09440000000000001,-.0952,-.096,-.096,-.096,-.09440000000000001,-.09440000000000001,-.0952,-.09680000000000001,-.1,-.1032,-.10640000000000001,-.11120000000000001,-.11760000000000001,-.124,-.1312,-.1376,-.1456,-.15360000000000001,-.1632,-.17360000000000003,-.184,-.1952,-.20720000000000002,-.21920000000000003,-.232,-.24480000000000002,-.25680000000000003,-.26880000000000004,-.28,-.29040000000000005,-.42960000000000004,-.4232000000000001,-.41520000000000007,-.40640000000000004,-.39840000000000003,-.392,-.38720000000000004,-.384,-.3808,-.37520000000000003,-.36160000000000003,-.33280000000000004,-.27840000000000004,-.18880000000000002,-.0568,.12160000000000001,.3456,.6103999999999999,.9064000000000001,1.2167999999999999,1.5176,1.784,1.9936000000000003,2.1312,2.1928,2.176,2.0856,1.9368000000000003,1.7528000000000001,1.5624000000000002,1.3952,1.2656,1.2176000000000002,1.2352,1.2544000000000002,1.2664000000000002,1.2744000000000002,1.2744000000000002,1.2664000000000002,1.2576000000000003,1.2536000000000003,1.2504000000000002,1.2472,1.2424000000000002,1.2312,1.2176000000000002,1.2032,1.18,1.1456000000000002,1.1,1.0432000000000001,.9792000000000001,.9128000000000001,.84,.76,.676,.5864,.49520000000000003,.4048,.312,.21520000000000003,.11680000000000001,.018400000000000003,-.07440000000000001,-.16080000000000003,-.24080000000000001,-.316,-.38320000000000004,-.44240000000000007,-.4912000000000001,-.528,-.5576,-.5808000000000001,-.596,-.6023999999999999,-.6008000000000001,-.5888000000000001,-.5688000000000001,-.544,-.512,-.4728,-.428,-.37840000000000007,-.3264,-.27440000000000003,-.22240000000000001,-.17120000000000002,-.12240000000000001,-.076,-.0344,8e-4,.033600000000000005,.0632,.08960000000000001,.11280000000000001,.1336,.15120000000000003,.16720000000000002,.1824,.1952,.2064,.21520000000000003,.22160000000000002,.2272,.23360000000000003,.23920000000000002,.24320000000000003,.2464,.248,.24880000000000002,.24880000000000002,.24560000000000004,.2368,.224,.20800000000000002,.18880000000000002,.1688,.1456,.1192,.09280000000000001,.0656,.04,.014400000000000001,-.011200000000000002,-.039200000000000006,-.068,-.0976,-.1272,-.15680000000000002,-.18720000000000003,-.21920000000000003,-.252,-.2848,-.31760000000000005,-.35040000000000004,-.384,-.42,-.456,-.4912000000000001,-.524,-.5536,-1.0304000000000002,-.9808000000000001,-.9024000000000001,-.7944000000000001,-.6568,-.4848,-.29840000000000005,-.10400000000000001,.08560000000000001,.2624,.41600000000000004,.5408000000000001,.632,.6856,.7064000000000001,.7016,.6792,.6504000000000001,.6184000000000001,.584,.548,.5136000000000001,.48,.448,.41440000000000005,.376,.33440000000000003,.2952,.264,.2424,.23040000000000002,.2272,.2288,.23040000000000002,.23120000000000002,.22960000000000003,.2272,.22160000000000002,.21680000000000002,.21280000000000002,.2088,.2048,.19920000000000002,.19280000000000003,.184,.176,.16640000000000002,.156,.14400000000000002,.1312,.11760000000000001,.10480000000000002,.09280000000000001,.08,.06720000000000001,.0536,.04,.027200000000000002,.013600000000000001,8e-4,-.011200000000000002,-.024,-.036000000000000004,-.048,-.0592,-.06960000000000001,-.08080000000000001,-.0912,-.10160000000000001,-.112,-.12240000000000001,-.132,-.1416,-.15120000000000003,-.16,-.1688,-.17760000000000004,-.18560000000000001,-.19280000000000003,-.2008,-.20800000000000002,-.21520000000000003,-.22160000000000002,-.228,-.23360000000000003,-.23920000000000002,-.244,-.24880000000000002,-.2528,-.25680000000000003,-.26,-.264,-.2672,-.27040000000000003,-.27280000000000004,-.276,-.2776,-.28,-.2816,-.2832,-.28400000000000003,-.28400000000000003,-.2832,-.28240000000000004,-.2808,-.27840000000000004,-.27440000000000003,-.27040000000000003,-.2656,-.26,-.2528,-.24560000000000004,-.23760000000000003,-.22960000000000003,-.22,-.21120000000000003,-.20160000000000003,-.1912,-.18080000000000002,-.1704,-.16,-.14880000000000002,-.1376,-.1272,-.116,-.10400000000000001,-.09280000000000001,-.08080000000000001,-.0688,-.056,-.04240000000000001,-.028,-.013600000000000001,.0016,.018400000000000003,.036000000000000004,.0536,.0728,.09280000000000001,.112,.1328,.15280000000000002,.17360000000000003,.1952,.21680000000000002,.23760000000000003,.2592,.2808,.30160000000000003,.324,.34640000000000004,.36960000000000004,.3936,.41840000000000005,.44480000000000003,.4728,.5008,.5304,.56,.5896,.6168000000000001,.644,.6696000000000001,.6936,.7176,.74,.7632000000000001,.7896000000000001,.8184000000000001,1.032,1.1008,1.2056000000000002,1.3408000000000002,1.4984000000000002,1.6616000000000002,1.808,1.9144,1.9552,1.9168000000000003,1.796,1.5896000000000001,1.3032000000000001,.9520000000000001,.5584,.1504,-.24080000000000001,-.5984,-.9152,-1.1832,-1.3976000000000002,-1.56,-1.6736000000000002,-1.7496000000000003,-1.8048000000000002,-1.8384,-1.8456000000000001,-1.8224,-1.7688000000000001,-1.6912,-1.6024,-1.508,-1.4104,-1.3208000000000002,-1.252,-1.2144000000000001,-1.2144000000000001,-1.2312,-1.2408000000000001,-1.244,-1.2432,-1.2392,-1.2344000000000002,-1.2264000000000002,-1.2136000000000002,-1.2,-1.1872,-1.1768,-1.1688,-1.1576000000000002,-1.1392,-1.1184,-1.096,-1.0728,-1.0504000000000002,-1.0256,-.9968000000000001,-.9696,-.736,-.7056,-.6672,-.6216,-.5608000000000001,-.48560000000000003,-.39920000000000005,-.3008,-.1904,-.06720000000000001,.0664,.2048,.336,.44880000000000003,.5352,.5896,.6096,.5936,.5432,.46640000000000004,.37760000000000005,.292,.2232,.2,.21120000000000003,.22480000000000003,.23920000000000002,.25120000000000003,.2624,.27040000000000003,.276,.28240000000000004,.2928,.3048,.23360000000000003,.25360000000000005,.272,.2912,.3128,.33120000000000005,.3456,.3568,.3648,.37120000000000003,.37840000000000007,.384,.38720000000000004,.39120000000000005,.39520000000000005,.4016,.4088,.4168,.42240000000000005,.4272000000000001,.4328,.43840000000000007,.444,.4504,.4544,.45920000000000005,.46480000000000005,.47120000000000006,.4776,.484,.4888,.4928,.496,.49840000000000007,.5,.49920000000000003,.496,.4912000000000001,.48640000000000005,.47920000000000007,.47120000000000006,.4616,.4504,.43840000000000007,.42560000000000003,.41200000000000003,.39680000000000004,.3808,.3648,.34800000000000003,.33120000000000005,.31440000000000007,.2968,.28,.26480000000000004,.24960000000000002,.23600000000000002,.2232,.2104,.2,.1904,.18080000000000002,.17200000000000001,.0432,.049600000000000005,.056,.06,.06,.0536,.039200000000000006,.018400000000000003,-.0088,-.041600000000000005,-.0792,-.1192,-.16160000000000002,-.2024,-.24160000000000004,-.2776,-.31040000000000006,-.34,-.36640000000000006,-.38880000000000003,-.40720000000000006,-.4232000000000001,-.436,-.44480000000000003,-.45120000000000005,-.4544,-.456,-.456,-.456,-.4576,-.46080000000000004,-.46720000000000006,-.4768,-.49040000000000006,-.5064000000000001,-.524,-.54,-.5536,-.5640000000000001,-.5704,-.5720000000000001,-.5704,-.5640000000000001,-.5568000000000001,-.5488000000000001,-.5424,-.5384,-.5352,-.5336000000000001,-.5312,-.528,-.5224,-.5128,-.49760000000000004,-.47440000000000004,-.44560000000000005,-.4096,-.3688,-.324,-.27440000000000003,-.2232,-.17200000000000001,-.12160000000000001,-.07200000000000001,-.024,0,.0024000000000000002,.005600000000000001,.011200000000000002,.02,.030400000000000003,.0432,.056,.0704,.08560000000000001,.10160000000000001,.11760000000000001,.1336,.1496,.1648,.18080000000000002,.196,.2104,.22480000000000003,.23760000000000003,.24960000000000002,.26160000000000005,.272,.28240000000000004,.292,.30160000000000003,.30960000000000004,.31760000000000005,.32480000000000003,.332,.3376,.3416,.3456,.34720000000000006,.34800000000000003,.34720000000000006,.3448,.34,.33440000000000003,.3264,.3168,.30640000000000006,.29440000000000005,.2816,.26880000000000004,.256,.2424,.22960000000000003,.21680000000000002,.20400000000000001,.1912,.1784,.1648,.152,.14,.128,.116,.10480000000000002,.09440000000000001,.08480000000000001,.07680000000000001,.0688,.06080000000000001,.05280000000000001,.044800000000000006,.0376,.031200000000000002,.024800000000000003,.018400000000000003,.0128,.0088,.0064,.005600000000000001,.005600000000000001,.005600000000000001,.007200000000000001,.010400000000000001,.013600000000000001,.0176,.020800000000000003,.024800000000000003,.028800000000000003,.033600000000000005,.039200000000000006,.0432,.048,.05280000000000001,.057600000000000005,.062400000000000004,.06720000000000001,.0712,.0752,.0792,.0824,.08480000000000001,.0864,.088,.088,.08880000000000002,.08880000000000002,.088,.0872,.08560000000000001,.08480000000000001,.084,.0824,.08080000000000001,.07840000000000001,.07680000000000001,.07440000000000001,.0712,.06720000000000001,.0632,.05840000000000001,.0536,.048,.04240000000000001,.036000000000000004,.0296,.022400000000000003,.015200000000000002,.007200000000000001,-8e-4,-.009600000000000001,-.02,-.0296,-.0408,-.0512,-.6416000000000001,-.6248000000000001,-.596,-.5896,-.5808000000000001,-.5536,-.5232000000000001,-.52,-.496,-.46480000000000005,-.45360000000000006,-.43040000000000006,-.39840000000000003,-.3808,-.36640000000000006,-.3304,-.312,-.28,-.2632,-.23920000000000002,-.212,-.18880000000000002,-.15120000000000003,-.1416,-.10880000000000001,-.10160000000000001,-.0824,-.06960000000000001,-.048,-.044,-.015200000000000002,-.016800000000000002,-.007200000000000001,-.0048000000000000004,-.0016,-.0088,-.0128,-.010400000000000001,-.026400000000000003,-.0328,-.0352,-.0536,-.07360000000000001,-.07840000000000001,-.09040000000000001,-.1192,-.1328,-.1424,-.17120000000000002,-.18320000000000003,-.2064,-.23120000000000002,-.24160000000000004,-.2768,-.29040000000000005,-.30960000000000004,-.33920000000000006,-.35840000000000005,-.38720000000000004,-.4136,-.42,-.43920000000000003,-.46640000000000004,-.4832000000000001,-.5016,-.5248,-.5384,-.5512,-.5680000000000001,-.5832,-.5912000000000001,-.604,-.6144000000000001,-.6256,-.6296,-.64,-.6496000000000001,-.6536000000000001,-.6608,-.6648000000000001,-.6728000000000001,-.6768000000000001,-.6808000000000001,-.684,-.6896,-.6928000000000001,-.6944000000000001,-.6976,-.7048000000000001,-.7024000000000001,-.704,-.7112,-.7088000000000001,-.712,-.7128000000000001,-.7176,-.716,-.7168000000000001,-.7192000000000001,-.7224000000000002,-.7192000000000001,-.7224000000000002,-.7256,-.7232000000000001,-.7248000000000001,-.724,-.728,-.7256,-.7264000000000002,-.728,-.7304000000000002,-.728,-.728,-.732,-.7296,-.7288000000000001,-.7296,-.7328000000000001,-.7304000000000002,-.7304000000000002,-.7312000000000001,-.9304000000000001,-.624,-.6328,-.388,-.16960000000000003,.07360000000000001,.3008,.5216000000000001,.7728,.7536,.5088,.25360000000000005,.0088,-.2584,-.4968,-.7544000000000001,-.9984000000000001,-1.2672,-.976,-1.2256000000000002,-1.2096000000000002,-1.1752,-1.1408,-1.1096000000000001,-1.0784,-1.052,-1.0288,-1.0024000000000002,-.9792000000000001,-.9672000000000001,-.9440000000000001,-.9256000000000001,-.9112,-.9024000000000001,-.884,-.8696,-.8664000000000001,-.852,-.8392000000000001,-.8352,-.8280000000000001,-.8152,-.8112,-.7864000000000001,-.7792000000000001,-.768,-.7664000000000001,-.748,-.736,-.7216,-.7096,-.6880000000000001,-.6776000000000001,-.6576000000000001,-.6264000000000001,-.6176,-.6063999999999999,-.5768000000000001,-.5448000000000001,-.54,-.5144,-.48240000000000005,-.4688,-.44480000000000003,-.41200000000000003,-.39280000000000004,-.37760000000000005,-.3408,-.32160000000000005,-.2888,-.2712,-.24720000000000003,-.21920000000000003,-.1952,-.15680000000000002,-.1464,-.1136,-.10640000000000001,-.0864,-.07360000000000001,-.0512,-.047200000000000006,-.018400000000000003,-.02,-.009600000000000001,-.007200000000000001,-.004,-.011200000000000002,-.014400000000000001,-.012,-.028,-.0344,-.036800000000000006,-.054400000000000004,-.0752,-.0792,-.0912,-.12,-.1336,-.14320000000000002,-.17200000000000001,-.184,-.20720000000000002,-.23120000000000002,-.2424,-.2776,-.2912,-.30960000000000004,-.33920000000000006,-.3592000000000001,-.388,-.41440000000000005,-.42160000000000003,-.43920000000000003,-.4616,-.484,-.5048,-.5208,-.5392,-.552,-.5680000000000001,-.5792,-.592,-.6016,-.6152000000000001,-.6224000000000001,-.628,-.6408,-.6456000000000001,-.652,-.656,-.6672,-.6688000000000001,-.672,-.6784000000000001,-.036800000000000006,-.04,-.048,-.0536,-.06,-.064,-.06720000000000001,-.07440000000000001,-.07440000000000001,-.08080000000000001,-.0824,-.0872,-.08880000000000002,-.09040000000000001,-.09280000000000001,-.0984,-.09680000000000001,-.0984,-.1032,-.1032,-.1032,-.10400000000000001,-.10960000000000002,-.1072,-.108,-.10960000000000002,-.11280000000000001,-.11040000000000001,-.11120000000000001,-.11520000000000001,-.1136,-.1136,-.1136,-.11760000000000001,-.116,-.1144,-.26880000000000004,-.041600000000000005,-.044,.11280000000000001,.28800000000000003,.45680000000000004,.6224000000000001,.7856000000000001,.9608000000000001,1.1336000000000002,1.308,1.2912000000000001,1.0864,.8712000000000001,.6552,.44560000000000005,.2272,.014400000000000001,-.19760000000000003,-.40240000000000004,-.612,-.1232,-.1192,-.1232,-.1232,-.12160000000000001,-.12480000000000001,-.1232,-.1232,-.12080000000000002,-.12480000000000001,-.1232,-.12160000000000001,-.12160000000000001,-.12560000000000002,-.12080000000000002,-.12160000000000001,-.12560000000000002,-.12240000000000001,-.12080000000000002,-.12240000000000001,-.12480000000000001,-.12080000000000002,-.12240000000000001,-.12240000000000001,-.1232,-.12160000000000001,-.12240000000000001,-.12240000000000001,-.12160000000000001,-.10400000000000001,-.11040000000000001,-.10480000000000002,-.10400000000000001,-.08960000000000001,-.0976,-.0792,-.07200000000000001,-.0592,-.056,-.0376,-.028800000000000003,-.0176,.0016,.0032,.028,.044800000000000006,.05040000000000001,.0728,.0872,.10400000000000001,.12080000000000002,.1376,.16,.17120000000000002,.1952,.2024,.2272,.2528,.264,.2792,.3088,.31760000000000005,.34,.36240000000000006,.3768,.40720000000000006,.41440000000000005,.424,.43520000000000003,.45520000000000005,.45920000000000005,.4728,.4872000000000001,.49040000000000006,.4968,.5008,.4928,.496,.5016,.48960000000000004,.4832000000000001,.4728,.47520000000000007,.46480000000000005,.44720000000000004,.44,.43040000000000006,.4208,.4056,.38720000000000004,.37440000000000007,.36,.3448,.3336,.312,.296,.2808,.26080000000000003,.24720000000000003,.224,.20560000000000003,.19760000000000003,.16560000000000002,.15280000000000002,.132,.12080000000000002,.1072,.08880000000000002,.0712,.0568,.0456,.0256,.018400000000000003,.009600000000000001,-.0024000000000000002,-.016,-.0176,-.027200000000000002,-.039200000000000006,-.0408,-.047200000000000006,-.055200000000000006,-.0616,-.0616,-.068,-.0752,-.07680000000000001,-.0792,-.084,-.0864,-.08880000000000002,-.09280000000000001,-.0912,-.0976,-.09680000000000001,-.10080000000000001,-.09920000000000001,-.10480000000000002,-.10560000000000001,-.1024,-.10880000000000001,-.10960000000000002,-.10640000000000001,-.10880000000000001,-.11280000000000001,-.11040000000000001,-.11120000000000001,-.11280000000000001,-.11520000000000001,-.11280000000000001,-.11280000000000001,-.1184,-.1136,-.1144,-.268,-.0408,-.044,.11280000000000001,.28800000000000003,.45680000000000004,.6224000000000001,.7856000000000001,.9608000000000001,1.1336000000000002,1.308,1.2912000000000001,1.0864,.8712000000000001,.6552,.44560000000000005,.2272,.014400000000000001,-.19760000000000003,-.40240000000000004,-.612,-.1192,-.1184,-.12240000000000001,-.11760000000000001,-.1192,-.1184,-.12160000000000001,-.1192,-.1184,-.12240000000000001,-.1192,-.1184,-.12,-.12080000000000002,-.1192,-.12080000000000002,-.1184,-.12160000000000001,-.1192,-.12,-.1192,-.12160000000000001,-.12,-.11760000000000001,.0536,.048,.04240000000000001,.036800000000000006,.031200000000000002,.0256,.019200000000000002,.0128,.005600000000000001,0,-.007200000000000001,-.014400000000000001,-.023200000000000002,-.031200000000000002,-.039200000000000006,-.046400000000000004,-.055200000000000006,-.0632,-.07200000000000001,-.08080000000000001,-.08960000000000001,-.0984,-.108,-.1184,-.12880000000000003,-.13920000000000002,-.1496,-.16,-.17120000000000002,-.18080000000000002,-.1904,-.2,-.2088,-.21680000000000002,-.22560000000000002,-.23360000000000003,-.24080000000000001,-.24880000000000002,-.256,-.264,-.2712,-.2792,-.28640000000000004,-.2936,-.3008,-.308,-.31520000000000004,-.3224,-.3296,-.3376,-.34400000000000003,-.35120000000000007,-.35840000000000005,-.3648,-.37040000000000006,-.376,-.3808,-.38560000000000005,-.38960000000000006,-.3936,-.39680000000000004,-.40080000000000005,-.4048,-.40800000000000003,-.41200000000000003,-.41600000000000004,-.4192000000000001,-.4232000000000001,-.42640000000000006,-.42960000000000004,-.4328,-.436,-.43920000000000003,-.44160000000000005,-.44480000000000003,-.44720000000000004,-.44960000000000006,-.452,-.45280000000000004,-.45360000000000006,-.4544,-.4544,-.45360000000000006,-.45280000000000004,-.4504,-.44880000000000003,-.4464,-.444,-.44160000000000005,-.43840000000000007,-.43520000000000003,-.432,-.428,-.424,-.4192000000000001,-.41440000000000005,-.4096,-.404,-.39840000000000003,-.39280000000000004,-.38720000000000004,-.3808,-.37440000000000007,-.368,-.36160000000000003,-.35440000000000005,-.34640000000000004,-.33840000000000003,-.3304,-.32080000000000003,-.31120000000000003,-.3008,-.29040000000000005,-.27840000000000004,-.2672,-.2544,-.2424,-.22960000000000003,-.216,-.2024,-.18880000000000002,-.1744,-.1592,-.14400000000000002,-.12880000000000003,-.112,-.096,-.0792,-.062400000000000004,-.044,-.026400000000000003,-.008,.009600000000000001,.0296,.049600000000000005,.06960000000000001,.0912,.11280000000000001,.13520000000000001,.15760000000000002,.18080000000000002,.20400000000000001,.228,.25120000000000003,.2752,.2992,.32320000000000004,.34800000000000003,.372,.396,.4208,.44560000000000005,.47120000000000006,.4968,.5232000000000001,.5504,.5776,.6056,.6344000000000001,.664,.6936,.724,.7536,.7824000000000001,.8112,.8384000000000001,.8656,.892,.9184000000000001,.9440000000000001,.9704000000000002,.9976,1.2832000000000001,1.32,1.372,1.44,1.52,1.6056000000000001,1.6896000000000002,1.7608000000000001,1.8096,1.8296000000000001,1.8184000000000002,1.772,1.6896000000000002,1.572,1.4224,1.2472,1.052,.8416,.6176,.38480000000000003,.14880000000000002,-.0824,-.2992,-.4928,-.6568,-.7848,-.8696,-.9088,-.9032000000000001,-.8608000000000001,-.7976000000000001,-.7296,-.6704000000000001,-.6304000000000001,-.616,-.624,-.6424000000000001,-.6608,-.6768000000000001,-.6904000000000001,-.7008000000000001,-.7128000000000001,-.7288000000000001,-.748,-.768,-.7896000000000001,-.8112,-.836,-.864,-.8912000000000001,-.9136000000000001,-.9336000000000001,-.9512,-.9672000000000001,-.9848000000000001,-1,-1.012,-1.0224000000000002,-1.0328,-1.0424000000000002,-1.052,-1.0592000000000001,-1.0632000000000001,-1.0648,-1.0664,-1.0656,-1.064,-1.0616,-1.056,-1.0496,-1.0416,-1.032,-1.02,-1.0064000000000002,-.9896,-.9696,-.9472,-.9224000000000001,-.8944000000000001,-.864,-.8304000000000001,-.7928000000000001,-.752,-.708,.05040000000000001,.064,.07680000000000001,.07840000000000001,.0976,.1032,.12160000000000001,.1264,.1424,.15360000000000001,.16080000000000003,.18080000000000002,.19840000000000002,.20720000000000002,.22160000000000002,.23040000000000002,.24880000000000002,.26480000000000004,.2752,.2928,.3088,.3184,.34,.35120000000000007,.3688,.3824,.392,.41840000000000005,.42640000000000006,.444,.45840000000000003,.46480000000000005,.4728,.488,.49760000000000004,.49920000000000003,.5104000000000001,.524,.5168,.52,.5248,.5232000000000001,.516,.5152000000000001,.5136000000000001,.5096,.49440000000000006,.4968,.4848,.47920000000000007,.46720000000000006,.4544,.4464,.4368,.42960000000000004,.41600000000000004,.4016,.384,.38,.3672,.34640000000000004,.34,.32320000000000004,.308,.29840000000000005,.2776,.2656,.25520000000000004,.23520000000000002,.22480000000000003,.20160000000000003,.19760000000000003,.18560000000000001,.1704,.1584,.1464,.1336,.124,.1144,.10640000000000001,.09680000000000001,.08960000000000001,.08320000000000001,.0752,.0728,.064,.0592,.057600000000000005,.0512,.0456,.044800000000000006,.041600000000000005,.036000000000000004,.033600000000000005,.033600000000000005,.030400000000000003,.024800000000000003,.028,.024800000000000003,.022400000000000003,.019200000000000002,.02,.018400000000000003,.015200000000000002,.016,.014400000000000001,.014400000000000001,.011200000000000002,.0128,.012,.010400000000000001,.008,.010400000000000001,.009600000000000001,.008,.0088,.008,.005600000000000001,.008,.0064,.005600000000000001,.005600000000000001,.0064,.0064,.0032,.005600000000000001,.0048000000000000004,.005600000000000001,.0032,.004,.005600000000000001,.0024000000000000002,-.12240000000000001,.0864,.15120000000000003,.3296,.516,.7016,.8936000000000001,1.0816000000000001,1.2744000000000002,1.2624000000000002,1.0336,.7912,.5488000000000001,.3,.0648,-.1784,-.4208,-.1904,-.388,-.37520000000000003,-.34800000000000003,-.32,-.2968,-.272,-.24880000000000002,-.232,-.212,-.1952,-.17760000000000004,-.16720000000000002,-.15120000000000003,-.1384,-.128,-.12080000000000002,-.1072,-.09920000000000001,-.09360000000000002,-.08320000000000001,-.0664,-.06,-.049600000000000005,-.0432,-.041600000000000005,-.0256,-.013600000000000001,-.004,.011200000000000002,.0128,.0296,.044800000000000006,.0488,.0704,.07840000000000001,.09920000000000001,.10560000000000001,.1232,.136,.14400000000000002,.16640000000000002,.184,.19440000000000002,.20960000000000004,.21920000000000003,.23920000000000002,.25520000000000004,.2664,.2848,.30160000000000003,.312,.3336,.3456,.3632000000000001,.37760000000000005,.38720000000000004,.41440000000000005,.4232000000000001,.44,.45520000000000005,.4616,.4696,.48560000000000003,.49520000000000003,.49760000000000004,.5088,.5224,.5152000000000001,.5184,.5232000000000001,.5224,.5144,.5144,.5128,.5088,.49360000000000004,.496,.484,.47840000000000005,.46640000000000004,.45360000000000006,.44560000000000005,.4368,.4288,.41600000000000004,.4016,.384,.37920000000000004,.3672,.3456,.34,.3224,.308,.29840000000000005,.2768,.26480000000000004,.25520000000000004,.23520000000000002,.224,.20160000000000003,.1968,.18560000000000001,.17120000000000002,.15680000000000002,.1464,.13440000000000002,-1.4128000000000003,-1.4304000000000001,-1.44,-1.4528000000000003,-1.4624000000000001,-1.476,-1.4816000000000003,-1.4904000000000002,-1.4992,-1.5096000000000003,-1.5112,-1.5176,-1.5272000000000001,-1.5288000000000002,-1.5344000000000002,-1.5384000000000002,-1.5456,-1.5464000000000002,-1.5496,-1.5544000000000002,-1.5576,-1.5584000000000002,-1.5616,-1.5648000000000002,-1.5656,-1.5696,-1.568,-1.5736,-1.572,-1.5744,-1.5752000000000002,-1.5792000000000002,-1.5784,-1.5768000000000002,-1.5824,-1.5824,-1.58,-1.5816000000000001,-1.5864,-1.5832000000000002,-1.5824,-1.5848000000000002,-1.5888000000000002,-1.584,-1.5856000000000001,-1.5904,-1.5864,-1.5864,-1.588,-1.5904,-1.5864,-1.5888000000000002,-1.5888000000000002,-1.5904,-1.788,-1.4576000000000002,-1.3736000000000002,-1.0896000000000001,-.8056000000000001,-.5296000000000001,-.23920000000000002,.0296,.3304,.6128000000000001,.5984,.29760000000000003,0,-.30640000000000006,-.6103999999999999,-.8944000000000001,-1.2032,-1.516,-1.8064000000000002,-2.1104000000000003,-1.5904,-1.5944,-1.5928000000000002,-1.5912000000000002,-1.5944,-1.5928000000000002,-1.592,-1.592,-1.5952000000000002,-1.5904,-1.5936000000000001,-1.592,-1.5952000000000002,-1.592,-1.5912000000000002,-1.5952000000000002,-1.5928000000000002,-1.592,-1.592,-1.5952000000000002,-1.592,-1.5928000000000002,-1.5896000000000001,-1.5968000000000002,-1.592,-1.5904,-1.5656,-1.5712000000000002,-1.5736,-1.5544000000000002,-1.5528000000000002,-1.5432000000000001,-1.536,-1.5192,-1.4984000000000002,-1.4912,-1.4688,-1.4536000000000002,-1.4312,-1.4152,-1.3888000000000003,-1.3728000000000002,-1.3544,-1.316,-1.3064000000000002,-1.2744000000000002,-1.2568000000000001,-1.2184000000000001,-1.2024000000000001,-1.1688,-1.1472,-1.1216000000000002,-1.0928,-1.0632000000000001,-1.0344000000000002,-1.008,-.972,-.9504000000000001,-.9216000000000001,-.8904000000000001,-.868,-.8280000000000001,-.8264000000000001,-.8032,-.7912,-.76,-.7472000000000001,-.7336,-.732,-.7144000000000001,-.7152000000000001,-.7144000000000001,-.716,-.7248000000000001,-.728,-.7376,-.7392000000000001,-.7656000000000001,-.7696000000000001,-.7952,-.8008000000000001,-.8264000000000001,-.8408000000000001,-.8576,-.892,-.9056000000000001,-.9224000000000001,-.9504000000000001,-.9824000000000002,-.9904000000000001,-1.032,-1.0496,-1.0752000000000002,-1.1048,-1.1272,-1.1584,-1.1912,-1.2064000000000001,-1.2328000000000001,-1.256,-1.2744000000000002,-1.3008000000000002,-1.324,-1.3472000000000002,-1.3632,-1.3808000000000002,-1.4000000000000001,-1.412,-1.4272,-1.4408000000000003,-1.452,-1.4616000000000002,-1.4712,-1.4816000000000003,-1.492,-1.4968000000000001,-1.504,-1.5136000000000003,-1.5168000000000001,-1.524,-1.5264000000000002,-1.5352000000000001,-1.5376,-1.5392000000000001,-1.5456,-1.5512000000000001,-1.5512000000000001,-1.5536,-1.5592000000000001,-1.5616,-1.56,-1.5632000000000001,-1.5696,-1.5664,-1.5688000000000002,-1.5728000000000002,-1.5736,-1.5728000000000002,-1.5744,-1.5792000000000002,-1.5768000000000002,-1.5776000000000001,-1.5792000000000002,-1.5816000000000001,-1.58,-1.5816000000000001,-1.5808000000000002,-1.5848000000000002,-1.5832000000000002,-1.5824,-1.5848000000000002,-1.5856000000000001,-1.584,-1.5832000000000002,-1.588,-1.5864,-1.5856000000000001,-1.5856000000000001,-1.5904,-1.5864,-1.5848000000000002,-1.7896,-1.456,-1.3736000000000002,-1.0896000000000001,-.8056000000000001,-.5296000000000001,-.23920000000000002,.0296,.3304,.6128000000000001,.5984,.29760000000000003,0,-.30640000000000006,-.6103999999999999,-.8944000000000001,-1.2032,-1.516,-1.8064000000000002,-2.1104000000000003,-1.5904,8e-4,-.005600000000000001,-.0016,0,0,-.004,-8e-4,0,-.0016,-.004,8e-4,-.0024000000000000002,-.0032,0,-.0024000000000000002,0,-8e-4,-.0024000000000000002,0,-8e-4,-8e-4,-.0016,8e-4,.018400000000000003,.023200000000000002,.015200000000000002,.0256,.04240000000000001,.044,.048,.07360000000000001,.084,.0952,.10960000000000002,.1376,.14320000000000002,.1744,.18480000000000002,.21120000000000003,.2272,.25680000000000003,.2696,.30319999999999997,.32560000000000006,.34400000000000003,.36640000000000006,.39520000000000005,.42960000000000004,.4408,.4808,.49360000000000004,.5264,.5544,.5864,.6048000000000001,.6368,.6576000000000001,.6960000000000001,.7176,.7488000000000001,.7696000000000001,.7872,.804,.8192,.836,.864,.8656,.8776,.888,.8848000000000001,.8936000000000001,.8904000000000001,.884,.876,.8656,.8592000000000001,.8504000000000002,.8416,.8160000000000001,.8064000000000001,.7944000000000001,.772,.7432000000000001,.7384000000000001,.7096,.6952,.668,.6504000000000001,.6176,.6048000000000001,.5744,.5456000000000001,.5288,.49760000000000004,.47600000000000003,.4408,.4248,.39520000000000005,.36240000000000006,.3488,.32720000000000005,.3048,.28,.25520000000000004,.2384,.2184,.2024,.1824,.1728,.1592,.1424,.13520000000000001,.12480000000000001,.1136,.10400000000000001,.0976,.088,.08320000000000001,.07440000000000001,.0712,.0648,.06080000000000001,.05280000000000001,.05040000000000001,.0488,.0408,.04,.036800000000000006,.036000000000000004,.028,.0296,.028800000000000003,.024800000000000003,.019200000000000002,.023200000000000002,.020800000000000003,.015200000000000002,.0176,.016800000000000002,.014400000000000001,.011200000000000002,.014400000000000001,.011200000000000002,.010400000000000001,.0088,.0088,.009600000000000001,.005600000000000001,.0088,.005600000000000001,.007200000000000001,.0048000000000000004,.0048000000000000004,.005600000000000001,.005600000000000001,8e-4,.0048000000000000004,.0048000000000000004,8e-4,-.2064,.112,.124,.376,.6288000000000001,.8792000000000001,1.1320000000000001,1.3904,1.6352,1.8936000000000002,2.136,2.136,1.8472000000000002,1.5456,1.2416000000000003,.928,.6304000000000001,.31920000000000004,.0296,-.2848,-.5864,-.26880000000000004,-.54,-.524,-.4848,-.45120000000000005,-.41120000000000007,-.38,-.35040000000000004,-.324,-.2968,-.27280000000000004,-.2544,-.2328,-.21360000000000004,-.19760000000000003,-.18320000000000003,-.16640000000000002,-.15520000000000003,-.14,-.1336,-.12080000000000002,-.10880000000000001,-.10480000000000002,-.09440000000000001,-.0872,-.07840000000000001,-.054400000000000004,-.0432,-.046400000000000004,-.030400000000000003,-.009600000000000001,-.004,.0032,.032,.0456,.06,.07680000000000001,.1072,.11520000000000001,.14880000000000002,.16160000000000002,.18960000000000002,.20720000000000002,.2384,.2528,.28800000000000003,.312,.3304,.35440000000000005,.38480000000000003,.4192000000000001,.4312,.47200000000000003,.48560000000000003,.5184,.5472,.58,.5984,.632,.6528,.6920000000000001,.7136,.7448000000000001,.7656000000000001,.784,.8008000000000001,.8168000000000001,.8336,.8616,.864,.876,.8856,.8832000000000001,.892,.8888,.8824000000000001,.7992,.792,.7568000000000001,.7408000000000001,.7208000000000001,.684,.668,.6336,.6096,.5848000000000001,.5512,.5256000000000001,.49360000000000004,.46720000000000006,.44,.39840000000000003,.388,.36640000000000006,.33280000000000004,.30960000000000004,.28640000000000004,.264,.24,.224,.2064,.18960000000000002,.17200000000000001,.1632,.148,.13440000000000002,.12560000000000002,.11680000000000001,.108,.096,.0912,.08480000000000001,.07680000000000001,.068,.0664,.06080000000000001,.05280000000000001,.05040000000000001,.048,.044,.0376,.0376,.033600000000000005,.032,.026400000000000003,.027200000000000002,.024,.020800000000000003,.02,.018400000000000003,.019200000000000002,.0128,.015200000000000002,.0128,.0128,.0088,.009600000000000001,.011200000000000002,.0064,.0064,.0088,.007200000000000001,.0024000000000000002,.007200000000000001,.0048000000000000004,.005600000000000001,0,.005600000000000001,.004,0,.0032,.0032,.0016,0,.0024000000000000002,0,.0016,0,0,.0016,-.21280000000000002,.0824,.04,.24720000000000003,.45920000000000005,.668,.8664000000000001,1.0848,1.2984000000000002,1.5032,1.7104000000000001,1.9112,2.1376,2.1176,1.872,1.6384,1.3944,1.1368,.8864000000000001,.6512000000000001,.39840000000000003,.1544,-.07840000000000001,-.3376,-.584,-.2664,-.54,-.5216000000000001,-.484,-.44560000000000005,-.4128,-.37920000000000004,-.34800000000000003,-.32160000000000005,-.2992,-.272,-.2504,-.2344,-.2144,-.196,-.18080000000000002,-.1704,-.15360000000000001,-.1416,-.1312,-.124,-.10880000000000001,-.0824,-.0712,-.06080000000000001,-.054400000000000004,-.023200000000000002,-.018400000000000003,-8e-4,.0176,.041600000000000005,.057600000000000005,.08880000000000002,.10960000000000002,.1296,.148,.188,.20320000000000002,.23360000000000003,.26480000000000004,.2912,.31760000000000005,.34400000000000003,.36960000000000004,.41120000000000007,.4288,.47120000000000006,.496,.5272,.552,.592,.6112000000000001,.66,.6768000000000001,.7152000000000001,.7512000000000001,.7704000000000001,.8184000000000001,.8168000000000001,.8368000000000001,.8584000000000002,.8856,.9032000000000001,.9152,.9328000000000001,.9328000000000001,.9384000000000001,.932,.9464000000000001,.9328000000000001,.9184000000000001,.9176000000000001,.9128000000000001,.8944000000000001,.8784000000000001,.8608000000000001,.8424000000000001,.8336,.7976000000000001,.7904000000000001,.756,.74,.7208000000000001,.684,.6672,.6336,.6088000000000001,.5848000000000001,.5504,.5248,.49360000000000004,.46720000000000006,.44,.39840000000000003,.3904,.36240000000000006,.336,.31120000000000003,.2872,.26080000000000003,.2424,.22480000000000003,.20720000000000002,.188,.176,.1592,.152,.13520000000000001,.1272,.11760000000000001,.10560000000000001,.09920000000000001,.09280000000000001,.08560000000000001,.0752,.0728,.0664,.062400000000000004,.054400000000000004,.0536,.049600000000000005,.04240000000000001,.0408,.039200000000000006,.036000000000000004,.028800000000000003,.032,.028,.0256,.022400000000000003,.023200000000000002,.0216,.016800000000000002,.0176,.0176,.015200000000000002,.0128,.013600000000000001,.010400000000000001,.013600000000000001,.008,.009600000000000001,.011200000000000002,.0088,.004,.008,.0088,.0016,.0064,.005600000000000001,8e-4,.004,.004,.0024000000000000002,.0016,.0032,8e-4,.0024000000000000002,0,.0024000000000000002,8e-4,.0016,-8e-4,8e-4,-.188,.136,.2288,.5024000000000001,.7952,1.0792000000000002,1.3632,1.6536000000000002,1.9336000000000002,2.208,2.208,1.8672000000000002,1.5384000000000002,1.1976000000000002,.8552000000000001,.5096,.1648,-.17520000000000002,-.532,0,-.0016,-.0016,0,-.004,0,-.0016,-8e-4,-.0024000000000000002,-.0016,-8e-4,0,-.0048000000000000004,0,0,-.0032,-.0016,0,0,-.0048000000000000004,-8e-4,0,-.0016,-.0032,0,0,-.0032,0,.023200000000000002,.013600000000000001,.02,.033600000000000005,.031200000000000002,.04,.0632,.0656,.08080000000000001,.09280000000000001,.1232,.124,.15520000000000003,.1704,.18720000000000003,.21280000000000002,.224,.25760000000000005,.276,.30640000000000006,.32080000000000003,.352,.376,.39520000000000005,.4288,.44560000000000005,.47920000000000007,.5024000000000001,.5304,.5592,.58,.6184000000000001,.6352000000000001,.6624000000000001,.6968000000000001,.7296,.7472000000000001,.7848,.7824000000000001,.8072,.8184000000000001,.8544000000000002,.8584000000000002,.8752000000000001,.884,.892,.888,.9024000000000001,.8872000000000001,.8928,.8784000000000001,.8736,.8712000000000001,.8568000000000001,.8304000000000001,.8352,.8016000000000001,.8016000000000001,.7672000000000001,.76,.7344,.7128000000000001,.6920000000000001,.6792,.6496000000000001,.6144000000000001,.604,.5712,.5568000000000001,.5272,.49840000000000007,.47520000000000007,.44160000000000005,.424,.3936,.36160000000000003,.34800000000000003,.33120000000000005,.3,.28,.25760000000000005,.23600000000000002,.21520000000000003,.2008,.18480000000000002,.16720000000000002,.15520000000000003,.14400000000000002,.132,.1184,.11280000000000001,.10080000000000001,.09440000000000001,.08320000000000001,.0792,.0728,.064,.06,.056,.0512,.044,.0432,.038400000000000004,.038400000000000004,.028,.030400000000000003,.028,.022400000000000003,.0216,.020800000000000003,.0216,.012,.015200000000000002,.015200000000000002,.011200000000000002,.0088,.0128,.008,.008,.0048000000000000004,.009600000000000001,.0048000000000000004,.0024000000000000002,.007200000000000001,.0016,.004,.0024000000000000002,8e-4,.0024000000000000002,.004,0,0,.0016,8e-4,0,0,.0032,-.004,0,.0024000000000000002,0,-.0048000000000000004,.0016,-.1904,.13440000000000002,.2288,.5024000000000001,.7952,1.0792000000000002,1.3632,1.6536000000000002,1.9336000000000002,2.208,2.208,1.8672000000000002,1.5384000000000002,1.1976000000000002,.8552000000000001,.5096,.1648,-.17520000000000002,-.532,.0016,-.0016,-.004,.0016,-.0016,-.005600000000000001,0,8e-4,-.0016,8e-4,8e-4,0,-.0016,8e-4,8e-4,-.004,.0016,8e-4,8e-4,-.0024000000000000002,0,0,8e-4,-.0016,0,8e-4,-.0016,8e-4,.024800000000000003,.015200000000000002,-.29040000000000005,-.2752,-.2584,-.24720000000000003,-.216,-.21120000000000003,-.17760000000000004,-.17120000000000002,-.14400000000000002,-.12080000000000002,-.09360000000000002,-.0792,-.0456,-.028,-.009600000000000001,.023200000000000002,.039200000000000006,.08,.08960000000000001,.124,.15280000000000002,.1744,.19920000000000002,.23120000000000002,.25760000000000005,.2832,.3088,.33280000000000004,.368,.38960000000000006,.4208,.44880000000000003,.4736,.4848,.5,.5144,.5384,.5616,.5672,.5744,.584,.5832,.5872,.5936,.5808000000000001,.5752,.5680000000000001,.5616,.552,.5408000000000001,.5144,.5152000000000001,.4928,.4696,.4656,.43520000000000003,.42160000000000003,.3936,.37120000000000003,.364,.33440000000000003,.30160000000000003,.28400000000000003,.26880000000000004,.23120000000000002,.2088,.188,.15760000000000002,.1368,.1136,.07360000000000001,.052000000000000005,.030400000000000003,.0048000000000000004,-.027200000000000002,-.047200000000000006,-.0648,-.088,-.112,-.132,-.1544,-.17200000000000001,-.188,-.2064,-.22080000000000002,-.232,-.24320000000000003,-.26,-.2664,-.2768,-.2848,-.296,-.3008,-.30720000000000003,-.31440000000000007,-.32320000000000004,-.324,-.33120000000000005,-.3376,-.33920000000000006,-.34400000000000003,-.34640000000000004,-.3528,-.3528,-.35520000000000007,-.3592000000000001,-.364,-.3632000000000001,-.3648,-.37040000000000006,-.3688,-.37120000000000003,-.37120000000000003,-.376,-.37440000000000007,-.37760000000000005,-.37760000000000005,-.37760000000000005,-.37840000000000007,-.384,-.37920000000000004,-.38160000000000005,-.3824,-.38480000000000003,-.38320000000000004,-.38320000000000004,-.38720000000000004,-.38560000000000005,-.38480000000000003,-.3864,-.388,-.38560000000000005,-.388,-.38560000000000005,-.38960000000000006,-.388,-.38720000000000004,-.38960000000000006,-.38880000000000003,-.38880000000000003,-.588,-.28800000000000003,-.276,-.04,.1864,.4248,.6544000000000001,.8816,1.1176000000000001,1.364,1.5976000000000001,1.8144000000000002,1.812,1.5776000000000001,1.3216,1.0832000000000002,.8288000000000001,.5640000000000001,.32320000000000004,.0752,-.1648,-.4272000000000001,-.6792,-.9264000000000001,-.392,-.392,-.38960000000000006,-.39120000000000005,-.3904,-.38880000000000003,-.38880000000000003,-.3936,-.38960000000000006,-.388,-.3936,-.38960000000000006,-.3904,-.38960000000000006,-.39280000000000004,-.38960000000000006,-.38880000000000003,-.392,-.3936,-.38880000000000003,-.38960000000000006,-.37120000000000003,-.3648,-.37040000000000006,-.36,-.35520000000000007,-.352,-.33120000000000005,-.31440000000000007,-.3168,-.2912,-.276,-.26,-.248,-.21680000000000002,-.212,-.1784,-.17200000000000001,-.1448,-.12160000000000001,-.09440000000000001,-.0792,-.046400000000000004,-.028800000000000003,-.010400000000000001,.023200000000000002,.039200000000000006,.08,.08960000000000001,.1232,.15280000000000002,.17360000000000003,.19920000000000002,.23120000000000002,.25760000000000005,.28240000000000004,.3088,.33280000000000004,.368,.38960000000000006,.4208,.44880000000000003,.4736,.4848,.5,.5144,.5384,.5616,.5672,.5744,.584,.5824,.5872,.5936,.5808000000000001,.5752,.5680000000000001,.5616,.552,.5408000000000001,.5144,.5152000000000001,.4928,.4696,.4656,.43520000000000003,.42160000000000003,.3936,.37120000000000003,.364,.33440000000000003,.30160000000000003,-.0408,-.04,-.039200000000000006,-.038400000000000004,-.0376,-.036800000000000006,-.036000000000000004,-.0344,-.0328,-.031200000000000002,-.0296,-.028,-.026400000000000003,-.024800000000000003,-.023200000000000002,-.0216,-.02,-.019200000000000002,-.018400000000000003,-.0176,-.0176,-.016800000000000002,-.016800000000000002,-.016800000000000002,-.0176,-.0176,-.0176,-.0176,-.018400000000000003,-.0176,-.0176,-.016800000000000002,-.016,-.014400000000000001,-.013600000000000001,-.012,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.009600000000000001,-.0088,-.0088,-.0088,-.0088,-.0088,-.008,-.008,-.007200000000000001,-.0064,-.005600000000000001,-.0048000000000000004,-.0032,-.0024000000000000002,-.0016,0,.0016,.004,.005600000000000001,.008,.009600000000000001,.011200000000000002,.0128,.0128,.0128,.012,.010400000000000001,.0088,.007200000000000001,.0048000000000000004,.0032,8e-4,0,0,-8e-4,-.0016,-.0024000000000000002,-.0032,-.004,-.0048000000000000004,-.0048000000000000004,-.005600000000000001,-.0064,-.0064,-.005600000000000001,-.0048000000000000004,-.004,-.0032,-.0032,-.0024000000000000002,-.0016,-.0016,-8e-4,-.0016,-.0016,-.0016,-8e-4,-8e-4,0,0,-8e-4,0,0,-8e-4,-.0016,-.0024000000000000002,-.0032,-.004,-.0048000000000000004,-.005600000000000001,-.0064,-.007200000000000001,-.007200000000000001,-.0064,-.005600000000000001,-.0048000000000000004,-.004,-.0032,-.0016,-8e-4,0,8e-4,.0016,.0024000000000000002,.0032,.0032,.004,.004,.004,.004,.0032,.0032,.0024000000000000002,.0024000000000000002,.0016,.0016,.0016,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0032,.004,.0048000000000000004,.0048000000000000004,.005600000000000001,.0064,.007200000000000001,.007200000000000001,.008,.0088,.0088,.0088,.0088,.008,.008,.007200000000000001,.0064,.0048000000000000004,.004,.0032,.0032,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0016,.0016,.0016,.0016,8e-4,8e-4,8e-4,8e-4,8e-4,.0016,.0024000000000000002,.004,.0048000000000000004,.0064,.008,.009600000000000001,.010400000000000001,.011200000000000002,.012,.012,.0128,.0128,.0128,.0128,.0128,.0128,.013600000000000001,.013600000000000001,.014400000000000001,.015200000000000002,.015200000000000002,.015200000000000002,.015200000000000002,.014400000000000001,.013600000000000001,.0128,.011200000000000002,.009600000000000001,.008,.005600000000000001,.0048000000000000004,.0032,.0024000000000000002,8e-4,0,-8e-4,-.0016,-.0024000000000000002,-.0032,-.004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0032,-.0024000000000000002,-.0016,0,8e-4,.0024000000000000002,.0032,.0032,.0032,.0024000000000000002,.0016,8e-4,0,-.0016,-.0032,-.004,-.0048000000000000004,-.005600000000000001,-.0064,-.008,-.008,-.0088,-.0088,-.009600000000000001,-.010400000000000001,-.010400000000000001,-.010400000000000001,-.010400000000000001,-.010400000000000001,-.009600000000000001,-.0088,-.008,-.007200000000000001,-.0064,-.005600000000000001,-.0048000000000000004,-.004,-.0032,-.0032,-.0032,-.0016,-.0024000000000000002,-.0032,-.0032,-.004,-.0048000000000000004,-.005600000000000001,-.0064,-.0064,-.007200000000000001,-.007200000000000001,-.008,-.008,-.0088,-.0088,-.0088,-.0088,-.0088,-.0088,-.0088,-.008,-.007200000000000001,-.007200000000000001,-.0064,-.005600000000000001,-.0048000000000000004,-.004,-.004,-.0032,-.0024000000000000002,-.0016,-.0016,-8e-4,0,0,0,8e-4,.0016,.0016,.0016,.0016,.0016,8e-4,0,0,-.0016,-.0032,-.0048000000000000004,-.0064,-.008,-.010400000000000001,-.012,-.013600000000000001,-.014400000000000001,-.016,-.016800000000000002,-.0176,-.018400000000000003,-.018400000000000003,-.018400000000000003,-.018400000000000003,-.019200000000000002,-.018400000000000003,-.018400000000000003,-.018400000000000003,-.0176,-.0176,-.016800000000000002,-.016800000000000002,-.016,-.016,-.016,-.016800000000000002,-.016800000000000002,-.016800000000000002,-.0176,-.0176,-.0176,-.016800000000000002,-.016,-.014400000000000001,-.0128,-.010400000000000001,-.0088,-.0064,-.004,-.0024000000000000002,-8e-4,0,8e-4,.0016,.0024000000000000002,.0032,.004,.004,.004,.004,.004,.004,.0032,.0024000000000000002,.0016,.0016,.0016,.0016,8e-4,8e-4,0,0,-8e-4,-.0024000000000000002,-.004,-.0064,-.0088,-.010400000000000001,-.0128,-.013600000000000001,-.015200000000000002,-.056,-.0456,-.030400000000000003,-.012,.0064,.024800000000000003,.0408,.052000000000000005,.0592,.0616,.0592,.0536,.0456,.0376,.032,.0296,.031200000000000002,.032,.0328,.033600000000000005,.033600000000000005,.033600000000000005,.0328,.0328,.032,.032,.031200000000000002,.030400000000000003,.0296,.028,.027200000000000002,.0256,.024,.0216,.019200000000000002,.016,.013600000000000001,.012,.009600000000000001,.008,.007200000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.0064,.0064,.007200000000000001,.008,.0088,.009600000000000001,.009600000000000001,.010400000000000001,.011200000000000002,.012,.012,.012,.012,.012,.011200000000000002,.010400000000000001,.009600000000000001,.009600000000000001,.0088,.0088,.0088,.0088,.009600000000000001,.009600000000000001,.011200000000000002,.012,.0128,.014400000000000001,.015200000000000002,.016,.0176,.018400000000000003,.019200000000000002,.02,.02,.02,.02,.019200000000000002,.018400000000000003,.0176,.016800000000000002,.016,.015200000000000002,.014400000000000001,.013600000000000001,.012,.011200000000000002,.009600000000000001,.0088,.007200000000000001,.005600000000000001,.004,.0032,.0016,0,0,-8e-4,-.0016,-.0032,-.004,-.005600000000000001,-.0064,-.007200000000000001,-.008,-.009600000000000001,-.010400000000000001,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.012,-.012,-.012,-.012,-.012,-.012,-.0128,-.013600000000000001,-.014400000000000001,-.014400000000000001,-.015200000000000002,-.016,-.016,-.016,-.016,-.015200000000000002,-.015200000000000002,-.014400000000000001,-.0128,-.012,-.010400000000000001,-.008,-.0048000000000000004,-.0032,-8e-4,8e-4,.0024000000000000002,.004,.005600000000000001,.007200000000000001,.008,.0088,.0088,.009600000000000001,.009600000000000001,.0088,.0088,.008,.008,.007200000000000001,.0064,.005600000000000001,.0048000000000000004,.0048000000000000004,.004,.004,.0032,.0032,.0024000000000000002,.0024000000000000002,8e-4,0,-.0016,-.004,-.0064,-.0088,-.011200000000000002,-.0128,-.0128,-.05840000000000001,-.04,-.0128,.02,.05840000000000001,.0952,.1264,.148,.15760000000000002,.15360000000000001,.136,.10640000000000001,.068,.0256,-.013600000000000001,-.0456,-.06720000000000001,-.07760000000000002,-.07760000000000002,-.0664,-.0488,-.027200000000000002,-.016,-.0176,-.020800000000000003,-.022400000000000003,-.024,-.024800000000000003,-.0256,-.026400000000000003,-.027200000000000002,-.026400000000000003,-.0256,-.0256,-.026400000000000003,-.028,-.0296,-.030400000000000003,-.031200000000000002,-.0328,-.0344,-.0352,-.036000000000000004,-.0352,-.0352,-.0352,-.0344,-.033600000000000005,-.032,-.031200000000000002,-.0296,-.028800000000000003,-.027200000000000002,-.026400000000000003,-.024800000000000003,-.024,-.024,-.023200000000000002,-.022400000000000003,-.022400000000000003,-.022400000000000003,-.0216,-.0216,-.020800000000000003,-.02,-.019200000000000002,-.04240000000000001,-.027200000000000002,-.008,.0128,.0344,.0536,.0688,.08,.0864,.08880000000000002,.0872,.0824,.0752,.068,.0616,.0536,.0456,.0376,.028800000000000003,.02,.0128,.005600000000000001,0,-.0024000000000000002,-.0016,0,8e-4,.0016,.0024000000000000002,.0032,.0032,.0048000000000000004,.005600000000000001,.005600000000000001,.0064,.008,.0088,.010400000000000001,.012,.012,.0128,.0128,.0128,.0128,.0128,.012,.011200000000000002,.011200000000000002,.010400000000000001,.010400000000000001,.009600000000000001,.009600000000000001,.0088,.008,.007200000000000001,.007200000000000001,.0064,.005600000000000001,.0048000000000000004,.004,.0032,.0024000000000000002,8e-4,0,-.0016,-.004,-.005600000000000001,-.008,-.009600000000000001,-.011200000000000002,-.0128,-.013600000000000001,-.014400000000000001,-.015200000000000002,-.015200000000000002,-.014400000000000001,-.014400000000000001,-.013600000000000001,-.013600000000000001,-.0128,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.0088,-.008,-.007200000000000001,-.0064,-.0064,-.0064,-.0064,-.007200000000000001,-.0088,-.009600000000000001,-.011200000000000002,-.0128,-.014400000000000001,-.016,-.016800000000000002,-.0176,-.019200000000000002,-.02,-.020800000000000003,-.0216,-.023200000000000002,-.024,-.024800000000000003,-.0256,-.0256,-.031200000000000002,-.027200000000000002,-.020800000000000003,-.012,-.0024000000000000002,.0088,.0216,.0328,.04240000000000001,.048,.049600000000000005,.046400000000000004,.038400000000000004,.027200000000000002,.012,-.0032,-.019200000000000002,-.0328,-.0432,-.05040000000000001,-.0536,-.05280000000000001,-.049600000000000005,-.0432,-.036000000000000004,-.0296,-.024,-.018400000000000003,-.014400000000000001,-.011200000000000002,-.0088,-.008,-.007200000000000001,-.007200000000000001,-.007200000000000001,-.008,-.008,-.0088,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.0088,-.0064,-.005600000000000001,-.0048000000000000004,-.004,-.004,-.004,-.0032,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0032,-.004,-.004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.004,-.0024000000000000002,-8e-4,0,.0016,.0032,.0048000000000000004,.005600000000000001,.0064,.0064,.0064,.0064,.0064,.0064,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.0048000000000000004,.004,.0032,.0032,.0024000000000000002,.0016,.0016,.0016,.0016,.0016,.0024000000000000002,.0032,.0032,.004,.004,.0048000000000000004,.005600000000000001,.005600000000000001,.0064,.007200000000000001,.008,.009600000000000001,.010400000000000001,.012,.0128,.014400000000000001,.016,.0176,.018400000000000003,.019200000000000002,.02,.020800000000000003,.020800000000000003,.020800000000000003,.020800000000000003,.02,.02,.019200000000000002,.019200000000000002,.018400000000000003,.0176,.016800000000000002,.016800000000000002,.016,.016,.015200000000000002,.014400000000000001,.014400000000000001,.014400000000000001,.013600000000000001,.013600000000000001,.0128,.0128,.013600000000000001,.013600000000000001,.013600000000000001,.014400000000000001,.015200000000000002,.016,.016,.016800000000000002,.016800000000000002,.016800000000000002,.016800000000000002,.016800000000000002,.016,.016,.015200000000000002,.014400000000000001,.013600000000000001,.0128,.012,.010400000000000001,.009600000000000001,.008,.0064,.0048000000000000004,.0032,-.024800000000000003,-.020800000000000003,-.015200000000000002,-.010400000000000001,-.005600000000000001,-.0016,8e-4,.004,.0048000000000000004,.005600000000000001,.004,8e-4,-.0032,-.009600000000000001,-.0176,-.027200000000000002,-.0376,-.046400000000000004,-.054400000000000004,-.05840000000000001,-.0592,-.056,-.0488,-.038400000000000004,-.024800000000000003,-.012,-.005600000000000001,-.0064,-.0088,-.010400000000000001,-.012,-.013600000000000001,-.015200000000000002,-.016800000000000002,-.0176,-.018400000000000003,-.019200000000000002,-.019200000000000002,-.02,-.02,-.020800000000000003,-.020800000000000003,-.020800000000000003,-.0216,-.022400000000000003,-.0216,-.020800000000000003,-.02,-.019200000000000002,-.0176,-.016,-.013600000000000001,-.012,-.009600000000000001,-.0088,-.007200000000000001,-.005600000000000001,-.0048000000000000004,-.004,-.0032,-.0032,-.0024000000000000002,-.0016,-8e-4,0,0,0,0,0,0,0,-8e-4,-.0024000000000000002,-.0032,-.004,-.0048000000000000004,-.0064,-.007200000000000001,-.007200000000000001,-.008,-.008,-.008,-.008,-.008,-.007200000000000001,-.007200000000000001,-.0064,-.0064,-.0064,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.005600000000000001,-.005600000000000001,-.0064,-.007200000000000001,-.008,-.0088,-.0088,-.009600000000000001,-.0088,-.0088,-.008,-.007200000000000001,-.005600000000000001,-.004,-.0024000000000000002,0,8e-4,.0024000000000000002,.004,.005600000000000001,.0064,.008,.0088,.009600000000000001,.011200000000000002,.0128,.013600000000000001,.014400000000000001,.015200000000000002,.016,.016800000000000002,.016800000000000002,.016,.015200000000000002,.014400000000000001,.0128,.010400000000000001,.0088,.007200000000000001,.0064,.005600000000000001,.0048000000000000004,.0032,.0024000000000000002,.0016,0,0,-8e-4,-.0024000000000000002,-.0032,-.004,-.0048000000000000004,-.0048000000000000004,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.0048000000000000004,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.0048000000000000004,-.0032,-8e-4,8e-4,.0032,.0064,.0088,.012,.014400000000000001,.016800000000000002,.019200000000000002,.020800000000000003,.022400000000000003,.024,.024,.024800000000000003,.024800000000000003,.024800000000000003,.024800000000000003,.024,.023200000000000002,.0216,.020800000000000003,.019200000000000002,.018400000000000003,.016800000000000002,.016,.015200000000000002,.014400000000000001,.013600000000000001,.0128,.0128,.0128,.0128,.0128,.0128,.0128,.0128,.0128,.0128,.012,.011200000000000002,.009600000000000001,.0088,.008,.0064,.005600000000000001,-.016,-.009600000000000001,0,.010400000000000001,.024,.036800000000000006,.048,.056,.0592,.057600000000000005,.05040000000000001,.039200000000000006,.023200000000000002,.0064,-.009600000000000001,-.022400000000000003,-.032,-.036800000000000006,-.0376,-.0344,-.028,-.019200000000000002,-.012,-.0088,-.010400000000000001,-.012,-.0128,-.013600000000000001,-.014400000000000001,-.016,-.016,-.016,-.016,-.016,-.016800000000000002,-.016800000000000002,-.0176,-.0176,-.016800000000000002,-.016800000000000002,-.016800000000000002,-.016,-.015200000000000002,-.014400000000000001,-.0128,-.012,-.010400000000000001,-.0088,-.007200000000000001,-.0064,-.005600000000000001,-.0048000000000000004,-.004,-.0032,-.0032,-.0032,-.004,-.0048000000000000004,-.0048000000000000004,-.005600000000000001,-.0064,-.007200000000000001,-.008,-.008,-.008,-.008,-.007200000000000001,-.0064,-.005600000000000001,-.004,-.0032,-.0016,-8e-4,0,8e-4,.0016,.0024000000000000002,.0032,.0048000000000000004,.005600000000000001,.0064,.007200000000000001,.008,.008,.008,.007200000000000001,.0064,.0048000000000000004,.0032,.0016,0,-.0016,-.004,-.0064,-.008,-.009600000000000001,-.010400000000000001,-.012,-.013600000000000001,-.015200000000000002,-.016,-.016800000000000002,-.0176,-.019200000000000002,-.02,-.020800000000000003,-.020800000000000003,-.020800000000000003,-.020800000000000003,-.0216,-.020800000000000003,-.020800000000000003,-.020800000000000003,-.020800000000000003,-.0216,-.022400000000000003,-.0456,-.039200000000000006,-.031200000000000002,-.024,-.016800000000000002,-.009600000000000001,-.0032,.0024000000000000002,.008,.012,.014400000000000001,.014400000000000001,.011200000000000002,.005600000000000001,-.0016,-.013600000000000001,-.027200000000000002,-.0408,-.052000000000000005,-.06080000000000001,-.0648,-.0648,-.0592,-.0488,-.0344,-.0176,-.008,-.008,-.008,-.007200000000000001,-.0064,-.0048000000000000004,-.0032,-.0016,0,.0016,.004,.0048000000000000004,.005600000000000001,.0064,.0064,.007200000000000001,.007200000000000001,.007200000000000001,.008,.0088,.010400000000000001,.012,.014400000000000001,.016,.0176,.019200000000000002,.02,.0216,.022400000000000003,.022400000000000003,.022400000000000003,.022400000000000003,.022400000000000003,.023200000000000002,.023200000000000002,.023200000000000002,.023200000000000002,.027200000000000002,.026400000000000003,.026400000000000003,.0256,.024,.022400000000000003,.022400000000000003,.0216,.0216,.020800000000000003,.02,.019200000000000002,.018400000000000003,.0176,.016,.013600000000000001,.010400000000000001,.007200000000000001,.0048000000000000004,.0024000000000000002,0,-.0016,-.0024000000000000002,-.0032,-.0024000000000000002,-.0024000000000000002,-.0016,-8e-4,0,8e-4,.0024000000000000002,.0032,.004,.005600000000000001,.0064,.008,.009600000000000001,.011200000000000002,.0128,.013600000000000001,.014400000000000001,.015200000000000002,.016,.015200000000000002,.015200000000000002,.014400000000000001,.013600000000000001,.0128,.0128,.012,.010400000000000001,.009600000000000001,.0088,.008,.0064,.004,.0024000000000000002,0,-8e-4,-.0024000000000000002,-.0048000000000000004,-.0064,-.007200000000000001,-.007200000000000001,-.007200000000000001,-.0064,-.0064,-.0064,-.005600000000000001,-.005600000000000001,-.0064,-.007200000000000001,-.008,-.009600000000000001,-.011200000000000002,-.012,-.013600000000000001,-.014400000000000001,-.016,-.016800000000000002,-.0176,-.018400000000000003,-.019200000000000002,-.020800000000000003,-.0216,-.023200000000000002,-.024,-.024800000000000003,-.0256,-.0256,-.0256,-.0256,-.024,-.023200000000000002,-.036000000000000004,-.024800000000000003,-.009600000000000001,.0064,.024,.04,.0512,.0568,.057600000000000005,.0536,.044800000000000006,.033600000000000005,.02,.0064,-.0032,-.011200000000000002,-.013600000000000001,-.012,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.010400000000000001,-.011200000000000002,-.0128,-.013600000000000001,-.014400000000000001,-.015200000000000002,-.016800000000000002,-.0176,-.018400000000000003,-.019200000000000002,-.019200000000000002,-.02,-.02,-.02,-.02,-.02,-.019200000000000002,-.019200000000000002,-.018400000000000003,-.0176,-.016,-.015200000000000002,-.013600000000000001,-.012,-.010400000000000001,-.0088,-.007200000000000001,-.0064,-.0048000000000000004,-.004,-.004,-.0032,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0016,-.0016,-.0016,-8e-4,-8e-4,-8e-4,0,0,0,8e-4,8e-4,.0016,.0024000000000000002,.0024000000000000002,.0032,.004,.0048000000000000004,.005600000000000001,.0064,.0064,.007200000000000001,.008,.008,.0088,.0088,.0088,.0088,.0088,.0088,.008,.008,.008,.007200000000000001,.007200000000000001,.007200000000000001,.007200000000000001,.007200000000000001,.007200000000000001,.007200000000000001,.008,.0088,.010400000000000001,.012,.013600000000000001,.015200000000000002,.0176,.02,.022400000000000003,.024800000000000003,.027200000000000002,.028800000000000003,.030400000000000003,.032,.032,.032,.031200000000000002,.030400000000000003,.0296,.028,.027200000000000002,.0256,.024,.022400000000000003,.020800000000000003,.018400000000000003,.016800000000000002,.013600000000000001,.011200000000000002,.0088,.0064,.004,.0024000000000000002,0,-8e-4,-.0016,-.0024000000000000002,-.004,-.04,-.030400000000000003,-.018400000000000003,-.005600000000000001,.005600000000000001,.015200000000000002,.020800000000000003,.023200000000000002,.0216,.016800000000000002,.010400000000000001,8e-4,-.008,-.018400000000000003,-.028,-.036800000000000006,-.0456,-.054400000000000004,-.062400000000000004,-.06960000000000001,-.0752,-.08,-.08320000000000001,-.08480000000000001,-.084,-.08,-.0752,-.06960000000000001,-.064,-.0592,-.055200000000000006,-.05280000000000001,-.0512,-.052000000000000005,-.052000000000000005,-.052000000000000005,-.052000000000000005,-.05040000000000001,-.0488,-.047200000000000006,-.044800000000000006,-.04240000000000001,-.04,-.036800000000000006,-.033600000000000005,-.031200000000000002,-.028,-.024800000000000003,-.022400000000000003,-.019200000000000002,-.016800000000000002,-.014400000000000001,-.012,-.010400000000000001,-.0088,-.007200000000000001,-.007200000000000001,-.0064,-.0064,-.0064,-.0064,-.007200000000000001,-.0064,-.005600000000000001,-.0048000000000000004,-.0024000000000000002,-8e-4,8e-4,.0024000000000000002,.0048000000000000004,.007200000000000001,.0088,.010400000000000001,.011200000000000002,.0128,.013600000000000001,.015200000000000002,.016800000000000002,.018400000000000003,.019200000000000002,.020800000000000003,.022400000000000003,.023200000000000002,.024800000000000003,.0256,.026400000000000003,.026400000000000003,.028,.028800000000000003,.0296,.030400000000000003,.031200000000000002,.032,.032,.0328,.032,.030400000000000003,.028800000000000003,.027200000000000002,.0256,.024,.0216,-.0064,-.004,0,.005600000000000001,.0128,.018400000000000003,.023200000000000002,.0256,.024800000000000003,.02,.011200000000000002,-8e-4,-.016800000000000002,-.0344,-.05280000000000001,-.0688,-.0824,-.09360000000000002,-.10160000000000001,-.10560000000000001,-.10640000000000001,-.10560000000000001,-.1032,-.10080000000000001,-.09920000000000001,-.0976,-.096,-.09360000000000002,-.08960000000000001,-.08480000000000001,-.07760000000000002,-.06720000000000001,-.054400000000000004,-.039200000000000006,-.023200000000000002,-.014400000000000001,-.0128,-.012,-.010400000000000001,-.008,-.005600000000000001,-.0032,0,.0024000000000000002,.0048000000000000004,.008,.011200000000000002,.013600000000000001,.016800000000000002,.019200000000000002,.020800000000000003,.023200000000000002,.024800000000000003,.026400000000000003,.027200000000000002,.028,.028800000000000003,.0296,.030400000000000003,.031200000000000002,.032,.032,.033600000000000005,.0344,.0352,.036800000000000006,.0376,.0376,.038400000000000004,.039200000000000006,.039200000000000006,.039200000000000006,.038400000000000004,.0376,.036800000000000006,.036000000000000004,.0344,.0328,.031200000000000002,.030400000000000003,.028800000000000003,.027200000000000002,.0256,.024800000000000003,.023200000000000002,.022400000000000003,.020800000000000003,.019200000000000002,.0176,.016,.014400000000000001,.013600000000000001,.012,.011200000000000002,.010400000000000001,.009600000000000001,.0088,.008,.007200000000000001,.0064,.005600000000000001,.0048000000000000004,.004,.0032,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0032,.0032,.004,.004,.004,.0032,.0024000000000000002,8e-4,0,0,-.0016,-.0032,-.005600000000000001,-.007200000000000001,-.008,-.009600000000000001,-.012,-.013600000000000001,-.015200000000000002,-.0176,-.019200000000000002,-.0216,-.023200000000000002,-.0256,-.027200000000000002,-.028,-.0296,-.030400000000000003,-.031200000000000002,-.032,-.032,-.032,-.032,-.031200000000000002,-.030400000000000003,-.0296,-.028,-.026400000000000003,-.024800000000000003,-.022400000000000003,-.02,-.0176,-.015200000000000002,-.0128,-.010400000000000001,-.0088,-.007200000000000001,-.0064,-.0048000000000000004,-.004,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0032,-.0032,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0016,-8e-4,0,8e-4,.0016,.0032,.004,.004,.0048000000000000004,.0064,.007200000000000001,.0088,.009600000000000001,.011200000000000002,.012,.013600000000000001,.014400000000000001,.015200000000000002,.016,.016800000000000002,.016800000000000002,.016800000000000002,.0176,.016800000000000002,.016800000000000002,.016,.015200000000000002,.014400000000000001,.013600000000000001,.012,.009600000000000001,.008,.0064,.004,.0024000000000000002,.0016,0,0,0,0,8e-4,.0016,.0024000000000000002,.0032,.004,.0048000000000000004,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.0064,.0064,.007200000000000001,.007200000000000001,.007200000000000001,.007200000000000001,.007200000000000001,.0064,.0048000000000000004,.0032,8e-4,0,-.0024000000000000002,-.0048000000000000004,-.0064,-.0088,-.010400000000000001,-.011200000000000002,-.012,-.0128,-.0536,-.0352,-.013600000000000001,.009600000000000001,.031200000000000002,.0488,.06,.0648,.0632,.056,.0456,.031200000000000002,.016800000000000002,.004,-.004,-.010400000000000001,-.0128,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.0088,-.0088,-.007200000000000001,-.005600000000000001,-.004,-.0024000000000000002,-8e-4,0,.0016,.004,.005600000000000001,.0064,.007200000000000001,.0088,.010400000000000001,.012,.0128,.014400000000000001,.015200000000000002,.016,.016800000000000002,.016800000000000002,.0176,.0176,.016800000000000002,.0176,.0176,.0176,.016800000000000002,.016800000000000002,.016,.015200000000000002,.013600000000000001,.012,.009600000000000001,.007200000000000001,.004,.0016,0,-.0024000000000000002,-.0048000000000000004,-.0064,-.008,-.0088,-.009600000000000001,-.009600000000000001,-.010400000000000001,-.010400000000000001,-.009600000000000001,-.0088,-.008,-.007200000000000001,-.0064,-.0048000000000000004,-.004,-.0024000000000000002,-.0016,-8e-4,-8e-4,-.0016,-.0016,-.0024000000000000002,-.0032,-.004,-.005600000000000001,-.0064,-.0064,-.007200000000000001,-.007200000000000001,-.008,-.009600000000000001,-.010400000000000001,-.012,-.013600000000000001,-.016,-.018400000000000003,-.02,-.022400000000000003,-.023200000000000002,-.024,-.024800000000000003,-.057600000000000005,-.04240000000000001,-.023200000000000002,-.0016,.02,.039200000000000006,.05280000000000001,.06,.0592,.052000000000000005,.038400000000000004,.020800000000000003,8e-4,-.0176,-.032,-.036800000000000006,-.033600000000000005,-.031200000000000002,-.028,-.0256,-.023200000000000002,-.0216,-.020800000000000003,-.02,-.018400000000000003,-.016,-.013600000000000001,-.011200000000000002,-.0088,-.0064,-.0032,-8e-4,8e-4,.0024000000000000002,.0032,.004,.0048000000000000004,.005600000000000001,.005600000000000001,.005600000000000001,.0048000000000000004,.0048000000000000004,.0048000000000000004,.0048000000000000004,.004,.0032,.0024000000000000002,.0024000000000000002,.0016,8e-4,0,0,0,-8e-4,-8e-4,-.0016,-.0024000000000000002,-.0032,-.0032,-.004,-.004,-.004,-.004,-.004,-.0032,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0016,-.0016,-.0016,-8e-4,0,0,8e-4,.0016,.0024000000000000002,.0032,.0048000000000000004,.005600000000000001,.005600000000000001,.0064,.0064,.007200000000000001,.007200000000000001,.0064,.005600000000000001,.005600000000000001,.0048000000000000004,.004,.0024000000000000002,.0016,8e-4,0,-8e-4,-.0024000000000000002,-.0032,-.0048000000000000004,-.0064,-.007200000000000001,-.008,-.0088,-.0088,-.0088,-.008,-.007200000000000001,-.0064,-.0048000000000000004,-.0032,-.0016,0,8e-4,.0024000000000000002,.004,.0048000000000000004,.0064,.007200000000000001,.008,.0088,.009600000000000001,.010400000000000001,.012,.012,.0128,.013600000000000001,.013600000000000001,.013600000000000001,.013600000000000001,.013600000000000001,.013600000000000001,.013600000000000001,.013600000000000001,.013600000000000001,.013600000000000001,.014400000000000001,.014400000000000001,.015200000000000002,.015200000000000002,.016,.016,.016800000000000002,.016800000000000002,.016800000000000002,.0176,.0176,.018400000000000003,.018400000000000003,.018400000000000003,.018400000000000003,.018400000000000003,.018400000000000003,.018400000000000003,.018400000000000003,.0176,.016800000000000002,.016,.015200000000000002,.014400000000000001,.013600000000000001,.0128,.012,.011200000000000002,.011200000000000002,.011200000000000002,.004,.008,.013600000000000001,.02,.028800000000000003,.036800000000000006,.0456,.052000000000000005,.056,.056,.0512,.04240000000000001,.0296,.013600000000000001,-.004,-.0216,-.0376,-.0488,-.054400000000000004,-.054400000000000004,-.048,-.036000000000000004,-.02,-.010400000000000001,-.009600000000000001,-.0088,-.0088,-.007200000000000001,-.0064,-.0048000000000000004,-.0032,-.0016,0,.0016,.0032,.004,.004,.004,.0032,.0032,.0024000000000000002,8e-4,0,-8e-4,-8e-4,-.0016,-.0016,-.0016,-.0024000000000000002,-.0024000000000000002,-.0032,-.004,-.0048000000000000004,-.005600000000000001,-.0064,-.007200000000000001,-.008,-.008,-.008,-.008,-.008,-.008,-.008,-.008,-.0088,-.009600000000000001,-.010400000000000001,-.012,-.0128,-.014400000000000001,-.016,-.0176,-.018400000000000003,-.019200000000000002,-.02,-.0216,-.022400000000000003,-.023200000000000002,-.023200000000000002,-.024,-.024,-.024800000000000003,-.024800000000000003,-.024800000000000003,-.024,-.023200000000000002,-.022400000000000003,-.0216,-.02,-.018400000000000003,-.016800000000000002,-.016,-.015200000000000002,-.015200000000000002,-.014400000000000001,-.014400000000000001,-.015200000000000002,-.016,-.016800000000000002,-.0176,-.018400000000000003,-.019200000000000002,-.020800000000000003,-.0216,-.022400000000000003,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.022400000000000003,-.020800000000000003,-.02,-.019200000000000002,-.0176,-.016800000000000002,-.015200000000000002,-.013600000000000001,-.012,-.010400000000000001,-.009600000000000001,-.008,-.007200000000000001,-.007200000000000001,-.007200000000000001,-.008,-.008,-.0088,-.009600000000000001,-.010400000000000001,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.012,-.012,-.012,-.012,-.0128,-.0128,-.0128,-.013600000000000001,-.014400000000000001,-.015200000000000002,-.015200000000000002,-.016,-.016,-.016800000000000002,-.0176,-.0176,-.0176,-.0176,-.018400000000000003,-.018400000000000003,-.019200000000000002,-.019200000000000002,-.019200000000000002,-.019200000000000002,-.019200000000000002,-.018400000000000003,-.018400000000000003,-.0176,-.016800000000000002,-.016,-.015200000000000002,-.013600000000000001,-.0128,-.011200000000000002,-.010400000000000001,-.0088,-.008,-.0064,-.0048000000000000004,-.0024000000000000002,-8e-4,0,.0016,.004,.005600000000000001,.008,.009600000000000001,.013600000000000001,.015200000000000002,.016,.0176,.018400000000000003,.019200000000000002,.02,.02,.020800000000000003,.020800000000000003,.020800000000000003,.020800000000000003,.020800000000000003,.02,.02,.019200000000000002,.018400000000000003,.0176,.016800000000000002,.015200000000000002,.013600000000000001,.012,.010400000000000001,.0088,.007200000000000001,.005600000000000001,.0048000000000000004,.0032,.0024000000000000002,.0016,.0016,8e-4,8e-4,.0016,.0016,.0024000000000000002,.0024000000000000002,.0032,.004,.0048000000000000004,.0048000000000000004,.005600000000000001,.0064,.0064,.007200000000000001,.008,.008,.008,.007200000000000001,.0064,.0064,.005600000000000001,.0048000000000000004,.004,.0032,.0024000000000000002,.0024000000000000002,.0016,.0016,.0016,8e-4,8e-4,8e-4,0,0,0,0,0,0,0,0,0,8e-4,.0024000000000000002,.0032,.004,.005600000000000001,.0064,.008,.0088,.010400000000000001,.011200000000000002,.012,.013600000000000001,.014400000000000001,.015200000000000002,.016,.016800000000000002,.016800000000000002,.0176,.0176,.0176,.0176,.0176,.0176,.018400000000000003,.018400000000000003,.018400000000000003,.018400000000000003,.018400000000000003,.018400000000000003,.0176,.016800000000000002,.016,.015200000000000002,.014400000000000001,.0128,.012,.011200000000000002,.011200000000000002,-.008,-.0032,.0032,.010400000000000001,.018400000000000003,.024800000000000003,.028800000000000003,.0296,.026400000000000003,.020800000000000003,.011200000000000002,0,-.0128,-.0256,-.0376,-.047200000000000006,-.054400000000000004,-.0592,-.06080000000000001,-.06080000000000001,-.0592,-.056,-.05280000000000001,-.049600000000000005,-.0456,-.041600000000000005,-.036800000000000006,-.0328,-.028800000000000003,-.024800000000000003,-.022400000000000003,-.020800000000000003,-.02,-.020800000000000003,-.022400000000000003,-.023200000000000002,-.024,-.024,-.024800000000000003,-.024800000000000003,-.024800000000000003,-.024800000000000003,-.024,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.023200000000000002,-.022400000000000003,-.022400000000000003,-.0216,-.0216,-.0216,-.036000000000000004,-.031200000000000002,-.023200000000000002,-.015200000000000002,-.0064,8e-4,.008,.0128,.016800000000000002,.020800000000000003,.023200000000000002,.024,.0256,.026400000000000003,.027200000000000002,.027200000000000002,.027200000000000002,.0256,.023200000000000002,.02,.016,.011200000000000002,.005600000000000001,0,-.004,-.0088,-.012,-.0128,-.012,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.008,-.0064,-.0048000000000000004,-.004,-.0024000000000000002,-8e-4,0,8e-4,.0016,.0024000000000000002,.0032,.004,.004,.0048000000000000004,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.0064,.0064,.007200000000000001,.007200000000000001,.007200000000000001,.0088,.009600000000000001,.011200000000000002,.0128,.014400000000000001,.016800000000000002,.018400000000000003,.02,.0216,.022400000000000003,.023200000000000002,.023200000000000002,.024,.024,.024,.024,.023200000000000002,.023200000000000002,.023200000000000002,.023200000000000002,.022400000000000003,.0216,.020800000000000003,.019200000000000002,.018400000000000003,.016800000000000002,.016,.014400000000000001,.013600000000000001,.012,.012,.011200000000000002,.010400000000000001,.009600000000000001,.009600000000000001,.009600000000000001,.0088,.008,.007200000000000001,.0064,.005600000000000001,.004,.0032,.0024000000000000002,8e-4,0,0,0,-8e-4,-8e-4,-8e-4,-8e-4,-8e-4,-8e-4,-.0016,-.0016,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0016,-8e-4,-8e-4,-.0016,-.0016,-.0016,-.0024000000000000002,-.0024000000000000002,-.0032,-.004,-.004,-.004,-.004,-.004,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0032,-.0032,-.004,-.004,-.0048000000000000004,-.0048000000000000004,-.004,-.004,-.0032,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0032,-.004,-.0048000000000000004,-.005600000000000001,-.0064,-.007200000000000001,-.008,-.0088,-.009600000000000001,-.009600000000000001,-.010400000000000001,-.011200000000000002,-.012,-.0128,-.013600000000000001,-.014400000000000001,-.014400000000000001,-.015200000000000002,-.015200000000000002,-.016,-.015200000000000002,-.015200000000000002,-.014400000000000001,-.013600000000000001,-.0128,-.012,-.010400000000000001,-.009600000000000001,-.008,-.007200000000000001,-.005600000000000001,-.0048000000000000004,-.0032,-.0016,0,0,8e-4,.0024000000000000002,.0032,.004,.004,.004,.004,.004,.004,.0032,.0032,.0032,.0032,.0032,.004,.004,.0048000000000000004,.005600000000000001,.0064,.007200000000000001,.008,.008,.0088,.010400000000000001,.011200000000000002,.012,.012,.0128,.013600000000000001,.013600000000000001,.014400000000000001,.014400000000000001,.013600000000000001,.013600000000000001,.0128,.012,.011200000000000002,.009600000000000001,.008,.007200000000000001,.005600000000000001,.004,.0024000000000000002,8e-4,0,-8e-4,-.0016,-.0024000000000000002,-.0032,-.004,-.0048000000000000004,-.0048000000000000004,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.004,-.004,-.004,-.004,-.004,-.0032,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0016,-8e-4,0,0,0,0,0,0,0,0,-8e-4,-.0016,-.0024000000000000002,-.0032,-.004,-.005600000000000001,-.0064,-.030400000000000003,-.027200000000000002,-.022400000000000003,-.016800000000000002,-.011200000000000002,-.005600000000000001,0,.007200000000000001,.0128,.0176,.0216,.023200000000000002,.022400000000000003,.019200000000000002,.013600000000000001,.005600000000000001,-.0024000000000000002,-.012,-.020800000000000003,-.024,-.022400000000000003,-.0216,-.02,-.018400000000000003,-.016800000000000002,-.016,-.015200000000000002,-.015200000000000002,-.015200000000000002,-.014400000000000001,-.014400000000000001,-.014400000000000001,-.014400000000000001,-.014400000000000001,-.013600000000000001,-.0128,-.012,-.012,-.011200000000000002,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.009600000000000001,-.0088,-.008,-.007200000000000001,-.005600000000000001,-.004,-.0024000000000000002,-8e-4,0,.0024000000000000002,.004,.0048000000000000004,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.0048000000000000004,.0048000000000000004,.004,.0032,.0024000000000000002,.0016,.0016,8e-4,8e-4,0,0,0,8e-4,.0016,.0016,.0016,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0016,.0016,8e-4,8e-4,0,0,0,0,0,0,0,0,-8e-4,-.0016,-.0024000000000000002,-.0024000000000000002,-.0032,-.0048000000000000004,-.0064,-.007200000000000001,-.008,-.0088,-.0088,-.009600000000000001,-.0408,-.028800000000000003,-.013600000000000001,8e-4,.016,.028800000000000003,.036000000000000004,.039200000000000006,.0376,.032,.024,.0128,.0024000000000000002,-.0048000000000000004,-.011200000000000002,-.013600000000000001,-.012,-.011200000000000002,-.011200000000000002,-.010400000000000001,-.010400000000000001,-.011200000000000002,-.012,-.012,-.0128,-.0128,-.0128,-.0128,-.0128,-.0128,-.0128,-.0128,-.0128,-.013600000000000001,-.013600000000000001,-.013600000000000001,-.013600000000000001,-.0128,-.012,-.011200000000000002,-.010400000000000001,-.0088,-.007200000000000001,-.005600000000000001,-.004,-.0024000000000000002,-.0024000000000000002,-8e-4,0,8e-4,.0016,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0016,8e-4,0,0,-.0016,-.0024000000000000002,-.0032,-.0048000000000000004,-.005600000000000001,-.005600000000000001,-.0064,-.0064,-.005600000000000001,-.005600000000000001,-.0048000000000000004,-.0048000000000000004,-.004,-.004,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0032,-.004,-.004,-.004,-.004,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0016,-.0016,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0016,-8e-4,0,8e-4,.0016,.0016,.0024000000000000002,.004,.0048000000000000004,.005600000000000001,.005600000000000001,.0064,.007200000000000001,.008,.0088,.0088,.008,.007200000000000001,.007200000000000001,.0064,.0048000000000000004,.0032,.0024000000000000002,8e-4,0,0,-.0016,-.0024000000000000002,-.0024000000000000002,-.004,-.0048000000000000004,-.005600000000000001,-.007200000000000001,-.008,-.009600000000000001,-.010400000000000001,-.011200000000000002,-.011200000000000002,-.012,-.012,-.012,-.011200000000000002,-.011200000000000002,-.010400000000000001,-.010400000000000001,-.010400000000000001,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.010400000000000001,-.010400000000000001,-.010400000000000001,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.012,-.012,-.012,-.012,-.0128,-.0128,-.013600000000000001,-.013600000000000001,-.014400000000000001,-.014400000000000001,-.014400000000000001,-.014400000000000001,-.013600000000000001,-.0128,-.023200000000000002,-.015200000000000002,-.0048000000000000004,.0064,.018400000000000003,.0296,.0376,.041600000000000005,.041600000000000005,.038400000000000004,.031200000000000002,.022400000000000003,.012,.0016,-.0048000000000000004,-.010400000000000001,-.0128,-.012,-.011200000000000002,-.010400000000000001,-.010400000000000001,-.011200000000000002,-.012,-.013600000000000001,-.014400000000000001,-.016,-.0176,-.018400000000000003,-.02,-.020800000000000003,-.0216,-.0216,-.0216,-.0216,-.0216,-.0216,-.020800000000000003,-.02,-.019200000000000002,-.018400000000000003,-.016800000000000002,-.016,-.014400000000000001,-.013600000000000001,-.012,-.010400000000000001,-.0088,-.007200000000000001,-.005600000000000001,-.0048000000000000004,-.0032,-.0024000000000000002,-.0016,-8e-4,-.0016,-.0016,-.0016,-.0016,-.0016,-.0024000000000000002,-.0032,-.004,-.004,-.0048000000000000004,-.0064,-.008,-.010400000000000001,-.012,-.047200000000000006,-.04240000000000001,-.036800000000000006,-.0296,-.020800000000000003,-.010400000000000001,0,.011200000000000002,.0216,.030400000000000003,.036800000000000006,.039200000000000006,.0376,.032,.022400000000000003,.009600000000000001,-.004,-.016,-.027200000000000002,-.0352,-.0376,-.036000000000000004,-.033600000000000005,-.032,-.030400000000000003,-.0296,-.028800000000000003,-.028800000000000003,-.027200000000000002,-.0256,-.024,-.022400000000000003,-.020800000000000003,-.018400000000000003,-.016,-.0128,-.011200000000000002,-.0088,-.007200000000000001,-.005600000000000001,-.004,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0032,-.004,-.004,-.004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.004,-.004,-.004,-.004,-.004,-.004,-.004,-.004,-.0032,-.0024000000000000002,-.0016,-8e-4,0,0,8e-4,.0016,.0016,.0024000000000000002,.0024000000000000002,.0032,.004,.0048000000000000004,.005600000000000001,.0064,.007200000000000001,.0088,.009600000000000001,.009600000000000001,.009600000000000001,.009600000000000001,.0088,.008,.007200000000000001,.005600000000000001,.004,.0032,.0016,8e-4,0,-.0016,-.0032,-.004,-.005600000000000001,-.007200000000000001,-.009600000000000001,-.011200000000000002,-.013600000000000001,-.015200000000000002,-.0176,-.0432,-.04240000000000001,-.04240000000000001,-.041600000000000005,-.0408,-.038400000000000004,-.0344,-.0296,-.023200000000000002,-.015200000000000002,-.005600000000000001,.0024000000000000002,.012,.020800000000000003,.028,.0328,.033600000000000005,.031200000000000002,.024800000000000003,.015200000000000002,.0032,-.0088,-.022400000000000003,-.0344,-.04240000000000001,-.0456,-.044,-.0376,-.0256,-.016800000000000002,-.015200000000000002,-.013600000000000001,-.0128,-.012,-.010400000000000001,-.009600000000000001,-.008,-.0064,-.005600000000000001,-.004,-.0024000000000000002,-8e-4,0,0,0,0,0,0,0,0,0,0,8e-4,.0016,.0024000000000000002,.0032,.004,.0048000000000000004,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.005600000000000001,.0048000000000000004,.0048000000000000004,.0048000000000000004,.004,.004,.004,.004,.0032,.0032,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0016,.0016,.0016,.0016,8e-4,0,0,-8e-4,-.0016,-.0032,-.004,-.0048000000000000004,-.0064,-.0088,-.010400000000000001,-.011200000000000002,-.0128,-.014400000000000001,-.016,-.016800000000000002,-.0176,-.0176,-.0176,-.0176,-.0176,-.0176,-.016800000000000002,-.016,-.015200000000000002,-.015200000000000002,-.014400000000000001,-.013600000000000001,-.0128,-.012,-.011200000000000002,-.010400000000000001,-.0088,-.008,-.0064,-.005600000000000001,-.004,-.004,-.0032,-.0032,-.004,-.004,-.004,-.0048000000000000004,-.005600000000000001,-.007200000000000001,-.008,-.0088,-.0088,-.009600000000000001,-.010400000000000001,-.0088,-.0088,-.0088,-.0088,-.0088,-.008,-.007200000000000001,-.005600000000000001,-.0048000000000000004,-.0032,-.0024000000000000002,0,.0016,.0032,.0048000000000000004,.005600000000000001,.0064,.0064,.0064,.0064,.005600000000000001,.004,.0032,.0032,.0024000000000000002,.0016,8e-4,0,0,0,-.0176,-.012,-.004,.0032,.0128,.022400000000000003,.031200000000000002,.038400000000000004,.0432,.046400000000000004,.047200000000000006,.0456,.04240000000000001,.036800000000000006,.0296,.020800000000000003,.011200000000000002,0,-.0088,-.019200000000000002,-.028800000000000003,-.0352,-.039200000000000006,-.04,-.036800000000000006,-.028800000000000003,-.018400000000000003,-.010400000000000001,-.009600000000000001,-.008,-.008,-.007200000000000001,-.0064,-.005600000000000001,-.0048000000000000004,-.004,-.004,-.0032,-.0032,-.0024000000000000002,-.0024000000000000002,-.0024000000000000002,-.0032,-.0032,-.004,-.005600000000000001,-.008,-.009600000000000001,-.011200000000000002,-.012,-.0128,-.013600000000000001,-.014400000000000001,-.014400000000000001,-.013600000000000001,-.0128,-.012,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.008,-.0064,-.005600000000000001,-.0048000000000000004,-.004,-.0032,-.0032,-.0024000000000000002,-.0016,-.0016,-8e-4,0,0,0,8e-4,8e-4,.0016,.0016,.0024000000000000002,.0024000000000000002,.0024000000000000002,.0032,.004,.004,.0048000000000000004,.0048000000000000004,.005600000000000001,.0064,.0064,.005600000000000001,.0048000000000000004,.0032,.0024000000000000002,.0016,0,-8e-4,-.0024000000000000002,-.0032,-.0032,-.0032,-.0048000000000000004,-.005600000000000001,-.0064,-.008,-.009600000000000001,-.011200000000000002,-.013600000000000001,-.016,-.0176,-.018400000000000003,-.02,-.020800000000000003,-.046400000000000004,-.036800000000000006,-.023200000000000002,-.008,.005600000000000001,.02,.031200000000000002,.0376,.04,.038400000000000004,.0328,.024,.013600000000000001,.0032,-.0032,-.0064,-.0048000000000000004,-.004,-.0032,-.0032,-.0032,-.0032,-.0032,-.004,-.004,-.0048000000000000004,-.0048000000000000004,-.005600000000000001,-.005600000000000001,-.0064,-.0064,-.0064,-.0064,-.0064,-.007200000000000001,-.007200000000000001,-.007200000000000001,-.007200000000000001,-.008,-.008,-.008,-.008,-.008,-.008,-.007200000000000001,-.007200000000000001,-.0064,-.0064,-.0064,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.0064,-.0064,-.007200000000000001,-.0088,-.009600000000000001,-.011200000000000002,-.0128,-.014400000000000001,-.016,-.0176,-.018400000000000003,-.019200000000000002,-.02,-.02,-.02,-.02,-.019200000000000002,-.019200000000000002,-.018400000000000003,-.018400000000000003,-.0176,-.016800000000000002,-.016,-.016,-.015200000000000002,-.014400000000000001,-.0128,-.012,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.010400000000000001,-.010400000000000001,-.011200000000000002,-.012,-.012,-.0128,-.012,-.012,-.012,-.012,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.009600000000000001,-.0088,-.0088,-.0088,-.008,-.0064,-.0048000000000000004,-.0032,-.0032,-.0016,0,0,0,8e-4,.0016,8e-4,0,0,-8e-4,-.0016,-.0024000000000000002,-.0032,-.004,-.0048000000000000004,-.005600000000000001,-.0064,-.007200000000000001,-.007200000000000001,-.008,-.008,-.008,-.008,-.008,-.008,-.007200000000000001,-.007200000000000001,-.007200000000000001,-.008,-.008,-.0088,-.0088,-.02,-.015200000000000002,-.0088,0,.011200000000000002,.024800000000000003,.039200000000000006,.0536,.0648,.07200000000000001,.07440000000000001,.0712,.0632,.0488,.031200000000000002,.011200000000000002,-.007200000000000001,-.023200000000000002,-.0344,-.041600000000000005,-.0432,-.0408,-.033600000000000005,-.023200000000000002,-.012,-.007200000000000001,-.007200000000000001,-.007200000000000001,-.007200000000000001,-.0064,-.0048000000000000004,-.004,-.0032,-.0016,0,0,0,0,0,0,0,0,-8e-4,-8e-4,-8e-4,-8e-4,-8e-4,-8e-4,-.0016,-.0032,-.004,-.005600000000000001,-.007200000000000001,-.0088,-.010400000000000001,-.012,-.0128,-.0128,-.012,-.012,-.011200000000000002,-.009600000000000001,-.008,-.0064,-.004,-.0024000000000000002,-8e-4,8e-4,.0032,.005600000000000001,.008,.009600000000000001,.011200000000000002,.013600000000000001,.015200000000000002,.016,.016,.015200000000000002,.014400000000000001,.0128,.011200000000000002,.0088,.0064,.0048000000000000004,.0032,.0024000000000000002,.0016,0,0,-8e-4,-.0016,-.0024000000000000002,-.004,-.0064,-.008,-.009600000000000001,-.011200000000000002,-.013600000000000001,-.015200000000000002,-.016800000000000002,-.019200000000000002,-.02,-.0216,-.023200000000000002,-.024,-.0256,-.026400000000000003,-.026400000000000003,-.026400000000000003,-.0256,-.024800000000000003,-.024,-.023200000000000002,-.0216,-.02,-.019200000000000002,-.0176,-.016800000000000002,-.015200000000000002,-.013600000000000001,-.012,-.010400000000000001,-.008,-.0064,-.004,-.0016,0,.0024000000000000002,.0048000000000000004,.0064,.0088,.011200000000000002,.013600000000000001,.015200000000000002,.0176,.019200000000000002,.020800000000000003,.0216,.023200000000000002,.023200000000000002,.023200000000000002,.022400000000000003,.0216,.020800000000000003,.019200000000000002,.0176,.016,.014400000000000001,.0128,.011200000000000002,.009600000000000001,.008,.0064,.005600000000000001,.004,.0024000000000000002,8e-4,0,-8e-4,-.0016,-.0016,-.011200000000000002,-.0048000000000000004,.004,.015200000000000002,.028800000000000003,.0432,.0568,.068,.0752,.07840000000000001,.07680000000000001,.0704,.06080000000000001,.048,.0344,.020800000000000003,.011200000000000002,.008,.009600000000000001,.011200000000000002,.0128,.014400000000000001,.015200000000000002,.015200000000000002,.015200000000000002,.015200000000000002,.015200000000000002,.015200000000000002,.014400000000000001,.014400000000000001,.013600000000000001,.013600000000000001,.013600000000000001,.0128,.012,.011200000000000002,.009600000000000001,.008,.007200000000000001,.005600000000000001,.004,.0024000000000000002,8e-4,0,0,0,-8e-4,-.0016,-.0016,-.0016,-.0016,-.0024000000000000002,-.0032,-.0032,-.004,-.004,-.0048000000000000004,-.0048000000000000004,-.0048000000000000004,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.005600000000000001,-.0064,-.007200000000000001,-.008,-.0088,-.009600000000000001,-.010400000000000001,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.008,-.0064,-.004,-.0016,0,.0016,.0032,.0048000000000000004,.007200000000000001,.0088,.010400000000000001,.012,.013600000000000001,.015200000000000002,.016800000000000002,.0176,.018400000000000003,.019200000000000002,.02,.02,.019200000000000002,.0176,.016,.015200000000000002,.013600000000000001,.012,.009600000000000001,.008,.0064,.0048000000000000004,.0032,.0016,8e-4,0,-.0016,-.0024000000000000002,-.004,-.005600000000000001,-.007200000000000001,-.008,-.008,-.008,-.008,-.008,-.008,-.007200000000000001,-.0064,-.0064,-.0064,-.0064,-.0064,-.007200000000000001,-.007200000000000001,-.008,-.0088,-.0088,-.0088,-.008,-.008,-.007200000000000001,-.0064,-.005600000000000001,-.004,-.0032,-.0016,-8e-4,0,8e-4,.0016,.0016,.0024000000000000002,.0032,.0032,.0032,.0032,.0032,.0024000000000000002,.0016,.0016,8e-4,0,-.0016,-.0032,-.0048000000000000004,-.0064,-.0088,-.010400000000000001,-.012,-.013600000000000001,-.015200000000000002,-.016800000000000002,-.018400000000000003,-.02,-.020800000000000003,-.022400000000000003,-.023200000000000002,-.024,-.0256,-.026400000000000003,-.026400000000000003,-.027200000000000002,-.027200000000000002,-.026400000000000003,-.0256,-.024800000000000003,-.023200000000000002,-.0216,-.019200000000000002,-.0176,-.016,-.013600000000000001,-.012,-.011200000000000002,-.009600000000000001,-.0088,-.007200000000000001,-.0064,-.0048000000000000004,-.0032,-.0016,0,.0016,.0024000000000000002,.004,.005600000000000001,.007200000000000001,.008,.009600000000000001,.010400000000000001,.012,.0128,.013600000000000001,.015200000000000002,.016800000000000002,.0176,.018400000000000003,.019200000000000002,.02,.02,.02,.02,.019200000000000002,.0176,.016800000000000002,.016,.015200000000000002,.014400000000000001,.0128,.012,.012,.011200000000000002,.010400000000000001,.010400000000000001,.009600000000000001,.009600000000000001,.0088,.0088,.0088,.0088,.009600000000000001,.010400000000000001,.011200000000000002,.0128,.014400000000000001,.016,.018400000000000003,.020800000000000003,.023200000000000002,.024800000000000003,.026400000000000003,.028,.0296,.030400000000000003,.031200000000000002,.031200000000000002,.032,.032,.032,.032,.032,.031200000000000002,.030400000000000003,.030400000000000003,.028800000000000003,.028,.026400000000000003,.024800000000000003,.023200000000000002,.0216,.019200000000000002,.016800000000000002,.015200000000000002,.0128,.010400000000000001,.0088,.0064,.0048000000000000004,.0032,.0024000000000000002,.0016,-.0296,-.0216,-.012,-8e-4,.008,.0176,.0256,.031200000000000002,.0344,.036000000000000004,.0352,.0328,.028800000000000003,.024800000000000003,.02,.014400000000000001,.0088,.0016,-.004,-.011200000000000002,-.018400000000000003,-.024800000000000003,-.0296,-.0344,-.036800000000000006,-.0376,-.036000000000000004,-.0344,-.0328,-.032,-.031200000000000002,-.031200000000000002,-.032,-.0328,-.033600000000000005,-.033600000000000005,-.033600000000000005,-.0328,-.032,-.031200000000000002,-.030400000000000003,-.028800000000000003,-.028,-.0256,-.024,-.022400000000000003,-.020800000000000003,-.019200000000000002,-.016800000000000002,-.018400000000000003,-.016800000000000002,-.015200000000000002,-.013600000000000001,-.0128,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.011200000000000002,-.012,-.0128,-.013600000000000001,-.014400000000000001,-.016,-.016800000000000002,-.0176,-.018400000000000003,-.019200000000000002,-.019200000000000002,-.019200000000000002,-.019200000000000002,-.019200000000000002,-.019200000000000002,-.018400000000000003,-.018400000000000003,-.0176,-.016800000000000002,-.016,-.016,-.015200000000000002,-.014400000000000001,-.013600000000000001,-.013600000000000001,-.013600000000000001,-.0128,-.0128,-.0128,-.0128,-.0128,-.0128,-.012,-.012,-.011200000000000002,-.011200000000000002,-.010400000000000001,-.009600000000000001,-.0088,-.007200000000000001,-.0064,-.0048000000000000004,-.0032,-8e-4,8e-4,.0032,.005600000000000001,.0088,.011200000000000002,.014400000000000001,.016800000000000002,.019200000000000002,.020800000000000003,.022400000000000003,.024,.024800000000000003,.024800000000000003,.024800000000000003,.024800000000000003,.024800000000000003,.024,.023200000000000002,.022400000000000003,.0216,.020800000000000003,.02,.018400000000000003,.016800000000000002,.015200000000000002,.0128,.011200000000000002,.009600000000000001,.007200000000000001,.005600000000000001,.004,.0032,.0024000000000000002,.0016,8e-4,0,0,0,0,0,0,8e-4,.0016,.0024000000000000002,.004,.005600000000000001,.007200000000000001,.008,.010400000000000001,.012,.0128,.013600000000000001,.013600000000000001,.014400000000000001,.014400000000000001,.015200000000000002,.015200000000000002,.016,.016800000000000002,.018400000000000003,.019200000000000002,.020800000000000003,.0216,.022400000000000003,.023200000000000002,.023200000000000002,.023200000000000002,.022400000000000003,.020800000000000003,.019200000000000002,.016800000000000002,.015200000000000002,.013600000000000001,.012,.010400000000000001,.0088,.007200000000000001,.0064,.004,.0024000000000000002,0,-.0016,-.004,-.0064,-.0088,-.010400000000000001,-.0128,-.013600000000000001,-.014400000000000001,-.014400000000000001,-.015200000000000002,-.055200000000000006,-.039200000000000006,-.02,0,.016,.028,.032,.0296,.020800000000000003,.0064,-.010400000000000001,-.0296,-.047200000000000006,-.06,-.0664,-.0664,-.06080000000000001,-.05040000000000001,-.036000000000000004,-.019200000000000002,-.010400000000000001,-.010400000000000001,-.010400000000000001,-.010400000000000001,-.009600000000000001,-.008,-.005600000000000001,-.004,-.0016,8e-4,.0032,.0048000000000000004,.0064,.007200000000000001,.007200000000000001,.008,.0088,.0088,.008,.008,.008,.008,.008,.008,.007200000000000001,.0064,.005600000000000001,.004,.0032,.0024000000000000002,.0016,8e-4,0,0,0,0,0,0,0,0,8e-4,.0016,.0024000000000000002,.004,.005600000000000001,.007200000000000001,.0088,.010400000000000001,.012,.0128,.013600000000000001,.014400000000000001,.014400000000000001,.013600000000000001,.0128,.012,.010400000000000001,.009600000000000001,.008,.0064,.005600000000000001,.004,.0032,.0016,8e-4,0,0,-8e-4,-8e-4,-.0016,-.0016,-.0016,-.0016,-8e-4,-8e-4,-.0016,-.0016,-.0024000000000000002,-.004,-.0048000000000000004,-.005600000000000001,-.007200000000000001,-.0088,-.009600000000000001,-.011200000000000002,-.012,-.0128,-.013600000000000001,-.015200000000000002,-.016,-.016800000000000002,-.0176,-.018400000000000003],height:300,width:3e3,centerY:240}},onReady:function(t){this.drawSmallGrid()},methods:{tzxdt:function(){this.navigateTo({url:"/pages/xdt/index"})},ReadTestSeavDataIdDataManager:function(){t("log","11"," at pages/only_test/ot1.vue:13369"),veepooFeature.veepooSendReadTestSeavDataIdDataManager({IdType:"02"})},ReadIdTestSeavDataManager:function(){var t=this.dataId;if(t){var e={dataId:t};veepooFeature.veepooSendReadIdTestSeavDataManager(e)}else this.showToast({title:"\u8bf7\u5148\u83b7\u53d6ECG\u4fdd\u6301\u6570\u636eID",icon:"none"})},drawSmallGrid:function(){var t=uni.createCanvasContext("myCanvas");t.setFontSize(20),t.fillText("20",20,20),t.setFontSize(30),t.fillText("30",40,40),t.setFontSize(40),t.fillText("40",60,60),t.setFontSize(50),t.fillText("50",90,90),t.draw()},drawSmallGrid2:function(){var t=uni.createCanvasContext("ecg");t.setStrokeStyle("#d5d5d5"),t.setLineWidth(10);for(var e=.5;e<3e3;e+=15)t.moveTo(e,0),t.lineTo(e,3e3),t.stroke();for(var i=.5;i<3e3;i+=15)t.moveTo(0,i),t.lineTo(3e3,i),t.stroke();t.draw()},drawCurve:function(){var t=uni.createCanvasContext("myCanvas",this),e=this.list,i=this.centerY,n=this.width,o=n/(e.length-1),a=i/(Math.max.apply(Math,(0,r.default)(e))-Math.min.apply(Math,(0,r.default)(e))),s=i/2-e[0]*a;t.beginPath(),t.moveTo(0,s),t.setStrokeStyle("#c96d79"),t.setLineWidth(2);for(var l=1;l<e.length;l++){var u=l*o,c=i/2-e[l]/2*a;t.lineTo(u,c)}t.stroke(),t.draw(!1)}}};e.default=o}).call(this,i("f3b9")["default"])},"6a1a":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("ec50"));e.default=function(t){return(0,r.default)(t)}},"6a67":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"\u53d6\u6d88",confirmText:"\u786e\u5b9a",autoChange:!1}}},"6c09":function(t,e,i){"use strict";i.r(e);var n=i("e89b"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"6c14":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={listItem:{anchor:""}}},"6c4c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={form:{model:function(){return{}},rules:function(){return{}},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:function(){return{}}}}},"6ce7":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={actionSheet:{show:!1,title:"",description:"",actions:function(){return[]},index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0}}},"6d18":function(t,e,i){"use strict";i.r(e);var n=i("8c35"),r=i("4d39");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"33bff153",null,!1,n["a"],void 0);e["default"]=s.exports},"6d28":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{cavasConfig:{canvasWidth:300,canvasHeight:300,lineWidth:15,radius:73,startAngle:-90,bigRadius:90,cxt:null,colorBg:"#f7c1f5",bigColorBg:"#d1ccf4",color:"#e933dd",bigColor:"#6452da",bigAngle:270,angle:200,startSmallAngle:0,bigStartAngle:0,stop:0,bigStop:0}}},onLoad:function(){},onReady:function(){this.cavasConfig.ctx=uni.createCanvasContext("circleCanvas",this),this.drawCircle("bottom",360,this.cavasConfig.bigRadius,this.cavasConfig.bigColorBg),this.drawCircle("bottom",360,this.cavasConfig.radius,this.cavasConfig.colorBg),this.doAnimation(0),this.doAnimation(1)},methods:{doAnimation:function(t){var e=this;if(0==t){if(1===this.cavasConfig.bigStop)return;this.cavasConfig.bigStartAngle>=this.cavasConfig.bigAngle?(this.cavasConfig.bigStartAngle=this.cavasConfig.bigAngle,this.cavasConfig.bigStop=1):this.cavasConfig.bigStartAngle+=this.cavasConfig.bigAngle/50,this.drawCircle("round",this.cavasConfig.bigStartAngle,this.cavasConfig.bigRadius,this.cavasConfig.bigColor)}else{if(1==this.cavasConfig.stop)return;this.cavasConfig.startSmallAngle>=this.cavasConfig.angle?(this.cavasConfig.startSmallAngle=this.cavasConfig.angle,this.cavasConfig.stop=1):this.cavasConfig.startSmallAngle+=this.cavasConfig.angle/50,this.drawCircle("round",this.cavasConfig.startSmallAngle,this.cavasConfig.radius,this.cavasConfig.color)}requestAnimationFrame((function(){e.doAnimation(t)}))},drawCircle:function(t,e,i,n){this.cavasConfig.ctx.save();var r=this.cavasConfig.canvasWidth/2,o=this.cavasConfig.canvasHeight/2;this.cavasConfig.ctx.lineCap=t;var a=this.cavasConfig.startAngle*Math.PI/180,s=(e+this.cavasConfig.startAngle)*Math.PI/180;this.cavasConfig.ctx.beginPath(),this.cavasConfig.ctx.arc(r,o,i,a,s),this.cavasConfig.ctx.lineWidth=this.cavasConfig.lineWidth,this.cavasConfig.ctx.strokeStyle=n,this.cavasConfig.ctx.stroke(),this.cavasConfig.ctx.closePath(),this.cavasConfig.ctx.restore(),this.cavasConfig.ctx.draw(!0)}}};e.default=n},"6e34":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0}}},"6e3d":function(t,e,i){"use strict";i.r(e);var n=i("9dcd"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"6ef6":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0}}},"70ff":function(t,e,i){"use strict";i.r(e);var n=i("f507"),r=i("f4d8");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"c545e460",null,!1,n["a"],void 0);e["default"]=s.exports},"714c":function(t,e,i){t.exports=i.p+"static/icon/xinlv.png"},"716e":function(t,e,i){"use strict";i.r(e);var n=i("7eab"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},7172:function(t,e){t.exports=function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,o,a,s=[],l=!0,u=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=i["return"]&&(a=i["return"](),Object(a)!==a))return}finally{if(u)throw r}}return s}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"728b":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("af34")),o=n(i("7ca3")),a=i("f859"),s=i("8f59");function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var u={props:{activeType:{type:String,default:""}},data:function(){return{customType:[],blData:[{name:"\u603b\u80c6\u56fa\u9187",color:"#46b4ff"},{name:"\u7518\u6cb9\u4e09\u916f",color:"#29cf6c"},{name:"\u9ad8\u5bc6\u5ea6\u8102\u86cb\u767d",color:"#fcc05d"},{name:"\u4f4e\u5bc6\u5ea6\u8102\u86cb\u767d",color:"#fa4e33"}],desc:"",dataList:[],keyNameMap:{bloodGlucose:"\u8840\u7cd6",bloodOxygen:"\u8840\u6c27",bloodPressure:"\u8840\u538b",pulseReat:"\u5fc3\u7387",bloodLiquid:"\u5c3f\u9178",meiTuo:"\u6885\u8131",updataDate:"\u66f4\u65b0\u65f6\u95f4",bodyTemperature:"\u4f53\u6e29",ECGData:"\u5fc3\u7535\u56fe",stepIndex:"\u6b65\u6570",bodyData:"\u8eab\u4f53\u6210\u5206",bloodLiquidAll:"\u8840\u8102"},time:(new Date).toISOString().substring(0,10),flag:!0,successList:["1676995200000"],errorList:["1676908800000"],showPopup:!1,ecgData:[],bodyData:[]}},mounted:function(){var t=this;this.$refs.calendar.initCalendar(),this.queryList();setTimeout((function(){t.addTimer()}),2e3)},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,s.mapGetters)({getActiceDevice:"api/getActiceDevice"})),methods:{goInfo:function(t){"ECGData"==this.activeType&&(uni.setStorageSync("infoData",JSON.stringify(this.dataList[t])),this.$refs.popShow.open(1)),"bodyData"==this.activeType&&(uni.setStorageSync("bodyData",JSON.stringify(this.dataList[t])),this.$refs.popShow.open(2))},getArrMaxValue:a.getArrMaxValue,queryList:function(){var e=this,i="";i="stepIndex"==this.activeType?"step_split":"bloodLiquidAll"==this.activeType?"bloodLiquid":this.activeType,this.$store.dispatch("api/getDeviceListDays",{type:i,device_real_time:this.time,device_id:this.getActiceDevice.device_id}).then((function(i){e.dataList=i.data,t("log",e.dataList," at components/all-data/all-data.vue:205")}))},getNameByKey:function(t){return this.keyNameMap[t]||"Key not found"},addTimer:function(){this.successList=[].concat((0,r.default)(this.successList),["1681920000000"])},chooseDay:function(t){this.time=t.year+"-"+t.month+"-"+t.day,this.queryList()},back:function(){"ECGData"==this.activeType||"bodyData"==this.activeType?this.$emit("back",1):this.$emit("back",2)}}};e.default=u}).call(this,i("f3b9")["default"])},"72c4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"}}},"72e5":function(t,e,i){t.exports=i.p+"uni_modules/punch-calendar/static/images/cakebdar-open.png"},7364:function(t,e,i){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{showPassword:!1,second:0,isRunCode:!1}},props:{type:String,value:String,placeholder:String,maxlength:{type:[Number,String],default:20},isShowPass:{type:[Boolean,String],default:!1},isShowCode:{type:[Boolean,String],default:!1},codeText:{type:String,default:"\u83b7\u53d6\u9a8c\u8bc1\u7801"},imgText:{type:String,default:"\u83b7\u53d6\u9a8c\u8bc1\u7801"},setTime:{type:[Number,String],default:60},focus:{type:[Boolean,String],default:!1}},model:{prop:"value",event:"input"},mounted:function(){var t=this;this,this.$on("runCode",(function(e){t.runCode(e)})),clearInterval(n)},methods:{showPass:function(){this.showPassword=!this.showPassword},setCode:function(){if(this.isRunCode)return!1;this.$emit("setCode")},runCode:function(t){if("0"==String(t))return this.second=0,clearInterval(n),this.isRunCode=!1,!1;if(this.isRunCode)return!1;this.isRunCode=!0,this.second=this._setTime;var e=this;n=setInterval((function(){e.second--,0==e.second&&(e.isRunCode=!1,clearInterval(n))}),1e3)}},computed:{_type:function(){var t=this.type;return"password"==t?"text":t},_isShowPass:function(){return"false"!==String(this.isShowPass)},_isShowCode:function(){return"false"!==String(this.isShowCode)},_isImgCode:function(){return"false"!==String(this.isImgCode)},_setTime:function(){var t=Number(this.setTime);return t>0?t:60},_focus:function(){return"false"!==String(this.focus)},getVerCodeSecond:function(){return this.second<=0?this.codeText:this.second<10?"0"+this.second:this.second}}};e.default=r},"741b":function(t,e,i){t.exports=i.p+"static/icon/rtcf.png"},7456:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=(n(i("bd30")),i("8f59"));n(i("70ff"));function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var s={data:function(){return{title:"Hello",version:""}},onLoad:function(){},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,o.mapGetters)({getApiToken:"api/getApiToken"})),methods:{logout:function(){this.$store.commit("api/setApiToken",""),this.$store.commit("api/setActiceDevice",""),this.$store.commit("api/setUserInfo",""),uni.reLaunch({url:"/pages/login/login"})},edit:function(){uni.navigateTo({url:"/pages/login/forget"})}}};e.default=s},"75c2":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("38f8")),o=n(i("cf91")),a=n(i("cc03")),s={name:"z-paging-refresh",data:function(){return{R:a.default.Refresher,isIos:"ios"===uni.getSystemInfoSync().platform,refresherTimeText:"",zTheme:{title:{white:"#efefef",black:"#555555"},arrow:{white:r.default.base64ArrowWhite,black:r.default.base64Arrow},flower:{white:r.default.base64FlowerWhite,black:r.default.base64Flower},success:{white:r.default.base64SuccessWhite,black:r.default.base64Success},indicator:{white:"#eeeeee",black:"#777777"}}}},props:["status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","goF2Text","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","imgStyle","titleStyle","updateTimeStyle","updateTimeTextMap","unit"],computed:{ts:function(){return this.defaultThemeStyle},statusTextArr:function(){return this.updateTime(),[this.defaultText,this.pullingText,this.refreshingText,this.completeText,this.goF2Text]},currentTitle:function(){return this.statusTextArr[this.status]||this.defaultText},leftImageClass:function(){var t="zp-r-left-image-pre-size-".concat(this.unit);return this.status===this.R.Complete?t:"zp-r-left-image ".concat(t," ").concat(this.status===this.R.Default?"zp-r-arrow-down":"zp-r-arrow-top")},leftImageStyle:function(){var t=this.showUpdateTime,e=t?o.default.addUnit(36,this.unit):o.default.addUnit(34,this.unit);return{width:e,height:e,"margin-right":t?o.default.addUnit(20,this.unit):o.default.addUnit(9,this.unit)}},leftImageSrc:function(){var t=this.R,e=this.status;return e===t.Default?this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:e===t.ReleaseToRefresh?this.pullingImg?this.pullingImg:this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:e===t.Loading?this.refreshingImg?this.refreshingImg:this.zTheme.flower[this.ts]:e===t.Complete?this.completeImg?this.completeImg:this.zTheme.success[this.ts]:e===t.GoF2?this.zTheme.arrow[this.ts]:""},rightTextStyle:function(){var t={};return t["color"]=this.zTheme.title[this.ts],t["font-size"]=o.default.addUnit(30,this.unit),t}},methods:{addUnit:function(t,e){return o.default.addUnit(t,e)},updateTime:function(){this.showUpdateTime&&(this.refresherTimeText=o.default.getRefesrherFormatTimeByKey(this.updateTimeKey,this.updateTimeTextMap))}}};e.default=s},"76a5":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tmNavBar:i("a73c").default,sleepListData:i("dac6").default,lEchart:i("00c2").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",[n("tm-nav-bar",{attrs:{"left-icon":"arrow-left",title:"\u7761\u7720",rbgs:!1,_i:1},on:{clickLeft:t.back}}),n("view",{staticClass:t._$s(2,"sc","flx jcsb ac"),attrs:{_i:2}},[n("view"),n("view",[t._v(t._$s(4,"t0-0",t._s(t.time)))])]),n("view",{staticClass:t._$s(5,"sc","flx"),attrs:{_i:5}},[n("view",{staticClass:t._$s(6,"sc","w-5"),attrs:{_i:6}},[n("view",{staticClass:t._$s(7,"sc","canvas_box"),attrs:{_i:7}},[n("canvas",{}),n("view"),n("view",{staticClass:t._$s(10,"sc","flx flx_sb"),attrs:{_i:10}},[n("view",{staticClass:t._$s(11,"sc","flx flx_ac"),attrs:{_i:11}},[n("view",{staticClass:t._$s(12,"sc","circle"),attrs:{_i:12}}),n("view",{staticClass:t._$s(13,"sc","sleep_info"),attrs:{_i:13}},[n("view",{staticClass:t._$s(14,"sc","info_title"),attrs:{_i:14}}),n("view",{staticClass:t._$s(15,"sc","info_val"),attrs:{_i:15}},[t._v(t._$s(15,"t0-0",t._s(t.sleep.shen)))])])]),n("view",{staticClass:t._$s(16,"sc","flx flx_ac"),attrs:{_i:16}},[n("view",{staticClass:t._$s(17,"sc","sleep_info"),attrs:{_i:17}},[n("view",{staticClass:t._$s(18,"sc","info_title"),attrs:{_i:18}}),n("view",{staticClass:t._$s(19,"sc","info_val"),attrs:{_i:19}},[t._v(t._$s(19,"t0-0",t._s(t.sleep.qian)))])]),n("view",{staticClass:t._$s(20,"sc","circle"),attrs:{_i:20}})])])])]),n("view",{staticClass:t._$s(21,"sc","w-5"),attrs:{_i:21}},[n("view",{staticClass:t._$s(22,"sc","radius_box"),attrs:{_i:22}},[n("view",{staticClass:t._$s(23,"sc","flx flx_sb title_box"),attrs:{_i:23}},[n("view",{staticClass:t._$s(24,"sc","title"),attrs:{_i:24}},[t._v(t._$s(24,"t0-0",t._s(t.sleep.shen)))])]),n("sleep-list-data",{attrs:{"canvas-id":"sleep-canvas-id",dataList:t.sleepList,_i:25}}),n("view",{staticClass:t._$s(26,"sc","flx flx_sb flx_ac"),attrs:{_i:26}},[n("view",{staticClass:t._$s(27,"sc","flx flx_ac"),attrs:{_i:27}},[n("view",{staticClass:t._$s(28,"sc","flx flx_ac"),attrs:{_i:28}},[n("image",{attrs:{src:t._$s(29,"a-src",i("200d")),_i:29}})]),t._$s(30,"i",t.fallAsleepTime.length>0)?n("view",{staticClass:t._$s(30,"sc","small-title"),attrs:{_i:30}},[t._v(t._$s(30,"t0-0",t._s(t.fallAsleepTime[2]))+t._$s(30,"t0-1",t._s(t.fallAsleepTime[3]))+t._$s(30,"t0-2",t._s(t.fallAsleepTime[0]))+t._$s(30,"t0-3",t._s(t.fallAsleepTime[1])))]):n("view",{staticClass:t._$s(31,"sc","small-title"),attrs:{_i:31}})]),n("view",{staticClass:t._$s(32,"sc","flx flx_ac"),attrs:{_i:32}},[t._$s(33,"i",t.exitSleepTime.length>0)?n("view",{staticClass:t._$s(33,"sc","small-title"),attrs:{_i:33}},[t._v(t._$s(33,"t0-0",t._s(t.exitSleepTime[2]))+t._$s(33,"t0-1",t._s(t.exitSleepTime[3]))+t._$s(33,"t0-2",t._s(t.exitSleepTime[0]))+t._$s(33,"t0-3",t._s(t.exitSleepTime[1])))]):n("view",{staticClass:t._$s(34,"sc","small-title"),attrs:{_i:34}}),n("view",{staticClass:t._$s(35,"sc","flx flx_ac"),attrs:{_i:35}},[n("image",{attrs:{src:t._$s(36,"a-src",i("1140")),_i:36}})])])])],1),t._$s(37,"i",t.option.series[0].data.length>0)?n("view",{staticClass:t._$s(37,"sc","radius_box"),attrs:{_i:37}},[n("view"),n("view",{staticClass:t._$s(39,"sc","flx flx_sb"),attrs:{_i:39}},[n("view",[n("view",[n("l-echart",{ref:"chartRef",attrs:{_i:42},on:{finished:t.init}})],1)]),n("view",{staticClass:t._$s(43,"sc","flx flx_sb"),attrs:{_i:43}},[n("view",{staticClass:t._$s(44,"sc","flx flx_sb line"),attrs:{_i:44}},[n("view",{staticClass:t._$s(45,"sc","flx small-title flx_ac"),attrs:{_i:45}},[n("view",{staticClass:t._$s(46,"sc","dian0 yuan"),attrs:{_i:46}}),n("view")]),n("view",[n("view",{staticClass:t._$s(49,"sc","c0"),attrs:{_i:49}},[t._v(t._$s(49,"t0-0",t._s(t.sleepData.shen)))])])]),n("view",{staticClass:t._$s(50,"sc","flx flx_sb line"),attrs:{_i:50}},[n("view",{staticClass:t._$s(51,"sc","flx small-title flx_ac"),attrs:{_i:51}},[n("view",{staticClass:t._$s(52,"sc","dian1 yuan"),attrs:{_i:52}}),n("view")]),n("view",[n("view",{staticClass:t._$s(55,"sc","c1"),attrs:{_i:55}},[t._v(t._$s(55,"t0-0",t._s(t.sleepData.qian)))])])]),n("view",{staticClass:t._$s(56,"sc","flx flx_sb line"),attrs:{_i:56}},[n("view",{staticClass:t._$s(57,"sc","flx small-title flx_ac"),attrs:{_i:57}},[n("view",{staticClass:t._$s(58,"sc","dian2 yuan"),attrs:{_i:58}}),n("view")]),n("view",[n("view",{staticClass:t._$s(61,"sc","c2"),attrs:{_i:61}},[t._v(t._$s(61,"t0-0",t._s(t.sleepData.kuai)))])])])])])]):t._e(),n("view",{staticClass:t._$s(62,"sc","radius_box"),attrs:{_i:62}},[n("view",{staticClass:t._$s(63,"sc","flx flx_sb title_box flx_ac"),attrs:{_i:63}},[n("view",{staticClass:t._$s(64,"sc","title"),attrs:{_i:64}}),n("view",{staticClass:t._$s(65,"sc","more"),attrs:{_i:65}})])])])]),n("view")],1)},o=[]},7788:function(t,e,i){"use strict";i.r(e);var n=i("d95b"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"77e7":function(t,e,i){"use strict";function n(){this.handlers=[]}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){this.handlers.forEach((function(e){null!==e&&t(e)}))};var r=n;e.default=r},7848:function(t,e){t.exports={props:{customStyle:{type:[Object,String],default:function(){return{}}},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:function(){return{}},onLoad:function(){this.$u.getRect=this.$uGetRect},created:function(){this.$u.getRect=this.$uGetRect},computed:{$u:function(){return uni.$u.deepMerge(uni.$u,{props:void 0,http:void 0,mixin:void 0})},bem:function(){return function(t,e,i){var n=this,r="u-".concat(t,"--"),o={};return e&&e.map((function(t){o[r+n[t]]=!0})),i&&i.map((function(t){n[t]?o[r+t]=n[t]:delete o[r+t]})),Object.keys(o)}}},methods:{openPage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"url",e=this[t];e&&uni[this.linkType]({url:e})},$uGetRect:function(t,e){var i=this;return new Promise((function(n){uni.createSelectorQuery().in(i)[e?"selectAll":"select"](t).boundingClientRect((function(t){e&&Array.isArray(t)&&t.length&&n(t),!e&&t&&n(t)})).exec()}))},getParentData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.parent||(this.parent={}),this.parent=uni.$u.$parent.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((function(e){t.parentData[e]=t.parent[e]}))},preventEvent:function(t){t&&"function"===typeof t.stopPropagation&&t.stopPropagation()},noop:function(t){this.preventEvent(t)}},onReachBottom:function(){uni.$emit("uOnReachBottom")},beforeDestroy:function(){var t=this;if(this.parent&&uni.$u.test.array(this.parent.children)){var e=this.parent.children;e.map((function(i,n){i===t&&e.splice(n,1)}))}}}},"78bc":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","body-class"),attrs:{_i:0}},[i("cu-custom",{attrs:{bgColor:"bg-gradual-blue",_i:1}},[i("view",{slot:"content"},[t._v(t._$s(2,"t0-0",t._s(1==t.desc?"\u7528\u6237\u534f\u8bae":"\u9690\u79c1\u653f\u7b56"))+t._$s(2,"t0-1",t._s(t.desc.desc)))])]),t._$s(3,"i",1==t.desc)?i("view",[i("view",[i("view"),i("view"),i("view")]),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view")]):t._e(),t._$s(139,"i",2==t.desc)?i("view",[i("view",[i("view"),i("view"),i("view")]),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view"),i("view")]):t._e()],1)},r=[]},7923:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("text",{staticClass:t._$s(0,"sc","uni-icons"),class:t._$s(0,"c",["uniui-"+t.type,t.customPrefix,t.customPrefix?t.type:""]),style:t._$s(0,"s",t.styleObj),attrs:{_i:0},on:{click:t._onClick}},[t._t("default",null,{_i:1})],2)},r=[]},"795c":function(t,e,i){"use strict";function n(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(t=String(t).toLowerCase(),t&&i.test(t)){if(4===t.length){for(var n="#",r=1;r<4;r+=1)n+=t.slice(r,r+1).concat(t.slice(r,r+1));t=n}for(var o=[],a=1;a<7;a+=2)o.push(parseInt("0x".concat(t.slice(a,a+2))));return e?"rgb(".concat(o[0],",").concat(o[1],",").concat(o[2],")"):o}if(/^(rgb|RGB)/.test(t)){var s=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return s.map((function(t){return Number(t)}))}return t}function r(t){var e=t;if(/^(rgb|RGB)/.test(e)){for(var i=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#",r=0;r<i.length;r++){var o=Number(i[r]).toString(16);o=1==String(o).length?"".concat(0,o):o,"0"===o&&(o+=o),n+=o}return 7!==n.length&&(n=e),n}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e))return e;var a=e.replace(/#/,"").split("");if(6===a.length)return e;if(3===a.length){for(var s="#",l=0;l<a.length;l+=1)s+=a[l]+a[l];return s}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={colorGradient:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=n(t,!1),a=o[0],s=o[1],l=o[2],u=n(e,!1),c=u[0],d=u[1],h=u[2],f=(c-a)/i,p=(d-s)/i,g=(h-l)/i,v=[],m=0;m<i;m++){var y=r("rgb(".concat(Math.round(f*m+a),",").concat(Math.round(p*m+s),",").concat(Math.round(g*m+l),")"));0===m&&(y=r(t)),m===i-1&&(y=r(e)),v.push(y)}return v},hexToRgb:n,rgbToHex:r,colorToRgba:function(t,e){t=r(t);var i=String(t).toLowerCase();if(i&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(i)){if(4===i.length){for(var n="#",o=1;o<4;o+=1)n+=i.slice(o,o+1).concat(i.slice(o,o+1));i=n}for(var a=[],s=1;s<7;s+=2)a.push(parseInt("0x".concat(i.slice(s,s+2))));return"rgba(".concat(a.join(","),",").concat(e,")")}return i}};e.default=o},7996:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={}},"79a5":function(t,e,i){"use strict";i.r(e);var n=i("0323"),r=i("d494");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"00ab5d04",null,!1,n["a"],void 0);e["default"]=s.exports},"79ac":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={navtab:i("70ff").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("navtab",{attrs:{current:1,_i:1}}),i("view",{staticClass:t._$s(2,"sc","content"),attrs:{_i:2}},[i("view",{staticClass:t._$s(3,"sc","content-header"),attrs:{_i:3}},[i("view",{staticClass:t._$s(4,"sc","title"),attrs:{_i:4}})]),t._l(t._$s(5,"f",{forItems:t.deviceList}),(function(e,n,r,o){return t._$s("5-"+o,"i",e.user)?i("view",{key:t._$s(5,"f",{forIndex:r,key:"5-"+o}),staticClass:t._$s("5-"+o,"sc","content-item"),class:t._$s("5-"+o,"c",e.device_id==t.getActiceDevice.device_id?"active":""),attrs:{_i:"5-"+o},on:{click:function(i){return t.changeDev(e)}}},[i("view",{staticClass:t._$s("6-"+o,"sc","title"),attrs:{_i:"6-"+o}},[i("text",[t._v(t._$s("7-"+o,"t0-0",t._s(e.user.mobile)))])]),i("view",{staticClass:t._$s("8-"+o,"sc","desc"),attrs:{_i:"8-"+o}},[i("text",[t._v(t._$s("9-"+o,"t0-0",t._s(e.device_id)))])])]):t._e()}))],2),i("view")],1)},o=[]},"79fe":function(t,e,i){"use strict";i.r(e);var n=i("020a"),r=i("6e3d");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"81613136",null,!1,n["a"],void 0);e["default"]=s.exports},"7a55":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={datetimePicker:{show:!1,showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"\u53d6\u6d88",confirmText:"\u786e\u8ba4",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:function(){return[]}}};e.default=n},"7ae6":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("af34")),o=n(i("7ca3")),a={name:"pop-info",data:function(){var t;return t={typeIndex:1,dataInfo:{},bodyDesc:{},arr:["BMI","bodyFatPercentage","leanBodyMass","muscleRate","muscleMass","subcutaneousFat","bodyMoisture","skeletalMuscleRate","boneMass","proteinAmount","basalMetabolicRate"],title:"",list:[],height:300,width:3e3,centerY:200,pLeft:"0"},(0,o.default)(t,"dataInfo",{}),(0,o.default)(t,"xinlv",{jisuan:[{times:0,unit:"\u6b21/\u5206",desc:"\u5e73\u5747\u5fc3\u7387",cankao:""},{times:0,unit:"\u6b21/\u5206",desc:"\u6700\u9ad8\u5fc3\u7387",cankao:""},{times:0,unit:"\u6b21/\u5206",desc:"\u6700\u4f4e\u5fc3\u7387",cankao:""}],cankao:[{times:0,unit:"%",desc:"\u6b63\u5e38",cankao:"(60~100\u6b21/\u5206)"},{times:0,unit:"%",desc:"\u5fc3\u7387\u504f\u5feb",cankao:">100\u6b21/\u5206)"},{times:0,unit:"%",desc:"\u5fc3\u7387\u504f\u6162",cankao:"(<60\u6b21/\u5206)"}]}),(0,o.default)(t,"ybx",{hrv:{name:"HRV",max:210,unit:"\u6beb\u79d2",min:0,val:0},sdnn:{name:"SDNN",max:180,unit:"\u6beb\u79d2",min:102,val:0},rmssd:{name:"RMSSD",max:39,unit:"\u6beb\u79d2",min:15,val:0}}),(0,o.default)(t,"xdt",{pwv:{name:"PWV",max:15,unit:"m/s",min:6,val:0},qtc:{name:"QTc",max:400,unit:"\u6beb\u79d2",min:260,val:0},qsrf:{name:"QRS \u6ce2\u632f\u5e45",max:1.5,unit:"mV",min:.05,val:0},qsrx:{name:"QRS \u6ce2\u65f6\u9650",max:120,unit:"\u6beb\u79d2",min:80,val:0},qsrfx:{name:"QRS \u4e3b\u6ce2\u65b9\u5411",max:0,unit:"\u5411\u4e0a\uff0c\u5411\u4e0b",min:0,val:0},st:{name:"ST \u6bb5\u632f\u5e45",max:.1,unit:"mV",min:-.05,val:0}}),t},methods:{close:function(){this.$refs.popup.close()},open:function(e){var i=this;if(this.typeIndex=1==e?1:2,this.$refs.popup.open("bottom"),1==e){var n=uni.getStorageSync("infoData");if(!n)return uni.showToast({title:"\u8bfb\u53d6\u6570\u636e\u5931\u8d25"}),void setTimeout((function(){uni.navigateBack({delta:-1})}),2e3);var r=JSON.parse(n);t("log",r," at components/ecg-info/ecg-info.vue:377"),this.dataInfo=r,this.changeData(this.dataInfo),this.list=this.dataInfo.data_msg.list,setTimeout((function(){i.list=i.list.filter((function(t){return 0!==t}));var t=uni.createCanvasContext("ecg",i);t.setStrokeStyle("#d5d5d5"),t.setLineWidth(1);for(var e=.5;e<3e3;e+=15)t.moveTo(e,0),t.lineTo(e,3e3),t.stroke();for(var n=.5;n<3e3;n+=15)t.moveTo(0,n),t.lineTo(3e3,n),t.stroke();t.draw(),i.drawCurve()}),1e3)}else{var o=uni.getStorageSync("bodyData");if(!o)return uni.showToast({title:"\u8bfb\u53d6\u6570\u636e\u5931\u8d25"}),void setTimeout((function(){uni.navigateBack({delta:-1})}),2e3);var a=JSON.parse(o);this.dataInfo=a,t("log",this.dataInfo," at components/ecg-info/ecg-info.vue:423"),this.bodyDesc=this.$utils.getBodyKeyInfo(this.dataInfo.data_msg.BMI,"BMI")}},drawCurve:function(){var t=uni.createCanvasContext("myCanvas",this),e=this.list,i=this.centerY,n=this.width,o=n/(e.length-1),a=i/(Math.max.apply(Math,(0,r.default)(e))-Math.min.apply(Math,(0,r.default)(e))),s=i/2-e[0]*a;t.beginPath(),t.moveTo(0,s),t.setStrokeStyle("#c96d79"),t.setLineWidth(2);for(var l=1;l<e.length;l++){var u=l*o,c=i/2-e[l]/2*a;t.lineTo(u,c)}t.stroke(),t.draw(!1)},changeData:function(e){var i=[],n=[],r=[],o=[],a=[];if(this.xinlv.jisuan[0].times=void 0==e.data_msg.meanHeartRate?e.data_msg.heartRate:e.data_msg.meanHeartRate,void 0!=e.data_msg.wavefrom){e.data_msg.wavefrom.map((function(t,e){t instanceof Array||(0!=t.HRV&&i.push(t.HRV),0!=t.QT&&n.push(t.QT),0!=t.heart&&null!=t.heart&&r.push(t.heart),0!=t.pwv&&o.push(t.pwv),0!=t.resRate&&a.push(t.resRate))})),this.xinlv.jisuan[1].times=Math.max.apply(Math,r),this.xinlv.jisuan[2].times=Math.min.apply(Math,r);var s=r.filter((function(t){return t>=60&&t<=100})).length,l=r.filter((function(t){return t>100})).length,u=r.filter((function(t){return t<60})).length,c=r.length;this.xinlv.cankao[0].times=100*(s/c).toFixed(2),this.xinlv.cankao[1].times=100*(l/c).toFixed(2),this.xinlv.cankao[2].times=100*(u/c).toFixed(2),this.xinlv.cankao[0].times>50?this.title="\u7aa6\u6027\u5fc3\u7387":this.xinlv.cankao[1].times>=50?this.title="\u5fc3\u7387\u504f\u5feb":this.xinlv.cankao[2].times>=50?this.title="\u5fc3\u7387\u504f\u6162":this.title="\u7aa6\u6027\u5fc3\u7387\u4e0d\u9f50",void 0!=e.diseaseRisk&&e.diseaseRisk>=30&&this.xinlv.cankao[0].times>50&&(this.title="\u7aa6\u6027\u5fc3\u7387\u4e0d\u9f50"),void 0!=e.data_msg.hrv?(this.ybx.hrv.val=e.data_msg.hrv,this.ybx.sdnn.val=e.data_msg.diseaseSdnn,this.ybx.rmssd.val=e.data_msg.diseaseRmssd,this.xdt.pwv.val=(e.data_msg.pwvMeanVal/10).toFixed(2),this.xdt.qtc.val=e.data_msg.QTC,this.xdt.qsrf.val=(e.data_msg.qrsAmp/100).toFixed(2),this.xdt.qsrx.val=e.data_msg.qrsTime,this.xdt.qsrfx.val=0==e.data_msg.leadOffType?"\u5411\u4e0a":"\u5411\u4e0b",this.xdt.st.val=(e.data_msg.stMeanVal/100).toFixed(2)):(t("log","is undefined"," at components/ecg-info/ecg-info.vue:522"),this.ybx.hrv.val=e.data_msg.averageHRV,this.xdt.qtc.val=e.data_msg.averageTimeInterval)}}}};e.default=a}).call(this,i("f3b9")["default"])},"7bc1":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={statusBar:{bgColor:"transparent"}}},"7bef":function(t,e,i){"use strict";i.r(e);var n=i("f6a7"),r=i("4fbd");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"9f8fbbee",null,!1,n["a"],void 0);e["default"]=s.exports},"7c4e":function(t,e,i){t.exports=i.p+"static/icon/wendu.png"},"7c5c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"detail_components",props:{key_name:{type:String,default:"bodyData"},item:Object},data:function(){return{bodyData:{BMI:{},bodyFatPercentage:{},muscleRate:{}},ECGData:{meanHeartRate:{name:"\u5fc3\u7387",unit:"\u6b21/\u5206",keyname:"heartRate"},averageHRV:{name:"HRV",unit:"\u6beb\u79d2",keyname:"hrv"},averageTimeInterval:{name:"QTc",unit:"\u6beb\u79d2",keyname:"QTC"}},colorArr:[{color:"#46b4ff",bgColor:"#e1f3fd"},{color:"#29cf6c",bgColor:"#e2fff3"},{color:"#fcc05d",bgColor:"#fef5e3"},{color:"#fa4e33",bgColor:"#fee5e1"}]}},mounted:function(){"bodyData"==this.key_name&&(this.bodyData.BMI=this.$utils.getBodyKeyInfo(this.item.data_msg.BMI,"BMI"),this.bodyData.BMI.title="BMI",this.bodyData.bodyFatPercentage=this.$utils.getBodyKeyInfo(this.item.data_msg.bodyFatPercentage,"bodyFatPercentage"),this.bodyData.bodyFatPercentage.title="\u4f53\u8102\u7387",this.bodyData.muscleRate=this.$utils.getBodyKeyInfo(this.item.data_msg.muscleRate,"muscleRate"),this.bodyData.muscleRate.title="\u808c\u8089\u7387")}};e.default=n},"7ca3":function(t,e,i){var n=i("d551");t.exports=function(t,e,i){return e=n(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"7cee":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=i("29c3");function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function s(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var l=function(t,e,i){var n={};return t.forEach((function(t){(0,o.isUndefined)(i[t])?(0,o.isUndefined)(e[t])||(n[t]=e[t]):n[t]=i[t]})),n};e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.method||t.method||"GET",n={baseURL:t.baseURL||"",method:i,url:e.url||"",params:e.params||{},custom:s(s({},t.custom||{}),e.custom||{}),header:(0,o.deepMerge)(t.header||{},e.header||{})},r=["getTask","validateStatus"];if(n=s(s({},n),l(r,t,e)),"DOWNLOAD"===i)(0,o.isUndefined)(e.timeout)?(0,o.isUndefined)(t.timeout)||(n.timeout=t.timeout):n.timeout=e.timeout;else if("UPLOAD"===i){delete n.header["content-type"],delete n.header["Content-Type"];var a=["files","filePath","name","timeout","formData"];a.forEach((function(t){(0,o.isUndefined)(e[t])||(n[t]=e[t])})),(0,o.isUndefined)(n.timeout)&&!(0,o.isUndefined)(t.timeout)&&(n.timeout=t.timeout)}else{var u=["data","timeout","dataType","responseType","sslVerify","firstIpv4"];n=s(s({},n),l(u,t,e))}return n}},"7da6":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=i("8f59");function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var s={props:{elementId:{type:String,default:""},dataList:{type:Array,default:function(){return[]}},bgColor:{type:String,default:"#FFFFFF"},radius:{type:Number,default:8},dWidth:{type:Number,default:0},dHeight:{type:Number,default:0},dMaxHeight:{type:Number,default:400},color:{type:String,default:"#333333"},fontSize:{type:Number,default:28},lineHeight:{type:Number,default:66}},data:function(){return{show:!1,width:0,left:0,top:0,difference:0}},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,o.mapGetters)({getActiceDevice:"api/getActiceDevice"})),mounted:function(){var t=this;this.$nextTick((function(){t.elementId&&uni.createSelectorQuery().select(".select-main").boundingClientRect((function(e){t.difference=e.left,uni.createSelectorQuery().select("#"+t.elementId).boundingClientRect((function(e){var i=uni.getSystemInfoSync(),n=i.screenWidth;t.dWidth?t.width=t.dWidth:t.width=t.px2rpx(e.width,n),t.left=t.px2rpx(e.left-t.difference,n),t.top=t.px2rpx(e.height+15,n)})).exec()})).exec()}))},methods:{showCard:function(){this.elementId&&(this.show=!this.show)},px2rpx:function(t,e){return t/(e/750)},clickItem:function(t){this.show=!1,this.$emit("change",t)}}};e.default=s},"7e4e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={album:{urls:function(){return[]},keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0}}},"7e5a":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={navtab:i("70ff").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",[n("navtab",{attrs:{current:2,_i:1}}),n("view",{staticClass:t._$s(2,"sc","mypage-container"),attrs:{_i:2}},[n("view",{staticClass:t._$s(3,"sc","head"),attrs:{_i:3}}),n("view",{staticClass:t._$s(4,"sc","user-info-box"),attrs:{_i:4}},[n("view",{staticClass:t._$s(5,"sc","avatar-box"),attrs:{_i:5}},[n("image",{staticClass:t._$s(6,"sc","avatar"),attrs:{src:t._$s(6,"a-src",i("ce08")),_i:6}}),n("view",{staticClass:t._$s(7,"sc","avatar-text"),attrs:{_i:7}},[n("view",{staticClass:t._$s(8,"sc","name"),attrs:{_i:8}},[t._v(t._$s(8,"t0-0",t._s(t.getApiToken?"\u7528\u6237":"\u53bb\u767b\u5f55")))]),n("view",{staticClass:t._$s(9,"sc","desc"),attrs:{_i:9}})])]),n("view",{staticClass:t._$s(10,"sc","card-three"),attrs:{_i:10}}),n("view",{staticClass:t._$s(11,"sc","card-two"),attrs:{_i:11}}),n("view",{staticClass:t._$s(12,"sc","card-one"),attrs:{_i:12}})]),n("view",{staticClass:t._$s(13,"sc","size-seat"),attrs:{_i:13}}),n("view",{staticClass:t._$s(14,"sc","menu-box"),attrs:{_i:14}},[n("view",{staticClass:t._$s(15,"sc","menu-item"),attrs:{_i:15},on:{click:function(e){return t.logout()}}},[n("view",{staticClass:t._$s(16,"sc","menu-item-left"),attrs:{_i:16}},[n("view",{staticClass:t._$s(17,"sc","menu-item-left-text"),attrs:{_i:17}})]),n("view",{staticClass:t._$s(18,"sc","menu-item-right"),attrs:{_i:18}},[n("view",{staticClass:t._$s(19,"sc","arrow-right"),attrs:{_i:19}})])])])])],1)},o=[]},"7eab":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("b5b8")),o={mounted:function(){uni.$on("keyboardHeightChange",this.handleKeyboardHeightChange)},beforeDestroy:function(){uni.$off("keyboardHeightChange",this.handleKeyboardHeightChange)},components:{wInput:r.default},methods:{getVerCode:function(){this.$refs.runCode.$emit("runCode")},handleKeyboardHeightChange:function(e){if(t("log","\u76d1\u542c\u5230\u4e86"," at pages/only_test/ot3.vue:45"),e.height>0){var i=this.getElementTop(this.$refs.inputRef),n=uni.getSystemInfoSync().windowHeight-e.height;i>n&&uni.pageScrollTo({scrollTop:i-n+10,duration:e.duration})}},getElementTop:function(t){return t.getBoundingClientRect().top+(uni.getSystemInfoSync().windowTop||0)}}};e.default=o}).call(this,i("f3b9")["default"])},"7f16":function(t,e,i){"use strict";i.r(e);var n=i("382e"),r=i("481f");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"805e":function(t,e,i){t.exports=i.p+"uni_modules/punch-calendar/static/images/calendar-prev.png"},"813f":function(t,e,i){"use strict";i.r(e);var n=i("7ae6"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"81f6":function(t,e,i){"use strict";i.r(e);var n=i("896a"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"828b":function(t,e,i){"use strict";function n(t,e,i,n,r,o,a,s,l,u){var c,d="function"===typeof t?t.options:t;if(l){d.components||(d.components={});var h=Object.prototype.hasOwnProperty;for(var f in l)h.call(l,f)&&!h.call(d.components,f)&&(d.components[f]=l[f])}if(u&&("function"===typeof u.beforeCreate&&(u.beforeCreate=[u.beforeCreate]),(u.beforeCreate||(u.beforeCreate=[])).unshift((function(){this[u.__module]=this})),(d.mixins||(d.mixins=[])).push(u)),e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),n&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(d.functional){d._injectStyles=c;var p=d.render;d.render=function(t,e){return c.call(e),p(t,e)}}else{var g=d.beforeCreate;d.beforeCreate=g?[].concat(g,c):[c]}return{exports:t,options:d}}i.d(e,"a",(function(){return n}))},"861b":function(t,e,i){"use strict";i.r(e);var n=i("76a5"),r=i("047f");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"4344949f",null,!1,n["a"],void 0);e["default"]=s.exports},"863f":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",[i("view"),i("input",{ref:"inputRef"})]),i("view",[i("wInput",{ref:"runCode",attrs:{type:"number",maxlength:"4",placeholder:"\u77ed\u4fe1\u9a8c\u8bc1\u7801",isShowCode:!0,_i:5},on:{setCode:function(e){return t.getVerCode()}},model:{value:t._$s(5,"v-model",t.verCode),callback:function(e){t.verCode=e},expression:"verCode"}}),i("view")],1)])},r=[]},"868f":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","tm-status-bar"),style:this._$s(0,"s",{height:this.statusBarHeight}),attrs:{_i:0}},[this._t("default",null,{_i:1})],2)},r=[]},8718:function(t,e,i){t.exports=i.p+"static/icon/niaosuan.png"},8942:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",[e("view",[e("view",{style:this._$s(2,"s","position: absolute;width: 100%; height: 60px;background-color: #000;z-index: 1;display: "+this.zz),attrs:{_i:2}},[e("image",{attrs:{src:this._$s(3,"a-src",i("f5ec")),_i:3}})]),e("view",[e("canvas",{attrs:{id:"myCanvas","canvas-id":this._$s(5,"a-canvas-id",this.canvasId),_i:5}})])])])},r=[]},"896a":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("af34")),o=n(i("3b2d")),a=n(i("7ca3")),s=i("f889");function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function u(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var c={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:function(){return"fade"}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:function(){return{isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}},watch:{show:{handler:function(t){t?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject:function(){var t=u(u({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),e="";for(var i in t){var n=this.toLine(i);e+=n+":"+t[i]+";"}return e},transformStyles:function(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created:function(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.duration&&(this.durationTime=t.duration),this.animation=(0,s.createAnimation)(Object.assign(this.config,t),this)},onClick:function(){this.$emit("click",{detail:this.isShow})},step:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.animation){for(var n in e)try{var a;if("object"===(0,o.default)(e[n]))(a=this.animation)[n].apply(a,(0,r.default)(e[n]));else this.animation[n](e[n])}catch(s){t("error","\u65b9\u6cd5 ".concat(n," \u4e0d\u5b58\u5728")," at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:148")}return this.animation.step(i),this}},run:function(t){this.animation&&this.animation.run(t)},open:function(){var t=this;clearTimeout(this.timer),this.transform="",this.isShow=!0;var e=this.styleInit(!1),i=e.opacity,n=e.transform;"undefined"!==typeof i&&(this.opacity=i),this.transform=n,this.$nextTick((function(){t.timer=setTimeout((function(){t.animation=(0,s.createAnimation)(t.config,t),t.tranfromInit(!1).step(),t.animation.run(),t.$emit("change",{detail:t.isShow})}),20)}))},close:function(t){var e=this;this.animation&&this.tranfromInit(!0).step().run((function(){e.isShow=!1,e.animationData=null,e.animation=null;var t=e.styleInit(!1),i=t.opacity,n=t.transform;e.opacity=i||1,e.transform=n,e.$emit("change",{detail:e.isShow})}))},styleInit:function(t){var e=this,i={transform:""},n=function(t,n){"fade"===n?i.opacity=e.animationType(t)[n]:i.transform+=e.animationType(t)[n]+" "};return"string"===typeof this.modeClass?n(t,this.modeClass):this.modeClass.forEach((function(e){n(t,e)})),i},tranfromInit:function(t){var e=this,i=function(t,i){var n=null;"fade"===i?n=t?0:1:(n=t?"-100%":"0","zoom-in"===i&&(n=t?.8:1),"zoom-out"===i&&(n=t?1.2:1),"slide-right"===i&&(n=t?"100%":"0"),"slide-bottom"===i&&(n=t?"100%":"0")),e.animation[e.animationMode()[i]](n)};return"string"===typeof this.modeClass?i(t,this.modeClass):this.modeClass.forEach((function(e){i(t,e)})),this.animation},animationType:function(t){return{fade:t?0:1,"slide-top":"translateY(".concat(t?"0":"-100%",")"),"slide-right":"translateX(".concat(t?"0":"100%",")"),"slide-bottom":"translateY(".concat(t?"0":"100%",")"),"slide-left":"translateX(".concat(t?"0":"-100%",")"),"zoom-in":"scaleX(".concat(t?1:.8,") scaleY(").concat(t?1:.8,")"),"zoom-out":"scaleX(".concat(t?1:1.2,") scaleY(").concat(t?1:1.2,")")}},animationMode:function(){return{fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};e.default=c}).call(this,i("f3b9")["default"])},8984:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=(n(i("70ff")),n(i("4a05"))),a=n(i("6d18")),s=n(i("57ed")),l=i("f859"),u=n(i("bd30")),c=i("8f59");function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var h={components:{homeData:o.default,echartsData:a.default,allData:s.default},data:function(){return{Sindex:1,keyNameMap:{bloodGlucose:"\u8840\u7cd6",sleep:"\u7761\u7720",bloodOxygen:"\u8840\u6c27",bloodPressure:"\u8840\u538b",bloodLiquid:"\u8840\u8102",meiTuo:"\u6885\u8131",pulseReat:"\u5fc3\u7387",updataDate:"\u66f4\u65b0\u65f6\u95f4",bodyTemperature:"\u4f53\u6e29"},dataLists:{},dataListsNew:{stepIndex:{},pulseReat:{},bloodOxygen:{},bloodPressure:{},bloodGlucose:{},meiTuo:{},bodyTemperature:{},bloodLiquid:{},ECGData:{},bodyData:{},SleepDatas:{}},name:"",name1:"",name2:"",deviceList:[],Activedevice:"",urlLink:"",activeType:"",pageData:{type:""},loading:!0,customConfigs:{padding:"30rpx",gridRows:2,gridColumns:1,headShow:!0,headWidth:"100%",headHeight:"100vh",headBorderRadius:"12rpx"}}},onLoad:function(){this.onRefresh(),setTimeout((function(){var e=plus.ios.import("AVAudioSession"),i=e.sharedInstance();i.requestRecordPermission((function(){t("log","\u7533\u8bf7\u9ea6\u514b\u98ce\u6743\u9650"," at pages/index/index.vue:123")}))}),1e3),this.urlLink="/hybrid/html/ai.html"},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,c.mapGetters)({getActiceDevice:"api/getActiceDevice",getUserInfo:"api/getUserInfo"})),onReady:function(){var t=getCurrentPages(),e=t[t.length-1],i=e.$getAppWebview();setTimeout((function(){var t=i.children()[0];t.setStyle({top:0,right:0,height:uni.getSystemInfoSync().windowHeight,width:uni.getSystemInfoSync().windowWidth-660})}),100)},onPageScroll:function(t){this.$refs.xtotop_ref.scroll(t)},methods:{getArrMaxValue:l.getArrMaxValue,onRefresh:function(t,e){var i=this;this.$store.dispatch("api/getBindUserDeviceId").then((function(t){i.deviceList=t,i.getActiceDevice.device_id?(i.IndexData(i.getActiceDevice.device_id),i.Activedevice=i.getActiceDevice.device_id):i.deviceList.length&&(i.name2=i.deviceList[0].device_id,i.$store.commit("api/setActiceDevice",i.deviceList[0]),i.$store.dispatch("api/getUserInfo",{device_id:i.deviceList[0].device_id}).then((function(t){i.$store.commit("api/setUserInfo",t),i.Activedevice=i.deviceList[0].device_id,i.IndexData(i.deviceList[0].device_id)})))}))},IndexData:function(t){var e=this;this.$store.dispatch("api/getIndexData",{device_id:t,need_arr:["pulseReat","bloodOxygen","bloodPressure","bloodGlucose","meiTuo","bodyTemperature","bloodLiquid","stepIndex","ECGData","SleepDatas","bodyData"]}).then((function(t){for(var i=0;i<t.length;i++)e.dataListsNew[t[i].type]=t[i],e.dataListsNew[t[i].name]=e.getNameByKey(t[i].type);e.dataListsNew.ECGData.data_msg&&(delete e.dataListsNew.ECGData.data_msg.wavefrom,delete e.dataListsNew.ECGData.data_msg.list),e.urlLink="/hybrid/html/ai.html?data=".concat(JSON.stringify(e.dataListsNew),"&user=").concat(JSON.stringify(e.getUserInfo),"&token=").concat(u.default.getters["api/getApiToken"],"&deviceId=").concat(e.getActiceDevice.device_id),e.loading=!1}))},mkHourMin:function(t){return t<60?[0,t]:[Math.floor(t/60),t%60]},pageDetail:function(t){if("ECGData"==t||"bodyData"==t)return this.Sindex=3,void(this.activeType=t);if("SleepDatas"==t)this.Sindex=4;else{if(this.Sindex=2,this.activeType=t,"bloodLiquidAll"==t)return this.pageData=this.dataListsNew["bloodLiquid"],void(this.pageData.type="bloodLiquidAll");if("bloodLiquid"==t)return this.pageData=this.dataListsNew["bloodLiquid"],void(this.pageData.type="bloodLiquid");for(var e in this.dataListsNew)t==e&&(this.pageData=this.dataListsNew[e])}},toPage:function(t){uni.navigateTo({url:t})},formatDateTime:function(t){if(t)return t.replace(/-/g," ").replace(" "," ",2).replace(" ",":")},outlogin:function(){this.$store.commit("api/setApiToken",""),this.$store.commit("api/setActiceDevice",""),this.$store.commit("api/setUserInfo",""),uni.reLaunch({url:"/pages/login/login"})},getNameByKey:function(t){return this.keyNameMap[t]||"Key not found"},deviceGet:function(t){this.deviceList=t},allData:function(t){this.Sindex=t},back:function(t){this.Sindex=t,this.pageData.type=""}}};e.default=h}).call(this,i("f3b9")["default"])},"898e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12}}},"8ae8":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80}}},"8b84":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""}}},"8c35":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tmNavBar:i("a73c").default,lEchart:i("00c2").default,overview:i("64c5").default,cankao:i("8d63").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",[n("view",{staticClass:t._$s(1,"sc","contents"),attrs:{_i:1}},[t._$s(2,"i",t.pageData.type)?n("view",{staticClass:t._$s(2,"sc","left"),attrs:{_i:2}},[n("tm-nav-bar",{attrs:{"left-icon":"arrow-left",title:t.dataConfig[t.pageData.type].name,rightText:"\u5168\u90e8\u6570\u636e",_i:3},on:{clickLeft:t.back,clickRight:t.goAllPath}}),n("view",{staticClass:t._$s(4,"sc","flx jcsb ac"),attrs:{_i:4}},[n("view"),n("view",[t._v(t._$s(6,"t0-0",t._s(t.time)))])]),n("view"),t._$s(8,"i",this.pageData.data_msg)?n("view",{staticClass:t._$s(8,"sc","page-view"),attrs:{_i:8}},[n("view",{staticClass:t._$s(9,"sc","charts"),attrs:{_i:9}},[n("l-echart",{ref:"chartRef",attrs:{_i:10},on:{finished:t.init}})],1),t._$s(11,"i",t.dataConfig[t.pageData.type].overviewData)?n("overview",{attrs:{overviewData:t.dataConfig[t.pageData.type].overviewData,_i:11}}):t._e(),t._$s(12,"i",t.dataConfig[t.pageData.type].cankaoData)?n("cankao",{attrs:{cankaoData:t.dataConfig[t.pageData.type].cankaoData,_i:12}}):t._e(),t._$s(13,"i","stepIndex"==t.pageData.type&&t.pageData.data_msg)?n("view",{staticClass:t._$s(13,"sc","flx total_box"),attrs:{_i:13}},[n("view",{staticClass:t._$s(14,"sc","distance b1"),attrs:{_i:14}},[n("view",{staticClass:t._$s(15,"sc","flx"),attrs:{_i:15}},[n("view",[t._v(t._$s(16,"t0-0",t._s(t.pageData.data_msg.distance/1e3)))]),n("view",{staticClass:t._$s(17,"sc","sport-title"),attrs:{_i:17}})]),n("view",{staticClass:t._$s(18,"sc","sport-jvli"),attrs:{_i:18}}),n("view",{staticClass:t._$s(19,"sc","flx"),attrs:{_i:19}},[n("image",{attrs:{src:t._$s(20,"a-src",i("5bcc")),_i:20}})])]),n("view",{staticClass:t._$s(21,"sc","calorie b1"),attrs:{_i:21}},[n("view",{staticClass:t._$s(22,"sc","flx"),attrs:{_i:22}},[n("view",[t._v(t._$s(23,"t0-0",t._s(t.pageData.data_msg.calorie/10)))]),n("view")]),n("view"),n("view",{staticClass:t._$s(26,"sc","flx"),attrs:{_i:26}},[n("image",{attrs:{src:t._$s(27,"a-src",i("df7d")),_i:27}})])])]):t._e()],1):t._e()],1):t._e()]),n("view",{staticClass:t._$s(28,"sc","end"),attrs:{_i:28}})])},o=[]},"8d63":function(t,e,i){"use strict";i.r(e);var n=i("c58b"),r=i("c8f4");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"4c6eaa3d",null,!1,n["a"],void 0);e["default"]=s.exports},"8f59":function(t,e,i){"use strict";(function(e){var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},n=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var i=function(t,e){return t.filter(e)[0]}(e,(function(e){return e.original===t}));if(i)return i.copy;var n=Array.isArray(t)?[]:{};return e.push({original:t,copy:n}),Object.keys(t).forEach((function(i){n[i]=r(t[i],e)})),n}function o(t,e){Object.keys(t).forEach((function(i){return e(t[i],i)}))}function a(t){return null!==t&&"object"===typeof t}var s=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var i=t.state;this.state=("function"===typeof i?i():i)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,l);var u=function(t){this.register([],t,!1)};u.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,i){return e=e.getChild(i),t+(e.namespaced?i+"/":"")}),"")},u.prototype.update=function(t){(function t(e,i,n){0;if(i.update(n),n.modules)for(var r in n.modules){if(!i.getChild(r))return void 0;t(e.concat(r),i.getChild(r),n.modules[r])}})([],this.root,t)},u.prototype.register=function(t,e,i){var n=this;void 0===i&&(i=!0);var r=new s(e,i);if(0===t.length)this.root=r;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],r)}e.modules&&o(e.modules,(function(e,r){n.register(t.concat(r),e,i)}))},u.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1],n=e.getChild(i);n&&n.runtime&&e.removeChild(i)},u.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1];return!!e&&e.hasChild(i)};var c;var d=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!==typeof window&&window.Vue&&_(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,i){return s.call(o,t,e,i)},this.strict=r;var l=this._modules.root.state;v(this,l,[],this._modules.root),g(this,l),i.forEach((function(t){return t(e)}));var d=void 0!==t.devtools?t.devtools:c.config.devtools;d&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){n.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){n.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},h={state:{configurable:!0}};function f(t,e,i){return e.indexOf(t)<0&&(i&&i.prepend?e.unshift(t):e.push(t)),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function p(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var i=t.state;v(t,i,[],t._modules.root,!0),g(t,i,e)}function g(t,e,i){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,a={};o(r,(function(e,i){a[i]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,i,{get:function(){return t._vm[i]},enumerable:!0})}));var s=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:a}),c.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),n&&(i&&t._withCommit((function(){n._data.$$state=null})),c.nextTick((function(){return n.$destroy()})))}function v(t,e,i,n,r){var o=!i.length,a=t._modules.getNamespace(i);if(n.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=n),!o&&!r){var s=m(e,i.slice(0,-1)),l=i[i.length-1];t._withCommit((function(){c.set(s,l,n.state)}))}var u=n.context=function(t,e,i){var n=""===e,r={dispatch:n?t.dispatch:function(i,n,r){var o=y(i,n,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:n?t.commit:function(i,n,r){var o=y(i,n,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:n?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var i={},n=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,n)===e){var o=r.slice(n);Object.defineProperty(i,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=i}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return m(t.state,i)}}}),r}(t,a,i);n.forEachMutation((function(e,i){var n=a+i;(function(t,e,i,n){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){i.call(t,n.state,e)}))})(t,n,e,u)})),n.forEachAction((function(e,i){var n=e.root?i:a+i,r=e.handler||e;(function(t,e,i,n){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=i.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e);return function(t){return t&&"function"===typeof t.then}(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))})(t,n,r,u)})),n.forEachGetter((function(e,i){var n=a+i;(function(t,e,i,n){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return i(n.state,n.getters,t.state,t.getters)}})(t,n,e,u)})),n.forEachChild((function(n,o){v(t,e,i.concat(o),n,r)}))}function m(t,e){return e.reduce((function(t,e){return t[e]}),t)}function y(t,e,i){return a(t)&&t.type&&(i=e,e=t,t=t.type),{type:t,payload:e,options:i}}function _(t){c&&t===c||(c=t,
|
|
/*!
|
|
* vuex v3.6.2
|
|
* (c) 2021 Evan You
|
|
* @license MIT
|
|
*/
|
|
function(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:n});else{var i=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,i.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(c))}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(t){0},d.prototype.commit=function(t,e,i){var n=this,r=y(t,e,i),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,n.state)})))},d.prototype.dispatch=function(t,e){var i=this,n=y(t,e),r=n.type,o=n.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,i.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){l.then((function(e){try{i._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,i.state)}))}catch(u){0}t(e)}),(function(t){try{i._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,i.state,t)}))}catch(u){0}e(t)}))}))}},d.prototype.subscribe=function(t,e){return f(t,this._subscribers,e)},d.prototype.subscribeAction=function(t,e){var i="function"===typeof t?{before:t}:t;return f(i,this._actionSubscribers,e)},d.prototype.watch=function(t,e,i){var n=this;return this._watcherVM.$watch((function(){return t(n.state,n.getters)}),e,i)},d.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},d.prototype.registerModule=function(t,e,i){void 0===i&&(i={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),i.preserveState),g(this,this.state)},d.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var i=m(e.state,t.slice(0,-1));c.delete(i,t[t.length-1])})),p(this)},d.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},d.prototype[[104,111,116,85,112,100,97,116,101].map((function(t){return String.fromCharCode(t)})).join("")]=function(t){this._modules.update(t),p(this,!0)},d.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(d.prototype,h);var x=M((function(t,e){var i={};return C(e).forEach((function(e){var n=e.key,r=e.val;i[n]=function(){var e=this.$store.state,i=this.$store.getters;if(t){var n=T(this.$store,"mapState",t);if(!n)return;e=n.context.state,i=n.context.getters}return"function"===typeof r?r.call(this,e,i):e[r]},i[n].vuex=!0})),i})),b=M((function(t,e){var i={};return C(e).forEach((function(e){var n=e.key,r=e.val;i[n]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var n=this.$store.commit;if(t){var o=T(this.$store,"mapMutations",t);if(!o)return;n=o.context.commit}return"function"===typeof r?r.apply(this,[n].concat(e)):n.apply(this.$store,[r].concat(e))}})),i})),w=M((function(t,e){var i={};return C(e).forEach((function(e){var n=e.key,r=e.val;r=t+r,i[n]=function(){if(!t||T(this.$store,"mapGetters",t))return this.$store.getters[r]},i[n].vuex=!0})),i})),S=M((function(t,e){var i={};return C(e).forEach((function(e){var n=e.key,r=e.val;i[n]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var n=this.$store.dispatch;if(t){var o=T(this.$store,"mapActions",t);if(!o)return;n=o.context.dispatch}return"function"===typeof r?r.apply(this,[n].concat(e)):n.apply(this.$store,[r].concat(e))}})),i}));function C(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function M(t){return function(e,i){return"string"!==typeof e?(i=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,i)}}function T(t,e,i){var n=t._modulesNamespaceMap[i];return n}function I(t,e,i){var n=i?t.groupCollapsed:t.group;try{n.call(t,e)}catch(r){t.log(e)}}function A(t){try{t.groupEnd()}catch(e){t.log("\u2014\u2014 log end \u2014\u2014")}}function D(){var t=new Date;return" @ "+k(t.getHours(),2)+":"+k(t.getMinutes(),2)+":"+k(t.getSeconds(),2)+"."+k(t.getMilliseconds(),3)}function k(t,e){return function(t,e){return new Array(e+1).join(t)}("0",e-t.toString().length)+t}var L={Store:d,install:_,version:"3.6.2",mapState:x,mapMutations:b,mapGetters:w,mapActions:S,createNamespacedHelpers:function(t){return{mapState:x.bind(null,t),mapGetters:w.bind(null,t),mapMutations:b.bind(null,t),mapActions:S.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var i=t.filter;void 0===i&&(i=function(t,e,i){return!0});var n=t.transformer;void 0===n&&(n=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var u=t.logActions;void 0===u&&(u=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var d=r(t.state);"undefined"!==typeof c&&(l&&t.subscribe((function(t,a){var s=r(a);if(i(t,d,s)){var l=D(),u=o(t),h="mutation "+t.type+l;I(c,h,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",n(s)),A(c)}d=s})),u&&t.subscribeAction((function(t,i){if(a(t,i)){var n=D(),r=s(t),o="action "+t.type+n;I(c,o,e),c.log("%c action","color: #03A9F4; font-weight: bold",r),A(c)}})))}}};t.exports=L}).call(this,i("0ee4"))},"8fbe":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("61f2")),o={name:"tmNavBar",components:{statusBar:r.default},props:{height:{type:Number,default:function(){return 100}},width:{type:String,default:function(){return"60%"}},title:{type:String,default:function(){return""}},fontSize:{type:Number,default:function(){return 14}},iconSize:{type:Number,default:function(){return 22}},leftText:{type:String,default:function(){return""}},leftIcon:{type:String,default:function(){return"arrowleft"}},leftColor:{type:String,default:function(){return"#fff"}},rbgs:{type:Boolean,default:function(){return!0}},rightText:{type:String,default:function(){return""}},rightIcon:{type:String,default:function(){return""}},rightColor:{type:String,default:function(){return"#333"}},titleColor:{type:String,default:function(){return"#333"}},backgroundType:{type:Number,default:0},backgroundColor:{type:String,default:function(){return"#ffffff"}},backgroundImgUrl:{type:String,default:function(){return""}},fixed:{type:[Boolean,String],default:!0},statusBar:{type:[Boolean,String],default:!1}},methods:{onClickLeft:function(){this.$emit("clickLeft")},onClickRight:function(){this.$emit("clickRight")},onClickTitle:function(){this.$emit("clickTitle")}}};e.default=o},9008:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},"92eb":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("127e")),o=n(i("ee10")),a=i("4c23"),s={code:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.code)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},dologin:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.dologin)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},sendSms:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.sendSms)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},register:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.register)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},getBindUserDeviceId:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.getBindUserDeviceId)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},getDayInfo:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.getDayInfo)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},getDeviceListDays:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.getDeviceListDays)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},getVersion:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.getVersion)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},getIndexData:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.getIndexData)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},forgotPassword:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.forgotPassword)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},getUserInfo:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.getUserInfo)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},getLoginCode:function(t,e){return(0,o.default)(r.default.mark((function i(){var n;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.commit,i.next=3,(0,a.getLoginCode)(e);case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}}),i)})))()},checkLoginCode:function(t,e,i){return(0,o.default)(r.default.mark((function n(){var o;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.commit,n.next=3,(0,a.checkLoginCode)(e,i);case 3:return o=n.sent,n.abrupt("return",o);case 5:case"end":return n.stop()}}),n)})))()}},l={namespaced:!0,state:{userInfo:{},apiToken:"",serverTime:0,activeDevice:"",pageType:""},getters:{getUserInfo:function(t){return t.userInfo},getApiToken:function(t){return t.apiToken},getServerTime:function(t){return t.serverTime},getActiceDevice:function(t){return t.activeDevice},getpageType:function(t){return t.pageType}},mutations:{setpageType:function(t,e){t.pageType=e},setUserInfo:function(t,e){t.userInfo=e},setApiToken:function(t,e){t.apiToken=e},logOut:function(t,e){t.apiToken=""},setActiceDevice:function(t,e){t.activeDevice=e}},actions:s};e.default=l},"941f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""}}},9440:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",[e("canvas",{})])},r=[]},9460:function(t,e,i){"use strict";i.r(e);var n=i("1fba"),r=i("3977");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"949d":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tmNavBar:i("a73c").default,uniIcons:i("4798").default,punchCalendar:i("d82f").default,detail_components:i("d62a").default,ecgInfo:i("bba2").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("tm-nav-bar",{attrs:{"left-icon":"arrow-left",title:t.desc?t.getNameByKey(t.desc):t.getNameByKey(t.activeType),rbgs:!1,_i:1},on:{clickLeft:t.back}}),i("view",{staticClass:t._$s(2,"sc","content"),attrs:{_i:2}},[i("view",{staticClass:t._$s(3,"sc","over"),attrs:{_i:3},on:{click:function(e){t.flag=!t.flag}}},[i("text"),i("uni-icons",{attrs:{type:"down",size:"24",_i:5}})],1),i("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(6,"v-show",t.flag),expression:"_$s(6,'v-show',flag)"}],staticClass:t._$s(6,"sc","time"),attrs:{_i:6}},[i("punch-calendar",{ref:"calendar",attrs:{errorList:t.errorList,successList:t.successList,_i:7},on:{switchMonth:t.switchMonth,chooseDay:t.chooseDay}})],1),t._$s(8,"i","bloodLiquidAll"==t.activeType)?i("view",{staticClass:t._$s(8,"sc","flx flx_sb bloodl_box"),attrs:{_i:8}},t._l(t._$s(9,"f",{forItems:t.blData}),(function(e,n,r,o){return i("view",{key:t._$s(9,"f",{forIndex:r,key:n}),staticClass:t._$s("9-"+o,"sc","flx flx_ac"),attrs:{_i:"9-"+o}},[i("view",{staticClass:t._$s("10-"+o,"sc","yuan"),style:t._$s("10-"+o,"s",{backgroundColor:e.color}),attrs:{_i:"10-"+o}}),i("view",{staticClass:t._$s("11-"+o,"sc","name"),attrs:{_i:"11-"+o}},[t._v(t._$s("11-"+o,"t0-0",t._s(e.name)))])])})),0):t._e(),t._l(t._$s(12,"f",{forItems:t.dataList}),(function(e,n,r,o){return i("view",{key:t._$s(12,"f",{forIndex:r,key:n}),class:t._$s("12-"+o,"c","list"),attrs:{_i:"12-"+o},on:{click:function(e){return t.goInfo(n)}}},[t._$s("13-"+o,"i",!t.customType.includes(t.activeType))?i("view",{staticClass:t._$s("13-"+o,"sc","row"),attrs:{_i:"13-"+o}},[i("view",{staticClass:t._$s("14-"+o,"sc","data"),attrs:{_i:"14-"+o}},[i("image",{attrs:{_i:"15-"+o}}),t._$s("16-"+o,"i","stepIndex"==t.activeType)?i("view",[t._v(t._$s("16-"+o,"t0-0",t._s(e.data_msg.stepCount)))]):t._e(),t._$s("17-"+o,"i","bloodPressure"==t.activeType)?i("view",[t._v(t._$s("17-"+o,"t0-0",t._s(e.data_msg.bloodPressureHigh))+t._$s("17-"+o,"t0-1",t._s(e.data_msg.bloodPressureLow)))]):t._e(),t._$s("18-"+o,"i","bloodOxygen"==t.activeType)?i("view",[t._v(t._$s("18-"+o,"t0-0",t._s(e.data_msg[0]?e.data_msg[0]+(e.data_msg[1]?" | ":""):""))+t._$s("18-"+o,"t0-1",t._s(e.data_msg[1]?e.data_msg[1]+(e.data_msg[2]?" | ":""):""))+t._$s("18-"+o,"t0-2",t._s(e.data_msg[2]?e.data_msg[2]+(e.data_msg[3]?" | ":""):""))+t._$s("18-"+o,"t0-3",t._s(e.data_msg[3]?e.data_msg[3]+(e.data_msg[4]?" | ":""):""))+t._$s("18-"+o,"t0-4",t._s(e.data_msg[4]?e.data_msg[4]:"")))]):t._e(),t._$s("19-"+o,"i","bloodGlucose"==t.activeType)?i("view",[t._v(t._$s("19-"+o,"t0-0",t._s(e.data_msg)))]):t._e(),t._$s("20-"+o,"i","bodyTemperature"==t.activeType)?i("view",[t._v(t._$s("20-"+o,"t0-0",t._s(e.data_msg)))]):t._e(),t._$s("21-"+o,"i","pulseReat"==t.activeType)?i("view",[t._v(t._$s("21-"+o,"t0-0",t._s(e.data_msg[0]?e.data_msg[0]+(e.data_msg[1]?" | ":""):""))+t._$s("21-"+o,"t0-1",t._s(e.data_msg[1]?e.data_msg[1]+(e.data_msg[2]?" | ":""):""))+t._$s("21-"+o,"t0-2",t._s(e.data_msg[2]?e.data_msg[2]+(e.data_msg[3]?" | ":""):""))+t._$s("21-"+o,"t0-3",t._s(e.data_msg[3]?e.data_msg[3]+(e.data_msg[4]?" | ":""):""))+t._$s("21-"+o,"t0-4",t._s(e.data_msg[4]?e.data_msg[4]:"")))]):t._e(),t._$s("22-"+o,"i","bloodLiquid"==t.activeType)?i("view",[t._v(t._$s("22-"+o,"t0-0",t._s((e.data_msg.uricAcidVal/10).toFixed(2))))]):t._e(),t._$s("23-"+o,"i","bloodLiquidAll"==t.activeType)?i("view",[i("view",[t._v(t._$s("24-"+o,"t0-0",t._s((e.data_msg.cholesterol/100).toFixed(2))))]),i("view",[t._v(t._$s("25-"+o,"t0-0",t._s((e.data_msg.triacylglycerol/100).toFixed(2))))]),i("view",[t._v(t._$s("26-"+o,"t0-0",t._s((e.data_msg.highDensity/100).toFixed(2))))]),i("view",[t._v(t._$s("27-"+o,"t0-0",t._s((e.data_msg.lowDensity/100).toFixed(2))))])]):t._e(),t._$s("28-"+o,"i","ECGData"==t.activeType)?i("view",[i("view",[t._v(t._$s("29-"+o,"t0-0",t._s(e.data_msg.meanHeartRate||e.data_msg.heartRate)))]),i("view",[t._v(t._$s("30-"+o,"t0-0",t._s(e.data_msg.averageHRV||e.data_msg.hrv)))]),i("view",[t._v(t._$s("31-"+o,"t0-0",t._s(e.data_msg.averageTimeInterval||e.data_msg.QTC)))])]):t._e(),t._$s("32-"+o,"i","bodyData"==t.activeType)?i("view",[i("view",[t._v(t._$s("33-"+o,"t0-0",t._s(e.data_msg.BMI)))]),i("view",[t._v(t._$s("34-"+o,"t0-0",t._s(e.data_msg.bodyFatPercentage)))]),i("view",[t._v(t._$s("35-"+o,"t0-0",t._s(e.data_msg.muscleRate)))])]):t._e()]),i("view",{staticClass:t._$s("36-"+o,"sc","time"),attrs:{_i:"36-"+o}},[t._v(t._$s("36-"+o,"t0-0",t._s(e.date_str))+t._$s("36-"+o,"t0-1",t._s(e.hour_minute)))])]):i("view",[i("detail_components",{attrs:{key_name:t.activeType,item:e,_i:"38-"+o}})],1)])})),i("view",{staticClass:t._$s(39,"sc","end"),attrs:{_i:39}})],2),i("ecg-info",{ref:"popShow",attrs:{ecgData:t.ecgData,_i:40}})],1)},o=[]},"94ff":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("3b2d")),o=function(t){return function(t){return!!t&&"object"==(0,r.default)(t)}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===a}(t)}(t)},a="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(t,e){return!1!==e.clone&&e.isMergeableObject(t)?d(Array.isArray(t)?[]:{},t,e):t}function l(t,e,i){return t.concat(e).map((function(t){return s(t,i)}))}function u(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function c(t,e){try{return e in t}catch(t){return!1}}function d(t,e,i){(i=i||{}).arrayMerge=i.arrayMerge||l,i.isMergeableObject=i.isMergeableObject||o,i.cloneUnlessOtherwiseSpecified=s;var n=Array.isArray(e);return n===Array.isArray(t)?n?i.arrayMerge(t,e,i):function(t,e,i){var n={};return i.isMergeableObject(t)&&u(t).forEach((function(e){n[e]=s(t[e],i)})),u(e).forEach((function(r){(function(t,e){return c(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(n[r]=c(t,r)&&i.isMergeableObject(e[r])?function(t,e){if(!e.customMerge)return d;var i=e.customMerge(t);return"function"==typeof i?i:d}(r,i)(t[r],e[r],i):s(e[r],i))})),n}(t,e,i):s(e,i)}d.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,i){return d(t,i,e)}),{})};var h=d;var f=function(t){var e=(t=t||{}).storage||window&&window.localStorage,i=t.key||"vuex";function n(t,e){var i=e.getItem(t);try{return"string"==typeof i?JSON.parse(i):"object"==(0,r.default)(i)?i:void 0}catch(t){}}function o(){return!0}function a(t,e,i){return i.setItem(t,JSON.stringify(e))}function s(t,e){return Array.isArray(e)?e.reduce((function(e,i){return function(t,e,i,n){return!/^(__proto__|constructor|prototype)$/.test(e)&&((e=e.split?e.split("."):e.slice(0)).slice(0,-1).reduce((function(t,e){return t[e]=t[e]||{}}),t)[e.pop()]=i),t}(e,i,(n=t,void 0===(n=((r=i).split?r.split("."):r).reduce((function(t,e){return t&&t[e]}),n))?void 0:n));var n,r}),{}):t}function l(t){return function(e){return t.subscribe(e)}}(t.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var u,c=function(){return(t.getState||n)(i,e)};return t.fetchBeforeUse&&(u=c()),function(n){t.fetchBeforeUse||(u=c()),"object"==(0,r.default)(u)&&null!==u&&(n.replaceState(t.overwrite?u:h(n.state,u,{arrayMerge:t.arrayMerger||function(t,e){return e},clone:!1})),(t.rehydrated||function(){})(n)),(t.subscriber||l)(n)((function(n,r){(t.filter||o)(n)&&(t.setState||a)(i,(t.reducer||s)(r,t.paths),e)}))}};e.default=f},9500:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={modal:{show:!1,title:"",content:"",confirmText:"\u786e\u8ba4",cancelText:"\u53d6\u6d88",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:"",duration:400}}},"951c":function(t,e){t.exports=Vue},"95c4":function(t,e,i){"use strict";(function(t){var n=i("47a9"),r=i("3b2d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("127e")),a=n(i("af34")),s=n(i("ee10")),l=n(i("7ca3")),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var i=d(e);if(i&&i.has(t))return i.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}n.default=t,i&&i.set(t,n);return n}(i("ee80")),c=i("8f59");function d(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(d=function(t){return t?i:e})(t)}function h(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var f={name:"echarts-data",data:function(){return{time:(new Date).toISOString().substring(0,10),dataConfig:{bloodGlucose:{title:"123123",name:"\u8840\u7cd6",color:"#fb8544",unit:"\u6beb\u6469\u5c14/\u5347",cankaoData:[{name:"\u7a7a\u8179/\u9910\u524d",data:[0,3.9,6.1,15],adjustment:[.05,0,-.05],max:15},{name:"\u9910\u540e1\u5c0f\u65f6",data:[0,6.7,9.4,15],adjustment:[.04,0,-.04],max:15},{name:"\u9910\u540e2\u5c0f\u65f6",data:[0,4.4,7.8,15],adjustment:[.04,0,-.04],max:15}]},stepIndex:{name:"\u6bcf\u65e5\u8fd0\u52a8",color:"#29cf6f",unit:"\u6beb\u6469\u5c14/\u5347"},bloodOxygen:{title:"123123",name:"\u8840\u6c27",color:"#bf32fc",unit:"%",cankaoData:!1},bodyTemperature:{title:"bodyTemperature",name:"\u4f53\u6e29",color:"#2ec8d8",unit:"\u2103",cankaoData:!1},bloodPressure:{title:"bloodPressure",name:"\u8840\u538b",color:"#fb8544",color1:"#00c3da",unit:"\u2103",cankaoData:!1},pulseReat:{title:"123123",name:"\u5fc3\u7387",color:"#fd5656",unit:"\u6b21/\u5206",cankaoData:!1},bloodLiquid:{title:"123123",name:"\u5c3f\u9178",color:"#f00",unit:"\u5fae\u6469\u5c14/\u5347",cankaoData:[{name:"\u5c3f\u9178",data:[0,150,420,1e3],adjustment:[.06,0,-.06],max:1e3}]},bloodLiquidAll:{title:"123123",name:"\u8840\u8102",unit:"\u5fae\u6469\u5c14/\u5347",overviewData:{name:"\u8840\u8102\u6982\u51b5",tb_head:["","\u5355\u65e5\u6d4b\u91cf\u8303\u56f4","\u5e73\u5747\u503c"],data:[{name:"\u603b\u80c6\u56fa\u9187",value:"0-0",average:0,color:"#46b4ff",bgColor:"#e1f3fd"},{name:"\u7518\u6cb9\u4e09\u916f",value:"0-0",average:0,color:"#29cf6c",bgColor:"#e2fff3"},{name:"\u9ad8\u5bc6\u5ea6\u8102\u86cb\u767d",value:"0-0",average:0,color:"#fcc05d",bgColor:"#fef5e3"},{name:"\u4f4e\u5bc6\u5ea6\u8102\u86cb\u767d",value:"0-0",average:0,color:"#fa4e33",bgColor:"#fee5e1"}]},cankaoData:[{name:"\u603b\u80c6\u56fa\u9187",data:[0,2.8,5.17,20],adjustment:[.05,.02,-.05],max:10},{name:"\u7518\u6cb9\u4e09\u916f",data:[0,.56,1.7,20],adjustment:[.06,-.02,-.04],max:3},{name:"\u9ad8\u5bc6\u5ea6\u8102\u86cb\u767d",data:[0,.96,1.15,20],adjustment:[.04,0,-.04],max:3},{name:"\u4f4e\u5bc6\u5ea6\u8102\u86cb\u767d",data:[0,3.1,20],adjustment:[.04,0,-.04],max:20}]}},option:{xAxis:{splitLine:{show:!1},type:"value",max:4,min:0,axisLabel:{show:!0,splitNumber:2,formatter:function(t,e){return["12am","6am","12pm","6pm","12am"][Math.floor(e)]}}},yAxis:{splitLine:{show:!0,lineStyle:{color:["#ccc"],type:"dashed"}},axisTick:{show:!1},axisLine:{show:!1},axisLabel:{},position:"right",splitNumber:3},series:[{symbolSize:5,data:[],markLine:{data:[{show:!1,yAxis:2.5}],lineStyle:{color:"#ccc",cap:"butt"},label:{color:"#ccc"}},type:"scatter"}]}}},props:{pageData:{default:function(){return{}},type:Object}},mounted:function(){this.pageData.type=this.getpageType},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?h(Object(i),!0).forEach((function(e){(0,l.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,c.mapGetters)({getActiceDevice:"api/getActiceDevice",getpageType:"api/getpageType"})),methods:{init:function(){var t=this;return(0,s.default)(o.default.mark((function e(){var i;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.chartRef.init(u);case 2:return t.chart=e.sent,e.next=5,t.getDataList();case 5:i=e.sent,t.chart.setOption(i);case 7:case"end":return e.stop()}}),e)})))()},getDataList:function(){var t=this;return(0,s.default)(o.default.mark((function e(){var i,n;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.pageData.type,"bloodLiquidAll"==i&&(i="bloodLiquid"),e.next=4,t.$store.dispatch("api/getDeviceListDays",{type:i,device_real_time:t.time,device_id:t.getActiceDevice.device_id});case 4:return n=e.sent,e.abrupt("return",t.makeOptionConfig(n.data));case 6:case"end":return e.stop()}}),e)})))()},getAverage:function(t){if(0===t.length)return 0;var e=t.reduce((function(t,e){return t+e}));return e/t.length},subtractMinutes:function(t,e){var i=t.split(":"),n=parseInt(i[0],10),r=parseInt(i[1],10),o=new Date;o.setHours(n,r,0,0),o.setMinutes(o.getMinutes()-e);var a=o.getHours().toString().padStart(2,"0"),s=o.getMinutes().toString().padStart(2,"0");return a+":"+s},makeFloatHoursMinutes:function(t,e){var i=3600*t+60*e,n=i/86400*4;return n.toFixed(2)},back:function(){this.$emit("back",1)},goAllPath:function(){this.$emit("allData",3)},makeOptionConfig:function(e){t("log",e," at components/echarts-data/echarts-data.vue:438");var i=[],n=0,r=0,o=0,s=0,l=0,c=[],d={};switch(this.option.series[0].markLine.symbol="none",this.option.series[0].markLine.label.position="insideEndTop",this.pageData.type){case"stepIndex":for(var h in t("log","\u6b65\u6570"," at components/echarts-data/echarts-data.vue:452"),e.map((function(t,e){var i=t.hour_minute.split(":"),n="";n=i[1]<30?i[0]+":00":i[0]+":30",void 0==d[n]?d[n]={val:t.data_msg.step,from:1}:d[n].val+=t.data_msg.step})),d)if(d.hasOwnProperty(h)){var f=h.split(":"),p=this.makeFloatHoursMinutes(f[0],f[1]);i.push({value:[p,d[h].val],itemStyle:{color:this.dataConfig[this.pageData.type].color}})}t("log",i," at components/echarts-data/echarts-data.vue:480"),this.option.series[0].data=i,this.option.series[0].markLine=[],this.option.series[0].type="bar",this.option.series[0].barMaxWidth="10",this.option.title={text:this.pageData.data_msg.step+"\u6b65",left:"center"};break;case"bodyTemperature":for(var g in t("log",e," at components/echarts-data/echarts-data.vue:492"),e.map((function(t,e){var i=t.hour_minute.split(":"),s=i[0]+":00";void 0==d[s]?d[s]={val:[parseFloat(t.data_msg)],from:0}:d[s].val=[].concat((0,a.default)(d[s].val),[parseFloat(t.data_msg)]);var l=parseFloat(t.data_msg);n+=l,(0==r||r<l)&&(r=l),(0==o||o>l)&&(o=l)})),s=n/e.length,s=parseFloat(s.toFixed(2)),d)if(d.hasOwnProperty(g)){var v=g.split(":"),m=this.makeFloatHoursMinutes(v[0],v[1]);i.push({value:[m,this.getAverage(d[g].val)],itemStyle:{color:this.dataConfig[this.pageData.type].color}})}this.option.series[0].data=i,this.option.series[0].type="line",this.option.series[0].lineStyle={},this.option.series[0].lineStyle.color="#ccc",this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.pageData.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.pageData.type].color,this.option.yAxis.min=parseInt(o)-1,this.option.yAxis.max=parseInt(r)+1,this.option.yAxis.splitNumber=1,this.option.title={text:o+"-"+r,subtext:"\u2103",left:"center"},this.dataConfig.bodyTemperature.title=o+"-"+r;break;case"bloodOxygen":for(var y in e.map((function(t,e){var i=t.hour_minute.split(":"),n=t.data_msg.filter((function(t){return t>0}));if(i[1]%10==0){var r=t.hour_minute;void 0==d[r]?d[r]={val:n,from:0}:d[r].val=[].concat((0,a.default)(d[r].val),(0,a.default)(n))}else{var o=i[0]+":"+(i[1]-5==0?"00":i[1]-5);void 0==d[o]?d[o]={val:n,from:1}:d[o].val=[].concat((0,a.default)(d[o].val),(0,a.default)(n))}n.map((function(t,e){t>0&&c.push(t)}))})),d)if(d.hasOwnProperty(y)){var _=y.split(":"),x=this.makeFloatHoursMinutes(_[0],_[1]);i.push({value:[x,this.getAverage(d[y].val)],itemStyle:{color:this.dataConfig[this.pageData.type].color}})}c.length>0&&(o=Math.min.apply(Math,c),r=Math.max.apply(Math,c)),this.option.series[0].data=i,this.option.yAxis.axisLabel.formatter="{value}%",this.option.series[0].markLine.data[0].yAxis=this.getAverage(c),this.option.series[0].markLine.data[0].value=this.getAverage(c),this.option.series[0].markLine.symbol="none",this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.pageData.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.pageData.type].color,this.option.series[0].markLine.label.position="insideEndTop",this.option.series[0].markLine.label.formatter=function(t){return t.value+"%"},this.option.title={text:o+"-"+r,subtext:"%",left:"center"},this.option.yAxis.splitNumber=2,this.dataConfig.bodyTemperature.title=o+"-"+r,this.option.yAxis.min=o,this.option.yAxis.max=100;break;case"bloodGlucose":for(var b in e.map((function(t,e){var i=t.hour_minute.split(":");if(i[1]<30){var s=i[0]+":00";void 0==d[s]?d[s]={val:[t.data_msg],from:0}:d[s].val=[].concat((0,a.default)(d[s].val),[t.data_msg])}else{var l=i[0]+":30";void 0==d[l]?d[l]={val:[t.data_msg],from:1}:d[l].val=[].concat((0,a.default)(d[l].val),[t.data_msg])}n+=t.data_msg,(0==r||r<t.data_msg)&&(r=t.data_msg),(0==o||o>t.data_msg)&&(o=t.data_msg)})),s=n/e.length,s=parseFloat(s.toFixed(2)),d)if(d.hasOwnProperty(b)){var w=b.split(":"),S=this.makeFloatHoursMinutes(w[0],w[1]);i.push({value:[S,this.getAverage(d[b].val)],itemStyle:{color:this.dataConfig[this.pageData.type].color}})}this.option.series[0].data=i,this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.pageData.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.pageData.type].color,this.option.title={text:o+"-"+r,subtext:"\u6beb\u6469\u5c14/\u5347",left:"center"},this.dataConfig.bloodGlucose.title=o+"-"+r;break;case"bloodPressure":var C=0,M=0,T=0,I=[];e.map((function(t,e){var i=t.hour_minute.split(":"),s=i[0]+":00";void 0==d[s]?d[s]={val:[t.data_msg.bloodPressureHigh],val2:[t.data_msg.bloodPressureLow],from:0}:(d[s].val=[].concat((0,a.default)(d[s].val),[t.data_msg.bloodPressureHigh]),d[s].val2=[].concat((0,a.default)(d[s].val2),[t.data_msg.bloodPressureLow])),n+=t.data_msg.bloodPressureHigh,T+=t.data_msg.bloodPressureLow,(0==r||r<t.data_msg.bloodPressureHigh)&&(r=t.data_msg.bloodPressureHigh),(0==o||o>t.data_msg.bloodPressureHigh)&&(o=t.data_msg.bloodPressureHigh),(0==C||C<t.data_msg.bloodPressureLow)&&(C=t.data_msg.bloodPressureLow),(0==M||M>t.data_msg.bloodPressureLow)&&(M=t.data_msg.bloodPressureLow)})),s=n/e.length;var A=T/e.length;for(var D in s=parseInt(s),A=parseInt(A),t("log",d," at components/echarts-data/echarts-data.vue:756"),d)if(d.hasOwnProperty(D)){var k=D.split(":"),L=this.makeFloatHoursMinutes(k[0],k[1]);i.push({value:[L,this.getAverage(d[D].val)],itemStyle:{color:this.dataConfig[this.pageData.type].color}}),i.push({value:[L,this.getAverage(d[D].val2)],itemStyle:{color:this.dataConfig[this.pageData.type].color1}})}this.option.series[0].data=i,this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.pageData.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.pageData.type].color,this.option.series[0].markLine.data[1]={},this.option.series[0].markLine.data[1].lineStyle={},this.option.series[0].markLine.data[1].lineStyle.color=this.dataConfig[this.pageData.type].color1,this.option.series[0].markLine.data[1].label={},this.option.series[0].markLine.data[1].label.color=this.dataConfig[this.pageData.type].color1,this.option.series[0].markLine.data[1].yAxis=A,this.option.title={text:"\u6536\u7f29\u538b"+o+"-"+r+" \u8212\u5f20\u538b\uff1a"+M+"-"+C,left:"center"},this.dataConfig.bloodGlucose.title=o+"-"+r;break;case"pulseReat":for(var P in e.map((function(t,e){for(var i=t.data_msg,s=t.hour_minute.split(":"),u=i.length>5?5:i.length,c=[],h=0;h<u;h++){var f=i[h];f<30||f>=200||(c.push(f),l+=1,n+=f,(0==r||r<f)&&(r=f),(0==o||o>f)&&(o=f))}if(s[1]<30){var p=s[0]+":00";void 0==d[p]?d[p]={val:c.filter((function(t){return t>30||t<=200})),from:0}:d[p].val=[].concat((0,a.default)(d[p].val),(0,a.default)(c.filter((function(t){return t>30||t<=200}))))}else{var g=s[0]+":30";void 0==d[g]?d[g]={val:c.filter((function(t){return t>30||t<=200})),from:0}:d[g].val=[].concat((0,a.default)(d[g].val),(0,a.default)(c.filter((function(t){return t>30||t<=200}))))}})),s=n/l,s=parseInt(s),d)if(d.hasOwnProperty(P)){var O=P.split(":"),R=this.makeFloatHoursMinutes(O[0],O[1]);i.push({value:[R,this.getAverage(d[P].val)],itemStyle:{color:this.dataConfig[this.pageData.type].color}})}this.option.series[0].data=i,this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.pageData.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.pageData.type].color,this.option.title={text:o+"-"+r,subtext:"\u6b21/\u5206",left:"center"},this.dataConfig.bloodGlucose.title=o+"-"+r,this.option.yAxis.splitNumber=1,this.option.yAxis.min=30,this.option.yAxis.max=90;break;case"bloodLiquid":for(var E in e.map((function(t,e){var i=t.data_msg,s=i.uricAcidVal/10,u=t.hour_minute.split(":");if(u[1]%10==0)var c=t.hour_minute;else c=u[0]+":"+(u[1]-5==0?"00":u[1]-5);void 0==d[c]?d[c]={val:[s]}:d[c].val=[].concat((0,a.default)(d[c].val),[s]),n+=s,(0==r||r<s)&&(r=s),(0==o||o>s)&&(o=s),l+=1})),s=n/l,s=parseFloat(s.toFixed(2)),d)if(d.hasOwnProperty(E)){var N=E.split(":"),B=this.makeFloatHoursMinutes(N[0],N[1]),z=this.subtractMinutes(E,10);i.push({value:[B,this.getAverage(d[E].val)],itemStyle:{color:this.dataConfig[this.pageData.type].color}}),d.hasOwnProperty(z)||i.push(null)}this.option.series[0].data=i,this.option.series[0].markLine.label.position="insideEndTop",this.option.series[0].markLine.data[0].yAxis=s,this.option.series[0].markLine.lineStyle.color=this.dataConfig[this.pageData.type].color,this.option.series[0].markLine.label.color=this.dataConfig[this.pageData.type].color,this.option.series[0].type="line",this.option.series[0].symbol="none",this.option.series[0].smooth=!0,this.option.series[0].itemStyle={color:"rgb(255, 70, 131)"},this.option.series[0].areaStyle={color:new u.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(254, 174, 173)"},{offset:1,color:"rgb(255, 255, 248)"}])},this.option.title={text:o+"-"+r,subtext:"\u5fae\u6469\u5c14/\u5347",left:"center",textStyle:{fontWeight:"lighter",fontSize:24}},this.dataConfig.bloodGlucose.title=o+"-"+r,this.option.yAxis.axisLabel.formatter=function(t,e){return t},this.option.yAxis.splitNumber=3,this.option.yAxis.min=0,this.option.yAxis.max=Math.round(r)+1;break;case"bloodLiquidAll":var V={cholesterol:[],highDensity:[],lowDensity:[],triacylglycerol:[]};e.map((function(t,e){var i=t.data_msg,n={cholesterol:(i.cholesterol/100).toFixed(2),highDensity:(i.highDensity/100).toFixed(2),lowDensity:(i.lowDensity/100).toFixed(2),triacylglycerol:(i.triacylglycerol/100).toFixed(2)};V.cholesterol.push(parseFloat(n.cholesterol)),V.highDensity.push(parseFloat(n.highDensity)),V.lowDensity.push(parseFloat(n.lowDensity)),V.triacylglycerol.push(parseFloat(n.triacylglycerol));var r=t.hour_minute.split(":");if(r[1]%10==0)var o=t.hour_minute;else o=r[0]+":"+(r[1]-5==0?"00":r[1]-5);void 0==d[o]?d[o]={val:[n.cholesterol],highDensity:[n.highDensity],lowDensity:[n.lowDensity],triacylglycerol:[n.triacylglycerol]}:(d[o].val=[].concat((0,a.default)(d[o].val),[n.cholesterol]),d[o].highDensity=[].concat((0,a.default)(d[o].highDensity),[n.highDensity]),d[o].lowDensity=[].concat((0,a.default)(d[o].lowDensity),[n.lowDensity]),d[o].triacylglycerol=[].concat((0,a.default)(d[o].triacylglycerol),[n.triacylglycerol]))}));var F=[];I=[];var j=[];for(var H in d)if(d.hasOwnProperty(H)){var G=H.split(":"),W=this.makeFloatHoursMinutes(G[0],G[1]),$=this.subtractMinutes(H,10);i.push({value:[W,this.getAverage(d[H].val)]}),d.hasOwnProperty($)||i.push(null),F.push({value:[W,this.getAverage(d[H].highDensity)]}),d.hasOwnProperty($)||F.push(null),I.push({value:[W,this.getAverage(d[H].lowDensity)]}),d.hasOwnProperty($)||I.push(null),j.push({value:[W,this.getAverage(d[H].triacylglycerol)]}),d.hasOwnProperty($)||j.push(null)}t("log",[]," at components/echarts-data/echarts-data.vue:1036"),this.option.legend={data:["\u603b\u80c6\u56fa\u9187","\u7518\u6cb9\u4e09\u916f","\u9ad8\u5bc6\u5ea6\u8102\u86cb\u767d","\u4f4e\u5bc6\u5ea6\u8102\u86cb\u767d"]},this.option.series[0].data=i,this.option.series[0].type="line",this.option.series[0].symbol="none",this.option.series[0].smooth=!0,this.option.series[0].name=this.option.legend.data[0],this.option.series[0].color=this.dataConfig.bloodLiquidAll.overviewData.data[0].color,this.option.series[1]={},this.option.series[1].data=j,this.option.series[1].type="line",this.option.series[1].symbol="none",this.option.series[1].smooth=!0,this.option.series[1].name=this.option.legend.data[1],this.option.series[1].color=this.dataConfig.bloodLiquidAll.overviewData.data[1].color,this.option.series[2]={},this.option.series[2].data=F,this.option.series[2].type="line",this.option.series[2].symbol="none",this.option.series[2].smooth=!0,this.option.series[2].name=this.option.legend.data[2],this.option.series[2].color=this.dataConfig.bloodLiquidAll.overviewData.data[2].color,this.option.series[3]={},this.option.series[3].data=I,this.option.series[3].type="line",this.option.series[3].symbol="none",this.option.series[3].smooth=!0,this.option.series[3].name=this.option.legend.data[3],this.option.series[3].color=this.dataConfig.bloodLiquidAll.overviewData.data[3].color,this.option.series[0].markLine=[],this.dataConfig.bloodGlucose.title=o+"-"+r,this.dataConfig.bloodLiquidAll.overviewData.data[0].average=this.getAverage(V.cholesterol).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[1].average=this.getAverage(V.triacylglycerol).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[2].average=this.getAverage(V.highDensity).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[3].average=this.getAverage(V.lowDensity).toFixed(2),V.cholesterol.length>0&&(this.dataConfig.bloodLiquidAll.overviewData.data[0].value=Math.min.apply(Math,(0,a.default)(V.cholesterol)).toFixed(2)+"-"+Math.max.apply(Math,(0,a.default)(V.cholesterol)).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[1].value=Math.min.apply(Math,(0,a.default)(V.triacylglycerol)).toFixed(2)+"-"+Math.max.apply(Math,(0,a.default)(V.triacylglycerol)).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[2].value=Math.min.apply(Math,(0,a.default)(V.highDensity)).toFixed(2)+"-"+Math.max.apply(Math,(0,a.default)(V.highDensity)).toFixed(2),this.dataConfig.bloodLiquidAll.overviewData.data[3].value=Math.min.apply(Math,(0,a.default)(V.lowDensity)).toFixed(2)+"-"+Math.max.apply(Math,(0,a.default)(V.lowDensity)).toFixed(2)),this.option.yAxis.splitNumber=3,this.option.yAxis.min=0,this.option.yAxis.max=6;break}return this.option}}};e.default=f}).call(this,i("f3b9")["default"])},"965f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0}}},9745:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3"));function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function a(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var s={methods:{bannerConfigs:function(){return a({padding:"30rpx",gridRows:1,gridColumns:1,gridRowsGap:"40rpx",gridColumnsGap:"24rpx",itemDirection:"row",itemGap:"30rpx",itemAlign:"center",headShow:!0,headWidth:"100%",headHeight:"300rpx",headBorderRadius:"20rpx",textShow:!1,textRows:3,textRowsGap:"20rpx",textWidth:"100%",textHeight:"30rpx",textBorderRadius:"6rpx"},this.configs)},infoConfigs:function(){return a({padding:"30rpx",gridRows:1,gridColumns:1,gridRowsGap:"50rpx",gridColumnsGap:"24rpx",itemDirection:"row",itemGap:"30rpx",itemAlign:"flex-start",headShow:!0,headWidth:"100rpx",headHeight:"100rpx",headBorderRadius:"50%",textShow:!0,textRows:4,textRowsGap:"30rpx",textWidth:["50%","100%","100%","80%"],textHeight:["40rpx","24rpx","24rpx","24rpx"],textBorderRadius:"6rpx"},this.configs)},textConfigs:function(){return a({padding:"30rpx",gridRows:1,gridColumns:1,gridRowsGap:"50rpx",gridColumnsGap:"24rpx",itemDirection:"row",itemGap:"30rpx",itemAlign:"flex-start",headShow:!1,headWidth:"100rpx",headHeight:"100rpx",headBorderRadius:"50%",textShow:!0,textRows:4,textRowsGap:"30rpx",textWidth:["50%","100%","100%","80%"],textHeight:"30rpx",textBorderRadius:"6rpx"},this.configs)},menuConfigs:function(){return a({padding:"30rpx",gridRows:2,gridColumns:5,gridRowsGap:"40rpx",gridColumnsGap:"40rpx",itemDirection:"column",itemGap:"16rpx",itemAlign:"center",headShow:!0,headWidth:"100rpx",headHeight:"100rpx",headBorderRadius:"50%",textShow:!0,textRows:1,textRowsGap:"0rpx",textWidth:"100%",textHeight:"24rpx",textBorderRadius:"6rpx"},this.configs)},listConfigs:function(){return a({padding:"30rpx",gridRows:2,gridColumns:1,gridRowsGap:"50rpx",gridColumnsGap:"24rpx",itemDirection:"row",itemGap:"30rpx",itemAlign:"flex-start",headShow:!0,headWidth:"200rpx",headHeight:"200rpx",headBorderRadius:"16rpx",textShow:!0,textRows:4,textRowsGap:"30rpx",textWidth:["50%","100%","100%","80%"],textHeight:["38rpx","24rpx","24rpx","24rpx"],textBorderRadius:"6rpx"},this.configs)},waterfallConfigs:function(){return a({padding:"30rpx",gridRows:2,gridColumns:2,gridRowsGap:"40rpx",gridColumnsGap:"24rpx",itemDirection:"column",itemGap:"16rpx",itemAlign:"center",headShow:!0,headWidth:"100%",headHeight:"400rpx",headBorderRadius:"12rpx",textShow:!0,textRows:3,textRowsGap:"12rpx",textWidth:["40%","85%","60%"],textHeight:["30rpx","20rpx","20rpx"],textBorderRadius:"6rpx"},this.configs)}}};e.default=s},9805:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",{staticClass:t._$s(1,"sc","box1"),attrs:{_i:1}},[i("canvas",{})]),i("view",{staticClass:t._$s(3,"sc","box2"),style:t._$s(3,"s",{left:t.pLeft+"px"}),attrs:{_i:3}},[i("canvas",{})]),i("view",{attrs:{_i:5},on:{click:t.play}},[t._v(t._$s(5,"t0-0",t._s(t.pLeft)))]),i("view",{attrs:{_i:6},on:{click:t.stop}},[t._v(t._$s(6,"t0-0",t._s(t.pLeft)))])])},r=[]},9909:function(t,e,i){"use strict";var n=i("47a9"),r=n(i("7ca3"));i("e1fb");var o=n(i("d78a")),a=n(i("951c")),s=n(i("f859")),l=n(i("feb8")),u=n(i("bd30")),c=n(i("6999"));function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}a.default.use(l.default),a.default.use(c.default),a.default.prototype.$utils=s.default,a.default.prototype.$store=u.default,a.default.config.productionTip=!1,o.default.mpType="app";var h=new a.default(function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},o.default));h.$mount()},"99b8":function(t,e,i){"use strict";i.r(e);var n=i("b2af"),r=i("c712");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"9b52":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14}}},"9dcd":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("af34")),o=n(i("7ca3")),a=i("f859"),s=i("8f59");function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var u={data:function(){return{customType:["bodyData","bloodLiquid","ECGData"],blData:[{name:"\u603b\u80c6\u56fa\u9187",color:"#46b4ff"},{name:"\u7518\u6cb9\u4e09\u916f",color:"#29cf6c"},{name:"\u9ad8\u5bc6\u5ea6\u8102\u86cb\u767d",color:"#fcc05d"},{name:"\u4f4e\u5bc6\u5ea6\u8102\u86cb\u767d",color:"#fa4e33"}],type:"",desc:"",dataList:[],keyNameMap:{bloodGlucose:"\u8840\u7cd6",bloodOxygen:"\u8840\u6c27",bloodPressure:"\u8840\u538b",pulseReat:"\u5fc3\u7387",bloodLiquid:"\u8840\u8102",uricAcidVal:"\u5c3f\u9178",meiTuo:"\u6885\u8131",updataDate:"\u66f4\u65b0\u65f6\u95f4",bodyTemperature:"\u4f53\u6e29",ECGData:"\u5fc3\u7535\u56fe",step:"\u6b65\u6570",bodyData:"\u8eab\u4f53\u6210\u5206"},time:(new Date).toISOString().substring(0,10),flag:!0,successList:["1676995200000"],errorList:["1676908800000"]}},mounted:function(){var t=this;this.$refs.calendar.initCalendar();setTimeout((function(){t.addTimer()}),2e3)},onLoad:function(e){this.type=e.type,this.desc=e.desc||"",this.queryList(),t("log",this.customType.includes(this.type)," at pages/index/detail.vue:174")},onShow:function(t){var e=getCurrentPages(),i=(e[e.length-1].route,e[e.length-1].options);for(var n in i)"&"+n+"="+i[n]},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,s.mapGetters)({getActiceDevice:"api/getActiceDevice"})),methods:{goInfo:function(e){"ECGData"==this.type&&(uni.showLoading({}),uni.setStorageSync("infoData",JSON.stringify(this.dataList[e])),uni.navigateTo({url:"/pages/index/detail_info?index="+e,fail:function(e){t("log",e," at pages/index/detail.vue:205")},complete:function(){uni.hideLoading({})}})),"bodyData"==this.type&&(uni.showLoading({}),uni.setStorageSync("bodyData",JSON.stringify(this.dataList[e])),uni.navigateTo({url:"/pages/index/body_info?index="+e,fail:function(e){t("log",e," at pages/index/detail.vue:222")},complete:function(){uni.hideLoading({})}}))},getArrMaxValue:a.getArrMaxValue,queryList:function(){var t=this;this.$store.dispatch("api/getDeviceListDays",{type:"step"==this.type?"step_split":this.type,device_real_time:this.time,device_id:this.getActiceDevice.device_id}).then((function(e){t.dataList=e.data}))},getNameByKey:function(t){return this.keyNameMap[t]||"Key not found"},addTimer:function(){this.successList=[].concat((0,r.default)(this.successList),["1681920000000"])},chooseDay:function(t){this.time=t.year+"-"+t.month+"-"+t.day,this.queryList()},back:function(){uni.navigateBack({delta:1})}}};e.default=u}).call(this,i("f3b9")["default"])},"9ed7":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={section:{title:"",subTitle:"\u66f4\u591a",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0}}},"9f2c":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={xSkeleton:i("2b8f").default,sleepInfo:i("861b").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[t._$s(1,"i",t.loading)?i("view",{staticClass:t._$s(1,"sc","skeleton flx"),attrs:{_i:1}},[i("view",[i("x-skeleton",{attrs:{type:"banner",loading:t.loading,_i:3}}),i("x-skeleton",{attrs:{type:"banner",loading:t.loading,_i:4}}),i("x-skeleton",{attrs:{type:"banner",loading:t.loading,_i:5}}),i("x-skeleton",{attrs:{type:"banner",loading:t.loading,_i:6}}),i("x-skeleton",{attrs:{type:"banner",loading:t.loading,_i:7}})],1),i("view",[i("x-skeleton",{attrs:{loading:t.loading,configs:t.customConfigs,fadeOut:!0,_i:9}})],1)]):t._e(),i("view",{staticClass:t._$s(10,"sc","content"),attrs:{_i:10}},[t._$s(11,"i",1==t.Sindex)?i("view",{staticClass:t._$s(11,"sc","content-wrap"),attrs:{_i:11}},[i("homeData",{attrs:{dataListsNew:t.dataListsNew,deviceList:t.deviceList,Activedevice:t.Activedevice,_i:12},on:{deviceGet:t.deviceGet,pageDetail:t.pageDetail}})],1):t._e(),t._$s(13,"i",2==t.Sindex)?i("view",{staticClass:t._$s(13,"sc","content-wrap"),attrs:{_i:13}},[i("echartsData",{attrs:{pageData:t.pageData,_i:14},on:{back:t.back,allData:t.allData}})],1):t._e(),t._$s(15,"i",3==t.Sindex)?i("view",{staticClass:t._$s(15,"sc","content-wrap"),attrs:{_i:15}},[i("allData",{attrs:{activeType:t.activeType,_i:16},on:{back:t.back}})],1):t._e(),t._$s(17,"i",4==t.Sindex)?i("view",{staticClass:t._$s(17,"sc","content-wrap"),attrs:{_i:17}},[i("sleep-info",{ref:"sleep",attrs:{_i:18},on:{back:t.back}})],1):t._e(),i("view",{staticClass:t._$s(19,"sc","right"),attrs:{_i:19}},[i("web-view",{attrs:{src:t._$s(20,"a-src",t.urlLink),_i:20}})])])])},o=[]},"9fc1":function(t,e,i){var n=i("3b2d")["default"];function r(){"use strict";
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=r=function(){return i},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e,i={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(t,e,i){t[e]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function h(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(e){h=function(t,e,i){return t[e]=i}}function f(t,e,i,n){var r=e&&e.prototype instanceof _?e:_,o=Object.create(r.prototype),a=new P(n||[]);return s(o,"_invoke",{value:A(t,i,a)}),o}function p(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}i.wrap=f;var g="suspendedStart",v="executing",m="completed",y={};function _(){}function x(){}function b(){}var w={};h(w,u,(function(){return this}));var S=Object.getPrototypeOf,C=S&&S(S(O([])));C&&C!==o&&a.call(C,u)&&(w=C);var M=b.prototype=_.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){function i(r,o,s,l){var u=p(t[r],t,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==n(d)&&a.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,s,l)}),(function(t){i("throw",t,s,l)})):e.resolve(d).then((function(t){c.value=t,s(c)}),(function(t){return i("throw",t,s,l)}))}l(u.arg)}var r;s(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,r){i(t,n,e,r)}))}return r=r?r.then(o,o):o()}})}function A(t,i,n){var r=g;return function(o,a){if(r===v)throw Error("Generator is already running");if(r===m){if("throw"===o)throw a;return{value:e,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=D(s,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===g)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=v;var u=p(t,i,n);if("normal"===u.type){if(r=n.done?m:"suspendedYield",u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=m,n.method="throw",n.arg=u.arg)}}}function D(t,i){var n=i.method,r=t.iterator[n];if(r===e)return i.delegate=null,"throw"===n&&t.iterator["return"]&&(i.method="return",i.arg=e,D(t,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=p(r,t.iterator,i.arg);if("throw"===o.type)return i.method="throw",i.arg=o.arg,i.delegate=null,y;var a=o.arg;return a?a.done?(i[t.resultName]=a.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,y):a:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,y)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t||""===t){var i=t[u];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function i(){for(;++r<t.length;)if(a.call(t,r))return i.value=t[r],i.done=!1,i;return i.value=e,i.done=!0,i};return o.next=o}}throw new TypeError(n(t)+" is not iterable")}return x.prototype=b,s(M,"constructor",{value:b,configurable:!0}),s(b,"constructor",{value:x,configurable:!0}),x.displayName=h(b,d,"GeneratorFunction"),i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,h(t,d,"GeneratorFunction")),t.prototype=Object.create(M),t},i.awrap=function(t){return{__await:t}},T(I.prototype),h(I.prototype,c,(function(){return this})),i.AsyncIterator=I,i.async=function(t,e,n,r,o){void 0===o&&(o=Promise);var a=new I(f(t,e,n,r),o);return i.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(M),h(M,d,"Generator"),h(M,u,(function(){return this})),h(M,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},i.values=O,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var i in this)"t"===i.charAt(0)&&a.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function n(n,r){return s.type="throw",s.arg=t,i.next=n,r&&(i.method="next",i.arg=e),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var r=n;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=t,o.arg=e,r?(this.method="next",this.next=r.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),L(i),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;L(i)}return r}}throw Error("illegal catch attempt")},delegateYield:function(t,i,n){return this.delegate={iterator:O(t),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=e),y}},i}t.exports=r,t.exports.__esModule=!0,t.exports["default"]=t.exports},a1e7:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""}}},a236:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.canvasId)?i("view",{ref:"limeEchart",staticClass:t._$s(0,"sc","lime-echart"),style:t._$s(0,"s",t.customStyle),attrs:{"aria-label":t._$s(0,"a-aria-label",t.ariaLabel),_i:0}},[t._$s(1,"i",t.use2dCanvas)?i("canvas",{staticClass:t._$s(1,"sc","lime-echart__canvas"),style:t._$s(1,"s",t.canvasStyle),attrs:{id:t._$s(1,"a-id",t.canvasId),"disable-scroll":t._$s(1,"a-disable-scroll",t.isDisableScroll),_i:1},on:{touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}}):i("canvas",{staticClass:t._$s(2,"sc","lime-echart__canvas"),style:t._$s(2,"s",t.canvasStyle),attrs:{width:t._$s(2,"a-width",t.nodeWidth),height:t._$s(2,"a-height",t.nodeHeight),"canvas-id":t._$s(2,"a-canvas-id",t.canvasId),id:t._$s(2,"a-id",t.canvasId),"disable-scroll":t._$s(2,"a-disable-scroll",t.isDisableScroll),_i:2},on:{touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}}),t._$s(3,"i",t.isPC)?i("view",{staticClass:t._$s(3,"sc","lime-echart__mask"),attrs:{_i:3},on:{mousedown:t.touchStart,mousemove:t.touchMove,mouseup:t.touchEnd,touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}}):t._e(),t._$s(4,"i",t.isOffscreenCanvas)?i("canvas",{style:t._$s(4,"s",t.offscreenStyle),attrs:{"canvas-id":t._$s(4,"a-canvas-id",t.offscreenCanvasId),_i:4}}):t._e()]):t._e()},r=[]},a5f5:function(t,e,i){"use strict";i.r(e);var n=i("8fbe"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},a708:function(t,e,i){var n=i("6454");t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a73c:function(t,e,i){"use strict";i.r(e);var n=i("55db"),r=i("a5f5");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},a7a0:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={code:{seconds:60,startText:"\u83b7\u53d6\u9a8c\u8bc1\u7801",changeText:"X\u79d2\u91cd\u65b0\u83b7\u53d6",endText:"\u91cd\u65b0\u83b7\u53d6",keepRunning:!1,uniqueKey:""}}},a85a:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={toolbar:{show:!0,cancelText:"\u53d6\u6d88",confirmText:"\u786e\u8ba4",cancelColor:"#909193",confirmColor:"#3c9cff",title:""}}},a9a2:function(t,e,i){"use strict";i.r(e);var n=i("27bf"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},a9f6:function(t,e,i){"use strict";i.r(e);var n=i("79ac"),r=i("3ba4");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"34939919",null,!1,n["a"],void 0);e["default"]=s.exports},ab6c:function(t,e,i){"use strict";i.r(e);var n=i("ac4a"),r=i("01cc");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},aba3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={readMore:{showHeight:400,toggle:!1,closeText:"\u5c55\u5f00\u9605\u8bfb\u5168\u6587",openText:"\u6536\u8d77",color:"#2979ff",fontSize:14,textIndent:"2em",name:""}}},ac4a:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("button",{class:t._$s(1,"c",["buttonBorder",t._rotate?"dlbutton_loading":"dlbutton"]),style:t._$s(1,"s",{background:t.bgColor,color:t.fontColor}),attrs:{_i:1},on:{click:function(e){return t.$emit("click",e)},contact:function(e){return t.$emit("contact",e)},error:function(e){return t.$emit("error",e)},getphonenumber:function(e){return t.$emit("getphonenumber",e)},getuserinfo:function(e){return t.$emit("getuserinfo",e)},launchapp:function(e){return t.$emit("launchapp",e)},opensetting:function(e){return t.$emit("opensetting",e)},touchcancel:function(e){return t.$emit("touchcancel",e)},touchend:function(e){return t.$emit("touchend",e)},touchmove:function(e){return t.$emit("touchmove",e)},touchstart:function(e){return t.$emit("touchstart",e)},longpress:function(e){return t.$emit("longtap",e)}}},[i("view",{class:t._$s(2,"c",t._rotate?"rotate_loop":""),attrs:{_i:2}},[t._$s(3,"i",t._rotate)?i("text",{staticClass:t._$s(3,"sc","cuIcon cuIcon-loading1 "),attrs:{_i:3}}):t._e(),t._$s(4,"i",!t._rotate)?i("view",[t._t("text",[t._v(t._$s(5,"t0-0",t._s(t.text)))],{_i:5})],2):t._e()])])])},r=[]},ac68:function(t,e,i){"use strict";i.r(e);var n=i("d8d8"),r=i("679f");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"4048be72",null,!1,n["a"],void 0);e["default"]=s.exports},ad0c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={noNetwork:{tips:"\u54ce\u5440\uff0c\u7f51\u7edc\u4fe1\u53f7\u4e22\u5931",zIndex:"",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaD8E9PbrkvRopSMwMBBYRs+5O/yJS68cPnzYXel4tFP/jXbqjPRFEAiCQNe6Bw/6gdFn9Oy9Q90LLG2DgBBW2wyldIQIPPPCte2a5q3jtR+4ff/4wuBuXotrDwSEsNpjHKUXQODppy+udYJMEUEZgbd94DvnNwlA7YGAEFZ7jOOK78Xp06eTTkq7sxwQhmXuf/754VXl4iSstRAQwmqt8ZLWlkHg0UcD49qYfUjXfLtMtOZ7npExJu4iqZWLl7DWQUAIq3XGSlpaAYHD77q8xwuCOSUoXw8Sl0eMux977DGzQjES3AIICGG1wCBJEysj8PXnz230XXdr5RQFMYbRvWnv6w8UhMhliyGwYghr4Pjg3oEXL34ey9zyC9tiD2ml5h47dr1LN7S6CMjz/A3PvHh1Z6UyJby5EVgRhKUe7Kz/JU0LfvrJo5f+Y3MPibSuFgQGBgasYSd9l6GDsup0WS/T/9RTp9fXmU2SNwECdQ92E7S57iaMeJnPQLK6ixkDLfjlb7546RfrLkQyNBcC3dsP6oHWMd9G+V3JgwPHh7rnm1/yLQ8CbU9Y33zp0j+nZFUMb/DHmB7+SHGY3LUKAk8cObtD00xlHDrfNge+Z2ozU3c9dvx4Yr5lSL6lR6CtCWvg6OAPw9z538ZhhZRl6XrwhW8du1KX/iNejtwvPQIDR8+vSRqJ/obU7GupjdNdh2gW0ZDypJBFR6BtB2rg2OVtuub9JcmpHIpBoK1xfffLzx4f7C0XL2HNiYDp6bs9z23Ypn1fC1Y/9PCFDc3ZW2lVHIG2JKzTp4Ok7nv/G6Q054MIvda+bNb74pEgKGtwGAdL7pcfAa8vOKEZ2kyjWuLr7uDh+/qvN6o8KWdxEWhLwroyeek/g4zuqwU6kNrhyZcu/UktaSXN8iNwuL9/RuvVXtJ9PbPQ1vhmcP6t9+47u9ByJP/SIdB2hDVw9MJHQFYfrQdCph84evFX68kjaZcPAZJWwjMXRFpJ2zr91tfuvrh8vZCa54NA2xGWrunvmg8QWCJ/N4ir7fCYDxatkOeBB7an501agXbygVdvv9IK/ZQ2FiPQdi9osGbH+zRNf7y4m9Xu9Me7N9nv0HXdr5ZS4psHgXpJC9P/wDRTx0Vn1TxjWG9LGrbaUm/Fi5meSvcrkxf/Cg/ow9XqAUk91v3qHT97r6471dJKfHMi8Oyzgx1Z03t1YAQVT2MwgsC3u+yXHzi0faQ5eyGtqgWBtpOw2Ol9+/TM+sTOn8L08MtzgQCy+tOHXr3jA0JWc6HU/HF5Scssr4jXcYqfP6V/T8iq+ceyWgvbUsKKOn38eJAYyl56TAuCEr2WYei//9Crd/5GlFb81kdASVopSFrerKRlaoZj9HR+700H10+0fg+lB21NWBxe2lhNHsUpDZr27mi4dV379R9+za4/iO7Fbx8ECknLCPTsTDJ17O33bJpqnx6u7J60PWFxeAcCbMV56dJfQKf1bkMLfuGh1+76zMoe9vbuPUnLsb2DtmOe5HSxvXsrvWtLBEhaTx29+Ma27Jx0ShAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaEsEVoQdVluO3BJ06ptHL34b1XRjp4Ch6Rq24+kmjG4Nwwg+9uA9u/73EjRBqhAEihAoe3xwUQq5WTYEzp0b3ZnV/Ncf6O/9AvY9wlh/6dy3X7ncN512Zw9BVLXjuAP4np44vnQtkZoEgVkEhLBmsWiKqwsXpjbPBOn3gRfenwnc+7GBe+zsjclvonFDS9nA9Iy/u3x9+vAP3735VPk4CRUEFhcBIazFxbfm0k9fHD7k+v4nQFaPQIrx8Gmyx/GJ0J/t7ez7mw0b9MmaC2pQQgh0/ZSm4g5TwueWWtqLt0HuVy4CQljLPPYnB0depTn+b3t+8B4t0AdBUv93h2H9xc6da0aXs2m+r1WQsLRnl7NdUvfKRkAIa5nG//r1oGtsZvjTgev/kqYHF/TA+AXoqv4npJemOEiQU1Eo2l+G0movBK1UBBPU7s9E1+ILAkuNgKwSLjXiqO/khVtvARH8dxDBRkMzPrF/V+9/BlG5y9CUqlXinHv9mRPXtvuus88L9H3JPv2zD2yXExCqAicJBIFWRwAvv3Xqwq0/Pnn+lv/K+ZvfPH3p9p5W75O0fxaBp793ce3AwIDMWmYhafiVgNtwSMsXeHp4eNXJC8Nf0PAdRCiuf/XgrnWUqsqotcvnl9DmRkCdweX4b9N7+m/ih+mbMraLM14yJVwcXItKpT1VRve+ArC3Qqn+3gM7132jKEGZm6tXg86J7OhDfuA/iHwPUpfUZSfu2L59tXxEoQxeyxkEgjKeOnLxHb4RqC+NY5H3+2953d4XlrNN7Vq3ENYij+yZwbG9jpt9GkBPQ5H9zgP9607OVeWp87cOQtn9zwJf+xDMNFfj+jryPqXpxj8c2Nn7P+SXey70lidu4IXzb0DNB4tr9751+HV7zxSHyd1CERDCWiiCc+QPjUCnsaqmZ62O5IN7N/VUNP48ee7mAZDTf4Tt049iUG4Guv4ZfNLos9UIbo7qJWoJEHjy+bP7fNsoOcnW0A0/aacef8PdG28sQTNWTBVCWIs01OfPj66BpfqTmq732UnjgT1bei+Vq4pTv7HM8Ceg2/o1qLQug7T+FaaM3IqTLZdewpoHgYEjV9fphvOj+OShWa5V+CxvZtpzv/LwG/aNl4uXsPoRwI+4uEYjAJ2GmdG8L0FK2mYa+tsrkdXZy+P7x2ZuHdW14P+BLdank9q6Qwd3rf+ckFWjR6Tx5Q2cP58K9Jm3VCIr1ogt48lO237r3//96YofeG18y9q7RFklXITxPXV+5DchKb3ZDMy37Nu5tuxG4R9cHH6b42QfAzlds+3EPXu2rfrBIjRFilwkBIIR7SHoJDurFU89ZOd680Gke6JaWomvjoBIWNUxqivFD87fej0e0n8Fwvr0/t1rnyqX+QfnRz7g+8FX8Rv8vL3auF/IqhxKzR2WCPxXqKeq3krDTdj2ierpJEUtCIgOqxaUakwzNBR0D09yiqePHOjveyOkpxLr9VMXb73V97S/h3nDXx7Y2fdPkAYbncW1IgIDxy5vM7LZt/hgrnLtxyaBrJNxv/72N+6tuNhSLp+EVUZACKsyNnXHvHL+1qcgNf2KbSXu2bt9dcmS9qlzo/fARgcmCtpzB3b1/Vg5QiuslLowENyDWDn8cSjl98PgdBviu03N+rl9/WufLEwr18uDwLdevLTF1YK3xnVZ2HI1bUxrT7z5zTuXdRP78qCyeLUKYTUI25OXbm4JPO00TBj+6I7+db8ZL3ZwMOiYdG4dA1lN9HWte2iuI2NAVPapC8O/CGPR34Ip/AZIbIMo7yX8G9QMbcS09P+2b1vf5XgdrXaPfiYns9oeLLEd8D1/B7Dp0E1jGP042pXQj7RKf546cmGzp+tv1TRf6YQD35/QO3seP3xow5IfC9QqmM23naJ0ny9ysXwgq98BWc0kVhv/Nhalbqe8kd/Fr8MOSEr3zEVWrwyO3I29hl+E9LUHGf+nAXI6sGPdd8uV2YphIKnE5IyL6bLxk7cn3bdkHHefrpvJAExMZ1uBZmqeNzXtfzUzk/m/ens7LjV7Px+8d9e1579/44l0duZtge+Np5zEEw8c2pBu9na3YvtEwmrAqNE8IZvNHsep5//yjl3r/0O8yFOXbv0QCO05gP0JGIL+fjw+uj91YeRh/Dp/PtCDM7Zpfmjvjt6Xo7hW9ycmJjaYduf7Hdf/8HTGfa3rG9rYxLSWnsloPg7fijZV8oFM2Ja2a9t6EJd7bCztvHP7us4rrdD/r3/7ct9I99jEI4cOiQ3dIg2YEFYDgOUJDFj1e8TqX7cT4kImXuQr5279A4DeBEX8ayvprU4N3rovcALot/TH13T0fXDTJn0qXk4r3k9OTm4y7a6PzjjORzOOvn1kbEqbnEprPhRzwAKzwFLHk05hv6Yd6N+o3R6beG50aPSdr3qV6IJKkVp5ITIlXOCYn4Yexr0w/DO6YXymHFlR0e5r7tsM3fxgJbI6fW1ivTeT+SsYmr54cFff+5Cu5X+hb94Merp6/J/PusGvTE6724eGJ7RpSFOkKPCUZvBPBccoHBet3Rwe13rX9tw/PjXzZ5hKvr8SfhWKkeA2REAIa4GD6p0feRdWBnvxjv2PckVhVfBf4A29uG/X2i+Ui2eYn8n8NryuDr3jPfWSFV5k44UT137eshIP2K7/64cObbheqZ6lCp+Ydt8TBO7vTM5od1+/NR4SFVhoLpKKt410lnE8LTMzo3V2dLznxLkhYgQ9obiVjEDln7mVjEodfYcpw+MAsftg/7qSDbAnb97sCSb0Yei2fqOcbovVqKNnNO8HmAE9Cv3Wp+uoWjt27HpXNqH9WTKR+kBHKqEFbvo5y3N/avfu4g23R45f3WGa1k9ZicTd0zPTf/f6O7f8dT311Jp2fHzmgJlI/N70jPPe4bEZ6Kg4qw0lqlrLiNKBiLWerpTW25PUbkPXZViW62ecHz+4d8PXojTirzwEyhq8rTwYFtRjvpX/rlwJ+iSXugPbMuyKBOHo3geRJtuT7PujcmVUCuPJlhnL/9NUqvMD2eyM5sxMaIlE4n7XML907tyNjcxHQjty4sZv66Z1xEok/xNW5n4uZSf+8sT5m++vVO58wkEu5sR09pd9w/rWyET2vReujiqygrSopn/zKZN5qMeirotKeTyolm7p/+X06Wvr51ue5Gt9BISwFjiGsLl6N6SrvylXDNTK70D4mX071pwtF88w6Jd/DG/1E1u26NOV0pQL71y3/8PJVOcHMzPTWkcCH2YGOaTTaS2RTN6f1fQvvvDK1bdnbO2JZCr1SeRfn05Pa1PTU0gXJBKW+ecnzlxvCGndhFQ1NRP8bcY1/vjS9bF1V26MwHwsVKiXa3etYVw1TNhYJ3TDjQCO42jJVMcez7J+t9YyJF37ISCEtahjGjxkGDr2DJZ31D8h5vUQJL5RPkXlUMM07u3qSGidICvkzzuSlmlZb0olrK9hD9v9JCrPC196JoPMAolFg6CV+PPj54YeyWecx8Vk2v1Q0rSfhFT18LnBmzBRyNalp5qrSuq7kiAsh4SFa7oZ9M0wzI+cPHOjZPo9V1kS1z4ICGEt4lhiCvZrSa2jol7qzPXJPk6nIGbVbWfUvcr7hO9MP97ZVXpggOu6ajplYStj7l1XvbRMXbPAbp6HzSSBlkraNknrvfVCcPt2sHYi7f3pTDb47KUbYxuvKqkKpYBXKBnV869c3WgbDEixAck0FGFFfEzJzbIsO9C1TyrcymWWsLZGIHoW2rqTzdo5dXyykz0NC8l779i5vu4zwM+eHVntGP5jqVTq/6AkVc5NZ3wNH2lVxNWZNIukMSjiNd9z0+CHp5DXAdX4SAg203w8GB5IATtODHzdK8C15kEjhXvNS9rWA11dnfcMDY9prscss48RySakrOLWqODCoIKAgkuVgsS0urtD60haeV1YYVbbtjUn6/74HXvW/11huFy3PwKzT1r797Upe3jq4sib9u9Y+wxe+vh7W1N7jx49v6ZzbffnQD4/Cj1Pfjx54XiBls6GVuTUc9mQsOIO9mPQFdkIRlz4fy5JLm2ZMOqTcJaXIqpcqnixVe+rdbZ3dbc2OT0D0wZIibHSksmklslknvx+//q3PiKnXcTQae/b+LPQ3r1t0969cOL6G7o6E09qgZegdMJBpVQ1DbKCpyUt6oPKz/4NEJalCAuZFIuEVBJd+jgLh4rvAiFqUVGkhJZMWFp3Z0obGSu/d5gSnWmavuO6h+/cvYHSobgVgoAYjrb4QPMUiGtj1/79jBMkLBwiTlMASlYzTkhWCJyTrGAyMOFkst/BoYMmuIIyGJYcMXMMdNwHPhYN1qWS1t6ZLGaKZL8yzFXTr15BooLLMugHMBRNKgW+It8y9TEcJGt4rvcRFCCEVQbFdg0Swmrxkb0+cf2XOzq73kgdFieEXF2jdEUJKQH6SVWQrNjtZDKlpTPp38U58iUbthk/Ph7sN6zg/xudSGvD4xkq6otcnnjyF0XRRTflkyC0IIJE1JG0QbqGNpMNp5xFhRTcZDNoj66988SFm5vv3LX+WkGUXLYxAuXnCW3c4XbqGs9hwjv+a9lsuN+ahOJSCoLjNDAFvVUll0p1aNPp6adTweSflEszPO48oFn+4yOTmR+6enOshKyYhzWpf/jDuuf6x2aV/qNRaPG/1d0gUXWCA0uu7GhMmkqmerEc8KOVU0lMuyFQ+Ylut562YX9Sncmf7Ojo3BDZWbGLtMkiUVXSWTFNuMqWuYG530f7+/tnGFboxsfdd9mm8XdDo9O7rg6NFq0CFqZr5DWlK9qV0fZqGvZchSuPlevB2VmG/hOV4yWm3RAQwmrhEcW64qu4ykfJho52Vp3J8quBYQooqWDKADftBd6HD+5efyoKj/zR8ew/hWXY56/cnFh7a3RCTTGjuMX0SVB9qzu1qfQM+jO3dBW1g6uVSHv/qVNX10Vh4rc3AkJYLTy+WA/8ou9kJjo7bOh+DLVFZ64TEbCyBktxI5PJZj56R//Gx+NdH5vM4vuI+p8NXh9LjU1iw3EZhXc8TyPuuV9wDaaCfBjTM06N0hVWQmHBDzvSDZ5tvqYR7ZAymh8BIazmH6OKLbzv0KZvJEz3ZzEFnEolaEtV2XEaCLKadrIz//TQnk1/EU85NuH8th8Yf4j9gMZUOrNkZEVZCnsbtTU9KW18GqcKFyjh420sd2+j33pg3F8uTsLaDwEhrBYf04O7N/2t7/o/C2FoGnsIy/YGlvAwSfCvZzLOe+8oR1ZT3u/5uvHJC9dGtJlMrfqjslXVHwjpat2aLi2rjFFLjUSrFUjlO0juddXSSXx7ICCE1QbjiHO0/hofbPgwpnDTOR2V6hWNQqGUx34890noet5yaO+Gko3Y45PO7/uB/lvnrwxrWdha1absbgxo1FWtwplXqYSJY5Nn5lU3bLHQmGA/yko0plVSSjMjIITVzKNTR9sO7dv8RSeb/T9BWmMkKv4D+YzBXuljV7yxd+zfte6VeHGKrHTz4+cv38JWmyUmKzSGG5z7VndoE7kz3uPtq+Welvhwm39weVjOyaoFsBZPI4TV4gNY2Pw79mz8KyebeRIH+VEZTaX0sf27+v794TKmCxNTzr/2NOPj5wZBVjjdYSklq6jN69dyKuhqmWztivYob+RTSkPbe/xMdlMUJn77IiCE1W5jq+s4dYEO6mzsYAmvi/+CrH7LDYxPcBq4HGTFVcG1ULLT5orS1ULIkoSFI2cMHKG8obiXcteOCAhhtdmo6gaOh4EWWlkyYU9gvHswXfgV19d/7+LVkSWfBrItJJhObL/p7elQR8fUZnEV70XxPc01sM+xrzhU7toRgZIHuh07uZL6xA3LBaYB+Ar8rBsfz34YX1j+D5eu317QNGy2xPquSE4mDuXb2IujY2AgytNE67RiKFshzuwCR5s9ZSMlsK0QEMJqq+GkBKOF5yFzRoidK5BoFCeMjM/8mG+a//Xy0Li55KYLBRiTrGjwOQ1br4VMBQuKVJeQKVPxMLlvPwSEsNpsTEECmBLSgbHUpwD1YGwse59l2p+9fmuig4fiNZIowrqq/6Xeqm9Vh9JbjcOKvqFtACX7gV8kTVZvkaRoRQSEsFpx1OZoM2iKxxuHLtDcsZlgLzYZfv7m7XSv+r7fIm234XSP/8o5ktWqzqSyZr89PoXPYDTYkZvziw0NLluKayoEyq4iNVULpTF1IaDjHHZmoAW4aep9geN8fiLt998cGYdtVp7K6iqzXGJFUCAi7jdkuapsBJKcPBwgyP8YRyV7B04Q3dDbpY3jg6gupoMNla5U41BbUN9n0sr1ScKaHwEhrOYfo7paCAW0WiWknihhW/0Tabf/6tDtxpIVSIhGnz1dSXUkDL8fSHKi4/lWPId9Kp3Vxqegp8J/m9f14D6DQ/nmb281FwgkZ1Dj7bnSSFx7ICCE1R7jmO8FJJr8jCvjeNrIxFjDJBpKVaSlXhwDw384MyucBoLAGEfHI5ptO6n1YAq4FjorH9IWjUOnFlF3pj62aui3whbI33ZGQAir/UY3XCVEvzgdw/8NcSyGUhSlpVWQrFg2p39xp0JYLyIohaXxdZ2FGofG6yi85/QS32F0Asu8URgu1+2JgCjd22xcsVElPC85169Gaa1YTkRWJKpSqooBiQQzONvq9sRULKKxtzzAEJw1api2EFZjoW3K0oSwmnJY5tcoSD09HanEDztubnfO/IopyUWC6sUmZUpW5aSqkgwgK04DxxaZrFivacCaIdAuH9zaM1rSDgloOwSEsNpoSMenvU93dXb+EE5taFivKElRqd67qrNmsqIF+yjMF/i56MV2JqadYKxXMDXM6+4Wu04pf/kQEMJaPuwbWvPticwj4Il/NnTrdl7JrqaDC5wTUle1GmdWWVCw1+JotjA6PgnThsIdQrXknF8arkJi/+R355dbcrUaArU9ha3WqxXW3tHR9C5dN//T9eEJ3aGdUwP7T0V7F86Mr0VW4mF6o2NTS/ilaB2HDmb8wA2+08AuS1FNjIAQVhMPTi1NgwRkGKbxRxMz3uaJSRzVUkumOtLwo6Zc7aOkVdEhynN9NQ1cyuNqeEqD67mX9TXGyxXbJhFthYAQVosP58S0909czfqJqzdGODVqaG/IUbCWr2p0yukfp4FUtDfeir1yl8IPUGjPHFy/fqJyKolpJwSEsFp4NEfT6Z3YBvOp8MvMc0hAi9hHNQ1cBrJil5TUZxhfXsTuSdFNhoAQVpMNSD3NMTzzU1PZYAM/ProYkg3UV5rHT8lXmA7SwnwEq4FLLVkRI04HM+n0LdvzvlEPZpK2tREQwmrR8ZucCd7hePr7rw2N5PfxLUZXON1zHKz4kb0KnIttP6Njk8tyaimbwXPrsW/yq3v3bhoqaJZctjkCQlgtOMCYCnU4GedTI+NpQ32XbxH7QOmKG5nzdIWZJz8HNkKygqI9TmSL2JSiovGVn0A39c8WBcpN2yMghNWCQ4zPc0HRbr6GEs6chJFnmfl3knZO4/hmII1B6fiFG9br0s6qAeXPp2WUrhzHeXH/jr6n5pNf8rQuAkJYLTZ2kK7Wul7w6zeGx9DyUsZovOodOizosTg1TM9k1Wogpa7lIisOF+w48E/7E5B1Y/cgtdizsBKbK6c1tNioT6X9n3MDcyePOo7OoJqrC6S0+ZIYV+GSOHxvc18PJCxXG4ed13I727axqTp9yk9rX1jutkj9S4+ASFhLj/m8axwdDdbgELxfGsLpoZyqVXPVU1QugVJUV0dC27p+FaaBWWxknq6ceAljTNMiAf/BoUMbJpewWqmqSRAQCatJBqKWZpgJ731Zx9pJM4aK0hXe5vlKVFEbKFlxs3PvqpSSqpbzKztRm+gnEkktnU6/2GFMfa4wXK5XDgJCWC0y1iAR6/Z49iOjY7C5qkG6mk+3SFQGlEP8FFdnygrNFqBsn1OxP5+K5pGHbcBhqhT8fqu/v39mHkVIljZAQAirRQYx7Wj3Zj3tddQjVVJ4l50CMjHe8mqOTJCCvmoTyIrENXx7Uinbm4Gs2PZUqkObnp76i0N7N36tWl8kvn0RaGnCGhgILKPn3B3+xKVXDh8+nPseX3sOlpt13+P4uonv71WeDqLr1ampFB8S1JrulNaHc9rTMxltcpofOeWns0rTLkeIZUHRnpm5YibMf7kc9UudzYNAyyrd8ZLpWvfgQT8w+oyevXeo++bBtaEtQd9s1/ffRsV3I6eDJCp+nourgH04UZQnhIYfWm1o8xdUGCU8/E/bil89sH3dlQUVJplbHoGWJaxnXri2HTvd1nEEcCBS3z++MLi75UejQgcmJjL92ax/gNJPo6QekhVXAbdvXI3D+XQ1Bcxiu02zTAEjKFIdHTQS/S8Hd2/4YhQm/spFoCUJ6+mnL651gkwRQRmBt33gO+c3teNQYin/oG6aKX5rcKEukqqoWN+Ij5vy81v8UATDG0WGC21jlJ96K6wKPpWd8H8jChN/ZSPQcoR1+vTppJPS7iw3bIZl7n/++eFV5eJaOczX9Z2YvM1LPxWpocBHKv8qHHdMqSphGUqqahaThfj40ITBcbLnsDj6oXvu2bS4n96JVy73TYtASxHWo48GxrUx+5Cu+XY5RH3PMzLGxF0ktXLxrRoGNVPPfNtOolIrgElLGYH2wbZqcipdIFVFlDbfGhqfj9bskCaHHS/7gTt3r73Y+BqkxFZFoKUI6/C7Lu/Bl1jmlKB8PUhcHjHufuyxx/g5lbZw+BL7bX4EoiZqyS0T0uM0j1+82QSl+ua+bhxj7GjD2LicwWkLzaarigbKsmDJ7gcTmezMBw/t3ixntUfAiK8QaBmzhq8/f26j77pbaxo3w+jetPf1B5D2RE3pmzyR4/nH+Mti4Wx1dUrCHO0lSVGqskFUnakkpn6mhu086jgYHkWTW3Wbo4Tli6L5gqYHE47vfeDufVv+YflaIjU3KwItIWEdO3a9Szc0ElDNDqcLbHjmxas7a87QxAnX9ljfxcr+Mzs29ykpi1O8iJjoR/cm5o7dnUl89LRLW93dyWmVIip+Kp7pmlWqIvQ8Mga9Gslm3Efu3LX+K008HNK0ZUSgplnGMrZPGxgYsIKeXa/TA61jPu0w0+7xBx/cd3M+eZspD0wbDgWm+RXP13cODY/jWGKuGAb48jG+agNpilbqlKZoWDqDY2AyjtNUlupzYZlKpXgaxIVMNv0zd+/d+uxcaSVuZSPQ/IT13TN34QRvZW81n6HSDdMLUqmjh9tgd//Fi8OHEl3JL3Z2dh3MzGA7XU664llVWRz/QhLjNYmsmaWp/DjCjqIDdlaZTOZZ1/A+fGj7hjP5OLkQBMog0NSE9cSRszuswNhdpt31BRnazM3U9IuPHDrUuG+419eChqU+cvzqjp7u5P9KJpMPpqc51Zv9QntLkFQBEqZluVCw/7nhaP9i376+8YIouRQEyiLQtIQ1cPT8GjOw7vE8tyFtxBrb2MBXdh579FF99g0vC0nzB548ebNHT2l/aFmJj1BPBYyav9EFLaQ+jdPAVNL8/pZ13a8qiJLLOhAAjvrTRy/d0enbF+69d0tzHFhWR/vnk7Rple6mp+9uFFkRGF8LVj/08IUN8wGp2fIcPLh+4sCu9R+F3ucj0MLf4vaVVnChqYWmdaQS2jpY2vd0djh86Vqh7c3Yxm8dudTPxaW0lrn7yJEjZW0Tm7HdC2lT0xKW1xecgHE3FDWNcb7uDh6+r/96Y0prjlIO7ur7TOD5b3ayzt9ylY0Gl83qKFXZsCXrXdOlrV3djf2LBr556JOshLDmMWhPPXV6vav5O5jVxYLUhNl3iIbV8yiqpbI0bQcP85C2Xu0l3dczC0XUN4Pzb71339mFltOM+Q/0rzu5f2fvu1zH+QDOt3uZ0pbVRMRFouJK5qqeTkhVqyBdtdUmhGV5JI4cudrpd5kHiyp3tTU/8s6r+4rC2vCmaQmLWJO0Ep65INJK2tbpt75298U2HLuiLh3oX/95L+0/kHUyvwTieiUJHVEimVzy1UKeWMqv2pCoKEVFRNXT1aHawnBx80eAZj7TwcxdAc5Gi5fiaNnNT37nCk4xaV/X1IRF2B94YHt63qQVaCcfePX2K+07fMU9U7qtHev+xE/7r3cc70O+6w1gxuV0dHZiusgvJS/O7IskRXLs6KCxqj+B26t9a3uUREWi4plbQlTFYzXvu+7tB3EIUGel/L6e3TNw5NS8zYAqldss4YvzBC9C7559drAja3qvDoyg6pwCP+KBZaVOPPjazS1vMLpQKE9fuPnawDB+EqehPwzWuAuSl8LPg90WVxhJJPWQCUmPBAWTBEz1TFUGpqO3wYYvIPgr2az35a2b1/50V6f1e1NTlVcvEzB0xRekj67usu5FmS2/crvQcaol/zeeObfTSOj91dIq28PxiaOHDx9quy8LtQxhcZBqIS0Dhkl2l/3yA4e2j1Qb2JUUD1Iyz1waOQib0vsxKXsAFvH3wMB0JySwtZC+DBPTN5BOCEnhrI1BuKe9l6tIzsVCiD6E0DOabrwI2elZ09aP7N3aNxjheXvK+a1OENa0EFYEyYL9rz072Ju03ZpNQKj7Xd899cKhNrA9LASvZTY/s9GcHoK0XsrakLS8UklLxyl+/rj+/Qfu2367sJNyTS7SuZfneO7ffweBGScu3NwAqWgrTvTc5jjBZmw87tMCfRXYKQWOgula4OiBOQUZ7DZuhrAGdQXxV0zPuCaGnkv3VPGHOpPw7+QPR62OM5HhdNddGOeX2kmCbSnC4mDlSStVTFr4eLljdHV+702vWz9R66Cu5HS5h5hmHvz3QiOxwJTRo2BGgY06dm7OVhewYGAY6s75oD+ZDs4JPY9JyqSCQ7ABqftd5VFM3/j2Ja4mtsWpJQSq6ZXu5UZTKeJnsHpohiYPRqBn04nkS2+CQWW59BK2dAjwS0Y4IHDz2ERWG8Gnwm7iK9W3sFmbvrqGPzw6gW8eTmvTM07XmTPX28KYd7EQ3rjnvv1QFHbPt3zT9DcMPHd+13zzN1s+/hC2rKOo7NjeQdsxT5LEWrYjbdLw05eHtwWe9jl0542u62HZHZIVpalY/yIlP5X3MHYddLLZfy4fmYiBhNuB509vw+rG3tKY+kOwGHLi7W/cS91jS7v4s9TSnZHGLx8CICH9lXNDX+zpWfXuycnaBV2e3e567nAm4973qv0bzy1fD5qr5oEB7KXt0u7B3Loh7yhWVfypbOalh9+wr6U3mbfklLC5Hi1pDRE4ef7Wj+EEiZ+amqpvJT2bzWjJRLIPR3n9riA5i4DZg720DSIrlsrvHXSZ9p7ZGlrzSgirNcetqVp9/vz5FJTqj6JRejTdq6eBMzNpHP9s//QrF4bvrydfO6f1JrCX1mvcXlo98Kembjotr3wXwmrnp36J+pYNeh5JdqRem83O77gxkpxtW3bgOZ/g1HKJmt3U1Rw+3D+zrc89aunagnWzpq6PdxujLz388L4F78tdbtCEsJZ7BFq8/sHBoMPX/I9hyrGgnuDUUZzrnnz7yQu3HlxQQW2Ued++fZmJ1e5LoPB5k5ZpWCPXz+08du+99zrtAI0QVjuM4jL2YcIZeh+2+9wF49MFtYJSlgmHE0g/JlLWLJQPg7RmhtyXsJ18eja0tivsXhj6xy9ve/mRR5TRcG2ZmjyViN9NPkDN3Dz1FW5z9XM4i+s1ME1YcFNpUIrVLHzJzHnwjl0bn1twgW1UwPHjxxPXpztejR0HFTc+F3YXRwxdfdM9W08D0zrs4wtLaM5rkbCac1xaolWOvurhZIPIih0OdVm2haNTfqUlAFjCRnJP4HBn+iUqz6tVa2nGpTe/etsP2o2s2G8hrGqjL/FlEQC5GHghfplSUSMdvwaEA/9+4vjpa3c2stx2KIsfUek2dr+EuXNF2xEjSJx98w/tbFt7NiGsdniSl6EPp84O3W/Z1oPzXRms1GRKWdCJdeCIlJ+vlGYlh997r+70+EPH8NHJEtLCauCph+7bmj81ox1xEsJqx1Fdij4Zxi9AT2KSYBrtslgxhOD2gWOyz7AstFzx6zFHj1mGobYUYAgC9cHge3ddK5uhjQKFsNpoMJeqK6+8cm0X6noXiWUxHA8WxAdWNyQM45HFKL8dyiRpueM7jllmMGpnjO+1w9fNaxmXxiogaqlR0jQdAkeOBPjczrnOiQ6jw88ESSOA6KT7iQzOHEvavu1pZsLQg4QPP/DdZG9Xx/vWrOr+mfR03SvtNffdxleAQIgvTzjBT0w409Mpu2faufZy+vDhw5WPMa25dEnYqggIYbXqyNXY7i/jCyvdfmaVb5hdVsLp9LJGp43j1/1A7/RdvdMwPRzEboRnLVHe9vEvL3eXBOB4ZMta22H+TiqV2LJQ26u5u6Bju44Z3J7O/Lvp6cwPmBanOwQ4uNHRTWMK21bSvh1Mm642nTWCtKkH07rnTE72aOO0XZq7bIltVQSEsFp15HLthg5J/+aJE12m3tVjOPYq1/dW4cTjHnwMYhXOce8xDd3y/PJW6OpMdsTRVy4iK/rKMR/jwvz825VIHFzT3fkx13UW/dnhRy3GJyeeHEs7n1XNibUPFvY6vtGDw5vV9w0Vofn81qGhZfDhi3HX8SfQ/3HPMse9CWcCX0gel2OIFJIt+2fRH7qWRaYJG85NxldGzV4tGayFSLQ24+q9ULyu9gJfMU5ELTn6wUISTl03NHz1KzyiJLqmX657OLLdSJgoXTO7cBxyN172blier4YCvBsFdSNXV2dC35tKJrbzfPfFdjwvC/qs9MSMxxNRsSqmT6LhUDQHE+jUBE7UnATXTuLsrRn01K2l/x6+qItiR3TNG8V59KNB0DGSfNXGUXwJY2Gm+osNhpSvEBDCasIHgVLTt75/aQ0MnXpBNb2QgNYEntfr4wu/nBYpKQLtxtdwAh0SBX3VDe7nM/Ha5vf1Fb/CURS2bCTAWWuxR229qRsbQQQbUed61LfW14JVKKsTJ5sk8WUcHbtlNANyTOhgcmAGKH7p3m1FWpqtuZCu+LByVdKHVMjpKEQrBwIW9tnpXOIH+QTDSH/D9f0bmCLewDn1I4HmwtAypPDZ/oe9oXKf/aMPsWxSs/RR13FHrURiZE1gDR86tKHEdCDMKX+XCwEhrOVCvqBeHNaW6ui11/mWDtLQ1kEiWodXE4rwYgepAPssTPCMOjIdAk94TZ8pMZjch8HjDorGFUTUAwlkh64be0A9/ZCatiDZWtOyE7ClQmIdJICJFYhA+TRV4Fo5/QIHiUvrTEbkVRCxiJfsSBbfYk87OTExXxdazY5yUgiRKfpHQ1YSkONmAZY+gV4NIeVFfCXoLNA5h/Plb5LzWAyzF+IVXdNnvO/6GcsyhjC1vmWZ7s2pO3fdOqzriy9asnJxZREoerDLppDAhiIAEtCfO3F5rW0a6z1PX4/nf53nG5RqqrpieSnULEVh8cx4E7ugH78H8tG9eP/24oVezY+pkpA8b/abhPF8le75BqdsXUtaFeaTlTI2IByEoU1l8oq1mkokcZHElIRoWmpejMMCMyCvQXyy7JjjuUcgOl4tLCzCMpTHgFpcgkViX/dH/ax2Szf8m2Yqc/MN+1r7BM/C/rfCtRDWEozSkbMjq7NTY5t13dqE6dhG3wsSqlp+C9DDi0ifLrqmT1f6BgUaPjiHN0lJAGAfvpWcI4XjiHIMF6ocO/EjmMa9HeelQ1LT1PRpoce/sJwOTCQtc+kfGQp6Uxl+9JWtmL+jNEaJ0gKBgbsygR58B4sHfwV5aliVWg3vCHv6ymHcdG868IzrVsK6pnd71+/dsmXxbD3m3/W2ybn0T1/bQFe5I8euX+9ybuqbXMPbDA7ZCKV4uMOecyz+9OfmWvj9x9zEw6JW+JuOX298WhE6qtwLEV3TL1tb/AWj7sqwfqaro/sdmcyM+vBp2XzzDEzaBiQsNH+e+eeTjQ+ohwqnG0BYhfVzNYKrkOmpyauYYH8KvD8G6RPBszrC6Jq+ystl0ghzXEZjR5+O4+iZwTh+eG7Yqa5rq/3hGzzTSkXKn4YgIITVABjBP+ZzP7i8ydasrZCetuCHvIvFRs92SEdlpnCYE2LOQi12OA7RNf1yjrphHIyE9yOXPnfNMDg70DpdTf8DWDKs5rRvMVwChAWrUgh21HzllD0NrigqlxKVC7bKQuOOWeGiuI7OTkhb6T8C/Xw3xkel9cXxj6eIxiY3Hhx3X9dHsWJwDaa3l1+zd9Mt/F4tUk/ijWnP+/DBb8++LWqvnh0c7NDGta0pO7kl6zpb8AJzEUr91kYEFdeBRCt69Nm4+AsSl6jwjVGckY6VwPwUpLhLURx9xliWvxFHi/w+zB0SWCnLsVpxnoXesSI2ngp4zmRJXPgf/0IleGH51R6uwjeX5MR76qtITh7+8N9Cp4GF7Sm8Zl1s35pVXVomm/5c1vG+Wm284njHJeJq44/FjixUAld8w7uijW6+xo3MhW2S6+oIVHumqpewglJ87+LFtcFUcqur+1vxwPcZJqYPMOyhXw6GKI4+4/GwQpjCBhe+6XDIpFb06PM+np5hhS5eXzw9bLJ2pBLGv4Fe36BU4kA6IQGw8MUY6MJywVeqDs54Z69zrWdY7jI3G1ZtUiSV6zzDI3IqLLew/wu9jspl+yywrA1pEed5QceXPT3jBb/DLrA5ua5UHZ/4eMTbFx+fwvE3DJO8fANrjlctL7giJhRx9MrfR89R+VgJ1Y6currONuwd0FNsxwtV02mPlWGLy1TxlPHf6Hh8PH9xesvw9yRM+5PIRT2ZIgVKKZxWUY/PT8aTFPji0i3m4Ed1hDWV/7uY9bNGtiGqAyorJRWSqCgdkrQiR5KddrwPlsq8xfhG6efvx8dvtiQczDdmmPaldDBxSVYeZ3GJXxUMWzxq5d4fPz7Ym7X1HTAL2A7NqtJHEQ3qtCPjw3LoxB/v+OMZ5VVzR5aHWRuErYA+y4uu6fM+Xl9J/lh7bFvbY+vmv0bWos9tsXAWSLIiaSnyApHxJz6SbFSFuXTw8i86r5vVRW1m+6IHmUREAuI0lcREP5q2ztWPrO9/YK54xsXHI56+cePvj3qBfimZNS+J5FWMcrjptThsRd4dPX9+DcwEd5iQphwozfkCwJKaLv9ewHYKeicfSudwShcnJDBBOD3MTwGRO0cqLIj73jQTaejDBYaPHTBgJ/i5+HyYijd95sFhRzkzB7yL2IrCtGwezj9nOQVTUlfPwiicifnu5J0qHHd8mXHIG6ZD7JQqIk9kJK6QwAokMWRUhMaSeJ0vcfaiXNhs7PyuwpYV51Vh+EM/Pu2M9GckpyiOuZm2Wvtom+Y4me8xPbvIIujzPu6Wbvyt1ejL3U7Sv/v754ZHsORwaX3KGdwiJhO5pzY+Mivk/urVq52jTnIXlEc78LKu8qAMx/G8kHhyOicosz0ovM3IrIDKb15HSvDoOoqv+hMLYCOWI8ash0vmufryZVcqLz4u8fym3ov1xT/EVp4UDUTn4/iS0xW+sZTMojASmLqGp64iH4FRXJQ2TKj+lv7JVRTVxwQkm9APyaboGnGMzSVR6VR87ipsVT645ovOzi5tamb6zzB1/nqzjz+s9YetwLioZW5C8jq08K9+1IxS8yQsfF6ap1WL2BK8VOaJc6NbPcPrx7wJ++hmHQUPvOaQgMJ3ETtVlERDP0wVsQ19uPgcLQyt/Dc+p4jlL6k/1xa2qVyh5ApEzEoErm/DsPOTXV3de6anq36roFyRdYWVbVSshHJEMt98saIXfIu9koplYZL6m/hUz7kS/Jt0/PE8+Jj6X/Y6k+fv2tA1BKIvB/OC8WnGAmp5dpqx3XW36fjgYK/upXbhFd+BrRlqn16MfkrspkoC4hnirYjbUVWzs4rHx8uL3cerjwt0TA4RcBcsuX8Rn97q54okVsCKJJ9YkSvy1gJR4aOtnAr6OJP+L13d+BKBKMEzHhAfgDh6yzD+vqHjTDDvYpAxLqwEfVdbE9bpIEi6V27tdLP+LnzPrWS/XrRTnz5d4e79+LNY7r4kP+Z7Jv7z1LyPL0B4Tb+ci9cXLy+eJ54e8Rw//rqqcUR+HOrgYVprJbBl5E2w63oI64J7k8mUDZLGhmAXs19ucVkxP8gKQu4ptCxbMy2TW3KAGI4u1P207ztH3CDx/7bL+Cdse8h1Zy5ev7Dp8uHD7blJuy0J69TV8XW6l92Dl3cbLG6g98idbhDgdANcY1ZY9o2N4mpNr96GRf1Da3Wui0RW69F1bWslvp81LD2xDTOGu9DhQzBc7AcYfYlkAqo6A6ozqHNBYJTESGitTGShsp0qQSxT4AcoPJQw0LBlEPhBFakHDjoLvY+XgVIyg7WK77tG8n9pvpHXBbXL+OMBd7FN6KLu+uf27esbX9RHdIkLbxvCGhgYsDb3v2a7obt7YHakpKmYiqgE2ioqJbzIOszXcSov/DAzRRNehyJKvPx4+igv/ZLKEaCkoZxUFMYXE1I8f7Xyq/UHp9CkAlfbCF3NdlhS7IQguA0N2wiJYy1ktC5IISb1Okr5jSYruy2SGlYkIkKLSC3yy/WrUWGzSnjaTUX/QEhYQuNewLCdwBFKRkpOuAfr4sBnwwfDg6B0MHagORhBHNqHw5WxTwYav6lAt/42MBLfrYZXHO9w3Ftr/B0Hp0pY+tkD29ddAz5ln8NGjddSlNPyhHV8aKjbzAS7Dd3egRcvgRHJWyrHASw9Pyp+vlSxEluH0jWAGQF9VVZMpxHVRZ/xSKQU4PR5Xy0+/sLQZCFS9DN/XKtSeh5WrL2x+sMyZv+W67+vwz5eC7oDx12rm9pakNg639B68XL3Qh+2Bm94DySxHhg0daBHSQhiCbyyyMS9SDi8RhEHyYP1qD9qak0S4VGn5VYrSTRKEkKHWYYiHuQmCYb/YKYLqS+3H5LYckxJmz6qhSYJ5yNgzgtuclESpncBfN8Fj3lgJdCSGpHcGECoxrouMoHjzO+4evLLMB1VKxJV8Wyj8Q80Ix043jnTu32hlTdkh08Yn7UWcnio9Qs3pzZm0lN7LCOxIdIZxbuQ1+lAVFFxJB7aMeUIiPkiPRPjo2v6dPF4FVjHnxi/oQK0Az/bymf5uI7ayGLj6eM63nrbF5VNXzV7nv3HViQL3JAEaSV1z0iBNJIgJBCYkSKJYbdjEiSHw7a0BI5s6QBBbINUswMUsQ6E11UojZGccA9dcZDBdQY+TgyFTgkiEKYyIBvstAQzIRk8cBJ+A2j4gZFDFWAqjAp3V5IhQYYwwUJ57ByS0QINzMYK8FyrRxt3KNbXb2qG/UVNT5wDyCt6/A0boGbdqzPA4tD21SPquWihPy1FWHjQzYs3xnZkM95ePIZd8RccBx1xez/UPowp46I4+uVcLD9/8Plq0Gfy6Jp+uez5uqPyY+UtNN5DuVQc06drpv4bIDXsjtsMpdkOSC79QK4Xog3PzwF4IBNCBiIhpBSpoE8jioqWaM2KCRuOqwLXgIQItKIe0lCYD/lZjoqgGIo0+J++SsmMKA8eqQ21qHuUh2PfzQHN6vgG6vVK8GfmQhcbr3Yff+AEi3rtdCtNF8u/eIWD2ATXx4Mg0XH1Vr/hm7sDQw8PvyvTrriKWocEE0C6oM/kJRJHrAykgj6WGlq+JUifu6YfS6pu4/UVa6AgQcXKi78ApekhcWFBwMstEkTX9MvVHw+Lt2ex+4+Pg62CxgsHEwZbAdgWIJfA+ICkfDRYtyAwWWB7Ay8F8VT/KB0bOJ4Gx/CQfUKSwZGrJJs8iZHYgB0zMB+zk8hopQ8hEcEog2ERASIBAOL5fIrVIKLxXKtzKPZLgZUckvGf+/nH5HsK0+Uz3316zeAjj3D23Lwu90w0ZwNpiZ72UnvwfO/AXIFnXfLBxLOsHn6yiLqmr3oQ04LHX9hq6TFHI6txrlYWkHj98UT1lh8vryR/rIKq6aO204drdP8hRWF3itmLUw42QnW1CSTSA2IAIXkWOBYKLWw8wjVqNkEaFqjFwLQNJhWI4ZiFoiq6QX0SbsEo6HMoWVFCYprwjw6FP65BXCSoXJwiOwpnFK9A6yiWkQhRDwA9XAfpwLS/AqnqSKP7jwapquiznXFXMn6x8Yg/X/HySvLHKqiaPlZfvf0H6BloAM/v3tpzHkJwUx59Uxb4GE5Lfnt2ZGS16SX3+F5mq4llfegtwnaSR6J5EC8hPUV6IDaS6aDnoZ5DpYe6AtdgOr4pyhXLNPH0KKCo/DDP7N+S+mI6qHzbQr7AbdgW+iylWn0l5cf6E29ftfSN6L9lGl04x30tOtMHklmLhxpClW9BL4S1T+i2uNPRp+0FflD0AN9A9LHnmHGBBfJCE3QL9ALiguoJqiu+64gDzWGIIAlhzhaSDsMV/yjJi3BxyY9khP9BXBSzEMY/AFORGMmM1yyKZfmm+ZKuJf4uMHV1THEj+o+S864E7zYd/8Dliqp2MamvPbt9uw4dY/M4DnXTuMuXx/scK9iHLcbryzfKwvOJBSGNPl10Tb8WV0xYyMFymDdXXv46Kq+ueChJQI4WlSUqf8StOf5CNdXqr9afxe8/Gm6AoLAqGKyCGLSG350ACFzKM2FvaeOseEhFOsjItdQ2S6wYYmkOdl2+CfLBvmpIV55vYY2Qn6uAxAWC40zbhxSmWArcQj0TSIiSU37mx0kgVesgLereOSz8E5EWJa6Qzyh1hZEcO7xY4Ct9WLfNvwa+5xA2h6uGP6vMPxMsZ8WNf0Gf+cOCw9usq51a5+kNG9Sn1IjJsjoO0LI7EpVra/vxhPdFs7JyjYriohlbTAKGxO1C6oJEljseOLqmTxfPX66OucJK66OUNzuDjK7p05UIbGwX25I/vrj4BYrnD0uZ/Rtvfzz9fPsPIkgkbL0DZNMFRVEHFEY2ZCBTcwMLdfCsCCVN4SwpE9YG+ARNgD24IDHYSYB1yNCYDkLRFoC8oOUG40AKQx5IYyAmlQ6SF7dDoSof0hbJiApzqLs43aPc5UG+AvVQ/4T7nGQFQiJ5kdbAkmgH2Sz0FaWB4gLrad22v4nmuvPt/yzCc1+V4t0e4z93r8PYwDCvNANxLSthkai0jmCf5+jq6y6Y4SkjTfoKprgWufj9Dg3AozBmiK7pl3H8WDH3u0YfLY6u6c/HVS2vSvsxoygyTF2q/qNenEyjJ5NJPYGPRidME1M1/JYqwyoNq32Ihu4J0z5M+WA2DoqwEI9wfmEaEhQJzPNsKNOh0jJwrfRVJqbnNOrC6IGwQFzgHiKrpCuq2kE+FizrMXWE7IWCEKemg7hSiimOQchNIC3EchqpHlBO95TshQThkwF5TL9k+Mm/MZLGzVo3AlQdLzagDle1vCYd/wU9/5Z5ZcyZPnNow/J8ZHZZCGtsbKw3rdn7nIzTx42o0WfP1cPKuYJ6XPFs5q7p8zmKx5v8cdcxDeMPOR1fj+gh4X10TV/dukiC+nJPeLy8eH1hrtm/UVvpKxcrP2oL/dlcs1eQ9PCeo73wGcp+R2Xyvlp74vH19B9EkoA2CYKUlcQqJCQj6vkoyBjh/IurcJiy4Zxy2FMptRBO7sK3kClR0UYUZAX+wMqfC1ICiYHMYBsKSQsSFKaAUEqZLoiK00ASFsgpN0UEUWE6yOkiiArE6NmUb91OWwAAEuNJREFUszCNxA0c/uBoF04W86YOarWQAYjGmHBBEIkUiXEqib025hNmInWknv6zKo77Sh3/RvcfSx5Xl4O4yr5Y7NxiuEEQFT4uvs8yrF5VvosX28LLS185vsiRHkc9YPiJtrCbJIzHyx3gJdfpl80flZWPR6qIxJghus7xjSqj4E9UNn2VvN76Csqq6XIR+48OYEeGlcAaXhLfQwxNQcgQEI9IErOOxBUuCuDLz9Arm5iyOTaYy7Jty8hAb2VCm43ZmwnwQTbgFpAWyA4SGEKhaMdgYNpngKAcpeMCAfFjYGE4yAqco3RZ0LorUqOkxVkf6AgzvFBPFbISSsOUD+WRrWijpcwbmI4Gomj4yxAIv4bPVU+q9sfxk/EP36UlfP49N3vNWr/m9CZdX/zzjDDofAoW3XHVr9NPHdB8p2+uORl/mjFLUktMbBTtkSJbpLCRxYyD5OpJps/4+DJuvq5IIgoLqfi3pLzcRuloM7QSzKImsBSWG80LVKkxkSvOkFHaCjL5QvrPN9rwvaSVtEg2ICmQCNRQkGjwnlOpNktMxdds+GxcRFrIyCmhTQMEUJjl4qwtzPbAOVC8o0DUZroGiMmBpEUfRBZ4DvRUJC4/1GOpij1ML9XU0PJdFxIZGsOpJkkOQ0YdFh5CPodKl0WfRqQkVUhTIEf1iN4GkdJU4Rx/xsJfHkpfMv4cd+IAUJb1+YdkfSU7NXp6+/bti7qquKiEdfVq0Gl2TO2DonYzAcUTCv0slCB8FuGia/q8j7iAPl30aNIPHVKq55w+00MvjFLo05WmV8H5P9XLzydVF/H0xbGl9UGfjm226B98po2u6fO+0f3H9M7SbT1h+FoS00ybSmm+5/RZHxzbwWvVHtSvNuLRR4BKl0vPtHRhWh1SESUsNBkH0qjvNiAx4MA1JDBc4yBmTPmwJArJCFM+dA1SE5XsmFIqRTzKUrZYkMio78IUkauFoW6Mcbin1GWrOR8nqOEUEUQFmuK3ZdEw6NFg92s9j3XLp0CIsAuS8VdPkcKhCZ9/KAc81x/c3NdzFjy6KHZc0YPNh7VhDg9jYnh4co9n2dvx1nLalys7Rimx2xLGigfEJBQ0Xr149FkBVb04BQiTlPAFbTiDxRGKM1pJf5AgarPKG0sQu413N07hkCANO5m0fSebtCwziW5DqMISHTRMJCDF23inYbmsauNCHq+Vn1ta5dErzKN8psP/RiIXVpAegKJQ30Y06AQSEXdAIpdL0wbTNsLpoSIeCwRJHZYBpTusIFAIlPC0iqL5AxoCcmLPQkkLdITRCc0dSFqQD1A51g4pLOXmhZCwDMO2BpH9q6ZtDoU4oKQIy5yEynFnv+mzw+0+/q3Sf5yT4aYs89zq1alLIK7wYeQANcCpgW5AOaqIARzxcudrXrMTz+cuFAxBI1Rw06eLKz3xsnDikt+Mmr9mWBlXrbySeJAlTt8MXJImXHRNv0zx2GpWZ3r0KKqzXHlRHH26+fQf+mkbg56ADjppUuihMJl7BEhGtmnj+4Phj1lEUAzjaQcgJkzcqPPmlI/yjdJV8Trf/+hbeYyP0uMS0zSVF8SEaSELxkhR6a7IC1IVHkNMBWEkCljxYQ7YXgWKrDCHw2ohJDDKSkr5Tst3TANBp7DdgkTFKSOpxYMtV2i3hXQoJjwbBo3L4oibAajdXmSbCl01PEvi6x3PetMvwfi3cv+xHpPRk8GZvo6Oq5y5FvZlvtfqQZ5v5igfH7iRdHqrn/H24McyEb6ejCUxkCwqEATi8JDNKtWRIxI6wrLj+aOyQgIqLT/KTZ+OLYnCFGHE60PdSgzIgVmcfrbt5evjYkB97VeNyv8plx/UYoChElhYgB7KtD3PAUWRpejIVNzNAjNzyDuYRqnrMF5dIx4CkTrlAJQRps2FhZIX5lqYwfFLOygTBeSmkUhDEgNvIC7MR5ML6JhozoCpn+858G1utbH4j7BRT0Z9VlZzbTyOKJCKeCjkqYbkFBJh+DXCPVcKuXKIFURlm8WBoZSFOBCYmk6i33ioT+Kw1CegEMspcFfe+M8+rRySNum/YUwm9I7TPT04NWOBDg/nwtz16xMbEp3mPswIOuI6G7wBSlynz1pQWZEIP0smIcEEWN3QsfJDn+nj9FFSPh73wilgdE2f+eOumo4pPqWI2kI/LKu4RVXLq7H/kJopRUFhnkj4joNT9KC/BlZgAIVD1I+cwASVUBgCIsF1KEQxJLpGPKHGP5LYrAs5ikREnmJ61KF4K5cG1+REVS6HC1JauGroYYcOrLWUEp6MSF0UpoZgK5hV2dgEzeNLYbMBnRQZEUPnOwGMT6GOp57Kg/0WTCMYjnsQHpDmlJFTR5IcNt/alvV1PdF5NsKcLSpGG03L6QcjnWDpeIXqgFYb//A9wGi1+fMPDeqY7nae6uvT530KKp+JebkhHJyX6Fqz33X83tCgRr1d6gXBH+XnFtEwDmEVMBfAtbK7UvHxVTb1gGLQokbFVBZMDtUJHmT+dsPxmqSRU2nkrxkWxhfbOfEVwLov4sIaonSRr1qZy6vy8xliPbn+qPjYHxSm6mJwdB357DfaVtJ/BMLeW0/ayVQSR6TA5AB7h8kwmFeRrFBUSFYkJk7GsM+F5SuiCQmFBEriCskHYcxfEM9ozBjBS/yaKD//rBzndjD3BHswAcmqwFdhOWGugCw5owwpEt9sxMlVGWQEK4GlcAOi1XAcL6eLICfdcMFmNDnH7xdO/YTCHTkxM2B6EiSPbuXmHrZO5eJy4Iu6lfo2Gu8orFfA+PM9UMjnHpBIx9v+/Q9Wm8nMfcMTE1d7u7vP4Ec6fzy1wqOGP3xI63JHjgT2/rsy/boTbMP0pe78dVUWS5wjK0VUjIqNN3kA62ZYeIcfxofXDFNFUZBTT4W6m71mWBlXrb4yWSoEYWh0jVIUdJEmzA6o18mRDN7dCplCEkK8IiP4WRAU9OO8j5wimZB3SAhKYlJEphLkJCaSEP7PEdxsfVG5UWFxP6qPPngTlvBED6IWLN8dTPmg8ocFPPRXWBdlFWqqCEmLlhAgLRtKdLaAkpQNfRUM6DUQGOUiTimNEaT7FvRVw/F6K91XG4/mHf9KPaovvJ36jzfSS1mpc6mUdhnvhZL4a0GjZsKBKK+n0+kt0AHvztCAsIzjeeAeUKVPF1l101cBWCICxcGmcPalUeHRnyguIsJYej79fFnpKxdjrKhu+spVK69Ke+OW6SXlh7Xk/8b7D5umJKY6nUiQAEmp5ZKoD5Ay8kTFzcAsJIrL+ZREYCWAaU4ubXRNP8wfpuSuGubHMwCJhSuGPCiYJIMw5GV6xkfY0Wd+WoPiBAlEhvnzNluw3SKZYTkQHIQ5J1RQDg7Lw/QQGUIdFp4wcC9KgQ/7KkxjucEHROVmc3ZaCFfEjMxUvlPvBZ0WhT1Q1zG06hQKyGPA9qEh4bPRJuO/0p//WvoPyXpa77BPr9L1mn64QiJRT0vlP3jg1oyn0/th1dnN6VOkQyh8wVRuPpLUH9GHi+sckD4vLaj43NSHLwfv8cKjbGxdgc97JUpFpIRbpovKYHTUltkpHYkyEqNYf1gWfZU+Vn+JiMZERS4qKyTAMv1hmwoItLT/aL6OL9cn8A4mknhDkR5CUuh43ExhAXjnIQVxRQ9UwnU1JM73meHISINzlY/1Ir3jwNQBtui5IpU3K2mFZbEUEhgJiHlZhkqI8rws7hPFxBHlZ5romu1CGRSv2HyQEQiLPkwefJcSk2o0mU+F8Z46KswbKd8qvRUWiq7BsuoYlF/q+Jd839p4/KNnFHhw+Fbc819r/y3dHO7qsk9D2lLPBvEq59SLXC6CYSCq1OTk5F48g+FxLyQSvvyzhFK8taaYL1ACiYdkkSOg/HVO4irmAySLlR8+yHy5wnaWysTF7YmnRxdyecMXFDcxx3KjNCUEGUtb2r4Iixwh5qebxEG58v2Hkh0ERqlLp5kClNLkngLSyF8XExrZi089SYbFm9DRg1FCbEKyoxQE8sqFkTOgTwrDVIPCP/k8qpRcGrxMEXmxnpwjUeXbhjpgA2bBNsp0HPQWOiwNOnddw5YcNIdSFyzTlUKehEbrLDxDNn7osjCXPw5FO22qgPfKHn/pf8XxxxetvSvYlX8BxBVKCdGDmPPDhz0W+Oijjxof//jHt+Hh2oko/qKqFx4l0BJQmQIwS3RNn/fxZXqGFbq4nQzimI9tKFs+S1S1KJ9XoQkEfUQwtKg98fSzefMMwmx5F28/IqK2RLjM2b54/gX0H0v6+IiDZSVgHJogfYWNzDMUpCtsUkKg4pKIUJAsnNTlkjNWzfBCPMOhi8JAiCSqPBmyMFVQ1OdctQwLywNZ5cPCpDl80D6IhjzBASQF0sUeREpSJCyE4ceSpJXbEO2612AHepaTSRn/YrtEAD3n8xV/ntv4+S96nyGRO9gccQZmEPiBK3bRi5kPHcG+v2T32n2+53bxNY8oQyWIB0SR9OmqxMeTh5lm/8azx8srEbCQNSqTpUTX+eagwCiPqiWeQAXO/olHV2tPaYUFjWCxsQJjt7MV564K6iOB2Xj1adNGa3PqDMFl4XwSSnAQCUIibqFPlwtTwbiOkoSR+JvLx3KYv9BXaSrlLyifSegQBNMFTAWhiIeFArRZnoX+8Y2EzKhbnuNlYO9wFpZXkwoH5Kmj/6qOFTz+0n8+Y4Y/2pVIcJqY35+YJ6wjEN33ZzL9kPY3hWjx6Sv+RcByLIQAZZYQJSn2C944FRF/QkvjQ31XZDcV04GVPOGl+WdJEhVGbaNPV3d7Va7ZP83U/1ACgzTjkg4gjUFvHhGWkrPAPnnBLNeFSEKKfAbzOu9yBAUdVj6cZURpZuU3XOUILioD93x2IEnxxFGc9c6M+M93cHSNZVzHquBQDeMn4x898wQ2us7pgGvAbyU8/z5e5EupVEqtJirCgp4KHxVI7sbrQIYKHyKF3+yvIvEEX8FsQNk9qXwgBpgQwNo7p9OKrukzfdzF08+WTmYrV35YF+tU8bEpYImInGtLVH+8PkzZ8iQcVpjrawXCLOHH5uo/9JmWjbXHJMQcNhVW8bOklbsumnJw7Q+cgtVK2mJxAUNNKKncp54KHuzAwnjCE01B1UIHA1A80ik/IkdIfTj6mE8MXh2sSKZhdHUd+IcDykwFLj4eMv7Fv+il75c8/xEmeHaojD+jZ4LgbsPVVvO5iutg4oSAFCCiAqVp/jrUKRU8mzVexsube05ff3tiD0Q1wkP/ojrYgeiaftiheHsjLKL4GrudTxYvb0H9h94bpzeAwCD4cAqJf5SmlBjFH5D8ChVC1Q8KyIkrjtgbE64y4lqtINJHel5Hq4q4ZdsYzsWBWaU+rkFWtFzQbiNNnWciNbT/qD4+Hitq/FdE/3mWzmvQU+W4hZZPenQuRHRNfylcvfVjpUqz0Tj6dNE1/fm4euufTx1z5am3/hr6z6lj9A9ElneKwPJ3IYEVEpqKys0YFeUhoDBP4TV/+bjVIkfqKuu8/ixC/+tqR73111V4DYnrrb+G8a+h1tkk9dY/m7MxV7XUzwdP3ApBgCYG6Co+L6/+kcB4X0g0ERFFzwXjojBc5q8ZhqOKtWEoROmLEwSWBIHowVySyqSS5kIABEYhisRFEov8SgRWGD6K9OMgq8IwBIkTBBYXASGsxcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"}}},ad50:function(t,e,i){t.exports=i.p+"static/icon/mailv.png"},ad5e:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"\u52a0\u8f7d\u66f4\u591a",loadingText:"\u6b63\u5728\u52a0\u8f7d...",nomoreText:"\u6ca1\u6709\u66f4\u591a\u4e86",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1}}},ae08:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n(i("cf91")),n(i("2488")),n(i("cc03"));var r={props:{},data:function(){return{nRefresherLoading:!1,nListIsDragging:!1,nShowBottom:!0,nFixFreezing:!1,nShowRefresherReveal:!1,nLoadingMoreFixedHeight:!1,nShowRefresherRevealHeight:0,nOldShowRefresherRevealHeight:-1,nRefresherWidth:uni.upx2px(750),nF2Opacity:0}},computed:{},mounted:function(){},methods:{}};e.default=r},ae76:function(t){t.exports=JSON.parse('{"zp.refresher.default":"\u7e7c\u7e8c\u4e0b\u62c9\u91cd\u7e6a","zp.refresher.pulling":"\u9b06\u958b\u7acb\u5373\u91cd\u7e6a","zp.refresher.refreshing":"\u6b63\u5728\u91cd\u7e6a...","zp.refresher.complete":"\u91cd\u7e6a\u6210\u529f","zp.refresher.f2":"\u9b06\u624b\u9032\u5165\u4e8c\u6a13","zp.loadingMore.default":"\u9ede\u64ca\u52a0\u8f09\u66f4\u591a","zp.loadingMore.loading":"\u6b63\u5728\u52a0\u8f09...","zp.loadingMore.noMore":"\u6c92\u6709\u66f4\u591a\u4e86","zp.loadingMore.fail":"\u52a0\u8f09\u5931\u6557\uff0c\u9ede\u64ca\u91cd\u65b0\u52a0\u8f09","zp.emptyView.title":"\u6c92\u6709\u6578\u64da\u54e6~","zp.emptyView.reload":"\u91cd\u65b0\u52a0\u8f09","zp.emptyView.error":"\u5f88\u62b1\u6b49\uff0c\u52a0\u8f09\u5931\u6557","zp.refresherUpdateTime.title":"\u6700\u5f8c\u66f4\u65b0\uff1a","zp.refresherUpdateTime.none":"\u7121","zp.refresherUpdateTime.today":"\u4eca\u5929","zp.refresherUpdateTime.yesterday":"\u6628\u5929","zp.systemLoading.title":"\u52a0\u8f09\u4e2d..."}')},af34:function(t,e,i){var n=i("a708"),r=i("b893"),o=i("6382"),a=i("9008");t.exports=function(t){return n(t)||r(t)||o(t)||a()},t.exports.__esModule=!0,t.exports["default"]=t.exports},b0bf:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i){var n=i.config.validateStatus,r=i.statusCode;!r||n&&!n(r)?e(i):t(i)}},b0e4:function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},b106:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"punch-calendar",props:{successList:{type:Array,default:function(){return[]}},errorList:{type:Array,default:function(){return[]}}},data:function(){return{successArr:[],errorArr:[],calendarConfig:{week:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],nowYear:"",nowMonth:"",nowDay:"",day:[],fold:!1,yearAndMonth:"",needClock:!0},monthStatisticList:[]}},computed:{nextIconStyle:function(){var t=this.getNowDate(),e=t.year,i=t.month,n=this.calendarConfig,r=n.nowYear,o=n.nowMonth;return r==e&&o==i?"../../static/images/calendar-next.png":"../../static/images/calendar-next-active.png"}},watch:{successList:{handler:function(t){this.successArr=JSON.parse(JSON.stringify(t)),this.initCalendar(!1)},immediate:!0,deep:!0},errorList:{handler:function(t){this.errorArr=JSON.parse(JSON.stringify(t)),this.initCalendar(!1)},immediate:!0,deep:!0}},methods:{switchMonth:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"next",e=this.calendarConfig,i=e.nowYear,n=e.nowMonth,r=this.getNowDate(),o=r.year,a=r.month,s=r.day;if("next"==t&&i==o&&n==a)return!1;"prev"==t?n<=1?(n=12,i-=1):n--:n>=12?(n=1,i+=1):n++,this.$emit("switchMonth",t,i,n),this.calendarConfig.nowYear=i,this.calendarConfig.nowMonth=n,this.calendarConfig.nowDay=i==o&&n==a?s:"",this.calendarConfig.day=this.calendar(i,n,this.calendarConfig.nowDay,this.calendarConfig.fold,this.successArr,this.errorArr),this.calendarConfig.yearAndMonth=this.monDetail(i,n)},chooseDay:function(t,e){if("last"==e.className||"nextMonth"==e.className)return!1;this.$emit("chooseDay",e),this.calendarConfig.day.map((function(t){return t.list.map((function(t){return"active"==t.className&&(t.className=""),t})),t})),e.className="active"},fold:function(){var t=this,e=this.getNowDate(),i=(e.now,e.year),n=e.month,r=e.day,o=this.calendarConfig,a=o.nowYear,s=o.nowMonth;this.calendarConfig.day.map((function(e,o){return t.calendarConfig.fold?e.open=a==i&&s==n?e.list.reduce((function(t,e){return e.value==r&&"last"!==e.className&&"nextMonth"!==e.className&&(t=!0),t}),!1):0==o:e.open=!0,e})),this.calendarConfig.fold=!this.calendarConfig.fold},initCalendar:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(t){var e=this.getNowDate(),i=e.year,n=e.month,r=e.day;this.calendarConfig.nowYear=i,this.calendarConfig.nowMonth=n,this.calendarConfig.nowDay=r}var o=this.calendarConfig,a=o.nowYear,s=o.nowMonth,l=o.nowDay;this.calendarConfig.day=this.calendar(a,s,l,this.calendarConfig.fold,this.successArr,this.errorArr),this.calendarConfig.yearAndMonth=this.monDetail(a,s)},getNowDate:function(){var t=new Date,e=t.getFullYear(),i=t.getMonth()+1,n=t.getDate();return{now:t,year:e,month:i,day:n}},monDetail:function(t,e){return"".concat(t,"\u5e74").concat(e,"\u6708")},is_leap:function(t){var e=t%100==0?t%400==0?1:0:t%4==0?1:0;return e},calendar:function(t,e,i,n){var r,o,a,s,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],c=[],d=new Date(t,e-1,1),h=d.getDay(),f=this.getNowDate(),p=(f.now,f.year),g=f.month,v=f.day,m=new Array(31,28+this.is_leap(t),31,30,31,31,30,31,30,31,30,31),y=Math.ceil((m[e-1]+h)/7);for(r=0;r<y;r++){var _=[];for(o=0;o<7;o++)a=7*r+o,s=a-h+1,s<=0?_.push({value:"",className:""}):p==t&&g==e?s>m[e-1]?_.push({value:"",className:"nextMonth"}):s>i?_.push({value:s,className:"last",year:t,month:e,day:s}):_.push({value:a-h+1,className:"",year:t,month:e,day:s}):s>m[e-1]?_.push({value:"",className:"nextMonth"}):_.push({value:s,className:"",year:t,month:e,day:s});var x=_.reduce((function(t,i,n){if("nextMonth"==i.className&&(t[n-1].value==m[e-1]?i.value=1:i.value=t[n-1].value+1),"nextMonth"!==i.className&&i.year==p&&i.month==g&&i.day==v&&(i.active="thatDay"),"nextMonth"!==i.className&&i.year==p&&i.month==g&&i.day==v&&(i.className="active"),i.year&&i.month&&i.day){var r="".concat(i.year,"/").concat(i.month,"/").concat(i.day),o=new Date(r).getTime().toString();l.includes(o)&&(i.tag="border"),u.includes(o)&&(i.tag="error")}return t.push(i),t}),[]);c.push({list:x,open:!1})}return c.forEach((function(r,o){r.open=!!n||r.list.reduce((function(n,r){return t==p&&e==g?r.value==i&&"nextMonth"!==r.className&&(n=!0):0==o&&(n=!0),n}),!1)})),c}}};e.default=n},b12c:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("127e")),o=n(i("ee10")),a=n(i("67ad")),s=n(i("0bdb")),l=function(){function t(){(0,a.default)(this,t),this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}return(0,s.default)(t,[{key:"addRootPath",value:function(t){return"/"===t[0]?t:"/".concat(t)}},{key:"mixinParam",value:function(t,e){t=t&&this.addRootPath(t);var i="";return/.*\/.*\?.*=.*/.test(t)?(i=uni.$u.queryParams(e,!1),t+"&".concat(i)):(i=uni.$u.queryParams(e),t+i)}},{key:"route",value:function(){var t=(0,o.default)(r.default.mark((function t(){var e,i,n,o,a=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=a.length>0&&void 0!==a[0]?a[0]:{},i=a.length>1&&void 0!==a[1]?a[1]:{},n={},"string"===typeof e?(n.url=this.mixinParam(e,i),n.type="navigateTo"):(n=uni.$u.deepMerge(this.config,e),n.url=this.mixinParam(e.url,e.params)),n.url!==uni.$u.page()){t.next=6;break}return t.abrupt("return");case 6:if(i.intercept&&(this.config.intercept=i.intercept),n.params=i,n=uni.$u.deepMerge(this.config,n),"function"!==typeof uni.$u.routeIntercept){t.next=16;break}return t.next=12,new Promise((function(t,e){uni.$u.routeIntercept(n,t)}));case 12:o=t.sent,o&&this.openPage(n),t.next=17;break;case 16:this.openPage(n);case 17:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"openPage",value:function(t){var e=t.url,i=(t.type,t.delta),n=t.animationType,r=t.animationDuration;"navigateTo"!=t.type&&"to"!=t.type||uni.navigateTo({url:e,animationType:n,animationDuration:r}),"redirectTo"!=t.type&&"redirect"!=t.type||uni.redirectTo({url:e}),"switchTab"!=t.type&&"tab"!=t.type||uni.switchTab({url:e}),"reLaunch"!=t.type&&"launch"!=t.type||uni.reLaunch({url:e}),"navigateBack"!=t.type&&"back"!=t.type||uni.navigateBack({delta:i})}}]),t}(),u=(new l).route;e.default=u},b1db:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300}}},b2a1:function(t,e,i){"use strict";i.r(e);var n=i("c91b"),r=i("d60d");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"29a0ae24",null,!1,n["a"],void 0);e["default"]=s.exports},b2af:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",[e("view",[e("view",{staticClass:this._$s(2,"sc","box1"),attrs:{_i:2}},[e("canvas",{})])])])},r=[]},b42c:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("cf91")),o=(n(i("2488")),n(i("cc03"))),a={props:{refresherThemeStyle:{type:String,default:r.default.gc("refresherThemeStyle","")},refresherImgStyle:{type:Object,default:r.default.gc("refresherImgStyle",{})},refresherTitleStyle:{type:Object,default:r.default.gc("refresherTitleStyle",{})},refresherUpdateTimeStyle:{type:Object,default:r.default.gc("refresherUpdateTimeStyle",{})},watchRefresherTouchmove:{type:Boolean,default:r.default.gc("watchRefresherTouchmove",!1)},loadingMoreThemeStyle:{type:String,default:r.default.gc("loadingMoreThemeStyle","")},refresherOnly:{type:Boolean,default:r.default.gc("refresherOnly",!1)},refresherDefaultDuration:{type:[Number,String],default:r.default.gc("refresherDefaultDuration",100)},refresherCompleteDelay:{type:[Number,String],default:r.default.gc("refresherCompleteDelay",0)},refresherCompleteDuration:{type:[Number,String],default:r.default.gc("refresherCompleteDuration",300)},refresherRefreshingScrollable:{type:Boolean,default:r.default.gc("refresherRefreshingScrollable",!0)},refresherCompleteScrollable:{type:Boolean,default:r.default.gc("refresherCompleteScrollable",!1)},useCustomRefresher:{type:Boolean,default:r.default.gc("useCustomRefresher",!0)},refresherFps:{type:[Number,String],default:r.default.gc("refresherFps",40)},refresherMaxAngle:{type:[Number,String],default:r.default.gc("refresherMaxAngle",40)},refresherAngleEnableChangeContinued:{type:Boolean,default:r.default.gc("refresherAngleEnableChangeContinued",!1)},refresherDefaultText:{type:[String,Object],default:r.default.gc("refresherDefaultText",null)},refresherPullingText:{type:[String,Object],default:r.default.gc("refresherPullingText",null)},refresherRefreshingText:{type:[String,Object],default:r.default.gc("refresherRefreshingText",null)},refresherCompleteText:{type:[String,Object],default:r.default.gc("refresherCompleteText",null)},refresherGoF2Text:{type:[String,Object],default:r.default.gc("refresherGoF2Text",null)},refresherDefaultImg:{type:String,default:r.default.gc("refresherDefaultImg",null)},refresherPullingImg:{type:String,default:r.default.gc("refresherPullingImg",null)},refresherRefreshingImg:{type:String,default:r.default.gc("refresherRefreshingImg",null)},refresherCompleteImg:{type:String,default:r.default.gc("refresherCompleteImg",null)},refresherRefreshingAnimated:{type:Boolean,default:r.default.gc("refresherRefreshingAnimated",!0)},refresherEndBounceEnabled:{type:Boolean,default:r.default.gc("refresherEndBounceEnabled",!0)},refresherEnabled:{type:Boolean,default:r.default.gc("refresherEnabled",!0)},refresherThreshold:{type:[Number,String],default:r.default.gc("refresherThreshold","80rpx")},refresherDefaultStyle:{type:String,default:r.default.gc("refresherDefaultStyle","black")},refresherBackground:{type:String,default:r.default.gc("refresherBackground","transparent")},refresherFixedBackground:{type:String,default:r.default.gc("refresherFixedBackground","transparent")},refresherFixedBacHeight:{type:[Number,String],default:r.default.gc("refresherFixedBacHeight",0)},refresherOutRate:{type:Number,default:r.default.gc("refresherOutRate",.65)},refresherF2Enabled:{type:Boolean,default:r.default.gc("refresherF2Enabled",!1)},refresherF2Threshold:{type:[Number,String],default:r.default.gc("refresherF2Threshold","200rpx")},refresherF2Duration:{type:[Number,String],default:r.default.gc("refresherF2Duration",200)},showRefresherF2:{type:Boolean,default:r.default.gc("showRefresherF2",!0)},refresherPullRate:{type:Number,default:r.default.gc("refresherPullRate",.75)},showRefresherUpdateTime:{type:Boolean,default:r.default.gc("showRefresherUpdateTime",!1)},refresherUpdateTimeKey:{type:String,default:r.default.gc("refresherUpdateTimeKey","default")},refresherVibrate:{type:Boolean,default:r.default.gc("refresherVibrate",!1)},refresherNoTransform:{type:Boolean,default:r.default.gc("refresherNoTransform",!1)},useRefresherStatusBarPlaceholder:{type:Boolean,default:r.default.gc("useRefresherStatusBarPlaceholder",!1)}},data:function(){return{R:o.default.Refresher,refresherStatus:o.default.Refresher.Default,refresherTouchstartY:0,lastRefresherTouchmove:null,refresherReachMaxAngle:!0,refresherTransform:"translateY(0px)",refresherTransition:"",finalRefresherDefaultStyle:"black",refresherRevealStackCount:0,refresherCompleteTimeout:null,refresherCompleteSubTimeout:null,refresherEndTimeout:null,isTouchmovingTimeout:null,refresherTriggered:!1,isTouchmoving:!1,isTouchEnded:!1,isUserPullDown:!1,privateRefresherEnabled:-1,privateShowRefresherWhenReload:!1,customRefresherHeight:-1,showCustomRefresher:!1,doRefreshAnimateAfter:!1,isRefresherInComplete:!1,showF2:!1,f2Transform:"",pullDownTimeStamp:0,moveDis:0,oldMoveDis:0,currentDis:0,oldCurrentMoveDis:0,oldRefresherTouchmoveY:0,oldTouchDirection:"",oldEmitedTouchDirection:"",oldPullingDistance:-1,refresherThresholdUpdateTag:0}},watch:{refresherDefaultStyle:{handler:function(t){t.length&&(this.finalRefresherDefaultStyle=t)},immediate:!0},refresherStatus:function(t){t===o.default.Refresher.Loading&&this._cleanRefresherEndTimeout(),this.refresherVibrate&&(t===o.default.Refresher.ReleaseToRefresh||t===o.default.Refresher.GoF2)&&this._doVibrateShort(),this.$emit("refresherStatusChange",t),this.$emit("update:refresherStatus",t)},refresherEnabled:function(t){!t&&this.endRefresh()}},computed:{pullDownDisTimeStamp:function(){return 1e3/this.refresherFps},refresherThresholdUnitConverted:function(){return r.default.addUnit(this.refresherThreshold,this.unit)},finalRefresherEnabled:function(){return!this.useChatRecordMode&&(-1===this.privateRefresherEnabled?this.refresherEnabled:1===this.privateRefresherEnabled)},finalRefresherThreshold:function(){var t=this.refresherThresholdUnitConverted,e=!1;return t===r.default.addUnit(80,this.unit)&&(e=!0,this.showRefresherUpdateTime&&(t=r.default.addUnit(120,this.unit))),e&&this.customRefresherHeight>0?this.customRefresherHeight+this.finalRefresherThresholdPlaceholder:r.default.convertToPx(t)+this.finalRefresherThresholdPlaceholder},finalRefresherF2Threshold:function(){return r.default.convertToPx(r.default.addUnit(this.refresherF2Threshold,this.unit))},finalRefresherThresholdPlaceholder:function(){return this.useRefresherStatusBarPlaceholder?this.statusBarHeight:0},finalRefresherFixedBacHeight:function(){return r.default.convertToPx(this.refresherFixedBacHeight)},finalRefresherThemeStyle:function(){return this.refresherThemeStyle.length?this.refresherThemeStyle:this.defaultThemeStyle},finalRefresherOutRate:function(){var t=this.refresherOutRate;return t=Math.max(0,t),t=Math.min(1,t),t},finalRefresherPullRate:function(){var t=this.refresherPullRate;return t=Math.max(0,t),t},finalRefresherTransform:function(){return this.refresherNoTransform||"translateY(0px)"===this.refresherTransform?"none":this.refresherTransform},finalShowRefresherWhenReload:function(){return this.showRefresherWhenReload||this.privateShowRefresherWhenReload},finalRefresherTriggered:function(){return!(!this.finalRefresherEnabled||this.useCustomRefresher)&&this.refresherTriggered},showRefresher:function(){var t=this.finalRefresherEnabled&&this.useCustomRefresher;return this.active&&-1===this.customRefresherHeight&&t&&this.updateCustomRefresherHeight(),t},hasTouchmove:function(){return!(this.$listeners&&!this.$listeners.refresherTouchmove)}},methods:{endRefresh:function(){var t=this;this.totalData=this.realTotalData,this._refresherEnd(),this._endSystemLoadingAndRefresh(),this._handleScrollViewBounce({bounce:!0}),this.$nextTick((function(){t.refresherTriggered=!1}))},updateCustomRefresherHeight:function(){var t=this;r.default.delay((function(){return t.$nextTick(t._updateCustomRefresherHeight)}))},closeF2:function(){this._handleCloseF2()},_onRefresh:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(!t||this.finalRefresherEnabled&&!this.useCustomRefresher)&&(this.$emit("onRefresh"),this.$emit("Refresh"),this.loading||this.isRefresherInComplete||(this.loadingType=o.default.LoadingType.Refresher,this.nShowRefresherReveal||(this.isUserPullDown=e,this.isUserReload=!e,this._startLoading(!0),this.refresherTriggered=!0,this.reloadWhenRefresh&&e&&(this.useChatRecordMode?this._onLoadingMore("click"):this._reload(!1,!1,e)))))},_onRestore:function(){this.refresherTriggered="restore",this.$emit("onRestore"),this.$emit("Restore")},_handleRefresherTouchstart:function(t){!this.loading&&this.isTouchEnded&&(this.isTouchmoving=!1),this.loadingType=o.default.LoadingType.Refresher,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchEnded=!1,this.refresherTransition="",this.refresherTouchstartY=t.touchY,this.$emit("refresherTouchstart",this.refresherTouchstartY),this.lastRefresherTouchmove=t,this._cleanRefresherCompleteTimeout(),this._cleanRefresherEndTimeout()},_handleRefresherTouchmove:function(t,e){this.refresherReachMaxAngle=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchmoving=!0,this.isTouchEnded=!1,t>=this.finalRefresherThreshold?this.refresherStatus=this.refresherF2Enabled&&t>=this.finalRefresherF2Threshold?o.default.Refresher.GoF2:o.default.Refresher.ReleaseToRefresh:this.refresherStatus=o.default.Refresher.Default,this.moveDis=t},_handleRefresherTouchend:function(t){var e=this;this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.refresherReachMaxAngle=!0,this.isTouchEnded=!0;var i=this.finalRefresherThreshold;t>=i&&(this.refresherStatus===o.default.Refresher.ReleaseToRefresh||this.refresherStatus===o.default.Refresher.GoF2)?this.refresherStatus===o.default.Refresher.GoF2?(this._handleGoF2(),this._refresherEnd()):(r.default.delay((function(){e._emitTouchmove({pullingDistance:i,dy:e.moveDis-i})}),.1),this.moveDis=i,this.refresherStatus=o.default.Refresher.Loading,this._doRefresherLoad()):(this._refresherEnd(),this.isTouchmovingTimeout=r.default.delay((function(){e.isTouchmoving=!1}),this.refresherDefaultDuration)),this.scrollEnable=!0,this.$emit("refresherTouchend",t)},_handleListTouchstart:function(){this.useChatRecordMode&&this.autoHideKeyboardWhenChat&&(uni.hideKeyboard(),this.$emit("hidedKeyboard"))},_handleScrollViewBounce:function(t){var e=t.bounce;this.usePageScroll||this.scrollToTopBounceEnabled||(this.wxsScrollTop<=5?(this.refresherTransition="",this.scrollEnable=e):e&&(this.scrollEnable=e))},_handleWxsPullingDownStatusChange:function(t){this.wxsOnPullingDown=t,t&&!this.useChatRecordMode&&(this.renderPropScrollTop=0)},_handleWxsPullingDown:function(t){var e=t.moveDis,i=t.diffDis;this._emitTouchmove({pullingDistance:e,dy:i})},_handleTouchDirectionChange:function(t){var e=t.direction;this.$emit("touchDirectionChange",e)},_handlePropUpdate:function(){this.wxsPropType=r.default.getTime().toString()},_refresherEnd:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(this.loadingType===o.default.LoadingType.Refresher){var s=i&&(n||this.showRefresherWhenReload)?this.refresherCompleteDelay:0,l=s>0?o.default.Refresher.Complete:o.default.Refresher.Default;if(this.finalShowRefresherWhenReload){var u=this.refresherRevealStackCount;if(this.refresherRevealStackCount--,u>1)return}this._cleanRefresherEndTimeout(),this.refresherEndTimeout=r.default.delay((function(){t.refresherStatus=l}),this.refresherStatus!==o.default.Refresher.Default&&l===o.default.Refresher.Default?this.refresherCompleteDuration:0),s>0&&(this.isRefresherInComplete=!0),this._cleanRefresherCompleteTimeout(),this.refresherCompleteTimeout=r.default.delay((function(){var e=1,n=t.refresherEndBounceEnabled&&i?"cubic-bezier(0.19,1.64,0.42,0.72)":"linear";i&&(e=t.refresherEndBounceEnabled?t.refresherCompleteDuration/1e3:t.refresherCompleteDuration/3e3),t.refresherTransition="transform ".concat(i?e:t.refresherDefaultDuration/1e3,"s ").concat(n),t.wxsPropType=t.refresherTransition+"end"+r.default.getTime(),t.moveDis=0,l===o.default.Refresher.Complete&&(t.refresherCompleteSubTimeout&&(clearTimeout(t.refresherCompleteSubTimeout),t.refresherCompleteSubTimeout=null),t.refresherCompleteSubTimeout=r.default.delay((function(){t.$nextTick((function(){t.refresherStatus=o.default.Refresher.Default,t.isRefresherInComplete=!1}))}),800*e)),t._emitTouchmove({pullingDistance:0,dy:t.moveDis})}),s)}a&&(r.default.delay((function(){return t.loading=!1}),e?10:0),n&&this._onRestore())},_handleGoF2:function(){var t=this;!this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","go"),this.showRefresherF2&&(this.f2Transform="translateY(".concat(-this.superContentHeight,"px)"),this.showF2=!0,r.default.delay((function(){t.f2Transform="translateY(0px)"}),100,"f2ShowDelay")))},_handleCloseF2:function(){var t=this;this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","close"),this.showRefresherF2&&(this.f2Transform="translateY(".concat(-this.superContentHeight,"px)"),r.default.delay((function(){t.showF2=!1,t.nF2Opacity=0}),this.refresherF2Duration,"f2CloseDelay")))},_doRefresherRefreshAnimate:function(){this._cleanRefresherCompleteTimeout();var t=!this.doRefreshAnimateAfter&&this.finalShowRefresherWhenReload&&-1===this.customRefresherHeight&&this.refresherThreshold===r.default.addUnit(80,this.unit);t?this.doRefreshAnimateAfter=!0:(this.refresherRevealStackCount++,this.wxsPropType="begin"+r.default.getTime(),this.moveDis=this.finalRefresherThreshold,this.refresherStatus=o.default.Refresher.Loading,this.isTouchmoving=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this._doRefresherLoad(!1))},_doRefresherLoad:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._onRefresh(!1,t),this.loading=!0},_updateCustomRefresherHeight:function(){var t=this;this._getNodeClientRect(".zp-custom-refresher-slot-view").then((function(e){t.customRefresherHeight=e?e[0].height:0,t.showCustomRefresher=t.customRefresherHeight>0,t.doRefreshAnimateAfter&&(t.doRefreshAnimateAfter=!1,t._doRefresherRefreshAnimate())}))},_emitTouchmove:function(t){t.viewHeight=this.finalRefresherThreshold,t.rate=t.viewHeight>0?t.pullingDistance/t.viewHeight:0,this.hasTouchmove&&this.oldPullingDistance!==t.pullingDistance&&this.$emit("refresherTouchmove",t),this.oldPullingDistance=t.pullingDistance},_cleanRefresherCompleteTimeout:function(){this.refresherCompleteTimeout=this._cleanTimeout(this.refresherCompleteTimeout)},_cleanRefresherEndTimeout:function(){this.refresherEndTimeout=this._cleanTimeout(this.refresherEndTimeout)}}};e.default=a},b5b8:function(t,e,i){"use strict";i.r(e);var n=i("6860"),r=i("1ff5");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},b627:function(t,e,i){"use strict";i.r(e);var n=i("7c5c"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},b775:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.canIUseCanvas2d=function(){return!1},e.compareVersion=o,e.convertTouchesToArray=function(t){if(Array.isArray(t))return t;if("object"===(0,r.default)(t)&&null!==t)return Object.values(t);return t},e.devicePixelRatio=void 0,e.getRect=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i="boundingClientRect",n=e.context,r=e.type,o=void 0===r?i:r;return new Promise((function(e,r){var a=uni.createSelectorQuery().in(n).select(t),s=function(t){t?e(t):r()};o==i?a[o](s).exec():a[o]({node:!0,size:!0,rect:!0},s).exec()}))},e.sleep=function(t){return new Promise((function(e){setTimeout((function(){e(!0)}),t)}))},e.wrapTouch=function(t){for(var e=0;e<t.touches.length;++e){var i=t.touches[e];i.offsetX=i.x,i.offsetY=i.y}return t};var r=n(i("3b2d"));function o(t,e){t=t.split("."),e=e.split(".");var i=Math.max(t.length,e.length);while(t.length<i)t.push("0");while(e.length<i)e.push("0");for(var n=0;n<i;n++){var r=parseInt(t[n],10),o=parseInt(e[n],10);if(r>o)return 1;if(r<o)return-1}return 0}uni.getSystemInfoSync();var a=uni.getSystemInfoSync().pixelRatio;e.devicePixelRatio=a},b7db:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(0,"v-show",t.isShow),expression:"_$s(0,'v-show',isShow)"}],ref:"ani",class:t._$s(0,"c",t.customClass),style:t._$s(0,"s",t.transformStyles),attrs:{animation:t._$s(0,"a-animation",t.animationData),_i:0},on:{click:t.onClick}},[t._t("default",null,{_i:1})],2)},r=[]},b82e:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("127e")),o=n(i("ee10")),a=n(i("7ca3")),s=n(i("38f8")),l=n(i("2488")),u=n(i("cf91")),c=n(i("7bef")),d=n(i("79a5")),h=n(i("ba29")),f=n(i("44ba")),p=n(i("f664")),g=n(i("3a77")),v=n(i("ae08")),m=n(i("5665")),y=n(i("b42c")),_=n(i("154c")),x=n(i("572c")),b=n(i("355c")),w=n(i("e72a")),S=n(i("27eb")),C=n(i("3e64")),M=n(i("cc03"));function T(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var I=uni.getSystemInfoSync(),A={name:"z-paging",components:{zPagingRefresh:c.default,zPagingLoadMore:d.default,zPagingEmptyView:h.default},mixins:[f.default,p.default,g.default,v.default,m.default,y.default,_.default,x.default,b.default,w.default,S.default,C.default],data:function(){return{base64Arrow:s.default.base64Arrow,base64Flower:s.default.base64Flower,base64BackToTop:s.default.base64BackToTop,loadingType:M.default.LoadingType.Refresher,requestTimeStamp:0,wxsPropType:"",renderPropScrollTop:-1,checkScrolledToBottomTimeOut:null,cacheTopHeight:-1,statusBarHeight:I.statusBarHeight,insideOfPaging:-1,isLoadFailed:!1,isIos:"ios"===I.platform,disabledBounce:!1,fromCompleteEmit:!1,disabledCompleteEmit:!1,pageLaunched:!1,active:!1,wxsIsScrollTopInTopRange:!0,wxsScrollTop:0,wxsPageScrollTop:0,wxsOnPullingDown:!1}},props:{delay:{type:[Number,String],default:u.default.gc("delay",0)},minDelay:{type:[Number,String],default:u.default.gc("minDelay",0)},pagingStyle:{type:Object,default:u.default.gc("pagingStyle",{})},height:{type:String,default:u.default.gc("height","")},width:{type:String,default:u.default.gc("width","")},maxWidth:{type:String,default:u.default.gc("maxWidth","")},bgColor:{type:String,default:u.default.gc("bgColor","")},pagingContentStyle:{type:Object,default:u.default.gc("pagingContentStyle",{})},autoHeight:{type:Boolean,default:u.default.gc("autoHeight",!1)},autoHeightAddition:{type:[Number,String],default:u.default.gc("autoHeightAddition","0px")},defaultThemeStyle:{type:String,default:u.default.gc("defaultThemeStyle","black")},fixed:{type:Boolean,default:u.default.gc("fixed",!0)},safeAreaInsetBottom:{type:Boolean,default:u.default.gc("safeAreaInsetBottom",!1)},useSafeAreaPlaceholder:{type:Boolean,default:u.default.gc("useSafeAreaPlaceholder",!1)},bottomBgColor:{type:String,default:u.default.gc("bottomBgColor","")},topZIndex:{type:Number,default:u.default.gc("topZIndex",99)},superContentZIndex:{type:Number,default:u.default.gc("superContentZIndex",1)},contentZIndex:{type:Number,default:u.default.gc("contentZIndex",1)},f2ZIndex:{type:Number,default:u.default.gc("f2ZIndex",100)},autoFullHeight:{type:Boolean,default:u.default.gc("autoFullHeight",!0)},watchTouchDirectionChange:{type:Boolean,default:u.default.gc("watchTouchDirectionChange",!1)},unit:{type:String,default:u.default.gc("unit","rpx")}},created:function(){this.createdReload&&!this.refresherOnly&&this.auto&&(this._startLoading(),this.$nextTick(this._preReload))},mounted:function(){var t=this;this.active=!0,this.wxsPropType=u.default.getTime().toString(),this.renderJsIgnore,this.createdReload||this.refresherOnly||!this.auto||u.default.delay((function(){return t.$nextTick(t._preReload)}),0),this.finalUseCache&&this._setListByLocalCache();this.$nextTick((function(){t.systemInfo=uni.getSystemInfoSync(),!t.usePageScroll&&t.autoHeight&&t._setAutoHeight(),t.loaded=!0,u.default.delay((function(){t.updateFixedLayout(),t._updateCachedSuperContentHeight()}))})),this.updatePageScrollTopHeight(),this.updatePageScrollBottomHeight(),this.updateLeftAndRightWidth(),this.finalRefresherEnabled&&this.useCustomRefresher&&this.$nextTick((function(){t.isTouchmoving=!0})),this._onEmit(),this.finalUseVirtualList&&this._virtualListInit()},destroyed:function(){this._handleUnmounted()},watch:{defaultThemeStyle:{handler:function(t){t.length&&(this.finalRefresherDefaultStyle=t)},immediate:!0},autoHeight:function(t){this.loaded&&!this.usePageScroll&&this._setAutoHeight(t)},autoHeightAddition:function(t){this.loaded&&!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(t)}},computed:{finalPagingStyle:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?T(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):T(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},this.pagingStyle);if(!this.systemInfo)return t;var e=this.windowTop,i=this.windowBottom;return!this.usePageScroll&&this.fixed&&(e&&!t.top&&(t.top=e+"px"),i&&!t.bottom&&(t.bottom=i+"px")),this.bgColor.length&&!t["background"]&&(t["background"]=this.bgColor),this.height.length&&!t["height"]&&(t["height"]=this.height),this.width.length&&!t["width"]&&(t["width"]=this.width),this.maxWidth.length&&!t["max-width"]&&(t["max-width"]=this.maxWidth,t["margin"]="0 auto"),t},finalPagingContentStyle:function(){return 1!=this.contentZIndex&&(this.pagingContentStyle["z-index"]=this.contentZIndex,this.pagingContentStyle["position"]="relative"),this.pagingContentStyle},renderJsIgnore:function(){var t=this;return(this.usePageScroll&&this.useChatRecordMode||!this.refresherEnabled&&this.scrollable||!this.useCustomRefresher)&&this.$nextTick((function(){t.renderPropScrollTop=10})),0},windowHeight:function(){return this.systemInfo&&this.systemInfo.windowHeight||0},windowBottom:function(){if(!this.systemInfo)return 0;var t=this.systemInfo.windowBottom||0;return!this.safeAreaInsetBottom||this.useSafeAreaPlaceholder||this.useChatRecordMode||(t+=this.safeAreaBottom),t},isIosAndH5:function(){return!1}},methods:{getVersion:function(){return"z-paging v".concat(l.default.version)},setSpecialEffects:function(t){this.setListSpecialEffects(t)},setListSpecialEffects:function(t){this.nFixFreezing=t&&Object.keys(t).length,this.isIos&&(this.privateRefresherEnabled=0),!this.usePageScroll&&this.$refs["zp-n-list"].setSpecialEffects(t)},_handlePageLaunch:function(){this.pageLaunched&&this._checkVirtualListScroll(),this.pageLaunched=!0},_doVibrateShort:function(){if(this.isIos){var t=plus.ios.importClass("UISelectionFeedbackGenerator"),e=new t;e.init(),setTimeout((function(){e.selectionChanged()}),0)}else plus.device.vibrate(15)},_setAutoHeight:function(){var t=arguments,e=this;return(0,o.default)(r.default.mark((function i(){var n,o,a,s,l,c,d,h,f;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=!(t.length>0&&void 0!==t[0])||t[0],o=t.length>1&&void 0!==t[1]?t[1]:null,a="min-height",a="min-height",i.prev=4,!n){i.next=18;break}if(i.t0=o,i.t0){i.next=11;break}return i.next=10,e._getNodeClientRect(".zp-scroll-view");case 10:i.t0=i.sent;case 11:return s=i.t0,i.next=14,e._getNodeClientRect(".zp-page-bottom");case 14:l=i.sent,s&&(c=s[0].top,d=e.windowHeight-c,d-=l?l[0].height:0,h=u.default.convertToPx(e.autoHeightAddition),f=d+h-(e.insideMore?1:0)+"px !important",e.$set(e.scrollViewStyle,a,f),e.$set(e.scrollViewInStyle,a,f)),i.next=20;break;case 18:e.$delete(e.scrollViewStyle,a),e.$delete(e.scrollViewInStyle,a);case 20:i.next=24;break;case 22:i.prev=22,i.t1=i["catch"](4);case 24:case"end":return i.stop()}}),i,null,[[4,22]])})))()},_handleUnmounted:function(){this.active=!1,this._offEmit(),this.useChatRecordMode&&uni.offKeyboardHeightChange(this._handleKeyboardHeightChange)},_updateInsideOfPaging:function(){this.insideMore&&!0===this.insideOfPaging&&setTimeout(this.doLoadMore,200)},_cleanTimeout:function(t){return t&&(clearTimeout(t),t=null),t},_onEmit:function(){var t=this;uni.$on(l.default.errorUpdateKey,(function(e){t.loading&&(e&&(t.customerEmptyViewErrorText=e),t.complete(!1).catch((function(){})))})),uni.$on(l.default.completeUpdateKey,(function(e){setTimeout((function(){if(t.loading)if(t.disabledCompleteEmit)t.disabledCompleteEmit=!1;else{var i=e.type||"normal",n=e.list||e,r=e.rule;switch(t.fromCompleteEmit=!0,i){case"normal":t.complete(n);break;case"total":t.completeByTotal(n,r);break;case"nomore":t.completeByNoMore(n,r);break;case"key":t.completeByKey(n,r);break;default:break}}}),1)}))},_offEmit:function(){uni.$off(l.default.errorUpdateKey),uni.$off(l.default.completeUpdateKey)}}};e.default=A},b893:function(t,e){t.exports=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},ba29:function(t,e,i){"use strict";i.r(e);var n=i("5399"),r=i("f2c4");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"9c3b42f8",null,!1,n["a"],void 0);e["default"]=s.exports},ba37:function(t,e){
|
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
e.read=function(t,e,i,n,r){var o,a,s=8*r-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=i?r-1:0,h=i?-1:1,f=t[e+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+t[e+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=u}return(f?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,i,n,r,o){var a,s,l,u=8*o-r-1,c=(1<<u)-1,d=c>>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,p=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+d>=1?h/l:h*Math.pow(2,1-d),e*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(e*l-1)*Math.pow(2,r),a+=d):(s=e*Math.pow(2,d-1)*Math.pow(2,r),a=0));r>=8;t[i+f]=255&s,f+=p,s/=256,r-=8);for(a=a<<r|s,u+=r;u>0;t[i+f]=255&a,f+=p,a/=256,u-=8);t[i+f-p]|=128*g}},bb4d:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("2b82")),o={navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:r.default.mainColor,autoBack:!1,titleStyle:""}};e.default=o},bb5d:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{desc:1}},onLoad:function(t){this.desc=t.desc||1},mounted:function(){this},methods:{}};e.default=n},bb7a:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""}}},bba2:function(t,e,i){"use strict";i.r(e);var n=i("5d7d"),r=i("813f");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"4105389f",null,!1,n["a"],void 0);e["default"]=s.exports},bbf1:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",{staticClass:t._$s(1,"sc","box-rds over"),attrs:{_i:1}},[i("view",{staticClass:t._$s(2,"sc","top_title"),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(t.overviewData.name)))]),i("view",{staticClass:t._$s(3,"sc","flx flx_sb tb_head"),attrs:{_i:3}},t._l(t._$s(4,"f",{forItems:t.overviewData.tb_head}),(function(e,n,r,o){return i("view",{key:t._$s(4,"f",{forIndex:r,key:n}),staticClass:t._$s("4-"+o,"sc","tb_val"),attrs:{_i:"4-"+o}},[t._v(t._$s("4-"+o,"t0-0",t._s(e)))])})),0),t._l(t._$s(5,"f",{forItems:t.overviewData.data}),(function(e,n,r,o){return i("view",{key:t._$s(5,"f",{forIndex:r,key:n}),staticClass:t._$s("5-"+o,"sc","flx flx_sb flx_ac tb_content"),attrs:{_i:"5-"+o}},[i("view",{staticClass:t._$s("6-"+o,"sc","tb_val"),attrs:{_i:"6-"+o}},[t._v(t._$s("6-"+o,"t0-0",t._s(e.name)))]),i("view",{staticClass:t._$s("7-"+o,"sc","tb_val"),style:t._$s("7-"+o,"s","border-radius: 40rpx;padding: 4rpx;font-size:30rpx;color:"+e.color+";background-color:"+e.bgColor),attrs:{_i:"7-"+o}},[t._v(t._$s("7-"+o,"t0-0",t._s(e.value)))]),i("view",{staticClass:t._$s("8-"+o,"sc","tb_val"),style:t._$s("8-"+o,"s","font-size:30rpx;color:"+e.color),attrs:{_i:"8-"+o}},[t._v(t._$s("8-"+o,"t0-0",t._s(e.average)))])])}))],2)])},r=[]},bc89:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1}}},bcd5:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={cellGroup:{title:"",border:!0,customStyle:{}}}},bd30:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("92eb")),o=n(i("951c")),a=n(i("8f59")),s=n(i("94ff"));o.default.use(a.default);var l=new a.default.Store({plugins:[(0,s.default)({storage:{getItem:function(t){return uni.getStorageSync(t)},setItem:function(t,e){return uni.setStorageSync(t,e)},removeItem:function(t){return uni.removeStorageSync(t)}}})],modules:{api:r.default},getters:{},strict:!0}),u=l;e.default=u},be6e:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"}}},c053:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=n(i("67ad")),a=n(i("0bdb")),s=n(i("6a1a")),l=n(i("77e7")),u=n(i("7cee")),c=n(i("d6d1")),d=i("29c3"),h=n(i("2f7d"));function f(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function p(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?f(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var g=function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.default)(this,e),(0,d.isPlainObject)(i)||(i={},t("warn","\u8bbe\u7f6e\u5168\u5c40\u53c2\u6570\u5fc5\u987b\u63a5\u6536\u4e00\u4e2aObject"," at uni_modules/uview-ui/libs/luch-request/core/Request.js:39")),this.config=(0,h.default)(p(p({},c.default),i)),this.interceptors={request:new l.default,response:new l.default}}return(0,a.default)(e,[{key:"setConfig",value:function(t){this.config=t(this.config)}},{key:"middleware",value:function(t){t=(0,u.default)(this.config,t);var e=[s.default,void 0],i=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)i=i.then(e.shift(),e.shift());return i}},{key:"request",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.middleware(t)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.middleware(p({url:t,method:"GET"},e))}},{key:"post",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(p({url:t,data:e,method:"POST"},i))}},{key:"put",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(p({url:t,data:e,method:"PUT"},i))}},{key:"delete",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(p({url:t,data:e,method:"DELETE"},i))}},{key:"options",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(p({url:t,data:e,method:"OPTIONS"},i))}},{key:"upload",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.url=t,e.method="UPLOAD",this.middleware(e)}},{key:"download",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.url=t,e.method="DOWNLOAD",this.middleware(e)}}]),e}();e.default=g}).call(this,i("f3b9")["default"])},c0ad:function(t,e,i){"use strict";i.r(e);var n=i("b82e"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},c1bf:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"}}},c2ec:function(t,e,i){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];i?n||(n=!0,"function"===typeof t&&t(),setTimeout((function(){n=!1}),e)):n||(n=!0,setTimeout((function(){n=!1,"function"===typeof t&&t()}),e))};e.default=r},c35c:function(t,e,i){"use strict";i.r(e);var n=i("b7db"),r=i("81f6");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},c38e:function(t,e,i){"use strict";(function(t){var n=i("47a9"),r=i("3b2d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("127e")),a=n(i("ee10")),s=n(i("7ca3")),l=i("8f59"),u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var i=c(e);if(i&&i.has(t))return i.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}n.default=t,i&&i.set(t,n);return n}(i("ee80"));function c(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(c=function(t){return t?i:e})(t)}function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var h={name:"sleep-info",data:function(){return{sleepData:{shen:0,qian:0,kuai:0},isOption:!1,isInit:!1,exitSleepTime:[],fallAsleepTime:[],option:{tooltip:{show:!1},legend:{top:"5%",left:"center"},series:[{data:[],type:"pie",radius:["70%","90%"],avoidLabelOverlap:!1,labelLine:{show:!1}}]},cavasConfig:{canvasWidth:250,canvasHeight:250,lineWidth:20,radius:68,startAngle:-90,bigRadius:90,cxt:null,colorBg:"#f7c1f5",bigColorBg:"#d1ccf4",color:"#e933dd",bigColor:"#6452da",bigAngle:0,angle:0,startSmallAngle:0,bigStartAngle:0,stop:0,bigStop:0,maxTime:480},sleepList:[],time:(new Date).toISOString().substring(0,10),sleep:{shen:"0 \u5206",qian:"0 \u5206"}}},watch:{isInit:function(t,e){1==this.isOption&&this.doDrawPie()},isOption:function(t,e){1==this.isInit&&this.doDrawPie()}},mounted:function(){this.getDataList(),this.cavasConfig.ctx=uni.createCanvasContext("circleCanvas",this),this.drawCircle("bottom",360,this.cavasConfig.bigRadius,this.cavasConfig.bigColorBg),this.drawCircle("bottom",360,this.cavasConfig.radius,this.cavasConfig.colorBg)},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach((function(e){(0,s.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,l.mapGetters)({getActiceDevice:"api/getActiceDevice"})),methods:{init:function(){this.isInit=!0,t("log","iiiiiiiiiiiiint"," at components/sleep-info/sleep-info.vue:248")},doDrawPie:function(){var t=this;return(0,a.default)(o.default.mark((function e(){var i;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.chartRef.init(u);case 2:i=e.sent,i.setOption(t.option);case 4:case"end":return e.stop()}}),e)})))()},countOccurrences:function(t,e){return t.reduce((function(t,i){return i===e?t+1:t}),0)},back:function(){this.$emit("back",1)},getDataList:function(){var t=this;this.$store.dispatch("api/getDeviceListDays",{type:"SleepDatas",device_real_time:this.time,device_id:this.getActiceDevice.device_id}).then((function(e){if(e.data.length>0){t.sleep.shen=t.min2Hour(e.data[0].data_msg[0].sleepTotalTime),t.sleep.qian=t.min2Hour(e.data[0].data_msg[0].deepSleepTime),t.cavasConfig.angle=t.getAngle(e.data[0].data_msg[0].deepSleepTime),t.cavasConfig.bigAngle=t.getAngle(e.data[0].data_msg[0].sleepTotalTime),t.sleepList=e.data[0].data_msg[0].sleepCurve,t.option.series[0].data=[{value:t.countOccurrences(t.sleepList,0),itemStyle:{color:"#e933dd"}},{value:t.countOccurrences(t.sleepList,1),itemStyle:{color:"#6452da"}},{value:t.countOccurrences(t.sleepList,2),itemStyle:{color:"#4faffc"}}];t.sleepList.length;t.sleepData.shen=t.getPercent(t.sleepList,0),t.sleepData.qian=t.getPercent(t.sleepList,1),t.sleepData.kuai=t.getPercent(t.sleepList,2),t.exitSleepTime=e.data[0].data_msg[0].exitSleepTime.split("-"),t.fallAsleepTime=e.data[0].data_msg[0].fallAsleepTime.split("-"),t.isOption=!0}t.doAnimation(0),t.doAnimation(1)}))},getPercent:function(t,e){var i=t.length;return(this.countOccurrences(t,e)/i*100).toFixed(1)},getAngle:function(t){return t/this.cavasConfig.maxTime*360},min2Hour:function(t){var e=Math.floor(t/60),i=t%60;return e?e+" \u5c0f\u65f6 "+i+" \u5206":i+" \u5206"},doAnimation:function(t){var e=this;if(0==t){if(1===this.cavasConfig.bigStop)return;this.cavasConfig.bigStartAngle>=this.cavasConfig.bigAngle?(this.cavasConfig.bigStartAngle=this.cavasConfig.bigAngle,this.cavasConfig.bigStop=1):this.cavasConfig.bigStartAngle+=this.cavasConfig.bigAngle/50,this.drawCircle("round",this.cavasConfig.bigStartAngle,this.cavasConfig.bigRadius,this.cavasConfig.bigColor)}else{if(1==this.cavasConfig.stop)return;this.cavasConfig.startSmallAngle>=this.cavasConfig.angle?(this.cavasConfig.startSmallAngle=this.cavasConfig.angle,this.cavasConfig.stop=1):this.cavasConfig.startSmallAngle+=this.cavasConfig.angle/50,this.drawCircle("round",this.cavasConfig.startSmallAngle,this.cavasConfig.radius,this.cavasConfig.color)}setTimeout((function(){e.doAnimation(t)}),17)},drawCircle:function(t,e,i,n){this.cavasConfig.ctx.save();var r=this.cavasConfig.canvasWidth/2,o=this.cavasConfig.canvasHeight/2;this.cavasConfig.ctx.translate(r,o),this.cavasConfig.ctx.scale(1,1),this.cavasConfig.ctx.lineCap=t;var a=this.cavasConfig.startAngle*Math.PI/180,s=(e+this.cavasConfig.startAngle)*Math.PI/180;this.cavasConfig.ctx.beginPath(),this.cavasConfig.ctx.arc(0,0,i,a,s),this.cavasConfig.ctx.lineWidth=this.cavasConfig.lineWidth,this.cavasConfig.ctx.strokeStyle=n,this.cavasConfig.ctx.stroke(),this.cavasConfig.ctx.closePath(),this.cavasConfig.ctx.restore(),this.cavasConfig.ctx.draw(!0)}}};e.default=h}).call(this,i("f3b9")["default"])},c40f:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={row:{gutter:0,justify:"start",align:"center"}}},c58b:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",{staticClass:t._$s(1,"sc"," cankao"),attrs:{_i:1}},[i("view",{staticClass:t._$s(2,"sc","top_title"),attrs:{_i:2}}),i("view",{staticClass:t._$s(3,"sc","flx jcsb lt_title"),attrs:{_i:3}},[i("view",{staticClass:t._$s(4,"sc","flx ac"),attrs:{_i:4}},[i("view",{staticClass:t._$s(5,"sc","little-circle color0"),attrs:{_i:5}}),i("view",{staticClass:t._$s(6,"sc","wz"),attrs:{_i:6}})]),i("view",{staticClass:t._$s(7,"sc","flx ac"),attrs:{_i:7}},[i("view",{staticClass:t._$s(8,"sc","little-circle color1"),attrs:{_i:8}}),i("view",{staticClass:t._$s(9,"sc","wz"),attrs:{_i:9}})]),i("view",{staticClass:t._$s(10,"sc","flx ac"),attrs:{_i:10}},[i("view",{staticClass:t._$s(11,"sc","little-circle color2"),attrs:{_i:11}}),i("view",{staticClass:t._$s(12,"sc","wz"),attrs:{_i:12}})])]),i("view",{staticClass:t._$s(13,"sc","ck_tb"),attrs:{_i:13}},t._l(t._$s(14,"f",{forItems:t.cankaoData}),(function(e,n,r,o){return i("view",{key:t._$s(14,"f",{forIndex:r,key:n}),class:t._$s("14-"+o,"c","flx jcsb ac"),attrs:{_i:"14-"+o}},[i("view",{staticClass:t._$s("15-"+o,"sc","tb_tt"),attrs:{_i:"15-"+o}},[t._v(t._$s("15-"+o,"t0-0",t._s(e.name)))]),i("view",{staticClass:t._$s("16-"+o,"sc"," zzt"),attrs:{_i:"16-"+o}},[t._$s("17-"+o,"i",e.data[e.data.length-1]!=e.max)?i("view",{staticClass:t._$s("17-"+o,"sc","xnz"),attrs:{_i:"17-"+o}}):t._e(),i("view",{staticClass:t._$s("18-"+o,"sc","flx fd_row"),attrs:{_i:"18-"+o}},t._l(t._$s("19-"+o,"f",{forItems:e.data}),(function(n,r,a,s){return t._$s("19-"+o+"-"+s,"i",3==e.data.length||r>0)?i("view",{key:t._$s("19-"+o,"f",{forIndex:a,key:r}),class:t._$s("19-"+o+"-"+s,"c","zzt-body mmtt color"+(3==e.data.length?r:r-1)),style:t._$s("19-"+o+"-"+s,"s","position: relative;flex:"+((n>e.max?e.max:n)-e.data[r-1])/e.max),attrs:{_i:"19-"+o+"-"+s}},[t._$s("20-"+o+"-"+s,"i",4==e.data.length&&1==r)?i("view",{style:t._$s("20-"+o+"-"+s,"s",t.getPostion(0,e.data)),attrs:{_i:"20-"+o+"-"+s}}):t._e(),i("view",{style:t._$s("21-"+o+"-"+s,"s",t.getPostion(r,e.data)),attrs:{_i:"21-"+o+"-"+s}},[t._v(t._$s("21-"+o+"-"+s,"t0-0",t._s(n)))])]):t._e()})),0),i("view")])])})),0)])])},r=[]},c651:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={upload:{accept:"image",capture:function(){return["album","camera"]},compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:function(){return["original","compressed"]},multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:function(){return[]},uploadText:"",width:80,height:80,previewImage:!0}};e.default=n},c675:function(t){t.exports=JSON.parse('{"zp.refresher.default":"\u7ee7\u7eed\u4e0b\u62c9\u5237\u65b0","zp.refresher.pulling":"\u677e\u5f00\u7acb\u5373\u5237\u65b0","zp.refresher.refreshing":"\u6b63\u5728\u5237\u65b0...","zp.refresher.complete":"\u5237\u65b0\u6210\u529f","zp.refresher.f2":"\u677e\u624b\u8fdb\u5165\u4e8c\u697c","zp.loadingMore.default":"\u70b9\u51fb\u52a0\u8f7d\u66f4\u591a","zp.loadingMore.loading":"\u6b63\u5728\u52a0\u8f7d...","zp.loadingMore.noMore":"\u6ca1\u6709\u66f4\u591a\u4e86","zp.loadingMore.fail":"\u52a0\u8f7d\u5931\u8d25\uff0c\u70b9\u51fb\u91cd\u65b0\u52a0\u8f7d","zp.emptyView.title":"\u6ca1\u6709\u6570\u636e\u54e6~","zp.emptyView.reload":"\u91cd\u65b0\u52a0\u8f7d","zp.emptyView.error":"\u5f88\u62b1\u6b49\uff0c\u52a0\u8f7d\u5931\u8d25","zp.refresherUpdateTime.title":"\u6700\u540e\u66f4\u65b0\uff1a","zp.refresherUpdateTime.none":"\u65e0","zp.refresherUpdateTime.today":"\u4eca\u5929","zp.refresherUpdateTime.yesterday":"\u6628\u5929","zp.systemLoading.title":"\u52a0\u8f7d\u4e2d..."}')},c70d:function(t,e,i){var n=i("ed45"),r=i("b893"),o=i("6382"),a=i("dd3e");t.exports=function(t){return n(t)||r(t)||o(t)||a()},t.exports.__esModule=!0,t.exports["default"]=t.exports},c712:function(t,e,i){"use strict";i.r(e);var n=i("69bc"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},c789:function(t,e,i){"use strict";i.r(e);var n=i("35e0"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},c799:function(t,e,i){"use strict";i.r(e);var n=i("9805"),r=i("5e48");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},c7a4:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={circleProgress:{percentage:30}}},c7fe:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0}}},c8f4:function(t,e,i){"use strict";i.r(e);var n=i("26a7"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},c91b:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",{staticClass:t._$s(1,"sc","flx flx_sb"),attrs:{_i:1},on:{click:function(e){return t.look()}}},[i("view",{staticClass:t._$s(2,"sc","flx"),attrs:{_i:2}},[t._$s(3,"i",t.bodyDataExample[t.key_name].icon)?i("view",[i("image",{attrs:{src:t._$s(4,"a-src",t.bodyDataExample[t.key_name].icon),_i:4}})]):t._e(),i("view",[t._v(t._$s(5,"t0-0",t._s(t.bodyDataExample[t.key_name].name)))])]),i("view",{staticClass:t._$s(6,"sc","flx"),attrs:{_i:6}},[i("view",[t._v(t._$s(7,"t0-0",t._s(t.value))+t._$s(7,"t0-1",t._s(t.bodyDataExample[t.key_name].unit)))]),i("view",[i("text",{class:t._$s(9,"c","iconfont "+t.getKeyInfo(t.value).icon_key),style:t._$s(9,"s","font-weight:bold;color:"+t.colorArr[t.getKeyInfo(t.value).colorIdx]),attrs:{_i:9}})]),i("view",{class:t._$s(10,"c",t.open?"xuanzhaun":""),attrs:{_i:10}},[i("text",{class:t._$s(11,"c","iconfont icon-right "),attrs:{_i:11}})])])]),t._$s(12,"i",t.open)?i("view",{staticClass:t._$s(12,"sc","info"),attrs:{_i:12}},[i("view"),i("view",{staticClass:t._$s(14,"sc","flx"),attrs:{_i:14}},t._l(t._$s(15,"f",{forItems:t.bodyDataExample[t.key_name].tags}),(function(e,n,r,o){return i("view",{key:t._$s(15,"f",{forIndex:r,key:n}),staticClass:t._$s("15-"+o,"sc","tzm"),style:t._$s("15-"+o,"s","background-color: "+t.colorArr[e.colorIdx]),attrs:{_i:"15-"+o}},[t._$s("16-"+o,"i",e.val>0)?i("view",{staticClass:t._$s("16-"+o,"sc","info-val"),attrs:{_i:"16-"+o}},[t._v(t._$s("16-"+o,"t0-0",t._s(e.val))+t._$s("16-"+o,"t0-1",t._s(t.bodyDataExample[t.key_name].unit)))]):t._e(),i("view",{staticClass:t._$s("17-"+o,"sc","info-qq"),attrs:{_i:"17-"+o}},[t._$s("18-"+o,"i",t.getKeyInfo(t.value).idx==n)?i("view",{staticClass:t._$s("18-"+o,"sc","qq"),style:t._$s("18-"+o,"s","border: 8rpx solid "+t.colorArr[e.colorIdx]+";margin-left:"+t.getKeyInfo(t.value,1).margin),attrs:{_i:"18-"+o}}):t._e()])])})),0),i("view",{staticClass:t._$s(19,"sc","flx flx_sb"),attrs:{_i:19}},t._l(t._$s(20,"f",{forItems:t.bodyDataExample[t.key_name].tags}),(function(e,n,r,o){return i("view",{key:t._$s(20,"f",{forIndex:r,key:n}),staticClass:t._$s("20-"+o,"sc","flx tags_name flx_ac"),attrs:{_i:"20-"+o}},[i("view",{staticClass:t._$s("21-"+o,"sc","fk"),style:t._$s("21-"+o,"s","background-color:"+t.colorArr[e.colorIdx]+" ;"),attrs:{_i:"21-"+o}}),i("view",{staticClass:t._$s("22-"+o,"sc","name"),attrs:{_i:"22-"+o}},[t._v(t._$s("22-"+o,"t0-0",t._s(e.name)))])])})),0)]):t._e()])},r=[]},c93d:function(t,e,i){"use strict";function n(){var t=this.waitingQueue=[],e=this.isRunning=!1;this.exec=function(i){return new Promise((function(n,r){e?t.push({task:i,resolve:n,reject:r}):(e=!0,function i(n,r,o){n().then((function(t){r(t)})).catch((function(t){o(t)})).finally((function(){if(t.length){var n=t.shift();i(n.task,n.resolve,n.reject)}else e=!1}))}(i,n,r))}))}}Object.defineProperty(e,"__esModule",{value:!0}),e.queueLoadImage=e.queueDraw=void 0;var r=new n;e.queueDraw=r;var o=new n;e.queueLoadImage=o},c940:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""}}},c9b7:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1}}},cbaa:function(t,e,i){"use strict";var n=i("47a9"),r=i("3b2d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("127e")),a=n(i("ee10")),s=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var i=l(e);if(i&&i.has(t))return i.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}n.default=t,i&&i.set(t,n);return n}(i("ee80"));function l(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(l=function(t){return t?i:e})(t)}var u={data:function(){return{op:{title:{text:"\u5fc3\u7535\u56fe\u6a21\u62df"},tooltip:{trigger:"axis"},xAxis:{type:"time",splitLine:{show:!1}},yAxis:{boundaryGap:["0%","100%"],splitLine:{show:!1},type:"value",max:100,min:-100},series:[{name:"\u5fc3\u7535\u56fe",type:"line",data:[]}]}}},onLoad:function(){},methods:{init:function(){var t=this;return(0,a.default)(o.default.mark((function e(){var i;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.chartRef.init(s);case 2:_self.chart=e.sent,_self.chart.setOption(t.op),i=_self.op.series[0].data,setInterval((function(){var t=new Date,e=100*Math.random()-50;i.push([t,e]);while(i[0]&&t-i[0][0]>6e5)i.shift();_self.chart.setOption({series:[{data:i}]})}),1e3);case 6:case"end":return e.stop()}}),e)})))()}}};e.default=u},cc03:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={LoadingType:{Refresher:0,LoadingMore:1},Refresher:{Default:0,ReleaseToRefresh:1,Loading:2,Complete:3,GoF2:4},More:{Default:0,Loading:1,NoMore:2,Fail:3},QueryFrom:{UserPullDown:0,Reload:1,Refresh:2,LoadingMore:3},CellHeightMode:{Fixed:"fixed",Dynamic:"dynamic"},CacheMode:{Default:"default",Always:"always"}}},cde3:function(t,e,i){t.exports=i.p+"static/icon/xueya.png"},ce08:function(t,e,i){t.exports=i.p+"static/a-ziyuan85.png"},cf91:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("3b2d")),o=n(i("e058")),a=n(i("2488")),s="Z-PAGING-REFRESHER-TIME-STORAGE-KEY",l=null,u=!1,c={};function d(){return uni.getStorageSync(s)}function h(){return(new Date).getTime()}function f(t){return t=t.toString(),1===t.length?"0"+t:t}var p={gc:function(t,e){return function(){if(function(){if(u)return;o.default&&Object.keys(o.default).length&&(l=o.default);!l&&uni.$zp&&(l=uni.$zp.config);l=l?Object.keys(l).reduce((function(t,e){return t[function(t){return t.replace(/-([a-z])/g,(function(t,e){return e.toUpperCase()}))}(e)]=l[e],t}),{}):null,u=!0}(),!l)return e;var i=l[t];return void 0===i?e:i}},setRefesrherTime:function(t,e){var i=d()||{};i[e]=t,uni.setStorageSync(s,i)},getRefesrherFormatTimeByKey:function(t,e){var i=function(t){var e=d();return e&&e[t]?e[t]:null}(t),n=i?function(t,e){var i=new Date(t),n=new Date,r=new Date(t).setHours(0,0,0,0),o=(new Date).setHours(0,0,0,0),a=r-o,s="",l=function(t){var e=t.getHours(),i=t.getMinutes();return"".concat(f(e),":").concat(f(i))}(i);s=0===a?e.today:-864e5===a?e.yesterday:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.getFullYear(),n=t.getMonth()+1,r=t.getDate();return e?"".concat(i,"-").concat(f(n),"-").concat(f(r)):"".concat(f(n),"-").concat(f(r))}(i,i.getFullYear()!==n.getFullYear());return"".concat(s," ").concat(l)}(i,e):e.none;return"".concat(e.title).concat(n)},getTouch:function(t){var e=null;if(t.touches&&t.touches.length)e=t.touches[0];else if(t.changedTouches&&t.changedTouches.length)e=t.changedTouches[0];else{if(!t.datail||t.datail=={})return{touchX:0,touchY:0};e=t.datail}return{touchX:e.clientX,touchY:e.clientY}},getTouchFromZPaging:function t(e){if(e&&e.tagName&&"BODY"!==e.tagName&&"UNI-PAGE-BODY"!==e.tagName){var i=e.classList;return i&&i.contains("z-paging-content")?{isFromZp:!0,isPageScroll:i.contains("z-paging-content-page"),isReachedTop:i.contains("z-paging-reached-top"),isUseChatRecordMode:i.contains("z-paging-use-chat-record-mode")}:t(e.parentNode)}return{isFromZp:!1}},getParent:function t(e){return e?e.$refs.paging?e:t(e.$parent):null},convertToPx:function(t){var e=Object.prototype.toString.call(t);if("[object Number]"===e)return t;var i=!1;return-1!==t.indexOf("rpx")||-1!==t.indexOf("upx")?(t=t.replace("rpx","").replace("upx",""),i=!0):-1!==t.indexOf("px")&&(t=t.replace("px","")),isNaN(t)?0:Number(i?uni.upx2px(t):t)},getTime:h,getInstanceId:function(){for(var t=[],e=0;e<10;e++)t[e]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return t.join("")+h()},consoleErr:function(e){t("error","[z-paging]".concat(e)," at uni_modules/z-paging/components/z-paging/js/z-paging-utils.js:72")},delay:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.delayTime,i=arguments.length>2?arguments[2]:void 0,n=setTimeout(t,e);return i&&(c[i]&&clearTimeout(c[i]),c[i]=n),n},wait:function(t){return new Promise((function(e){setTimeout(e,t)}))},isPromise:function(t){return"[object Promise]"===Object.prototype.toString.call(t)},addUnit:function(t,e){if("[object String]"===Object.prototype.toString.call(t)){var i=t;i=i.replace("rpx","").replace("upx","").replace("px",""),-1===t.indexOf("rpx")&&-1===t.indexOf("upx")&&-1!==t.indexOf("px")&&(i=2*parseFloat(i)),t=i}return"rpx"===e?t+"rpx":t/2+"px"},deepCopy:function t(e){if("object"!==(0,r.default)(e)||null===e)return e;var i=Array.isArray(e)?[]:{};for(var n in e)e.hasOwnProperty(n)&&(i[n]=t(e[n]));return i}};e.default=p}).call(this,i("f3b9")["default"])},d099:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fontData=void 0;e.fontData=[{font_class:"arrow-down",unicode:"\ue6be"},{font_class:"arrow-left",unicode:"\ue6bc"},{font_class:"arrow-right",unicode:"\ue6bb"},{font_class:"arrow-up",unicode:"\ue6bd"},{font_class:"auth",unicode:"\ue6ab"},{font_class:"auth-filled",unicode:"\ue6cc"},{font_class:"back",unicode:"\ue6b9"},{font_class:"bars",unicode:"\ue627"},{font_class:"calendar",unicode:"\ue6a0"},{font_class:"calendar-filled",unicode:"\ue6c0"},{font_class:"camera",unicode:"\ue65a"},{font_class:"camera-filled",unicode:"\ue658"},{font_class:"cart",unicode:"\ue631"},{font_class:"cart-filled",unicode:"\ue6d0"},{font_class:"chat",unicode:"\ue65d"},{font_class:"chat-filled",unicode:"\ue659"},{font_class:"chatboxes",unicode:"\ue696"},{font_class:"chatboxes-filled",unicode:"\ue692"},{font_class:"chatbubble",unicode:"\ue697"},{font_class:"chatbubble-filled",unicode:"\ue694"},{font_class:"checkbox",unicode:"\ue62b"},{font_class:"checkbox-filled",unicode:"\ue62c"},{font_class:"checkmarkempty",unicode:"\ue65c"},{font_class:"circle",unicode:"\ue65b"},{font_class:"circle-filled",unicode:"\ue65e"},{font_class:"clear",unicode:"\ue66d"},{font_class:"close",unicode:"\ue673"},{font_class:"closeempty",unicode:"\ue66c"},{font_class:"cloud-download",unicode:"\ue647"},{font_class:"cloud-download-filled",unicode:"\ue646"},{font_class:"cloud-upload",unicode:"\ue645"},{font_class:"cloud-upload-filled",unicode:"\ue648"},{font_class:"color",unicode:"\ue6cf"},{font_class:"color-filled",unicode:"\ue6c9"},{font_class:"compose",unicode:"\ue67f"},{font_class:"contact",unicode:"\ue693"},{font_class:"contact-filled",unicode:"\ue695"},{font_class:"down",unicode:"\ue6b8"},{font_class:"bottom",unicode:"\ue6b8"},{font_class:"download",unicode:"\ue68d"},{font_class:"download-filled",unicode:"\ue681"},{font_class:"email",unicode:"\ue69e"},{font_class:"email-filled",unicode:"\ue69a"},{font_class:"eye",unicode:"\ue651"},{font_class:"eye-filled",unicode:"\ue66a"},{font_class:"eye-slash",unicode:"\ue6b3"},{font_class:"eye-slash-filled",unicode:"\ue6b4"},{font_class:"fire",unicode:"\ue6a1"},{font_class:"fire-filled",unicode:"\ue6c5"},{font_class:"flag",unicode:"\ue65f"},{font_class:"flag-filled",unicode:"\ue660"},{font_class:"folder-add",unicode:"\ue6a9"},{font_class:"folder-add-filled",unicode:"\ue6c8"},{font_class:"font",unicode:"\ue6a3"},{font_class:"forward",unicode:"\ue6ba"},{font_class:"gear",unicode:"\ue664"},{font_class:"gear-filled",unicode:"\ue661"},{font_class:"gift",unicode:"\ue6a4"},{font_class:"gift-filled",unicode:"\ue6c4"},{font_class:"hand-down",unicode:"\ue63d"},{font_class:"hand-down-filled",unicode:"\ue63c"},{font_class:"hand-up",unicode:"\ue63f"},{font_class:"hand-up-filled",unicode:"\ue63e"},{font_class:"headphones",unicode:"\ue630"},{font_class:"heart",unicode:"\ue639"},{font_class:"heart-filled",unicode:"\ue641"},{font_class:"help",unicode:"\ue679"},{font_class:"help-filled",unicode:"\ue674"},{font_class:"home",unicode:"\ue662"},{font_class:"home-filled",unicode:"\ue663"},{font_class:"image",unicode:"\ue670"},{font_class:"image-filled",unicode:"\ue678"},{font_class:"images",unicode:"\ue650"},{font_class:"images-filled",unicode:"\ue64b"},{font_class:"info",unicode:"\ue669"},{font_class:"info-filled",unicode:"\ue649"},{font_class:"left",unicode:"\ue6b7"},{font_class:"link",unicode:"\ue6a5"},{font_class:"list",unicode:"\ue644"},{font_class:"location",unicode:"\ue6ae"},{font_class:"location-filled",unicode:"\ue6af"},{font_class:"locked",unicode:"\ue66b"},{font_class:"locked-filled",unicode:"\ue668"},{font_class:"loop",unicode:"\ue633"},{font_class:"mail-open",unicode:"\ue643"},{font_class:"mail-open-filled",unicode:"\ue63a"},{font_class:"map",unicode:"\ue667"},{font_class:"map-filled",unicode:"\ue666"},{font_class:"map-pin",unicode:"\ue6ad"},{font_class:"map-pin-ellipse",unicode:"\ue6ac"},{font_class:"medal",unicode:"\ue6a2"},{font_class:"medal-filled",unicode:"\ue6c3"},{font_class:"mic",unicode:"\ue671"},{font_class:"mic-filled",unicode:"\ue677"},{font_class:"micoff",unicode:"\ue67e"},{font_class:"micoff-filled",unicode:"\ue6b0"},{font_class:"minus",unicode:"\ue66f"},{font_class:"minus-filled",unicode:"\ue67d"},{font_class:"more",unicode:"\ue64d"},{font_class:"more-filled",unicode:"\ue64e"},{font_class:"navigate",unicode:"\ue66e"},{font_class:"navigate-filled",unicode:"\ue67a"},{font_class:"notification",unicode:"\ue6a6"},{font_class:"notification-filled",unicode:"\ue6c1"},{font_class:"paperclip",unicode:"\ue652"},{font_class:"paperplane",unicode:"\ue672"},{font_class:"paperplane-filled",unicode:"\ue675"},{font_class:"person",unicode:"\ue699"},{font_class:"person-filled",unicode:"\ue69d"},{font_class:"personadd",unicode:"\ue69f"},{font_class:"personadd-filled",unicode:"\ue698"},{font_class:"personadd-filled-copy",unicode:"\ue6d1"},{font_class:"phone",unicode:"\ue69c"},{font_class:"phone-filled",unicode:"\ue69b"},{font_class:"plus",unicode:"\ue676"},{font_class:"plus-filled",unicode:"\ue6c7"},{font_class:"plusempty",unicode:"\ue67b"},{font_class:"pulldown",unicode:"\ue632"},{font_class:"pyq",unicode:"\ue682"},{font_class:"qq",unicode:"\ue680"},{font_class:"redo",unicode:"\ue64a"},{font_class:"redo-filled",unicode:"\ue655"},{font_class:"refresh",unicode:"\ue657"},{font_class:"refresh-filled",unicode:"\ue656"},{font_class:"refreshempty",unicode:"\ue6bf"},{font_class:"reload",unicode:"\ue6b2"},{font_class:"right",unicode:"\ue6b5"},{font_class:"scan",unicode:"\ue62a"},{font_class:"search",unicode:"\ue654"},{font_class:"settings",unicode:"\ue653"},{font_class:"settings-filled",unicode:"\ue6ce"},{font_class:"shop",unicode:"\ue62f"},{font_class:"shop-filled",unicode:"\ue6cd"},{font_class:"smallcircle",unicode:"\ue67c"},{font_class:"smallcircle-filled",unicode:"\ue665"},{font_class:"sound",unicode:"\ue684"},{font_class:"sound-filled",unicode:"\ue686"},{font_class:"spinner-cycle",unicode:"\ue68a"},{font_class:"staff",unicode:"\ue6a7"},{font_class:"staff-filled",unicode:"\ue6cb"},{font_class:"star",unicode:"\ue688"},{font_class:"star-filled",unicode:"\ue68f"},{font_class:"starhalf",unicode:"\ue683"},{font_class:"trash",unicode:"\ue687"},{font_class:"trash-filled",unicode:"\ue685"},{font_class:"tune",unicode:"\ue6aa"},{font_class:"tune-filled",unicode:"\ue6ca"},{font_class:"undo",unicode:"\ue64f"},{font_class:"undo-filled",unicode:"\ue64c"},{font_class:"up",unicode:"\ue6b6"},{font_class:"top",unicode:"\ue6b6"},{font_class:"upload",unicode:"\ue690"},{font_class:"upload-filled",unicode:"\ue68e"},{font_class:"videocam",unicode:"\ue68c"},{font_class:"videocam-filled",unicode:"\ue689"},{font_class:"vip",unicode:"\ue6a8"},{font_class:"vip-filled",unicode:"\ue6c6"},{font_class:"wallet",unicode:"\ue6b1"},{font_class:"wallet-filled",unicode:"\ue6c2"},{font_class:"weibo",unicode:"\ue68b"},{font_class:"weixin",unicode:"\ue691"}]},d236:function(t,e,i){"use strict";i.r(e);var n=i("728b"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},d332:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={calendar:{title:"\u65e5\u671f\u9009\u62e9",showTitle:!0,showSubtitle:!0,mode:"single",startText:"\u5f00\u59cb",endText:"\u7ed3\u675f",customList:function(){return[]},color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"\u786e\u5b9a",confirmDisabledText:"\u786e\u5b9a",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3}};e.default=n},d3b4:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.LOCALE_ZH_HANT=e.LOCALE_ZH_HANS=e.LOCALE_FR=e.LOCALE_ES=e.LOCALE_EN=e.I18n=e.Formatter=void 0,e.compileI18nJsonStr=function(t,e){var i=e.locale,n=e.locales,r=e.delimiters;if(!C(t,r))return t;w||(w=new c);var o=[];Object.keys(n).forEach((function(t){t!==i&&o.push({locale:t,values:n[t]})})),o.unshift({locale:i,values:n[i]});try{return JSON.stringify(T(JSON.parse(t),o,r),null,2)}catch(a){}return t},e.hasI18nJson=function t(e,i){w||(w=new c);return I(e,(function(e,n){var r=e[n];return S(r)?!!C(r,i)||void 0:t(r,i)}))},e.initVueI18n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if("string"!==typeof t){var r=[e,t];t=r[0],e=r[1]}"string"!==typeof t&&(t=b());"string"!==typeof i&&(i="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var o=new _({locale:t,fallbackLocale:i,messages:e,watcher:n}),a=function(t,e){if("function"!==typeof getApp)a=function(t,e){return o.t(t,e)};else{var i=!1;a=function(t,e){var n=getApp().$vm;return n&&(n.$locale,i||(i=!0,x(n,o))),o.t(t,e)}}return a(t,e)};return{i18n:o,f:function(t,e,i){return o.f(t,e,i)},t:function(t,e){return a(t,e)},add:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return o.add(t,e,i)},watch:function(t){return o.watchLocale(t)},getLocale:function(){return o.getLocale()},setLocale:function(t){return o.setLocale(t)}}},e.isI18nStr=C,e.isString=void 0,e.normalizeLocale=y,e.parseI18nJson=function t(e,i,n){w||(w=new c);return I(e,(function(e,r){var o=e[r];S(o)?C(o,n)&&(e[r]=M(o,i,n)):t(o,i,n)})),e},e.resolveLocale=function(t){return function(e){return e?(e=y(e)||e,function(t){var e=[],i=t.split("-");while(i.length)e.push(i.join("-")),i.pop();return e}(e).find((function(e){return t.indexOf(e)>-1}))):e}};var r=n(i("34cf")),o=n(i("67ad")),a=n(i("0bdb")),s=n(i("3b2d")),l=function(t){return null!==t&&"object"===(0,s.default)(t)},u=["{","}"],c=function(){function t(){(0,o.default)(this,t),this._caches=Object.create(null)}return(0,a.default)(t,[{key:"interpolate",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;if(!e)return[t];var n=this._caches[t];return n||(n=f(t,i),this._caches[t]=n),p(n,e)}}]),t}();e.Formatter=c;var d=/^(?:\d)+/,h=/^(?:\w)+/;function f(t,e){var i=(0,r.default)(e,2),n=i[0],o=i[1],a=[],s=0,l="";while(s<t.length){var u=t[s++];if(u===n){l&&a.push({type:"text",value:l}),l="";var c="";u=t[s++];while(void 0!==u&&u!==o)c+=u,u=t[s++];var f=u===o,p=d.test(c)?"list":f&&h.test(c)?"named":"unknown";a.push({value:c,type:p})}else l+=u}return l&&a.push({type:"text",value:l}),a}function p(t,e){var i=[],n=0,r=Array.isArray(e)?"list":l(e)?"named":"unknown";if("unknown"===r)return i;while(n<t.length){var o=t[n];switch(o.type){case"text":i.push(o.value);break;case"list":i.push(e[parseInt(o.value,10)]);break;case"named":"named"===r&&i.push(e[o.value]);break;case"unknown":0;break}n++}return i}e.LOCALE_ZH_HANS="zh-Hans";e.LOCALE_ZH_HANT="zh-Hant";e.LOCALE_EN="en";e.LOCALE_FR="fr";e.LOCALE_ES="es";var g=Object.prototype.hasOwnProperty,v=function(t,e){return g.call(t,e)},m=new c;function y(t,e){if(t){if(t=t.trim().replace(/_/g,"-"),e&&e[t])return t;if(t=t.toLowerCase(),"chinese"===t)return"zh-Hans";if(0===t.indexOf("zh"))return t.indexOf("-hans")>-1?"zh-Hans":t.indexOf("-hant")>-1||function(t,e){return!!e.find((function(e){return-1!==t.indexOf(e)}))}(t,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var i=["en","fr","es"];e&&Object.keys(e).length>0&&(i=Object.keys(e));var n=function(t,e){return e.find((function(e){return 0===t.indexOf(e)}))}(t,i);return n||void 0}}var _=function(){function t(e){var i=e.locale,n=e.fallbackLocale,r=e.messages,a=e.watcher,s=e.formater;(0,o.default)(this,t),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||m,this.messages=r||{},this.setLocale(i||"en"),a&&this.watchLocale(a)}return(0,a.default)(t,[{key:"setLocale",value:function(t){var e=this,i=this.locale;this.locale=y(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],i!==this.locale&&this.watchers.forEach((function(t){t(e.locale,i)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(t){var e=this,i=this.watchers.push(t)-1;return function(){e.watchers.splice(i,1)}}},{key:"add",value:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.messages[t];n?i?Object.assign(n,e):Object.keys(e).forEach((function(t){v(n,t)||(n[t]=e[t])})):this.messages[t]=e}},{key:"f",value:function(t,e,i){return this.formater.interpolate(t,e,i).join("")}},{key:"t",value:function(t,e,i){var n=this.message;return"string"===typeof e?(e=y(e,this.messages),e&&(n=this.messages[e])):i=e,v(n,t)?this.formater.interpolate(n[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}]),t}();function x(t,e){t.$watchLocale?t.$watchLocale((function(t){e.setLocale(t)})):t.$watch((function(){return t.$locale}),(function(t){e.setLocale(t)}))}function b(){return"undefined"!==typeof uni&&uni.getLocale?uni.getLocale():"undefined"!==typeof t&&t.getLocale?t.getLocale():"en"}e.I18n=_;var w,S=function(t){return"string"===typeof t};function C(t,e){return t.indexOf(e[0])>-1}function M(t,e,i){return w.interpolate(t,e,i).join("")}function T(t,e,i){return I(t,(function(t,n){(function(t,e,i,n){var r=t[e];if(S(r)){if(C(r,n)&&(t[e]=M(r,i[0].values,n),i.length>1)){var o=t[e+"Locales"]={};i.forEach((function(t){o[t.locale]=M(r,t.values,n)}))}}else T(r,i,n)})(t,n,e,i)})),t}function I(t,e){if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e(t,i))return!0}else if(l(t))for(var n in t)if(e(t,n))return!0;return!1}e.isString=S}).call(this,i("0ee4"))},d494:function(t,e,i){"use strict";i.r(e);var n=i("1ffe"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},d551:function(t,e,i){var n=i("3b2d")["default"],r=i("e6db");t.exports=function(t){var e=r(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports["default"]=t.exports},d5fc:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={grid:{col:3,border:!1,align:"left"}}},d604:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={zPagingEmptyView:i("ba29").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{class:t._$s(0,"c",{"z-paging-content":!0,"z-paging-content-full":!t.usePageScroll,"z-paging-content-fixed":!t.usePageScroll&&t.fixed,"z-paging-content-page":t.usePageScroll,"z-paging-reached-top":t.renderPropScrollTop<1,"z-paging-use-chat-record-mode":t.useChatRecordMode}),style:t._$s(0,"s",[t.finalPagingStyle]),attrs:{_i:0}},[t._$s(1,"i",t.showF2&&t.showRefresherF2)?i("view",{staticClass:t._$s(1,"sc","zp-f2-content"),style:t._$s(1,"s",[{transform:t.f2Transform,transition:"transform .2s linear",height:t.superContentHeight+"px","z-index":t.f2ZIndex}]),attrs:{_i:1},on:{touchmove:function(t){t.stopPropagation(),t.preventDefault()}}},[t._t("f2",null,{_i:2})],2):t._e(),t._$s(3,"i",!t.usePageScroll&&t.zSlots.top)?t._t("top",null,{_i:3}):t._$s(4,"e",t.usePageScroll&&t.zSlots.top)?i("view",{staticClass:t._$s(4,"sc","zp-page-top"),style:t._$s(4,"s",[{top:t.windowTop+"px","z-index":t.topZIndex}]),attrs:{_i:4},on:{touchmove:function(t){t.stopPropagation(),t.preventDefault()}}},[t._t("top",null,{_i:5})],2):t._e(),i("view",{class:t._$s(6,"c",{"zp-view-super":!0,"zp-scroll-view-super":!t.usePageScroll}),style:t._$s(6,"s",[t.finalScrollViewStyle]),attrs:{_i:6}},[t._$s(7,"i",t.zSlots.left)?i("view",{class:t._$s(7,"c",{"zp-page-left":!0,"zp-absoulte":t.finalIsOldWebView}),attrs:{_i:7}},[t._t("left",null,{_i:8})],2):t._e(),i("view",{class:t._$s(9,"c",{"zp-scroll-view-container":!0,"zp-absoulte":t.finalIsOldWebView}),style:t._$s(9,"s",[t.scrollViewContainerStyle]),attrs:{_i:9}},[i("scroll-view",{ref:"zp-scroll-view",class:t._$s(10,"c",{"zp-scroll-view":!0,"zp-scroll-view-absolute":!t.usePageScroll,"zp-scroll-view-hide-scrollbar":!t.showScrollbar}),style:t._$s(10,"s",[t.chatRecordRotateStyle]),attrs:{"scroll-top":t._$s(10,"a-scroll-top",t.scrollTop),"scroll-x":t._$s(10,"a-scroll-x",t.scrollX),"scroll-y":t._$s(10,"a-scroll-y",t.finalScrollable),"enable-back-to-top":t._$s(10,"a-enable-back-to-top",t.finalEnableBackToTop),"show-scrollbar":t._$s(10,"a-show-scrollbar",t.showScrollbar),"scroll-with-animation":t._$s(10,"a-scroll-with-animation",t.finalScrollWithAnimation),"scroll-into-view":t._$s(10,"a-scroll-into-view",t.scrollIntoView),"lower-threshold":t._$s(10,"a-lower-threshold",t.finalLowerThreshold),"refresher-enabled":t._$s(10,"a-refresher-enabled",t.finalRefresherEnabled&&!t.useCustomRefresher),"refresher-threshold":t._$s(10,"a-refresher-threshold",t.finalRefresherThreshold),"refresher-default-style":t._$s(10,"a-refresher-default-style",t.finalRefresherDefaultStyle),"refresher-background":t._$s(10,"a-refresher-background",t.refresherBackground),"refresher-triggered":t._$s(10,"a-refresher-triggered",t.finalRefresherTriggered),_i:10},on:{scroll:t._scroll,scrolltolower:t._onScrollToLower,scrolltoupper:t._onScrollToUpper,refresherrestore:t._onRestore,refresherrefresh:function(e){return t._onRefresh(!0)}}},[i("view",{staticClass:t._$s(11,"sc","zp-paging-touch-view"),attrs:{_i:11},on:{}},[t._$s(12,"i",t.finalRefresherFixedBacHeight>0)?i("view",{staticClass:t._$s(12,"sc","zp-fixed-bac-view"),style:t._$s(12,"s",[{background:t.refresherFixedBackground,height:t.finalRefresherFixedBacHeight+"px"}]),attrs:{_i:12}}):t._e(),i("view",{wxsProps:{"change:renderPropIsIosAndH5":"isIosAndH5","change:prop":"wxsPropType"},staticClass:t._$s(13,"sc","zp-paging-main"),style:t._$s(13,"s",[t.scrollViewInStyle,{transform:t.finalRefresherTransform,transition:t.refresherTransition}]),attrs:{prop:t._$s(13,"change:wxsPropType",t.wxsPropType),"data-refresherThreshold":t._$s(13,"a-data-refresherThreshold",t.finalRefresherThreshold),"data-refresherF2Enabled":t._$s(13,"a-data-refresherF2Enabled",t.refresherF2Enabled),"data-refresherF2Threshold":t._$s(13,"a-data-refresherF2Threshold",t.finalRefresherF2Threshold),"data-isIos":t._$s(13,"a-data-isIos",t.isIos),"data-loading":t._$s(13,"a-data-loading",t.loading||t.isRefresherInComplete),"data-useChatRecordMode":t._$s(13,"a-data-useChatRecordMode",t.useChatRecordMode),"data-refresherEnabled":t._$s(13,"a-data-refresherEnabled",t.refresherEnabled),"data-useCustomRefresher":t._$s(13,"a-data-useCustomRefresher",t.useCustomRefresher),"data-pageScrollTop":t._$s(13,"a-data-pageScrollTop",t.wxsPageScrollTop),"data-scrollTop":t._$s(13,"a-data-scrollTop",t.wxsScrollTop),"data-refresherMaxAngle":t._$s(13,"a-data-refresherMaxAngle",t.refresherMaxAngle),"data-refresherNoTransform":t._$s(13,"a-data-refresherNoTransform",t.refresherNoTransform),"data-refresherAecc":t._$s(13,"a-data-refresherAecc",t.refresherAngleEnableChangeContinued),"data-usePageScroll":t._$s(13,"a-data-usePageScroll",t.usePageScroll),"data-watchTouchDirectionChange":t._$s(13,"a-data-watchTouchDirectionChange",t.watchTouchDirectionChange),"data-oldIsTouchmoving":t._$s(13,"a-data-oldIsTouchmoving",t.isTouchmoving),"data-refresherOutRate":t._$s(13,"a-data-refresherOutRate",t.finalRefresherOutRate),"data-refresherPullRate":t._$s(13,"a-data-refresherPullRate",t.finalRefresherPullRate),"data-hasTouchmove":t._$s(13,"a-data-hasTouchmove",t.hasTouchmove),renderPropIsIosAndH5:t._$s(13,"change:isIosAndH5",t.isIosAndH5),_i:13}},[t._$s(14,"i",t.showRefresher)?i("view",{staticClass:t._$s(14,"sc","zp-custom-refresher-view"),style:t._$s(14,"s",[{"margin-top":"-"+(t.finalRefresherThreshold+t.refresherThresholdUpdateTag)+"px",background:t.refresherBackground,opacity:t.isTouchmoving?1:0}]),attrs:{_i:14}},[i("view",{staticClass:t._$s(15,"sc","zp-custom-refresher-container"),style:t._$s(15,"s",[{height:t.finalRefresherThreshold+"px",background:t.refresherBackground}]),attrs:{_i:15}},[t._$s(16,"i",t.useRefresherStatusBarPlaceholder)?i("view",{staticClass:t._$s(16,"sc","zp-custom-refresher-status-bar-placeholder"),style:t._$s(16,"s",[{height:t.statusBarHeight+"px"}]),attrs:{_i:16}}):t._e(),i("view",{staticClass:t._$s(17,"sc","zp-custom-refresher-slot-view"),attrs:{_i:17}},[t._$s(18,"i",!(t.zSlots.refresherComplete&&t.refresherStatus===t.R.Complete)&&!(t.zSlots.refresherF2&&t.refresherStatus===t.R.GoF2))?t._t("refresher",null,{refresherStatus:t.refresherStatus,_i:18}):t._e()],2),t._$s(19,"i",t.zSlots.refresherComplete&&t.refresherStatus===t.R.Complete)?t._t("refresherComplete",null,{_i:19}):t._$s(20,"e",t.zSlots.refresherF2&&t.refresherStatus===t.R.GoF2)?t._t("refresherF2",null,{_i:20}):t._$s(21,"e",!t.showCustomRefresher)?i("z-paging-refresh",{ref:"refresh",staticClass:t._$s(21,"sc","zp-custom-refresher-refresh"),style:t._$s(21,"s",[{height:t.finalRefresherThreshold-t.finalRefresherThresholdPlaceholder+"px"}]),attrs:{status:t.refresherStatus,defaultThemeStyle:t.finalRefresherThemeStyle,defaultText:t.finalRefresherDefaultText,pullingText:t.finalRefresherPullingText,refreshingText:t.finalRefresherRefreshingText,completeText:t.finalRefresherCompleteText,goF2Text:t.finalRefresherGoF2Text,defaultImg:t.refresherDefaultImg,pullingImg:t.refresherPullingImg,refreshingImg:t.refresherRefreshingImg,completeImg:t.refresherCompleteImg,refreshingAnimated:t.refresherRefreshingAnimated,showUpdateTime:t.showRefresherUpdateTime,updateTimeKey:t.refresherUpdateTimeKey,updateTimeTextMap:t.finalRefresherUpdateTimeTextMap,imgStyle:t.refresherImgStyle,titleStyle:t.refresherTitleStyle,updateTimeStyle:t.refresherUpdateTimeStyle,unit:t.unit,_i:21}}):t._e()],2)]):t._e(),i("view",{staticClass:t._$s(22,"sc","zp-paging-container"),style:t._$s(22,"s",[{justifyContent:t.useChatRecordMode?"flex-end":"flex-start"}]),attrs:{_i:22}},[t._$s(23,"i",t.showLoading&&t.zSlots.loading&&!t.loadingFullFixed)?t._t("loading",null,{_i:23}):t._e(),i("view",{staticClass:t._$s(24,"sc","zp-paging-container-content"),style:t._$s(24,"s",[{transform:t.virtualPlaceholderTopHeight>0?"translateY("+t.virtualPlaceholderTopHeight+"px)":"none"},t.finalPagingContentStyle]),attrs:{_i:24}},[t._t("default",null,{_i:25}),t._$s(26,"i",t.finalUseInnerList)?[t._t("header",null,{_i:27}),i("view",{staticClass:t._$s(28,"sc","zp-list-container"),style:t._$s(28,"s",[t.innerListStyle]),attrs:{_i:28}},[t._$s(29,"i",t.finalUseVirtualList)?t._l(t._$s(30,"f",{forItems:t.virtualList}),(function(e,n,r,o){return i("view",{key:t._$s(30,"f",{forIndex:r,key:e["zp_unique_index"]}),staticClass:t._$s("30-"+o,"sc","zp-list-cell"),style:t._$s("30-"+o,"s",[t.innerCellStyle]),attrs:{id:t._$s("30-"+o,"a-id","zp-id-"+e[t.virtualCellIndexKey]),_i:"30-"+o},on:{click:function(i){return t._innerCellClick(e,t.virtualTopRangeIndex+n)}}},[t._$s("31-"+o,"i",t.useCompatibilityMode)?i("view"):t._t("cell",null,{item:e,index:t.virtualTopRangeIndex+n,_i:"32-"+o})],2)})):t._l(t._$s(34,"f",{forItems:t.realTotalData}),(function(e,n,r,o){return i("view",{key:t._$s(34,"f",{forIndex:r,key:n}),staticClass:t._$s("34-"+o,"sc","zp-list-cell"),attrs:{_i:"34-"+o},on:{click:function(i){return t._innerCellClick(e,n)}}},[t._t("cell",null,{item:e,index:n,_i:"35-"+o})],2)}))],2),t._t("footer",null,{_i:36})]:t._e(),t._$s(37,"i",t.useChatRecordMode&&t.realTotalData.length>=t.defaultPageSize&&(t.loadingStatus!==t.M.NoMore||t.zSlots.chatNoMore)&&(t.realTotalData.length||t.showChatLoadingWhenReload&&t.showLoading)&&!t.isFirstPageAndNoMore)?[i("view",{style:t._$s(38,"s",[t.chatRecordRotateStyle]),attrs:{_i:38}},[t._$s(39,"i",t.loadingStatus===t.M.NoMore&&t.zSlots.chatNoMore)?t._t("chatNoMore",null,{_i:39}):[t._$s(41,"i",t.zSlots.chatLoading)?t._t("chatLoading",null,{loadingMoreStatus:t.loadingStatus,_i:41}):i("z-paging-load-more",{attrs:{zConfig:t.zLoadMoreConfig,_i:42},on:{doClick:function(e){return t._onLoadingMore("click")}}})]],2)]:t._e(),t._$s(43,"i",t.useVirtualList)?i("view",{staticClass:t._$s(43,"sc","zp-virtual-placeholder"),style:t._$s(43,"s",[{height:t.virtualPlaceholderBottomHeight+"px"}]),attrs:{_i:43}}):t._e(),t._$s(44,"i",t.showLoadingMoreDefault)?t._t("loadingMoreDefault",null,{_i:44}):t._$s(45,"e",t.showLoadingMoreLoading)?t._t("loadingMoreLoading",null,{_i:45}):t._$s(46,"e",t.showLoadingMoreNoMore)?t._t("loadingMoreNoMore",null,{_i:46}):t._$s(47,"e",t.showLoadingMoreFail)?t._t("loadingMoreFail",null,{_i:47}):t._$s(48,"e",t.showLoadingMoreCustom)?i("z-paging-load-more",{attrs:{zConfig:t.zLoadMoreConfig,_i:48},on:{doClick:function(e){return t._onLoadingMore("click")}}}):t._e(),t._$s(49,"i",t.safeAreaInsetBottom&&t.useSafeAreaPlaceholder&&!t.useChatRecordMode)?i("view",{staticClass:t._$s(49,"sc","zp-safe-area-placeholder"),style:t._$s(49,"s",[{height:t.safeAreaBottom+"px"}]),attrs:{_i:49}}):t._e()],2),t._$s(50,"i",t.showEmpty)?i("view",{class:t._$s(50,"c",{"zp-empty-view":!0,"zp-empty-view-center":t.emptyViewCenter}),style:t._$s(50,"s",[t.emptyViewSuperStyle,t.chatRecordRotateStyle]),attrs:{_i:50}},[t._$s(51,"i",t.zSlots.empty)?t._t("empty",null,{isLoadFailed:t.isLoadFailed,_i:51}):i("z-paging-empty-view",{attrs:{emptyViewImg:t.finalEmptyViewImg,emptyViewText:t.finalEmptyViewText,showEmptyViewReload:t.finalShowEmptyViewReload,emptyViewReloadText:t.finalEmptyViewReloadText,isLoadFailed:t.isLoadFailed,emptyViewStyle:t.emptyViewStyle,emptyViewTitleStyle:t.emptyViewTitleStyle,emptyViewImgStyle:t.emptyViewImgStyle,emptyViewReloadStyle:t.emptyViewReloadStyle,emptyViewZIndex:t.emptyViewZIndex,emptyViewFixed:t.emptyViewFixed,unit:t.unit,_i:52},on:{reload:t._emptyViewReload,viewClick:t._emptyViewClick}})],2):t._e()],2)])])])]),t._$s(53,"i",t.zSlots.right)?i("view",{class:t._$s(53,"c",{"zp-page-right":!0,"zp-absoulte zp-right":t.finalIsOldWebView}),attrs:{_i:53}},[t._t("right",null,{_i:54})],2):t._e()]),i("view",{staticClass:t._$s(55,"sc","zp-page-bottom-container"),style:t._$s(55,"s",{background:t.bottomBgColor}),attrs:{_i:55}},[t._$s(56,"i",!t.usePageScroll&&t.zSlots.bottom)?t._t("bottom",null,{_i:56}):t._$s(57,"e",t.usePageScroll&&t.zSlots.bottom)?i("view",{staticClass:t._$s(57,"sc","zp-page-bottom"),style:t._$s(57,"s",[{bottom:t.windowBottom+"px"}]),attrs:{_i:57},on:{touchmove:function(t){t.stopPropagation(),t.preventDefault()}}},[t._t("bottom",null,{_i:58})],2):t._e(),t._$s(59,"i",t.useChatRecordMode&&t.autoAdjustPositionWhenChat)?[i("view",{style:t._$s(60,"s",[{height:t.chatRecordModeSafeAreaBottom+"px"}]),attrs:{_i:60}}),i("view",{staticClass:t._$s(61,"sc","zp-page-bottom-keyboard-placeholder-animate"),style:t._$s(61,"s",[{height:t.keyboardHeight+"px"}]),attrs:{_i:61}})]:t._e()],2),t._$s(62,"i",t.showBackToTopClass)?i("view",{class:t._$s(62,"c",t.finalBackToTopClass),style:t._$s(62,"s",[t.finalBackToTopStyle]),attrs:{_i:62},on:{click:function(e){return e.stopPropagation(),t._backToTopClick(e)}}},[t._$s(63,"i",t.zSlots.backToTop)?t._t("backToTop",null,{_i:63}):i("image",{staticClass:t._$s(64,"sc","zp-back-to-top-img"),attrs:{src:t._$s(64,"a-src",t.backToTopImg.length?t.backToTopImg:t.base64BackToTop),_i:64}})],2):t._e(),t._$s(65,"i",t.showLoading&&t.zSlots.loading&&t.loadingFullFixed)?i("view",{staticClass:t._$s(65,"sc","zp-loading-fixed"),attrs:{_i:65}},[t._t("loading",null,{_i:66})],2):t._e()],2)},o=[]},d60d:function(t,e,i){"use strict";i.r(e);var n=i("f140"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},d62a:function(t,e,i){"use strict";i.r(e);var n=i("2798"),r=i("b627");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"254327e7",null,!1,n["a"],void 0);e["default"]=s.exports},d6d1:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,sslVerify:!0,firstIpv4:!1,validateStatus:function(t){return t>=200&&t<300}}},d74e:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",[t._$s(1,"i",0!=t.datas.val)?n("view",{staticClass:t._$s(1,"sc","flx_sb flx flx_ac xxd-list"),attrs:{_i:1}},[n("view",[n("view",{staticClass:t._$s(3,"sc","name"),attrs:{_i:3}},[t._v(t._$s(3,"t0-0",t._s(t.datas.name)))]),t._$s(4,"i",0==t.datas.max&&0==t.datas.min)?n("view",{staticClass:t._$s(4,"sc","desc"),attrs:{_i:4}},[t._v(t._$s(4,"t0-0",t._s(t.datas.unit)))]):n("view",{staticClass:t._$s(5,"sc","desc"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.datas.min))+t._$s(5,"t0-1",t._s(t.datas.max))+t._$s(5,"t0-2",t._s(t.datas.unit)))])]),n("view",{staticClass:t._$s(6,"sc","flx"),attrs:{_i:6}},[n("view",[t._v(t._$s(7,"t0-0",t._s(t.datas.val)))]),t._$s(8,"i",!((0!=t.datas.min||0!=t.datas.max)&&t.datas.min<t.datas.val&&t.datas.max>t.datas.val))?n("view",[n("image",{attrs:{src:t._$s(9,"a-src",i("28b7")),_i:9}})]):t._e()])]):t._e()])},r=[]},d78a:function(t,e,i){"use strict";i.r(e);var n=i("38d0");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);var o=i("828b"),a=Object(o["a"])(n["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=a.exports},d82f:function(t,e,i){"use strict";i.r(e);var n=i("f52a"),r=i("f041");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"8c4920dc",null,!1,n["a"],void 0);e["default"]=s.exports},d836:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1}}},d8d8:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","select-main"),attrs:{_i:0}},[i("view",{attrs:{_i:1},on:{click:function(e){return e.stopPropagation(),t.showCard(e)}}},[t._t("default",null,{_i:2})],2),t._$s(3,"i",t.show)?i("view",[i("view",{staticClass:t._$s(4,"sc","arrow-tip"),style:t._$s(4,"s",{width:t.width+"rpx",background:t.bgColor,left:t.left+"rpx",borderRadius:t.radius+"rpx"}),attrs:{_i:4}}),i("view",{staticClass:t._$s(5,"sc","card"),style:t._$s(5,"s","height:"+(t.dHeight?t.dHeight+"rpx":"auto")+";max-height:"+t.dMaxHeight+"rpx;background-color:"+t.bgColor+";border-radius:"+t.radius+"rpx;left:"+t.left+"rpx"),attrs:{_i:5}},t._l(t._$s(6,"f",{forItems:t.dataList}),(function(e,n,r,o){return i("view",{key:t._$s(6,"f",{forIndex:r,key:n}),staticClass:t._$s("6-"+o,"sc","card-list"),class:t._$s("6-"+o,"c",e.device_id==t.getActiceDevice.device_id?"active":""),style:t._$s("6-"+o,"s","color:"+t.color+";font-size:"+t.fontSize+"rpx;line-height:"+t.lineHeight+"rpx;"),attrs:{_i:"6-"+o},on:{click:function(i){return t.clickItem(e)}}},[t._v(t._$s("6-"+o,"t0-0",t._s(e.device_id)))])})),0)]):t._e()])},r=[]},d95b:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"overview",props:{overviewData:Object},data:function(){return{}}};e.default=n},d9b2:function(t,e,i){t.exports=i.p+"static/icon/xuetang.png"},daa8:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1}}},dac6:function(t,e,i){"use strict";i.r(e);var n=i("8942"),r=i("a9a2");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},db53:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("127e")),o=n(i("3b2d")),a=n(i("ee10")),s=i("0490"),l=i("b775"),u={name:"lime-echart",props:{customStyle:String,isDisableScroll:Boolean,isClickable:{type:Boolean,default:!0},enableHover:Boolean,beforeDelay:{type:Number,default:30}},data:function(){return{use2dCanvas:!1,ariaLabel:"\u56fe\u8868",width:null,height:null,nodeWidth:null,nodeHeight:null,config:{},inited:!1,finished:!1,file:"",platform:"",isPC:!1,isDown:!1,isOffscreenCanvas:!1,offscreenWidth:0,offscreenHeight:0}},computed:{canvasId:function(){return"lime-echart".concat(this._&&this._.uid||this._uid)},offscreenCanvasId:function(){return"".concat(this.canvasId,"_offscreen")},offscreenStyle:function(){return"width:".concat(this.offscreenWidth,"px;height: ").concat(this.offscreenHeight,"px; position: fixed; left: 99999px; background: red")},canvasStyle:function(){return this.width&&this.height?"width:"+this.width+"px;height:"+this.height+"px":""}},beforeDestroy:function(){this.clear(),this.dispose()},created:function(){this.use2dCanvas="2d"===this.type&&(0,l.canIUseCanvas2d)()},mounted:function(){var t=this;this.$nextTick((function(){t.$emit("finished")}))},methods:{setChart:function(e){this.chart?"function"===typeof e&&this.chart&&e(this.chart):t("warn","\u7ec4\u4ef6\u8fd8\u672a\u521d\u59cb\u5316\uff0c\u8bf7\u5148\u4f7f\u7528 init"," at uni_modules/lime-echart/components/l-echart/l-echart.vue:210")},setOption:function(){var e;this.chart&&this.chart.setOption?(e=this.chart).setOption.apply(e,arguments):t("warn","\u7ec4\u4ef6\u8fd8\u672a\u521d\u59cb\u5316\uff0c\u8bf7\u5148\u4f7f\u7528 init"," at uni_modules/lime-echart/components/l-echart/l-echart.vue:224")},showLoading:function(){var t;this.chart&&(t=this.chart).showLoading.apply(t,arguments)},hideLoading:function(){this.chart&&this.chart.hideLoading()},clear:function(){this.chart&&this.chart.clear()},dispose:function(){this.chart&&this.chart.dispose()},resize:function(t){var e=this;t&&t.width&&t.height?(this.height=t.height,this.width=t.width,this.chart&&this.chart.resize(t)):this.$nextTick((function(){uni.createSelectorQuery().in(e).select(".lime-echart").boundingClientRect().exec((function(t){if(t){var i=t[0],n=i.width,r=i.height;e.width=n=n||300,e.height=r=r||300,e.chart.resize({width:n,height:r})}}))}))},canvasToTempFilePath:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=this.use2dCanvas,n=this.canvasId;return new Promise((function(r,o){var a=Object.assign({canvasId:n,success:r,fail:o},e);i&&(delete a.canvasId,a.canvas=t.canvasNode),uni.canvasToTempFilePath(a,t)}))},init:function(e){var i=arguments,n=this;return(0,a.default)(r.default.mark((function a(){var u,c,d,h,f,p,g;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:for(u=i.length,c=new Array(u>1?u-1:0),d=1;d<u;d++)c[d-1]=i[d];if(!c||0!=c.length||e){r.next=4;break}return t("error","\u7f3a\u5c11\u53c2\u6570\uff1ainit(echarts, theme?:string, opts?: object, callback?: function)"," at uni_modules/lime-echart/components/l-echart/l-echart.vue:307"),r.abrupt("return");case 4:if(h=null,f={},Array.from(i).forEach((function(t){"function"===typeof t&&(p=t),["string"].includes((0,o.default)(t))&&(h=t),"object"===(0,o.default)(t)&&(f=t)})),!n.beforeDelay){r.next=9;break}return r.next=9,(0,l.sleep)(n.beforeDelay);case 9:return r.next=11,n.getContext();case 11:if(g=r.sent,(0,s.setCanvasCreator)(e,g),r.prev=13,n.chart=e.init(g.canvas,h,Object.assign({},g,f)),"function"!==typeof p){r.next=19;break}p(n.chart),r.next=20;break;case 19:return r.abrupt("return",n.chart);case 20:r.next=26;break;case 22:return r.prev=22,r.t0=r["catch"](13),t("error",r.t0.messges," at uni_modules/lime-echart/components/l-echart/l-echart.vue:339"),r.abrupt("return",null);case 26:case"end":return r.stop()}}),a,null,[[13,22]])})))()},getContext:function(){var t=this;return(0,l.getRect)("#".concat(this.canvasId),{context:this,type:this.use2dCanvas?"fields":"boundingClientRect"}).then((function(e){if(e){var i,n=l.devicePixelRatio,r=e.width,o=e.height,a=e.node;if(t.width=r=r||300,t.height=o=o||300,a){var u=a.getContext("2d");i=new s.Canvas(u,t,!0,a),t.canvasNode=a}else{n=t.isPC?l.devicePixelRatio:1,t.rect=e,t.nodeWidth=r*n,t.nodeHeight=o*n;var c=uni.createCanvasContext(t.canvasId,t);i=new s.Canvas(c,t,!1)}return{canvas:i,width:r,height:o,devicePixelRatio:n,node:a}}return{}}))},getRelative:function(t,e){var i=t.clientX,n=t.clientY;return i&&n||!e||!e[0]||(i=e[0].clientX,n=e[0].clientY),{x:i-this.rect.left,y:n-this.rect.top,wheelDelta:t.wheelDelta||0}},getTouch:function(t,e){var i=e&&e[0]||{},n=i.x;return n?e[0]:this.getRelative(t,e)},touchStart:function(t){var e=this;this.isDown=!0;var i=function(){var i=(0,l.convertTouchesToArray)(t.touches);if(e.chart){var n=e.getTouch(t,i);e.startX=n.x,e.startY=n.y,e.startT=new Date;var r=e.chart.getZr().handler;s.dispatch.call(r,"mousedown",n),s.dispatch.call(r,"mousemove",n),r.processGesture((0,l.wrapTouch)(t),"start"),clearTimeout(e.endTimer)}};this.isPC?(0,l.getRect)("#".concat(this.canvasId),{context:this}).then((function(t){e.rect=t,i()})):i()},touchMove:function(t){this.isPC&&this.enableHover&&!this.isDown&&(this.isDown=!0);var e=(0,l.convertTouchesToArray)(t.touches);if(this.chart&&this.isDown){var i=this.chart.getZr().handler;s.dispatch.call(i,"mousemove",this.getTouch(t,e)),i.processGesture((0,l.wrapTouch)(t),"change")}},touchEnd:function(t){if(this.isDown=!1,this.chart){var e=(0,l.convertTouchesToArray)(t.changedTouches),i=e&&e[0]||{},n=i.x,r=(n?e[0]:this.getRelative(t,e))||{},o=this.chart.getZr().handler,a=Math.abs(r.x-this.startX)<10&&new Date-this.startT<200;s.dispatch.call(o,"mouseup",r),o.processGesture((0,l.wrapTouch)(t),"end"),a?s.dispatch.call(o,"click",r):this.endTimer=setTimeout((function(){s.dispatch.call(o,"mousemove",{x:999999999,y:999999999}),s.dispatch.call(o,"mouseup",{x:999999999,y:999999999})}),50)}}}};e.default=u}).call(this,i("f3b9")["default"])},dcd1:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.post=e.get=e.baseUrl=void 0;e.post=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return uni.$u.http.post(t,e,i)};e.get=function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return uni.$u.http.get(t,{params:e,custom:{toast:i||!1},responseType:n})};e.baseUrl="https://ai.agrimedia.cn/"},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},deaa:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={zPaging:i("4108").default,liuDataSelect:i("ac68").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",[n("z-paging",{ref:"paging",attrs:{"refresher-only":!0,_i:1},on:{onRefresh:t.onRefresh}},[n("view",{staticClass:t._$s(2,"sc","flx jcsb ac"),attrs:{_i:2}},[n("view",{staticClass:t._$s(3,"sc","left"),attrs:{_i:3}},[n("view",{staticClass:t._$s(4,"sc","content-header"),attrs:{_i:4}},[n("view",{staticClass:t._$s(5,"sc","sha-dow"),attrs:{_i:5}}),n("view",{staticClass:t._$s(6,"sc","text"),attrs:{_i:6}},[n("view",{staticClass:t._$s(7,"sc","left"),attrs:{_i:7}},[n("view",{staticClass:t._$s(8,"sc","title"),attrs:{_i:8}}),n("view",{staticClass:t._$s(9,"sc","desc"),attrs:{_i:9}},[n("text")])])])]),n("view",{staticClass:t._$s(11,"sc","control flx flx_sb"),attrs:{_i:11}},[n("view",{staticClass:t._$s(12,"sc","btn"),attrs:{_i:12}},[n("liu-data-select",{attrs:{elementId:"data-select3",dataList:t.deviceList,bgColor:"#fff",color:"#000",_i:13},on:{change:t.changeDev}},[n("view",{staticClass:t._$s(14,"sc","btn-info1"),attrs:{id:"data-select3",_i:14}},[t._v(t._$s(14,"t0-0",t._s(t.Activedevice?"\u8bbe\u5907\uff1a"+t.Activedevice:"\u9009\u62e9\u8bbe\u5907")))])])],1),n("view",{staticClass:t._$s(15,"sc","btn"),attrs:{_i:15},on:{click:t.outlogin}})]),n("view",{staticClass:t._$s(16,"sc","list-wrap"),attrs:{_i:16}},[n("view",{staticClass:t._$s(17,"sc","content-item row header-item"),attrs:{_i:17},on:{click:function(e){return t.toPageCom("stepIndex")}}},[n("view",{staticClass:t._$s(18,"sc","item"),attrs:{_i:18}},[n("view",{staticClass:t._$s(19,"sc","title"),attrs:{_i:19}}),n("view",{staticClass:t._$s(20,"sc","row-date"),attrs:{_i:20}},[n("view",[t._v(t._$s(21,"t0-0",t._s(t.dataListsNew.stepIndex.data_msg?t.dataListsNew.stepIndex.data_msg.calorie/10:"--")))]),n("text")])]),n("view",{staticClass:t._$s(23,"sc","item"),attrs:{_i:23}},[n("view",{staticClass:t._$s(24,"sc","title"),attrs:{_i:24}}),n("view",{staticClass:t._$s(25,"sc","row-date"),attrs:{_i:25}},[n("view",[t._v(t._$s(26,"t0-0",t._s(t.dataListsNew.stepIndex.data_msg?t.dataListsNew.stepIndex.data_msg.step:"--")))]),n("text")])]),n("view",{staticClass:t._$s(28,"sc","item"),attrs:{_i:28}},[n("view",{staticClass:t._$s(29,"sc","title"),attrs:{_i:29}}),n("view",{staticClass:t._$s(30,"sc","row-date"),attrs:{_i:30}},[n("view",[t._v(t._$s(31,"t0-0",t._s(t.dataListsNew.stepIndex.data_msg?(t.dataListsNew.stepIndex.data_msg.distance/1e3).toFixed(2):"--")))]),n("text")])]),t._$s(33,"i",t.dataListsNew.stepIndex)?n("view",{staticClass:t._$s(33,"sc","row-time"),attrs:{_i:33}},[t._v(t._$s(33,"t0-0",t._s(t.dataListsNew.stepIndex.device_real_time?t.dataListsNew.stepIndex.device_real_time+"\u66f4\u65b0":"--")))]):t._e()]),n("view",{staticClass:t._$s(34,"sc","content-item row header-item"),attrs:{_i:34},on:{click:function(e){return t.toPageCom("SleepDatas")}}},[n("view",{staticClass:t._$s(35,"sc","title"),attrs:{_i:35}},[t._v(t._$s(35,"t0-0",t._s(t.getNameByKey("sleep"))))]),n("view",{staticClass:t._$s(36,"sc","date"),attrs:{_i:36}},[t._$s(37,"i",t.dataListsNew.SleepDatas.data_msg)?n("view",{staticClass:t._$s(37,"sc","flex_data"),attrs:{_i:37}},t._l(t._$s(38,"f",{forItems:t.mkHourMin(t.dataListsNew.SleepDatas.data_msg[0].sleepTotalTime)}),(function(e,i,r,o){return t._$s("38-"+o,"i",!(0==i&&0==e))?n("view",{key:t._$s(38,"f",{forIndex:r,key:i}),staticClass:t._$s("38-"+o,"sc","flex_data"),attrs:{_i:"38-"+o}},[n("view",{staticClass:t._$s("39-"+o,"sc","f_left"),attrs:{_i:"39-"+o}},[t._v(t._$s("39-"+o,"t0-0",t._s(e)))]),n("view",{staticClass:t._$s("40-"+o,"sc","f_right"),attrs:{_i:"40-"+o}},[n("text",{staticClass:t._$s("41-"+o,"sc","icon"),attrs:{_i:"41-"+o}},[t._v(t._$s("41-"+o,"t0-0",t._s(0==i?"\u65f6":"\u5206")))])])]):t._e()})),0):t._e()]),n("view",{staticClass:t._$s(42,"sc","time"),attrs:{_i:42}},[t._v(t._$s(42,"t0-0",t._s(t.dataListsNew.SleepDatas.data_msg?t.dataListsNew.SleepDatas.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(43,"sc","bg"),attrs:{_i:43}},[n("image",{attrs:{src:t._$s(44,"a-src",i("200d")),_i:44}})])]),n("view",{staticClass:t._$s(45,"sc","content-item"),attrs:{_i:45},on:{click:function(e){return t.toPageCom("bloodGlucose")}}},[n("view",{staticClass:t._$s(46,"sc","title"),attrs:{_i:46}},[t._v(t._$s(46,"t0-0",t._s(t.getNameByKey("bloodGlucose"))))]),n("view",{staticClass:t._$s(47,"sc","time"),attrs:{_i:47}},[t._v(t._$s(47,"t0-0",t._s(t.dataListsNew.bloodGlucose.data_msg?t.dataListsNew.bloodGlucose.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(48,"sc","date"),attrs:{_i:48}},[n("view",{staticClass:t._$s(49,"sc","flex_data"),attrs:{_i:49}},[n("view",{staticClass:t._$s(50,"sc","f_left"),attrs:{_i:50}},[t._v(t._$s(50,"t0-0",t._s(t.dataListsNew.bloodGlucose.data_msg||"--")))]),n("view",{staticClass:t._$s(51,"sc","f_right"),attrs:{_i:51}},[n("text",{staticClass:t._$s(52,"sc","icon"),attrs:{_i:52}})])])]),n("view",{staticClass:t._$s(53,"sc","bg"),attrs:{_i:53}},[n("image",{attrs:{src:t._$s(54,"a-src",i("d9b2")),_i:54}})])]),n("view",{staticClass:t._$s(55,"sc","content-item"),attrs:{_i:55},on:{click:function(e){return t.toPageCom("bloodOxygen")}}},[n("view",{staticClass:t._$s(56,"sc","title"),attrs:{_i:56}},[t._v(t._$s(56,"t0-0",t._s(t.getNameByKey("bloodOxygen"))))]),n("view",{staticClass:t._$s(57,"sc","time"),attrs:{_i:57}},[t._v(t._$s(57,"t0-0",t._s(t.dataListsNew.bloodOxygen.data_msg?t.dataListsNew.bloodOxygen.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(58,"sc","date"),attrs:{_i:58}},[n("view",{staticClass:t._$s(59,"sc","flex_data"),attrs:{_i:59}},[n("view",{staticClass:t._$s(60,"sc","f_left"),attrs:{_i:60}},[t._v(t._$s(60,"t0-0",t._s(t.dataListsNew.bloodOxygen.data_msg?t.dataListsNew.bloodOxygen.data_msg[0]:"--")))]),n("view",{staticClass:t._$s(61,"sc","f_right"),attrs:{_i:61}},[n("text",{staticClass:t._$s(62,"sc","icon"),attrs:{_i:62}})])])]),n("view",{staticClass:t._$s(63,"sc","bg"),attrs:{_i:63}},[n("image",{attrs:{src:t._$s(64,"a-src",i("5b47")),_i:64}})])]),n("view",{staticClass:t._$s(65,"sc","content-item"),attrs:{_i:65},on:{click:function(e){return t.toPageCom("bloodPressure")}}},[n("view",{staticClass:t._$s(66,"sc","title"),attrs:{_i:66}},[t._v(t._$s(66,"t0-0",t._s(t.getNameByKey("bloodPressure"))))]),n("view",{staticClass:t._$s(67,"sc","time"),attrs:{_i:67}},[t._v(t._$s(67,"t0-0",t._s(t.dataListsNew.bloodPressure.data_msg?t.dataListsNew.bloodPressure.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(68,"sc","date"),attrs:{_i:68}},[n("view",{staticClass:t._$s(69,"sc","flex_data"),attrs:{_i:69}},[n("view",{staticClass:t._$s(70,"sc","f_left"),attrs:{_i:70}},[t._v(t._$s(70,"t0-0",t._s(t.dataListsNew.bloodPressure.data_msg?t.dataListsNew.bloodPressure.data_msg.bloodPressureHigh+"/"+t.dataListsNew.bloodPressure.data_msg.bloodPressureLow:"--")))]),n("view",{staticClass:t._$s(71,"sc","f_right"),attrs:{_i:71}},[n("text",{staticClass:t._$s(72,"sc","icon"),attrs:{_i:72}})])])]),n("view",{staticClass:t._$s(73,"sc","bg"),attrs:{_i:73}},[n("image",{attrs:{src:t._$s(74,"a-src",i("cde3")),_i:74}})])]),n("view",{staticClass:t._$s(75,"sc","content-item"),attrs:{_i:75},on:{click:function(e){return t.toPageCom("bodyTemperature")}}},[n("view",{staticClass:t._$s(76,"sc","title"),attrs:{_i:76}},[t._v(t._$s(76,"t0-0",t._s(t.getNameByKey("bodyTemperature"))))]),n("view",{staticClass:t._$s(77,"sc","time"),attrs:{_i:77}},[t._v(t._$s(77,"t0-0",t._s(t.dataListsNew.bodyTemperature.data_msg?t.dataListsNew.bodyTemperature.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(78,"sc","date"),attrs:{_i:78}},[n("view",{staticClass:t._$s(79,"sc","flex_data"),attrs:{_i:79}},[n("view",{staticClass:t._$s(80,"sc","f_left"),attrs:{_i:80}},[t._v(t._$s(80,"t0-0",t._s(t.dataListsNew.bodyTemperature.data_msg?t.dataListsNew.bodyTemperature.data_msg:"--")))]),n("view",{staticClass:t._$s(81,"sc","f_right"),attrs:{_i:81}},[n("text",{staticClass:t._$s(82,"sc","icon"),attrs:{_i:82}})])])]),n("view",{staticClass:t._$s(83,"sc","bg"),attrs:{_i:83}},[n("image",{attrs:{src:t._$s(84,"a-src",i("7c4e")),_i:84}})])]),n("view",{staticClass:t._$s(85,"sc","content-item"),attrs:{_i:85},on:{click:function(e){return t.toPageCom("pulseReat")}}},[n("view",{staticClass:t._$s(86,"sc","title"),attrs:{_i:86}},[t._v(t._$s(86,"t0-0",t._s(t.getNameByKey("pulseReat"))))]),n("view",{staticClass:t._$s(87,"sc","time"),attrs:{_i:87}},[t._v(t._$s(87,"t0-0",t._s(t.dataListsNew.pulseReat.data_msg?t.dataListsNew.pulseReat.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(88,"sc","date"),attrs:{_i:88}},[n("view",{staticClass:t._$s(89,"sc","flex_data"),attrs:{_i:89}},[n("view",{staticClass:t._$s(90,"sc","f_left"),attrs:{_i:90}},[t._v(t._$s(90,"t0-0",t._s(t.dataListsNew.pulseReat.data_msg?t.dataListsNew.pulseReat.data_msg[0]:"--")))]),n("view",{staticClass:t._$s(91,"sc","f_right"),attrs:{_i:91}},[n("text",{staticClass:t._$s(92,"sc","icon"),attrs:{_i:92}})])])]),n("view",{staticClass:t._$s(93,"sc","bg"),attrs:{_i:93}},[n("image",{attrs:{src:t._$s(94,"a-src",i("ad50")),_i:94}})])]),n("view",{staticClass:t._$s(95,"sc","content-item"),attrs:{_i:95},on:{click:function(e){return t.toPageCom("ECGData")}}},[n("view",{staticClass:t._$s(96,"sc","title"),attrs:{_i:96}}),n("view",{staticClass:t._$s(97,"sc","time"),attrs:{_i:97}},[t._v(t._$s(97,"t0-0",t._s(t.dataListsNew.ECGData.data_msg?t.dataListsNew.ECGData.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(98,"sc","date"),attrs:{_i:98}},[n("view",{staticClass:t._$s(99,"sc","flex_data"),attrs:{_i:99}},[n("view",{staticClass:t._$s(100,"sc","f_left"),attrs:{_i:100}},[t._v(t._$s(100,"t0-0",t._s(t.dataListsNew.ECGData.data_msg?t.dataListsNew.ECGData.data_msg.heartRate||t.dataListsNew.ECGData.data_msg.meanHeartRate:"--")))]),n("view",{staticClass:t._$s(101,"sc","f_right"),attrs:{_i:101}},[n("text",{staticClass:t._$s(102,"sc","icon"),attrs:{_i:102}})])])]),n("view",{staticClass:t._$s(103,"sc","bg"),attrs:{_i:103}},[n("image",{attrs:{src:t._$s(104,"a-src",i("f6fb")),_i:104}})])]),n("view",{staticClass:t._$s(105,"sc","content-item"),attrs:{_i:105},on:{click:function(e){return t.toPageCom("bodyData")}}},[n("view",{staticClass:t._$s(106,"sc","title"),attrs:{_i:106}}),n("view",{staticClass:t._$s(107,"sc","time"),attrs:{_i:107}},[t._v(t._$s(107,"t0-0",t._s(t.dataListsNew.bodyData.data_msg?t.dataListsNew.bodyData.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(108,"sc","date"),attrs:{_i:108}},[n("view",{staticClass:t._$s(109,"sc","flex_data"),attrs:{_i:109}},[n("view",{staticClass:t._$s(110,"sc","f_left"),attrs:{_i:110}},[t._v(t._$s(110,"t0-0",t._s(t.dataListsNew.bodyData.data_msg?t.dataListsNew.bodyData.data_msg.BMI:"--")))]),n("view",{staticClass:t._$s(111,"sc","f_right"),attrs:{_i:111}},[n("text",{staticClass:t._$s(112,"sc","icon"),attrs:{_i:112}})])])]),n("view",{staticClass:t._$s(113,"sc","bg"),attrs:{_i:113}},[n("image",{attrs:{src:t._$s(114,"a-src",i("741b")),_i:114}})])]),n("view",{staticClass:t._$s(115,"sc","content-item"),attrs:{_i:115},on:{click:function(e){return t.toPageCom("bloodLiquid")}}},[n("view",{staticClass:t._$s(116,"sc","title"),attrs:{_i:116}}),n("view",{staticClass:t._$s(117,"sc","time"),attrs:{_i:117}},[t._v(t._$s(117,"t0-0",t._s(t.dataListsNew.bloodLiquid.data_msg?t.dataListsNew.bloodLiquid.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(118,"sc","date"),attrs:{_i:118}},[n("view",{staticClass:t._$s(119,"sc","flex_data"),attrs:{_i:119}},[n("view",{staticClass:t._$s(120,"sc","f_left"),attrs:{_i:120}},[t._v(t._$s(120,"t0-0",t._s(t.dataListsNew.bloodLiquid.data_msg?(t.dataListsNew.bloodLiquid.data_msg.uricAcidVal/10).toFixed(2):"--")))]),n("view",{staticClass:t._$s(121,"sc","f_right"),attrs:{_i:121}},[n("text",{staticClass:t._$s(122,"sc","icon"),attrs:{_i:122}})])])]),n("view",{staticClass:t._$s(123,"sc","bg"),attrs:{_i:123}},[n("image",{attrs:{src:t._$s(124,"a-src",i("8718")),_i:124}})])]),n("view",{staticClass:t._$s(125,"sc","content-item"),attrs:{_i:125},on:{click:function(e){return t.toPageCom("bloodLiquidAll")}}},[n("view",{staticClass:t._$s(126,"sc","title"),attrs:{_i:126}},[t._v(t._$s(126,"t0-0",t._s(t.getNameByKey("bloodLiquidAll"))))]),n("view",{staticClass:t._$s(127,"sc","time"),attrs:{_i:127}},[t._v(t._$s(127,"t0-0",t._s(t.dataListsNew.bloodLiquid.data_msg?t.dataListsNew.bloodLiquid.device_real_time+"\u66f4\u65b0":"--")))]),n("view",{staticClass:t._$s(128,"sc","gap-content"),attrs:{_i:128}},[n("view",{staticClass:t._$s(129,"sc","gap-item"),attrs:{_i:129}},[n("view",{staticClass:t._$s(130,"sc","title"),attrs:{_i:130}}),n("view",{staticClass:t._$s(131,"sc","num"),attrs:{_i:131}},[t._v(t._$s(131,"t0-0",t._s(t.dataListsNew.bloodLiquid.data_msg?(t.dataListsNew.bloodLiquid.data_msg.cholesterol/100).toFixed(2):"--"))),n("text",{staticClass:t._$s(132,"sc","icon"),attrs:{_i:132}})])]),n("view",{staticClass:t._$s(133,"sc","gap-item"),attrs:{_i:133}},[n("view",{staticClass:t._$s(134,"sc","title"),attrs:{_i:134}}),n("view",{staticClass:t._$s(135,"sc","num"),attrs:{_i:135}},[t._v(t._$s(135,"t0-0",t._s(t.dataListsNew.bloodLiquid.data_msg?(t.dataListsNew.bloodLiquid.data_msg.triacylglycerol/100).toFixed(2):"--"))),n("text",{staticClass:t._$s(136,"sc","icon"),attrs:{_i:136}})])]),n("view",{staticClass:t._$s(137,"sc","gap-item"),attrs:{_i:137}},[n("view",{staticClass:t._$s(138,"sc","title"),attrs:{_i:138}}),n("view",{staticClass:t._$s(139,"sc","num"),attrs:{_i:139}},[t._v(t._$s(139,"t0-0",t._s(t.dataListsNew.bloodLiquid.data_msg?(t.dataListsNew.bloodLiquid.data_msg.highDensity/100).toFixed(2):"--"))),n("text",{staticClass:t._$s(140,"sc","icon"),attrs:{_i:140}})])]),n("view",{staticClass:t._$s(141,"sc","gap-item"),attrs:{_i:141}},[n("view",{staticClass:t._$s(142,"sc","title"),attrs:{_i:142}}),n("view",{staticClass:t._$s(143,"sc","num"),attrs:{_i:143}},[t._v(t._$s(143,"t0-0",t._s(t.dataListsNew.bloodLiquid.data_msg?(t.dataListsNew.bloodLiquid.data_msg.lowDensity/100).toFixed(2):"--"))),n("text",{staticClass:t._$s(144,"sc","icon"),attrs:{_i:144}})])])])])])])])])],1)},o=[]},df3e:function(t,e,i){"use strict";i.r(e);var n=i("9f2c"),r=i("0463");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"ec1eac94",null,!1,n["a"],void 0);e["default"]=s.exports},df7d:function(t,e,i){t.exports=i.p+"static/image/kalvli.jpg"},e058:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={}},e06b:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("c053")),o=r.default;e.default=o},e0c6:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0}}},e111:function(t,e,i){"use strict";i.r(e);var n=i("7456"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},e173:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=(n(i("70ff")),n(i("4a05")),i("f859")),a=(n(i("bd30")),i("8f59"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}var l={name:"home-data",props:{deviceList:{default:[]},dataListsNew:{default:[]},Activedevice:{default:""}},data:function(){return{keyNameMap:{bloodGlucose:"\u8840\u7cd6",sleep:"\u7761\u7720",bloodOxygen:"\u8840\u6c27",bloodPressure:"\u8840\u538b",bloodLiquid:"\u8840\u8102",meiTuo:"\u6885\u8131",pulseReat:"\u5fc3\u7387",updataDate:"\u66f4\u65b0\u65f6\u95f4",bodyData:"\u8eab\u4f53\u6210\u5206",bodyTemperature:"\u4f53\u6e29",bloodLiquidAll:"\u8840\u8102"},dataLists:{},name:"",name1:"",name2:""}},mounted:function(){this.name2=this.getActiceDevice.device_id},onLoad:function(){this.onRefresh(),setTimeout((function(){var e=plus.ios.import("AVAudioSession"),i=e.sharedInstance();i.requestRecordPermission((function(){t("log","\u7533\u8bf7\u9ea6\u514b\u98ce\u6743\u9650"," at components/home-data/home-data.vue:360")}))}),1e3),this.urlLink="/hybrid/html/ai.html"},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,a.mapGetters)({getActiceDevice:"api/getActiceDevice"})),onReady:function(){var t=getCurrentPages(),e=t[t.length-1],i=e.$getAppWebview();setTimeout((function(){var t=i.children()[0];t.setStyle({top:0,right:0,height:uni.getSystemInfoSync().windowHeight,width:uni.getSystemInfoSync().windowWidth-660})}),100)},methods:{getArrMaxValue:o.getArrMaxValue,onRefresh:function(e,i){var n=this;t("log","\u624b\u9009"," at components/home-data/home-data.vue:394"),this.$store.dispatch("api/getIndexData",{device_id:this.getActiceDevice.device_id,need_arr:["pulseReat","bloodOxygen","bloodPressure","bloodGlucose","meiTuo","bodyTemperature","bloodLiquid","stepIndex","ECGData","SleepDatas","bodyData"]}).then((function(t){for(var e=0;e<t.length;e++)n.dataListsNew[t[e].type]=t[e],n.dataListsNew[t[e].name]=n.getNameByKey(t[e].type);n.urlLink="/hybrid/html/ai.html?data=".concat(JSON.stringify(t)),n.$refs.paging.complete()})),this.$store.dispatch("api/getBindUserDeviceId").then((function(t){n.$emit("deviceGet",t)}))},mkHourMin:function(t){return t<60?[0,t]:[Math.floor(t/60),t%60]},toPage:function(t){uni.navigateTo({url:t})},getNameByKey:function(t){return this.keyNameMap[t]||"Key not found"},formatDateTime:function(t){if(t)return t.replace(/-/g," ").replace(" "," ",2).replace(" ",":")},toPageCom:function(t){this.$emit("pageDetail",t),this.$store.commit("api/setpageType",t)},outlogin:function(){this.$store.commit("api/setApiToken",""),this.$store.commit("api/setActiceDevice",""),this.$store.commit("api/setUserInfo",{}),uni.reLaunch({url:"/pages/login/login"})},changeDev:function(t){var e=this;this.name2=t.device_id,this.$store.commit("api/setActiceDevice",t),this.$store.dispatch("api/getUserInfo",{device_id:t.device_id}).then((function(t){e.$store.commit("api/setUserInfo",t)})),uni.reLaunch({url:"/pages/index/index"})}}};e.default=l}).call(this,i("f3b9")["default"])},e18d:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={tabs:{duration:300,list:function(){return[]},lineColor:"#3c9cff",activeStyle:function(){return{color:"#303133"}},inactiveStyle:function(){return{color:"#606266"}},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:function(){return{height:"44px"}},scrollable:!0,current:0,keyName:"name"}}},e1fb:function(t,e,i){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(i){return e.resolve(t()).then((function(){return i}))}),(function(i){return e.resolve(t()).then((function(){throw i}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/index/index",(function(){return Vue.extend(i("df3e").default)})),__definePage("pages/login/login",(function(){return Vue.extend(i("2c0c").default)})),__definePage("pages/index/detail",(function(){return Vue.extend(i("79fe").default)})),__definePage("pages/login/forget",(function(){return Vue.extend(i("484b").default)})),__definePage("pages/login/register",(function(){return Vue.extend(i("47ad").default)})),__definePage("pages/device/device",(function(){return Vue.extend(i("a9f6").default)})),__definePage("pages/my/my",(function(){return Vue.extend(i("5c6a").default)})),__definePage("pages/login/explain",(function(){return Vue.extend(i("09d7").default)})),__definePage("pages/index/echarts",(function(){return Vue.extend(i("e5c8").default)})),__definePage("pages/only_test/only_test",(function(){return Vue.extend(i("7f16").default)})),__definePage("pages/only_test/ot1",(function(){return Vue.extend(i("99b8").default)})),__definePage("pages/only_test/ot2",(function(){return Vue.extend(i("c799").default)})),__definePage("pages/only_test/ot3",(function(){return Vue.extend(i("2fe3").default)})),__definePage("pages/only_test/ot5",(function(){return Vue.extend(i("e232").default)}))},e232:function(t,e,i){"use strict";i.r(e);var n=i("9440"),r=i("65fc");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},e5c8:function(t,e,i){"use strict";i.r(e);var n=i("ec60"),r=i("543f");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);var a=i("828b"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"2a075076",null,!1,n["a"],void 0);e["default"]=s.exports},e667:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={gridItem:{name:null,bgColor:"transparent"}}},e6ca:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("127e")),o=n(i("7ca3")),a=n(i("ee10")),s=n(i("edca")),l=i("c93d"),u=i("42ca");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function d(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var h=null,f={name:"uqrcode",props:{canvasId:{type:String,required:!0},value:{type:[String,Number]},options:{type:Object,default:function(){return{}}},size:{type:[String,Number],default:200},sizeUnit:{type:String,default:"px"},fileType:{type:String,default:"png"},start:{type:Boolean,default:!0},auto:{type:Boolean,default:!0},hide:{type:Boolean,default:!1},type:{type:String,default:function(){return"normal"}},queue:{type:Boolean,default:!1},isQueueLoadImage:{type:Boolean,default:!1},loading:{type:Boolean,default:void 0},h5SaveIsDownload:{type:Boolean,default:!1},h5DownloadName:{type:String,default:"uQRCode"}},data:function(){return{canvas:void 0,canvasType:void 0,canvasContext:void 0,makeDelegate:void 0,drawDelegate:void 0,toTempFilePathDelegate:void 0,makeExecuted:!1,makeing:!1,drawing:!1,isError:!1,error:void 0,isH5Save:!1,tempFilePath:"",templateOptions:{size:0,width:0,height:0,canvasWidth:0,canvasHeight:0,canvasTransform:"",canvasDisplay:!1},uqrcodeOptions:{data:""},plugins:[],makeingPattern:[[[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0]],[[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!0,!0,!0,!1,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!1,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!1,!0,!0,!0]],[[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!1,!1,!1],[!0,!0,!0,!0,!0,!0,!0,!1,!1,!1],[!0,!0,!0,!0,!0,!0,!0,!1,!1,!1],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!0,!0,!0]],[[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!1,!1,!1,!1,!1,!1,!1],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0],[!0,!0,!0,!0,!0,!0,!0,!0,!0,!0]]]}},watch:{type:{handler:function(t){["2d"].includes(t)?this.canvasType=t:this.canvasType=void 0},immediate:!0},value:{handler:function(){this.auto&&this.remake()}},size:{handler:function(){this.auto&&this.remake()}},options:{handler:function(){this.auto&&t("log","3"," at uni_modules/Sansnn-uQRCode/components/uqrcode/uqrcode.vue:312")},deep:!0},makeing:{handler:function(t){t||"function"===typeof this.toTempFilePathDelegate&&this.toTempFilePathDelegate()}}},mounted:function(){this.templateOptions.size="rpx"==this.sizeUnit?uni.upx2px(this.size):this.size,this.templateOptions.width=this.templateOptions.size,this.templateOptions.height=this.templateOptions.size,this.templateOptions.canvasWidth=this.templateOptions.size,this.templateOptions.canvasHeight=this.templateOptions.size,this.canvasType,this.templateOptions.canvasTransform="scale(".concat(this.templateOptions.size/this.templateOptions.canvasWidth,", ").concat(this.templateOptions.size/this.templateOptions.canvasHeight,")"),this.start&&this.make()},methods:{getTemplateOptions:function(){var t="rpx"==this.sizeUnit?uni.upx2px(this.size):this.size;return p(this.templateOptions,{size:t,width:t,height:t})},getUqrcodeOptions:function(){return p(this.options,{data:String(this.value),size:Number(this.templateOptions.size)})},resetCanvas:function(t){var e=this;this.templateOptions.canvasDisplay=!1,this.$nextTick((function(){e.templateOptions.canvasDisplay=!0,e.$nextTick((function(){t&&t()}))}))},draw:function(){var e=arguments,i=this;return(0,a.default)(r.default.mark((function n(){var o,a,u,c;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(o=e.length>0&&void 0!==e[0]?e[0]:{},a=e.length>1&&void 0!==e[1]&&e[1],"function"!=typeof o.success&&(o.success=function(){}),"function"!=typeof o.fail&&(o.fail=function(){}),"function"!=typeof o.complete&&(o.complete=function(){}),!i.drawing){n.next=11;break}if(a){n.next=9;break}return i.drawDelegate=function(){i.draw(o,!0)},n.abrupt("return");case 9:n.next=12;break;case 11:i.drawing=!0;case 12:if(i.canvasId){n.next=19;break}return t("error","[uQRCode]: canvasId must be set!"," at uni_modules/Sansnn-uQRCode/components/uqrcode/uqrcode.vue:406"),i.isError=!0,i.drawing=!1,o.fail({errMsg:"[uQRCode]: canvasId must be set!"}),o.complete({errMsg:"[uQRCode]: canvasId must be set!"}),n.abrupt("return");case 19:if(i.value){n.next=26;break}return t("error","[uQRCode]: value must be set!"," at uni_modules/Sansnn-uQRCode/components/uqrcode/uqrcode.vue:418"),i.isError=!0,i.drawing=!1,o.fail({errMsg:"[uQRCode]: value must be set!"}),o.complete({errMsg:"[uQRCode]: value must be set!"}),n.abrupt("return");case 26:i.templateOptions=i.getTemplateOptions(),i.uqrcodeOptions=i.getUqrcodeOptions(),"string"===typeof i.uqrcodeOptions.errorCorrectLevel&&(i.uqrcodeOptions.errorCorrectLevel=s.default.errorCorrectLevel[i.uqrcodeOptions.errorCorrectLevel]),"undefined"===typeof i.options.useDynamicSize&&(i.uqrcodeOptions.useDynamicSize=!0),u=h=new s.default,i.plugins.forEach((function(t){return u.register(t.plugin)})),u.setOptions(i.uqrcodeOptions),u.make(),c=null,"2d"===i.canvasType?(c=i.canvasContext=uni.createCanvasContext(i.canvasId,i),i.templateOptions.canvasWidth=u.dynamicSize,i.templateOptions.canvasHeight=u.dynamicSize,i.templateOptions.canvasTransform="scale(".concat(i.templateOptions.size/i.templateOptions.canvasWidth,", ").concat(i.templateOptions.size/i.templateOptions.canvasHeight,")"),u.loadImage=i.getLoadImage((function(e){return new Promise((function(i,n){if(e.startsWith("http"))uni.getImageInfo({src:e,success:function(t){i(t.path)},fail:function(t){n(t)}});else{if(e.startsWith("."))throw t("error","[uQRCode]: \u672c\u5730\u56fe\u7247\u8def\u5f84\u4ec5\u652f\u6301\u7edd\u5bf9\u8def\u5f84\uff01"," at uni_modules/Sansnn-uQRCode/components/uqrcode/uqrcode.vue:529"),new Error("[uQRCode]: local image path only supports absolute path!");i(e)}}))}))):(c=i.canvasContext=uni.createCanvasContext(i.canvasId,i),i.templateOptions.canvasWidth=u.dynamicSize,i.templateOptions.canvasHeight=u.dynamicSize,i.templateOptions.canvasTransform="scale(".concat(i.templateOptions.size/i.templateOptions.canvasWidth,", ").concat(i.templateOptions.size/i.templateOptions.canvasHeight,")"),u.loadImage=i.getLoadImage((function(e){return new Promise((function(i,n){if(e.startsWith("http"))uni.getImageInfo({src:e,success:function(t){i(t.path)},fail:function(t){n(t)}});else{if(e.startsWith("."))throw t("error","[uQRCode]: \u672c\u5730\u56fe\u7247\u8def\u5f84\u4ec5\u652f\u6301\u7edd\u5bf9\u8def\u5f84\uff01"," at uni_modules/Sansnn-uQRCode/components/uqrcode/uqrcode.vue:562"),new Error("[uQRCode]: local image path only supports absolute path!");i(e)}}))}))),u.canvasContext=c,setTimeout((function(){var e,n=i.plugins.find((function(t){return t.name==u.style})),r=n?n.drawCanvas:"drawCanvas";e=i.queue?function(){return l.queueDraw.exec((function(){return u[r]()}))}:function(){return u[r]()},e().then((function(){if(i.drawDelegate){var t=i.drawDelegate;i.drawDelegate=void 0,t()}else i.drawing=!1,o.success()})).catch((function(e){if(t("log",e," at uni_modules/Sansnn-uQRCode/components/uqrcode/uqrcode.vue:634"),i.drawDelegate){var n=i.drawDelegate;i.drawDelegate=void 0,n()}else i.drawing=!1,i.isError=!0,o.fail(e)})).finally((function(){o.complete()}))}),300);case 38:case"end":return n.stop()}}),n)})))()},make:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.makeExecuted=!0,this.makeing=!0,this.isError=!1,"function"!=typeof e.success&&(e.success=function(){}),"function"!=typeof e.fail&&(e.fail=function(){}),"function"!=typeof e.complete&&(e.complete=function(){}),this.resetCanvas((function(){clearTimeout(t.makeDelegate),t.makeDelegate=setTimeout((function(){t.draw({success:function(){setTimeout((function(){e.success(),t.complete(!0)}),300)},fail:function(i){e.fail(i),t.error=i,t.complete(!1,i.errMsg)},complete:function(){e.complete(),t.makeing=!1}})}),300)}))},remake:function(t){this.$emit("change"),this.make(t)},complete:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";t?this.$emit("complete",{success:t}):this.$emit("complete",{success:t,errMsg:e})},toTempFilePath:function(){var e=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("function"!=typeof i.success&&(i.success=function(){}),"function"!=typeof i.fail&&(i.fail=function(){}),"function"!=typeof i.complete&&(i.complete=function(){}),!this.makeExecuted){t("error","[uQRCode]: make() \u65b9\u6cd5\u4ece\u672a\u8c03\u7528\uff01\u8bf7\u5148\u6210\u529f\u8c03\u7528 make() \u540e\u518d\u8fdb\u884c\u64cd\u4f5c\u3002"," at uni_modules/Sansnn-uQRCode/components/uqrcode/uqrcode.vue:729");var n={errMsg:"[uQRCode]: make() method has never been executed! please execute make() successfully before operating."};return i.fail(n),void i.complete(n)}if(this.isError)return i.fail(this.error),void i.complete(this.error);this.makeing?this.toTempFilePathDelegate=function(){e.toTempFilePath(i)}:(this.toTempFilePathDelegate=null,"2d"===this.canvasType||uni.canvasToTempFilePath({canvasId:this.canvasId,fileType:this.fileType,width:Number(this.templateOptions.canvasWidth),height:Number(this.templateOptions.canvasHeight),destWidth:Number(this.templateOptions.size),destHeight:Number(this.templateOptions.size),success:function(t){i.success(t)},fail:function(t){i.fail(t)},complete:function(){i.complete()}},this))},save:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"function"!=typeof e.success&&(e.success=function(){}),"function"!=typeof e.fail&&(e.fail=function(){}),"function"!=typeof e.complete&&(e.complete=function(){}),this.toTempFilePath({success:function(i){"2d"===t.canvasType||uni.saveImageToPhotosAlbum({filePath:i.tempFilePath,success:function(t){e.success(t)},fail:function(t){e.fail(t)},complete:function(){e.complete()}})},fail:function(t){e.fail(t),e.complete(t)}})},onClick:function(t){this.$emit("click",t)},getInstance:function(){return h},registerStyle:function(e){if("style"!=e.Type)return t("warn","[uQRCode]: registerStyle \u4ec5\u652f\u6301\u6ce8\u518c style \u7c7b\u578b\u7684\u6269\u5c55\uff01"," at uni_modules/Sansnn-uQRCode/components/uqrcode/uqrcode.vue:931"),{errMsg:"registerStyle \u4ec5\u652f\u6301\u6ce8\u518c style \u7c7b\u578b\u7684\u6269\u5c55\uff01"};"function"===typeof e&&this.plugins.push({plugin:e,name:e.Name,drawCanvas:e.DrawCanvas})},getLoadImage:function(t){var e=this;return"function"==typeof t?function(i){return e.isQueueLoadImage?l.queueLoadImage.exec((function(){return new Promise((function(e,n){setTimeout((function(){var r=u.cacheImageList.find((function(t){return t.src==i}));r?e(r.img):t(i).then((function(t){u.cacheImageList.push({src:i,img:t}),e(t)})).catch((function(t){n(t)}))}),10)}))})):t(i)}:function(t){return Promise.resolve(t)}}}};function p(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var r in t=n?e:d({},e),i){var o=i[r];void 0!=o&&(o.constructor==Object?t[r]=this.deepReplace(t[r],o):o.constructor!=String||o?t[r]=o:t[r]=t[r])}return t}e.default=f}).call(this,i("f3b9")["default"])},e6db:function(t,e,i){var n=i("3b2d")["default"];t.exports=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},e72a:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("127e")),o=n(i("ee10")),a=n(i("cf91")),s=n(i("cc03")),l={props:{usePageScroll:{type:Boolean,default:a.default.gc("usePageScroll",!1)},scrollable:{type:Boolean,default:a.default.gc("scrollable",!0)},showScrollbar:{type:Boolean,default:a.default.gc("showScrollbar",!0)},scrollX:{type:Boolean,default:a.default.gc("scrollX",!1)},scrollToTopBounceEnabled:{type:Boolean,default:a.default.gc("scrollToTopBounceEnabled",!1)},scrollToBottomBounceEnabled:{type:Boolean,default:a.default.gc("scrollToBottomBounceEnabled",!0)},scrollWithAnimation:{type:Boolean,default:a.default.gc("scrollWithAnimation",!1)},scrollIntoView:{type:String,default:a.default.gc("scrollIntoView","")}},data:function(){return{scrollTop:0,oldScrollTop:0,scrollViewStyle:{},scrollViewContainerStyle:{},scrollViewInStyle:{},pageScrollTop:-1,scrollEnable:!0,privateScrollWithAnimation:-1,cacheScrollNodeHeight:-1,superContentHeight:0}},watch:{oldScrollTop:function(t){!this.usePageScroll&&this._scrollTopChange(t,!1)},pageScrollTop:function(t){this.usePageScroll&&this._scrollTopChange(t,!0)},usePageScroll:{handler:function(t){this.loaded&&this.autoHeight&&this._setAutoHeight(!t)},immediate:!0},finalScrollTop:function(t){this.renderPropScrollTop=t<6?0:10}},computed:{finalScrollWithAnimation:function(){return-1!==this.privateScrollWithAnimation?1===this.privateScrollWithAnimation:this.scrollWithAnimation},finalScrollViewStyle:function(){return 1!=this.superContentZIndex&&(this.scrollViewStyle["z-index"]=this.superContentZIndex,this.scrollViewStyle["position"]="relative"),this.scrollViewStyle},finalScrollTop:function(){return this.usePageScroll?this.pageScrollTop:this.oldScrollTop},finalIsOldWebView:function(){return this.isOldWebView&&!this.usePageScroll},finalScrollable:function(){return this.scrollable&&!this.usePageScroll&&this.scrollEnable&&(!!this.refresherCompleteScrollable||this.refresherStatus!==s.default.Refresher.Complete)&&(!!this.refresherRefreshingScrollable||this.refresherStatus!==s.default.Refresher.Loading)}},methods:{scrollToTop:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.useChatRecordMode&&i&&!this.isChatRecordModeAndNotInversion?this.scrollToBottom(t,!1):this.$nextTick((function(){e._scrollToTop(t,!1)}))},scrollToBottom:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.useChatRecordMode&&i&&!this.isChatRecordModeAndNotInversion?this.scrollToTop(t,!1):this.$nextTick((function(){e._scrollToBottom(t)}))},scrollIntoViewById:function(t,e,i){this._scrollIntoView(t,e,i)},scrollIntoViewByNodeTop:function(t,e,i){var n=this;this.scrollTop=this.oldScrollTop,this.$nextTick((function(){n._scrollIntoViewByNodeTop(t,e,i)}))},scrollToY:function(t,e,i){var n=this;this.scrollTop=this.oldScrollTop,this.$nextTick((function(){n._scrollToY(t,e,i)}))},scrollIntoViewByIndex:function(t,e,i){var n=this;t>=this.realTotalData.length?a.default.consoleErr("\u5f53\u524d\u6eda\u52a8\u7684index\u8d85\u51fa\u5df2\u6e32\u67d3\u5217\u8868\u957f\u5ea6\uff0c\u8bf7\u5148\u901a\u8fc7refreshToPage\u52a0\u8f7d\u5230\u5bf9\u5e94index\u9875\u5e76\u7b49\u5f85\u6e32\u67d3\u6210\u529f\u540e\u518d\u8c03\u7528\u6b64\u65b9\u6cd5\uff01"):this.$nextTick((function(){if(n.finalUseVirtualList){var r=n.cellHeightMode===s.default.CellHeightMode.Fixed;a.default.delay((function(){if(n.finalUseVirtualList){var o=r?n.virtualCellHeight*t:n.virtualHeightCacheList[t].lastTotalHeight;n.scrollToY(o,e,i)}}),r?0:100)}}))},scrollIntoViewByView:function(t,e,i){this._scrollIntoView(t,e,i)},updatePageScrollTop:function(t){this.pageScrollTop=t},updatePageScrollTopHeight:function(){this._updatePageScrollTopOrBottomHeight("top")},updatePageScrollBottomHeight:function(){this._updatePageScrollTopOrBottomHeight("bottom")},updateLeftAndRightWidth:function(){var t=this;this.finalIsOldWebView&&this.$nextTick((function(){return t._updateLeftAndRightWidth(t.scrollViewContainerStyle,"zp-page")}))},updateScrollViewScrollTop:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._updatePrivateScrollWithAnimation(i),this.scrollTop=this.oldScrollTop,this.$nextTick((function(){e.scrollTop=t,e.oldScrollTop=e.scrollTop}))},_onScrollToUpper:function(){var t=this;this.$emit("scrolltoupper"),this.$emit("scrollTopChange",0),this.$nextTick((function(){t.oldScrollTop=0}))},_onScrollToLower:function(t){(!t.detail||!t.detail.direction||"bottom"===t.detail.direction)&&this._onLoadingMore(this.useChatRecordMode?"click":"toBottom")},_scrollToTop:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.usePageScroll?this.$nextTick((function(){uni.pageScrollTo({scrollTop:0,duration:e?100:0})})):(this._updatePrivateScrollWithAnimation(e),this.scrollTop=this.oldScrollTop,this.$nextTick((function(){t.scrollTop=0,t.oldScrollTop=t.scrollTop})))},_scrollToBottom:function(){var t=arguments,e=this;return(0,o.default)(r.default.mark((function i(){var n,o,a,s,l;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=!(t.length>0&&void 0!==t[0])||t[0],!e.usePageScroll){i.next=4;break}return e.$nextTick((function(){uni.pageScrollTo({scrollTop:Number.MAX_VALUE,duration:n?100:0})})),i.abrupt("return");case 4:return i.prev=4,e._updatePrivateScrollWithAnimation(n),i.next=8,e._getNodeClientRect(".zp-paging-container");case 8:return o=i.sent,i.next=11,e._getNodeClientRect(".zp-scroll-view");case 11:a=i.sent,s=o?o[0].height:0,l=a?a[0].height:0,s>l&&(e.scrollTop=e.oldScrollTop,e.$nextTick((function(){e.scrollTop=s-l+e.virtualPlaceholderTopHeight,e.oldScrollTop=e.scrollTop}))),i.next=19;break;case 17:i.prev=17,i.t0=i["catch"](4);case 19:case"end":return i.stop()}}),i,null,[[4,17]])})))()},_scrollIntoView:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;try{this.scrollTop=this.oldScrollTop,this.$nextTick((function(){e._getNodeClientRect("#"+t.replace("#",""),e.$parent).then((function(t){if(t){var o=t[0].top;e._scrollIntoViewByNodeTop(o,i,n),r&&r()}}))}))}catch(o){}},_scrollIntoViewByNodeTop:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.isChatRecordModeAndInversion?this._getNodeClientRect(".zp-scroll-view").then((function(r){r&&e._scrollToY(r[0].height-t,i,n,!0)})):this._scrollToY(t,i,n,!0)},_scrollToY:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this._updatePrivateScrollWithAnimation(n),a.default.delay((function(){if(e.usePageScroll){r&&-1!==e.pageScrollTop&&(t+=e.pageScrollTop);var o=t-i;uni.pageScrollTo({scrollTop:o,duration:n?100:0})}else r&&(t+=e.oldScrollTop),e.scrollTop=t-i}),10)},_scroll:function(t){this.$emit("scroll",t);var e=t.detail.scrollTop;this.finalUseVirtualList&&this._updateVirtualScroll(e,this.oldScrollTop-e),this.oldScrollTop=e;var i=t.detail.scrollHeight-this.oldScrollTop;!this.isIos&&this._checkScrolledToBottom(i)},_updatePrivateScrollWithAnimation:function(t){var e=this;this.privateScrollWithAnimation=t?1:0,a.default.delay((function(){return e.$nextTick((function(){e.privateScrollWithAnimation=-1}))}),100,"updateScrollWithAnimationDelay")},_doCheckScrollViewShouldFullHeight:function(t){var e=this;this.autoFullHeight&&this.usePageScroll&&this.isTotalChangeFromAddData?this.$nextTick((function(){e._checkScrollViewShouldFullHeight((function(i,n){e._preCheckShowNoMoreInside(t,i,n)}))})):this._preCheckShowNoMoreInside(t)},_checkScrollViewShouldFullHeight:function(t){var e=this;return(0,o.default)(r.default.mark((function i(){var n,o,a,s;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,e._getNodeClientRect(".zp-scroll-view");case 3:return n=i.sent,i.next=6,e._getNodeClientRect(".zp-paging-container-content");case 6:if(o=i.sent,n&&o){i.next=9;break}return i.abrupt("return");case 9:a=o[0].height,s=n[0].top,e.isAddedData&&a+s<=e.windowHeight?(e._setAutoHeight(!0,n),t(n,o)):(e._setAutoHeight(!1),t(null,null)),i.next=17;break;case 14:i.prev=14,i.t0=i["catch"](0),t(null,null);case 17:case"end":return i.stop()}}),i,null,[[0,14]])})))()},_updateCachedSuperContentHeight:function(){var t=this;return(0,o.default)(r.default.mark((function e(){var i;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t._getNodeClientRect(".z-paging-content");case 2:i=e.sent,i&&(t.superContentHeight=i[0].height);case 4:case"end":return e.stop()}}),e)})))()},_scrollTopChange:function(t,e){this.$emit("scrollTopChange",t),this.$emit("update:scrollTop",t),this._checkShouldShowBackToTop(t);var i=t>5?6:0;e&&this.wxsPageScrollTop!==i?this.wxsPageScrollTop=i:e||this.wxsScrollTop===i||(this.wxsScrollTop=i,i>6&&(this.scrollEnable=!0))},_updatePageScrollTopOrBottomHeight:function(t){var e=this;if(this.usePageScroll){this._doCheckScrollViewShouldFullHeight(this.realTotalData);var i=".zp-page-".concat(t),n="margin".concat(t.slice(0,1).toUpperCase()+t.slice(1)),r=this.safeAreaInsetBottom;this.$nextTick((function(){a.default.delay((function(){e._getNodeClientRect(i).then((function(i){if(i){var o=i[0].height;"bottom"===t?r&&(o+=e.safeAreaBottom):e.cacheTopHeight=o,e.$set(e.scrollViewStyle,n,"".concat(o,"px"))}else r&&e.$set(e.scrollViewStyle,n,"".concat(e.safeAreaBottom,"px"))}))}),0)}))}}}};e.default=l},e807:function(t,e,i){"use strict";e["a"]=function(t){(t.options.wxs||(t.options.wxs={}))["pagingWxs"]=function(t){var e=0,i=-1,n=-1;function r(t,e){var i=f(e),r={},o={};if(e.callMethod("_handleListTouchstart"),!i||(r=i.getState(),o=i.getDataset(),!p(t,i,0))){var a=r.isTouchEnded;r.oldMoveDis=0;var s=h(t),l=v(o.loading);r.startY=s.touchY,n=r.startY,r.lastTouch=s,!l&&a&&(r.isTouchmoving=!1),r.isTouchEnded=!1,e.callMethod("_handleRefresherTouchstart",s)}}function o(t,e){var i=h(t),n=f(e),r=n.getDataset(),o=r.refresherthreshold,a=r.refresherf2threshold,s=v(r.refresherf2enabled),l=(v(r.isios),n.getState()),c=v(r.watchtouchdirectionchange),m={},y=0,_=!1;if(c){m=d(t,n),y=m.currentDis,_=m.isDown;var x=_?"top":"bottom";_==l.oldTouchDirection&&_!=l.oldEmitedTouchDirection&&(e.callMethod("_handleTouchDirectionChange",{direction:x}),l.oldEmitedTouchDirection=_),l.oldTouchDirection=_}if(p(t,n,1))return g(l,e,!1),!0;if(!function(t,e,i,n){var r=n.refreshermaxangle,o=v(n.refresheraecc),a=i.lastTouch,s=i.reachMaxAngle,l=i.oldMoveDis;if(!a)return!0;if(r>=0&&r<=90&&a){if((!l||l<1)&&!o&&null!=s&&!s)return!1;var u=Math.abs(e.touchX-a.touchX),c=Math.abs(e.touchY-a.touchY),d=Math.sqrt(Math.pow(u,2)+Math.pow(c,2));if((u||c)&&u>1){var h=Math.asin(c/d)/Math.PI*180;if(h<r){var f=i.hitReachMaxAngleCount||0;return i.hitReachMaxAngleCount=++f,i.hitReachMaxAngleCount>2&&(i.lastTouch=e,i.reachMaxAngle=!1),!1}}}return i.lastTouch=e,!0}(0,i,l,r))return g(l,e,!1),!0;if(m=d(t,n),y=m.currentDis,_=m.isDown,y<0)return u(0,n,l,!1),g(l,e,!1),!0;if(_&&!l.disabledBounce)return e.callMethod("_handleScrollViewBounce",{bounce:!1}),l.disabledBounce=!0,g(l,e,_),!_;u(y,n,l,!1);var b=l.refresherStatus,w=v(r.oldistouchmoving),S=v(r.hastouchmove),C=l.isTouchmoving;return l.refresherStatus=y>=o?s&&y>a?"goF2":"releaseToRefresh":"default",C||(l.isTouchmoving=!0,C=!0),l.isTouchEnded&&(l.isTouchEnded=!1),S&&e.callMethod("_handleWxsPullingDown",{moveDis:y,diffDis:m.diffDis}),void 0!=b&&b==l.refresherStatus&&w==C||e.callMethod("_handleRefresherTouchmove",y,i),g(l,e,_),!_}function a(t,e){h(t);var i=f(e),n=(i.getDataset(),i.getState());if(n.disabledBounce&&(e.callMethod("_handleScrollViewBounce",{bounce:!0}),n.disabledBounce=!1),!p(t,i,2)&&(n.reachMaxAngle=!0,n.hitReachMaxAngleCount=0,n.fixedIsTopHitCount=0,n.isTouchmoving)){var r=n.refresherStatus,o=n.moveDis,a=i.getDataset().refresherthreshold,s=d(t,i).currentDis;if(s>=a&&"releaseToRefresh"===r||(n.isTouchmoving=!1),e.callMethod("_handleRefresherTouchend",s),n.isTouchEnded=!0,!(o<a)){var l=!1;s>=a&&(s=a,l=!0),u(s,i,n,l)}}}function s(){if(!navigator)return!1;if(-1!=i)return i;return i=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"].every((function(t){return navigator.userAgent.indexOf(t)<0})),i}var l=!1;function u(t,e,i,n){t=t||0,i.moveDis!=t&&(i.moveDis=t,c("translateY("+t+"px)",e,n,""))}function c(t,e,i,n){var r=e.getDataset();v(r.refreshernotransform)||(t="translateY(0px)"==t?"none":t,e.requestAnimationFrame((function(){var r={transform:t};i&&(r["transition"]="transform .1s linear"),n.length&&(r["transition"]=n),e.setStyle(r)})))}function d(t,i){var r=i.getState(),o=parseFloat(i.getDataset().refresherthreshold),a=parseFloat(i.getDataset().refresheroutrate),s=parseFloat(i.getDataset().refresherpullrate),l=h(t),u=r.startY&&"NaN"!=r.startY?r.startY:n,c=l.touchY-u,d=r.oldMoveDis||0;r.oldMoveDis=c;var f=c-d;return f>0&&(f*=s,e>o&&(f*=1-a)),f=f>100?f/100:f>20?f/2.2:f,e+=f,e=Math.max(0,e),{currentDis:e,diffDis:f,isDown:f>0}}function h(t){var e=t;return t.touches&&t.touches.length?e=t.touches[0]:t.changedTouches&&t.changedTouches.length?e=t.changedTouches[0]:t.datail&&t.datail!={}&&(e=t.datail),{touchX:e.clientX,touchY:e.clientY}}function f(t){var e=t.getState().currentIns;return e||t.callMethod("_handlePropUpdate"),e}function p(t,e,i){var n=e.getDataset(),r=e.getState(),o=v(n.loading),a=v(n.usechatrecordmode),s=v(n.refresherenabled),l=v(n.usecustomrefresher),u=v(n.usepagescroll),c=parseFloat(n.pagescrolltop),d=parseFloat(n.scrolltop),h=!1;var f=r.fixedIsTopHitCount||0;return h?(f++,f<=2&&(h=!1),r.fixedIsTopHitCount=f):r.fixedIsTopHitCount=0,o||a||!s||!l||u&&l&&c>5&&!h||!u&&l&&d>5&&!h}function g(t,e,i){var n=t.onPullingDown||!1;n!=i&&e.callMethod("_handleWxsPullingDownStatusChange",i),t.onPullingDown=i}function v(t){return t=("string"===typeof t?JSON.parse(t):t)||!1,1==t||"true"==t}return t.exports={touchstart:r,touchmove:o,touchend:a,mousedown:function(t,e){s()&&(r(t,e),l=!0)},mousemove:function(t,e){s()&&l&&o(t,e)},mouseup:function(t,e){s()&&(a(t,e),l=!1)},mouseleave:function(t,e){s()&&(l=!1)},propObserver:function(t,i,n,r){var o=n.getState()||{};o.currentIns=r;var a=r.getDataset();if(a.loading,t&&-1!=t.indexOf("end")){var s=t.split("end")[0];c("translateY(0px)",r,!1,s),o.moveDis=0,o.oldMoveDis=0,e=0}else if(t&&-1!=t.indexOf("begin")){var l=r.getDataset().refresherthreshold;u(l,r,o,!1)}}},t.exports}({exports:{}})}},e854:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:function(){}}}},e89b:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=n(i("b5b8")),a=n(i("ab6c")),s={data:function(){return{phoneData:"",passData:"",verCode:"",isRotate:!1,imgCode:"",captcha_id:"",img64:""}},components:{wInput:o.default,wButton:a.default},mounted:function(){r=this,this.getImgcode()},methods:{reset:function(){this.getImgcode()},getImgcode:function(){var t=this;this.$store.dispatch("api/code",{type:2}).then((function(e){t.img64=e.captcha_src,t.captcha_id=e.captcha_id}))},getVerCode:function(){var t=this;return this.imgCode?""==r.phoneData?(uni.showToast({icon:"none",position:"bottom",title:"\u624b\u673a\u53f7\u4e0d\u80fd\u4e3a\u7a7a"}),!1):(uni.showToast({icon:"none",position:"bottom",title:"\u9a8c\u8bc1\u7801\u53d1\u9001\u4e2d"}),void this.$store.dispatch("api/sendSms",{type:2,mobile:this.phoneData,captcha_id:this.captcha_id,captcha_code:this.imgCode}).then((function(e){t.$refs.runCode.$emit("runCode")}))):(uni.showToast({icon:"none",position:"bottom",title:"\u8bf7\u8f93\u5165\u56fe\u5f62\u9a8c\u8bc1\u7801"}),!1)},startRePass:function(){var t=this;return!this.isRotate&&(11!=this.phoneData.length?(uni.showToast({icon:"none",position:"bottom",title:"\u624b\u673a\u53f7\u4e0d\u6b63\u786e"}),!1):this.passData.length<6?(uni.showToast({icon:"none",position:"bottom",title:"\u5bc6\u7801\u4e0d\u6b63\u786e"}),!1):4!=this.verCode.length?(uni.showToast({icon:"none",position:"bottom",title:"\u9a8c\u8bc1\u7801\u4e0d\u6b63\u786e"}),!1):(r.isRotate=!0,setTimeout((function(){r.isRotate=!1}),3e3),void this.$store.dispatch("api/forgotPassword",{mobile:this.phoneData,password:this.passData,code:this.verCode}).then((function(e){t.back()}))))},back:function(){uni.navigateBack({delta:1})}}};e.default=s},e993:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.divide=p,e.enableBoundaryChecking=v,e.minus=f,e.plus=h,e.round=g,e.times=d;var r=n(i("c70d")),o=!0;function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return+parseFloat(Number(t).toPrecision(e))}function s(t){var e=t.toString().split(/[eE]/),i=(e[0].split(".")[1]||"").length-+(e[1]||0);return i>0?i:0}function l(t){if(-1===t.toString().indexOf("e"))return Number(t.toString().replace(".",""));var e=s(t);return e>0?a(Number(t)*Math.pow(10,e)):Number(t)}function u(e){o&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&t("warn","".concat(e," \u8d85\u51fa\u4e86\u7cbe\u5ea6\u9650\u5236\uff0c\u7ed3\u679c\u53ef\u80fd\u4e0d\u6b63\u786e")," at uni_modules/uview-ui/libs/function/digit.js:45")}function c(t,e){var i=(0,r.default)(t),n=i[0],o=i[1],a=i.slice(2),s=e(n,o);return a.forEach((function(t){s=e(s,t)})),s}function d(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(e.length>2)return c(e,d);var n=e[0],r=e[1],o=l(n),a=l(r),h=s(n)+s(r),f=o*a;return u(f),f/Math.pow(10,h)}function h(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(e.length>2)return c(e,h);var n=e[0],r=e[1],o=Math.pow(10,Math.max(s(n),s(r)));return(d(n,o)+d(r,o))/o}function f(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(e.length>2)return c(e,f);var n=e[0],r=e[1],o=Math.pow(10,Math.max(s(n),s(r)));return(d(n,o)-d(r,o))/o}function p(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(e.length>2)return c(e,p);var n=e[0],r=e[1],o=l(n),h=l(r);return u(o),u(h),d(o/h,a(Math.pow(10,s(r)-s(n))))}function g(t,e){var i=Math.pow(10,e),n=p(Math.round(Math.abs(d(t,i))),i);return t<0&&0!==n&&(n=d(n,-1)),n}function v(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];o=t}var m={times:d,plus:h,minus:f,divide:p,round:g,enableBoundaryChecking:v};e.default=m}).call(this,i("f3b9")["default"])},eab3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left"}}},eb51:function(t,e,i){"use strict";i.r(e);var n=i("bb5d"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},ebea:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={v:"2.0.37",version:"2.0.37",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc"},unit:"px"};e.default=n},ec50:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=n(i("1d9f")),a=n(i("0df4")),s=n(i("b0bf")),l=i("29c3");function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var d=function(t,e){var i={};return t.forEach((function(t){(0,l.isUndefined)(e[t])||(i[t]=e[t])})),i};e.default=function(t){return new Promise((function(e,i){var n,r=(0,o.default)((0,a.default)(t.baseURL,t.url),t.params),u={url:r,header:t.header,complete:function(n){t.fullPath=r,n.config=t;try{"string"===typeof n.data&&(n.data=JSON.parse(n.data))}catch(o){}(0,s.default)(e,i,n)}};if("UPLOAD"===t.method){delete u.header["content-type"],delete u.header["Content-Type"];var h={filePath:t.filePath,name:t.name};n=uni.uploadFile(c(c(c({},u),h),d(["files","timeout","formData"],t)))}else if("DOWNLOAD"===t.method)(0,l.isUndefined)(t.timeout)||(u.timeout=t.timeout),n=uni.downloadFile(u);else{n=uni.request(c(c({},u),d(["data","method","timeout","dataType","responseType","sslVerify","firstIpv4"],t)))}t.getTask&&t.getTask(n,t)}))}},ec60:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tmNavBar:i("a73c").default,lEchart:i("00c2").default,overview:i("64c5").default,cankao:i("8d63").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","body-style"),attrs:{_i:0}},[n("tm-nav-bar",{attrs:{"left-icon":"arrow-left",title:t.dataConfig[t.type].name,rightText:"\u5168\u90e8\u6570\u636e",_i:1},on:{clickLeft:t.back,clickRight:t.goPath}}),n("view",{staticClass:t._$s(2,"sc","flx jcsb ac"),attrs:{_i:2}},[n("view"),n("view",[t._v(t._$s(4,"t0-0",t._s(t.time)))])]),n("view",{staticClass:t._$s(5,"sc","flx"),attrs:{_i:5}},[n("view",{staticClass:t._$s(6,"sc","w-5"),attrs:{_i:6}},[n("l-echart",{ref:"chartRef",attrs:{_i:7},on:{finished:t.init}})],1),n("view",{staticClass:t._$s(8,"sc","w-5"),attrs:{_i:8}},[t._$s(9,"i","step"==t.type)?n("view",{staticClass:t._$s(9,"sc","flx total_box"),attrs:{_i:9}},[n("view",{staticClass:t._$s(10,"sc","distance b1"),attrs:{_i:10}},[n("view",{staticClass:t._$s(11,"sc","flx"),attrs:{_i:11}},[n("view",[t._v(t._$s(12,"t0-0",t._s(t.distance)))]),n("view")]),n("view"),n("view",{staticClass:t._$s(15,"sc","flx"),attrs:{_i:15}},[n("image",{attrs:{src:t._$s(16,"a-src",i("5bcc")),_i:16}})])]),n("view",{staticClass:t._$s(17,"sc","calorie b1"),attrs:{_i:17}},[n("view",{staticClass:t._$s(18,"sc","flx"),attrs:{_i:18}},[n("view",[t._v(t._$s(19,"t0-0",t._s(t.calorie/10)))]),n("view")]),n("view"),n("view",{staticClass:t._$s(22,"sc","flx"),attrs:{_i:22}},[n("image",{attrs:{src:t._$s(23,"a-src",i("df7d")),_i:23}})])])]):t._e(),t._$s(24,"i",t.dataConfig[t.type].overviewData)?n("overview",{attrs:{overviewData:t.dataConfig[t.type].overviewData,_i:24}}):t._e(),t._$s(25,"i",t.dataConfig[t.type].cankaoData)?n("cankao",{attrs:{cankaoData:t.dataConfig[t.type].cankaoData,_i:25}}):t._e()],1)])],1)},o=[]},ecab:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={swipeAction:{autoClose:!0}}},ed45:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},edca:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=x;var r=n(i("127e")),o=n(i("ee10")),a=n(i("7ca3"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function u(t){this.mode=d.MODE_8BIT_BYTE,this.data=t}function c(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}u.prototype={getLength:function(t){return this.data.length},write:function(t){for(var e=0;e<this.data.length;e++)t.put(this.data.charCodeAt(e),8)}},c.prototype={addData:function(t){var e=new u(t);this.dataList.push(e),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var t=1;for(t=1;t<40;t++){for(var e=m.getRSBlocks(t,this.errorCorrectLevel),i=new y,n=0,r=0;r<e.length;r++)n+=e[r].dataCount;for(r=0;r<this.dataList.length;r++){var o=this.dataList[r];i.put(o.mode,4),i.put(o.getLength(),f.getLengthInBits(o.mode,t)),o.write(i)}if(i.getLengthInBits()<=8*n)break}this.typeNumber=t}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[i]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[i][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=c.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var i=-1;i<=7;i++)if(!(t+i<=-1||this.moduleCount<=t+i))for(var n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(this.modules[t+i][e+n]=0<=i&&i<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==i||6==i)||2<=i&&i<=4&&2<=n&&n<=4)},getBestMaskPattern:function(){for(var t=0,e=0,i=0;i<8;i++){this.makeImpl(!0,i);var n=f.getLostPoint(this);(0==i||t>n)&&(t=n,e=i)}return e},createMovieClip:function(t,e,i){var n=t.createEmptyMovieClip(e,i);this.make();for(var r=0;r<this.modules.length;r++)for(var o=1*r,a=0;a<this.modules[r].length;a++){var s=1*a;this.modules[r][a]&&(n.beginFill(0,100),n.moveTo(s,o),n.lineTo(s+1,o),n.lineTo(s+1,o+1),n.lineTo(s,o+1),n.endFill())}return n},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=f.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var i=0;i<t.length;i++){var n=t[e],r=t[i];if(null==this.modules[n][r])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[n+o][r+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=f.getBCHTypeNumber(this.typeNumber),i=0;i<18;i++){var n=!t&&1==(e>>i&1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=n}for(i=0;i<18;i++)n=!t&&1==(e>>i&1),this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=n},setupTypeInfo:function(t,e){for(var i=this.errorCorrectLevel<<3|e,n=f.getBCHTypeInfo(i),r=0;r<15;r++){var o=!t&&1==(n>>r&1);r<6?this.modules[r][8]=o:r<8?this.modules[r+1][8]=o:this.modules[this.moduleCount-15+r][8]=o}for(r=0;r<15;r++)o=!t&&1==(n>>r&1),r<8?this.modules[8][this.moduleCount-r-1]=o:r<9?this.modules[8][15-r-1+1]=o:this.modules[8][15-r-1]=o;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var i=-1,n=this.moduleCount-1,r=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[n][a-s]){var l=!1;o<t.length&&(l=1==(t[o]>>>r&1)),f.getMask(e,n,a-s)&&(l=!l),this.modules[n][a-s]=l,-1==--r&&(o++,r=7)}if((n+=i)<0||this.moduleCount<=n){n-=i,i=-i;break}}}},c.PAD0=236,c.PAD1=17,c.createData=function(t,e,i){for(var n=m.getRSBlocks(t,e),r=new y,o=0;o<i.length;o++){var a=i[o];r.put(a.mode,4),r.put(a.getLength(),f.getLengthInBits(a.mode,t)),a.write(r)}var s=0;for(o=0;o<n.length;o++)s+=n[o].dataCount;if(r.getLengthInBits()>8*s)throw new Error("code length overflow. ("+r.getLengthInBits()+">"+8*s+")");for(r.getLengthInBits()+4<=8*s&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(!1);for(;!(r.getLengthInBits()>=8*s||(r.put(c.PAD0,8),r.getLengthInBits()>=8*s));)r.put(c.PAD1,8);return c.createBytes(r,n)},c.createBytes=function(t,e){for(var i=0,n=0,r=0,o=new Array(e.length),a=new Array(e.length),s=0;s<e.length;s++){var l=e[s].dataCount,u=e[s].totalCount-l;n=Math.max(n,l),r=Math.max(r,u),o[s]=new Array(l);for(var c=0;c<o[s].length;c++)o[s][c]=255&t.buffer[c+i];i+=l;var d=f.getErrorCorrectPolynomial(u),h=new v(o[s],d.getLength()-1).mod(d);for(a[s]=new Array(d.getLength()-1),c=0;c<a[s].length;c++){var p=c+h.getLength()-a[s].length;a[s][c]=p>=0?h.get(p):0}}var g=0;for(c=0;c<e.length;c++)g+=e[c].totalCount;var m=new Array(g),y=0;for(c=0;c<n;c++)for(s=0;s<e.length;s++)c<o[s].length&&(m[y++]=o[s][c]);for(c=0;c<r;c++)for(s=0;s<e.length;s++)c<a[s].length&&(m[y++]=a[s][c]);return m};for(var d={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},h={L:1,M:0,Q:3,H:2},f={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;f.getBCHDigit(e)-f.getBCHDigit(f.G15)>=0;)e^=f.G15<<f.getBCHDigit(e)-f.getBCHDigit(f.G15);return(t<<10|e)^f.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;f.getBCHDigit(e)-f.getBCHDigit(f.G18)>=0;)e^=f.G18<<f.getBCHDigit(e)-f.getBCHDigit(f.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return f.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,i){switch(t){case 0:return(e+i)%2==0;case 1:return e%2==0;case 2:return i%3==0;case 3:return(e+i)%3==0;case 4:return(Math.floor(e/2)+Math.floor(i/3))%2==0;case 5:return e*i%2+e*i%3==0;case 6:return(e*i%2+e*i%3)%2==0;case 7:return(e*i%3+(e+i)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new v([1],0),i=0;i<t;i++)e=e.multiply(new v([1,p.gexp(i)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case d.MODE_NUMBER:return 10;case d.MODE_ALPHA_NUM:return 9;case d.MODE_8BIT_BYTE:case d.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case d.MODE_NUMBER:return 12;case d.MODE_ALPHA_NUM:return 11;case d.MODE_8BIT_BYTE:return 16;case d.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case d.MODE_NUMBER:return 14;case d.MODE_ALPHA_NUM:return 13;case d.MODE_8BIT_BYTE:return 16;case d.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),i=0,n=0;n<e;n++)for(var r=0;r<e;r++){for(var o=0,a=t.isDark(n,r),s=-1;s<=1;s++)if(!(n+s<0||e<=n+s))for(var l=-1;l<=1;l++)r+l<0||e<=r+l||0==s&&0==l||a==t.isDark(n+s,r+l)&&o++;o>5&&(i+=3+o-5)}for(n=0;n<e-1;n++)for(r=0;r<e-1;r++){var u=0;t.isDark(n,r)&&u++,t.isDark(n+1,r)&&u++,t.isDark(n,r+1)&&u++,t.isDark(n+1,r+1)&&u++,0!=u&&4!=u||(i+=3)}for(n=0;n<e;n++)for(r=0;r<e-6;r++)t.isDark(n,r)&&!t.isDark(n,r+1)&&t.isDark(n,r+2)&&t.isDark(n,r+3)&&t.isDark(n,r+4)&&!t.isDark(n,r+5)&&t.isDark(n,r+6)&&(i+=40);for(r=0;r<e;r++)for(n=0;n<e-6;n++)t.isDark(n,r)&&!t.isDark(n+1,r)&&t.isDark(n+2,r)&&t.isDark(n+3,r)&&t.isDark(n+4,r)&&!t.isDark(n+5,r)&&t.isDark(n+6,r)&&(i+=40);var c=0;for(r=0;r<e;r++)for(n=0;n<e;n++)t.isDark(n,r)&&c++;return i+Math.abs(100*c/e/e-50)/5*10}},p={glog:function(t){if(t<1)throw new Error("glog("+t+")");return p.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return p.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},g=0;g<8;g++)p.EXP_TABLE[g]=1<<g;for(g=8;g<256;g++)p.EXP_TABLE[g]=p.EXP_TABLE[g-4]^p.EXP_TABLE[g-5]^p.EXP_TABLE[g-6]^p.EXP_TABLE[g-8];for(g=0;g<255;g++)p.LOG_TABLE[p.EXP_TABLE[g]]=g;function v(t,e){if(null==t.length)throw new Error(t.length+"/"+e);for(var i=0;i<t.length&&0==t[i];)i++;this.num=new Array(t.length-i+e);for(var n=0;n<t.length-i;n++)this.num[n]=t[n+i]}function m(t,e){this.totalCount=t,this.dataCount=e}function y(){this.buffer=new Array,this.length=0}function _(t){return t.setFillStyle=t.setFillStyle||function(e){t.fillStyle=e},t.setFontSize=t.setFontSize||function(e){t.font="".concat(e,"px")},t.setTextAlign=t.setTextAlign||function(e){t.textAlign=e},t.setTextBaseline=t.setTextBaseline||function(e){t.textBaseline=e},t.setGlobalAlpha=t.setGlobalAlpha||function(e){t.globalAlpha=e},t.setStrokeStyle=t.setStrokeStyle||function(e){t.strokeStyle=e},t.setShadow=t.setShadow||function(e,i,n,r){t.shadowOffsetX=e,t.shadowOffsetY=i,t.shadowBlur=n,t.shadowColor=r},t.draw=t.draw||function(t,e){e&&e()},t.clearRect=t.clearRect||function(e,i,n,r){t.draw(!1)},t}function x(e,i){var n=this,r=this.data="",o=this.size=200;this.useDynamicSize=!1,this.dynamicSize=o;var a=this.typeNumber=-1;this.errorCorrectLevel=x.errorCorrectLevel.H;var s=this.margin=0;this.areaColor="#FFFFFF",this.backgroundColor="rgba(255,255,255,0)",this.backgroundImageSrc=void 0;var l=this.backgroundImageWidth=void 0,u=this.backgroundImageHeight=void 0,c=this.backgroundImageX=void 0,d=this.backgroundImageY=void 0;this.backgroundImageAlpha=1,this.backgroundImageBorderRadius=0;var h=this.backgroundPadding=0;this.foregroundColor="#000000",this.foregroundImageSrc=void 0;var f=this.foregroundImageWidth=void 0,p=this.foregroundImageHeight=void 0,g=this.foregroundImageX=void 0,v=this.foregroundImageY=void 0,m=this.foregroundImagePadding=0;this.foregroundImageBackgroundColor="#FFFFFF";var y=this.foregroundImageBorderRadius=0,b=this.foregroundImageShadowOffsetX=0,w=this.foregroundImageShadowOffsetY=0,S=this.foregroundImageShadowBlur=0;this.foregroundImageShadowColor="#808080";var C=this.foregroundPadding=0,M=this.positionProbeBackgroundColor=void 0,T=this.positionProbeForegroundColor=void 0,I=this.separatorColor=void 0,A=this.positionAdjustBackgroundColor=void 0,D=this.positionAdjustForegroundColor=void 0,k=this.timingBackgroundColor=void 0,L=this.timingForegroundColor=void 0,P=this.typeNumberBackgroundColor=void 0,O=this.typeNumberForegroundColor=void 0,R=this.darkBlockColor=void 0;this.base=void 0,this.modules=[],this.moduleCount=0,this.drawModules=[];var E=this.canvasContext=void 0;this.loadImage,this.drawReserve=!1,this.isMaked=!1,Object.defineProperties(this,{data:{get:function(){if(""===r||void 0===r)throw t("error","[uQRCode]: data must be set!"," at uni_modules/Sansnn-uQRCode/js_sdk/uqrcode/uqrcode.js:34"),new x.Error("data must be set!");return r},set:function(t){r=String(t)}},size:{get:function(){return o},set:function(t){o=Number(t)}},typeNumber:{get:function(){return a},set:function(t){a=Number(t)}},margin:{get:function(){return s},set:function(t){s=Number(t)}},backgroundImageWidth:{get:function(){return void 0===l?this.dynamicSize:this.useDynamicSize?this.dynamicSize/this.size*l:l},set:function(t){l=Number(t)}},backgroundImageHeight:{get:function(){return void 0===u?this.dynamicSize:this.useDynamicSize?this.dynamicSize/this.size*u:u},set:function(t){u=Number(t)}},backgroundImageX:{get:function(){return void 0===c?0:this.useDynamicSize?this.dynamicSize/this.size*c:c},set:function(t){c=Number(t)}},backgroundImageY:{get:function(){return void 0===d?0:this.useDynamicSize?this.dynamicSize/this.size*d:d},set:function(t){d=Number(t)}},backgroundPadding:{get:function(){return h},set:function(t){h=t>1?1:t<0?0:t}},foregroundImageWidth:{get:function(){return void 0===f?(this.dynamicSize-2*this.margin)/4:this.useDynamicSize?this.dynamicSize/this.size*f:f},set:function(t){f=Number(t)}},foregroundImageHeight:{get:function(){return void 0===p?(this.dynamicSize-2*this.margin)/4:this.useDynamicSize?this.dynamicSize/this.size*p:p},set:function(t){p=Number(t)}},foregroundImageX:{get:function(){return void 0===g?this.dynamicSize/2-this.foregroundImageWidth/2:this.useDynamicSize?this.dynamicSize/this.size*g:g},set:function(t){g=Number(t)}},foregroundImageY:{get:function(){return void 0===v?this.dynamicSize/2-this.foregroundImageHeight/2:this.useDynamicSize?this.dynamicSize/this.size*v:v},set:function(t){v=Number(t)}},foregroundImagePadding:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*m:m},set:function(t){m=Number(t)}},foregroundImageBorderRadius:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*y:y},set:function(t){y=Number(t)}},foregroundImageShadowOffsetX:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*b:b},set:function(t){b=Number(t)}},foregroundImageShadowOffsetY:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*w:w},set:function(t){w=Number(t)}},foregroundImageShadowBlur:{get:function(){return this.useDynamicSize?this.dynamicSize/this.size*S:S},set:function(t){S=Number(t)}},foregroundPadding:{get:function(){return C},set:function(t){C=t>1?1:t<0?0:t}},positionProbeBackgroundColor:{get:function(){return M||this.backgroundColor},set:function(t){M=t}},positionProbeForegroundColor:{get:function(){return T||this.foregroundColor},set:function(t){T=t}},separatorColor:{get:function(){return I||this.backgroundColor},set:function(t){I=t}},positionAdjustBackgroundColor:{get:function(){return A||this.backgroundColor},set:function(t){A=t}},positionAdjustForegroundColor:{get:function(){return D||this.foregroundColor},set:function(t){D=t}},timingBackgroundColor:{get:function(){return k||this.backgroundColor},set:function(t){k=t}},timingForegroundColor:{get:function(){return L||this.foregroundColor},set:function(t){L=t}},typeNumberBackgroundColor:{get:function(){return P||this.backgroundColor},set:function(t){P=t}},typeNumberForegroundColor:{get:function(){return O||this.foregroundColor},set:function(t){O=t}},darkBlockColor:{get:function(){return R||this.foregroundColor},set:function(t){R=t}},canvasContext:{get:function(){if(void 0===E)throw t("error","[uQRCode]: use drawCanvas, you need to set the canvasContext!"," at uni_modules/Sansnn-uQRCode/js_sdk/uqrcode/uqrcode.js:34"),new x.Error("use drawCanvas, you need to set the canvasContext!");return E},set:function(t){E=_(t)}}}),x.plugins.forEach((function(t){return t(x,n,!1)})),e&&this.setOptions(e),i&&(this.canvasContext=_(i))}v.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),i=0;i<this.getLength();i++)for(var n=0;n<t.getLength();n++)e[i+n]^=p.gexp(p.glog(this.get(i))+p.glog(t.get(n)));return new v(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=p.glog(this.get(0))-p.glog(t.get(0)),i=new Array(this.getLength()),n=0;n<this.getLength();n++)i[n]=this.get(n);for(n=0;n<t.getLength();n++)i[n]^=p.gexp(p.glog(t.get(n))+e);return new v(i,0).mod(t)}},m.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],m.getRSBlocks=function(t,e){var i=m.getRsBlockTable(t,e);if(null==i)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var n=i.length/3,r=new Array,o=0;o<n;o++)for(var a=i[3*o+0],s=i[3*o+1],l=i[3*o+2],u=0;u<a;u++)r.push(new m(s,l));return r},m.getRsBlockTable=function(t,e){switch(e){case h.L:return m.RS_BLOCK_TABLE[4*(t-1)+0];case h.M:return m.RS_BLOCK_TABLE[4*(t-1)+1];case h.Q:return m.RS_BLOCK_TABLE[4*(t-1)+2];case h.H:return m.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},y.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var i=0;i<e;i++)this.putBit(1==(t>>>e-i-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},c.errorCorrectLevel=h,x.errorCorrectLevel=c.errorCorrectLevel,x.Error=function(t){this.errMsg="[uQRCode]: "+t},x.plugins=[],x.use=function(t){"function"==typeof t&&x.plugins.push(t)},x.prototype.loadImage=function(t){return Promise.resolve(t)},x.prototype.setOptions=function(t){var e,i,n,r,o,a,s,u,c,d,h,f,p,g,v,m,y,_,x,b,w,S,C,M,T,I,A,D,k,L,P,O,R,E,N,B,z,V,F,j,H,G,W,$,U,Y,Z,Q,X,q,K,J,tt,et,it,nt,rt=this;t&&(Object.keys(t).forEach((function(e){rt[e]=t[e]})),function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var r in t=n?e:l({},e),i){var o=i[r];null!=o&&(o.constructor==Object?t[r]=this.deepReplace(t[r],o):o.constructor!=String||o?t[r]=o:t[r]=t[r])}}(this,{data:t.data||t.text,size:t.size,useDynamicSize:t.useDynamicSize,typeNumber:t.typeNumber,errorCorrectLevel:t.errorCorrectLevel,margin:t.margin,areaColor:t.areaColor,backgroundColor:t.backgroundColor||(null===(e=t.background)||void 0===e?void 0:e.color),backgroundImageSrc:t.backgroundImageSrc||(null===(i=t.background)||void 0===i||null===(n=i.image)||void 0===n?void 0:n.src),backgroundImageWidth:t.backgroundImageWidth||(null===(r=t.background)||void 0===r||null===(o=r.image)||void 0===o?void 0:o.width),backgroundImageHeight:t.backgroundImageHeight||(null===(a=t.background)||void 0===a||null===(s=a.image)||void 0===s?void 0:s.height),backgroundImageX:t.backgroundImageX||(null===(u=t.background)||void 0===u||null===(c=u.image)||void 0===c?void 0:c.x),backgroundImageY:t.backgroundImageY||(null===(d=t.background)||void 0===d||null===(h=d.image)||void 0===h?void 0:h.y),backgroundImageAlpha:t.backgroundImageAlpha||(null===(f=t.background)||void 0===f||null===(p=f.image)||void 0===p?void 0:p.alpha),backgroundImageBorderRadius:t.backgroundImageBorderRadius||(null===(g=t.background)||void 0===g||null===(v=g.image)||void 0===v?void 0:v.borderRadius),backgroundPadding:t.backgroundPadding,foregroundColor:t.foregroundColor||(null===(m=t.foreground)||void 0===m?void 0:m.color),foregroundImageSrc:t.foregroundImageSrc||(null===(y=t.foreground)||void 0===y||null===(_=y.image)||void 0===_?void 0:_.src),foregroundImageWidth:t.foregroundImageWidth||(null===(x=t.foreground)||void 0===x||null===(b=x.image)||void 0===b?void 0:b.width),foregroundImageHeight:t.foregroundImageHeight||(null===(w=t.foreground)||void 0===w||null===(S=w.image)||void 0===S?void 0:S.height),foregroundImageX:t.foregroundImageX||(null===(C=t.foreground)||void 0===C||null===(M=C.image)||void 0===M?void 0:M.x),foregroundImageY:t.foregroundImageY||(null===(T=t.foreground)||void 0===T||null===(I=T.image)||void 0===I?void 0:I.y),foregroundImagePadding:t.foregroundImagePadding||(null===(A=t.foreground)||void 0===A||null===(D=A.image)||void 0===D?void 0:D.padding),foregroundImageBackgroundColor:t.foregroundImageBackgroundColor||(null===(k=t.foreground)||void 0===k||null===(L=k.image)||void 0===L?void 0:L.backgroundColor),foregroundImageBorderRadius:t.foregroundImageBorderRadius||(null===(P=t.foreground)||void 0===P||null===(O=P.image)||void 0===O?void 0:O.borderRadius),foregroundImageShadowOffsetX:t.foregroundImageShadowOffsetX||(null===(R=t.foreground)||void 0===R||null===(E=R.image)||void 0===E?void 0:E.shadowOffsetX),foregroundImageShadowOffsetY:t.foregroundImageShadowOffsetY||(null===(N=t.foreground)||void 0===N||null===(B=N.image)||void 0===B?void 0:B.shadowOffsetY),foregroundImageShadowBlur:t.foregroundImageShadowBlur||(null===(z=t.foreground)||void 0===z||null===(V=z.image)||void 0===V?void 0:V.shadowBlur),foregroundImageShadowColor:t.foregroundImageShadowColor||(null===(F=t.foreground)||void 0===F||null===(j=F.image)||void 0===j?void 0:j.shadowColor),foregroundPadding:t.foregroundPadding,positionProbeBackgroundColor:t.positionProbeBackgroundColor||(null===(H=t.positionProbe)||void 0===H?void 0:H.backgroundColor)||(null===(G=t.positionDetection)||void 0===G?void 0:G.backgroundColor),positionProbeForegroundColor:t.positionProbeForegroundColor||(null===(W=t.positionProbe)||void 0===W?void 0:W.foregroundColor)||(null===($=t.positionDetection)||void 0===$?void 0:$.foregroundColor),separatorColor:t.separatorColor||(null===(U=t.separator)||void 0===U?void 0:U.color),positionAdjustBackgroundColor:t.positionAdjustBackgroundColor||(null===(Y=t.positionAdjust)||void 0===Y?void 0:Y.backgroundColor)||(null===(Z=t.alignment)||void 0===Z?void 0:Z.backgroundColor),positionAdjustForegroundColor:t.positionAdjustForegroundColor||(null===(Q=t.positionAdjust)||void 0===Q?void 0:Q.foregroundColor)||(null===(X=t.alignment)||void 0===X?void 0:X.foregroundColor),timingBackgroundColor:t.timingBackgroundColor||(null===(q=t.timing)||void 0===q?void 0:q.backgroundColor),timingForegroundColor:t.timingForegroundColor||(null===(K=t.timing)||void 0===K?void 0:K.foregroundColor),typeNumberBackgroundColor:t.typeNumberBackgroundColor||(null===(J=t.typeNumber)||void 0===J?void 0:J.backgroundColor)||(null===(tt=t.versionInformation)||void 0===tt?void 0:tt.backgroundColor),typeNumberForegroundColor:t.typeNumberForegroundColor||(null===(et=t.typeNumber)||void 0===et?void 0:et.foregroundColor)||(null===(it=t.versionInformation)||void 0===it?void 0:it.foregroundColor),darkBlockColor:t.darkBlockColor||(null===(nt=t.darkBlock)||void 0===nt?void 0:nt.color)},!0))},x.prototype.make=function(){var e=this.foregroundColor,i=this.backgroundColor,n=this.typeNumber,r=this.errorCorrectLevel,o=this.data,a=this.size,s=this.margin,l=this.useDynamicSize;if(e===i)throw t("error","[uQRCode]: foregroundColor and backgroundColor cannot be the same!"," at uni_modules/Sansnn-uQRCode/js_sdk/uqrcode/uqrcode.js:34"),new x.Error("foregroundColor and backgroundColor cannot be the same!");var u=new c(n,r);u.addData(function(t){t=t.toString();for(var e,i="",n=0;n<t.length;n++)(e=t.charCodeAt(n))>=1&&e<=127?i+=t.charAt(n):e>2047?(i+=String.fromCharCode(224|e>>12&15),i+=String.fromCharCode(128|e>>6&63),i+=String.fromCharCode(128|e>>0&63)):(i+=String.fromCharCode(192|e>>6&31),i+=String.fromCharCode(128|e>>0&63));return i}(o)),u.make(),this.base=u,this.typeNumber=u.typeNumber,this.modules=u.modules,this.moduleCount=u.moduleCount,this.dynamicSize=l?Math.ceil((a-2*s)/u.moduleCount)*u.moduleCount+2*s:a,function(t){var e=t.dynamicSize,i=t.margin,n=t.backgroundColor,r=t.backgroundPadding,o=t.foregroundColor,a=t.foregroundPadding,s=t.modules,l=t.moduleCount,u=(e-2*i)/l,c=u,d=0;r>0&&(d=c*r/2,c-=2*d);var h=u,f=0;a>0&&(f=h*a/2,h-=2*f);for(var p=0;p<l;p++)for(var g=0;g<l;g++){var v=g*u+i,m=p*u+i;if(s[p][g]){var y=f,_=v+f,x=m+f,b=h,w=h;s[p][g]={type:["foreground"],color:o,isBlack:!0,isDrawn:!1,destX:v,destY:m,destWidth:u,destHeight:u,x:_,y:x,width:b,height:w,paddingTop:y,paddingRight:y,paddingBottom:y,paddingLeft:y}}else y=d,_=v+d,x=m+d,b=c,w=c,s[p][g]={type:["background"],color:n,isBlack:!1,isDrawn:!1,destX:v,destY:m,destWidth:u,destHeight:u,x:_,y:x,width:b,height:w,paddingTop:y,paddingRight:y,paddingBottom:y,paddingLeft:y}}}(this),function(t){var e=t.modules,i=t.moduleCount,n=t.positionProbeBackgroundColor,r=t.positionProbeForegroundColor,o=i-7;[[0,0,1],[1,0,1],[2,0,1],[3,0,1],[4,0,1],[5,0,1],[6,0,1],[0,1,1],[1,1,0],[2,1,0],[3,1,0],[4,1,0],[5,1,0],[6,1,1],[0,2,1],[1,2,0],[2,2,1],[3,2,1],[4,2,1],[5,2,0],[6,2,1],[0,3,1],[1,3,0],[2,3,1],[3,3,1],[4,3,1],[5,3,0],[6,3,1],[0,4,1],[1,4,0],[2,4,1],[3,4,1],[4,4,1],[5,4,0],[6,4,1],[0,5,1],[1,5,0],[2,5,0],[3,5,0],[4,5,0],[5,5,0],[6,5,1],[0,6,1],[1,6,1],[2,6,1],[3,6,1],[4,6,1],[5,6,1],[6,6,1]].forEach((function(t){var i=e[t[0]][t[1]],a=e[t[0]+o][t[1]],s=e[t[0]][t[1]+o];s.type.push("positionProbe"),a.type.push("positionProbe"),i.type.push("positionProbe"),i.color=1==t[2]?r:n,a.color=1==t[2]?r:n,s.color=1==t[2]?r:n}))}(this),function(t){var e=t.modules,i=t.moduleCount,n=t.separatorColor;[[7,0],[7,1],[7,2],[7,3],[7,4],[7,5],[7,6],[7,7],[0,7],[1,7],[2,7],[3,7],[4,7],[5,7],[6,7]].forEach((function(t){var r=e[t[0]][t[1]],o=e[i-t[0]-1][t[1]],a=e[t[0]][i-t[1]-1];a.type.push("separator"),o.type.push("separator"),r.type.push("separator"),r.color=n,o.color=n,a.color=n}))}(this),function(t){var e=t.typeNumber,i=t.modules,n=t.moduleCount,r=t.foregroundColor,o=t.backgroundColor,a=t.positionAdjustForegroundColor,s=t.positionAdjustBackgroundColor,l=t.timingForegroundColor,u=t.timingBackgroundColor,c=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]][e-1];if(c)for(var d=[[-2,-2,1],[-1,-2,1],[0,-2,1],[1,-2,1],[2,-2,1],[-2,-1,1],[-1,-1,0],[0,-1,0],[1,-1,0],[2,-1,1],[-2,0,1],[-1,0,0],[0,0,1],[1,0,0],[2,0,1],[-2,1,1],[-1,1,0],[0,1,0],[1,1,0],[2,1,1],[-2,2,1],[-1,2,1],[0,2,1],[1,2,1],[2,2,1]],h=c.length,f=0;f<h;f++)for(var p=function(t){var e={x:c[f],y:c[t]},h=e.x,p=e.y;h<9&&p<9||h>n-9-1&&p<9||p>n-9-1&&h<9||d.forEach((function(t){var e=i[h+t[0]][p+t[1]];e.type.push("positionAdjust"),e.type.includes("timing")?1==t[2]?e.color=a==r?l:a:e.color=a==r&&s==o?u:s:e.color=1==t[2]?a:s}))},g=0;g<h;g++)p(g)}(this),function(t){for(var e=t.modules,i=t.moduleCount,n=t.timingForegroundColor,r=t.timingBackgroundColor,o=i-16,a=0;a<o;a++){var s=e[6][8+a],l=e[8+a][6];s.type.push("timing"),l.type.push("timing"),s.color=1&a^1?n:r,l.color=1&a^1?n:r}}(this),function(t){var e=t.modules,i=t.moduleCount,n=t.darkBlockColor,r=e[i-7-1][8];r.type.push("darkBlock"),r.color=n}(this),function(t){var e=t.typeNumber,i=t.modules,n=t.moduleCount,r=t.typeNumberBackgroundColor,o=t.typeNumberForegroundColor;if(e<7)return i;var a=[0,0,0,0,0,0,0,"000111110010010100","001000010110111100","001001101010011001","001010010011010011","001011101111110110","001100011101100010","001101100001000111","001110011000001101","001111100100101000","010000101101111000","010001010001011101","010010101000010111","010011010100110010","010100100110100110","010101011010000011","010110100011001001","010111011111101100","011000111011000100","011001000111100001","011010111110101011","011011000010001110","011100110000011010","011101001100111111","011110110101110101","011111001001010000","100000100111010101","100001011011110000","100010100010111010","100011011110011111","100100101100001011","100101010000101110","100110101001100100","100111010101000001","101000110001101001"],s=a[e]+a[e],l=[n-11,n-10,n-9];[[5,l[2]],[5,l[1]],[5,l[0]],[4,l[2]],[4,l[1]],[4,l[0]],[3,l[2]],[3,l[1]],[3,l[0]],[2,l[2]],[2,l[1]],[2,l[0]],[1,l[2]],[1,l[1]],[1,l[0]],[0,l[2]],[0,l[1]],[0,l[0]],[l[2],5],[l[1],5],[l[0],5],[l[2],4],[l[1],4],[l[0],4],[l[2],3],[l[1],3],[l[0],3],[l[2],2],[l[1],2],[l[0],2],[l[2],1],[l[1],1],[l[0],1],[l[2],0],[l[1],0],[l[0],0]].forEach((function(t,e){var n=i[t[0]][t[1]];n.type.push("typeNumber"),n.color="1"==s[e]?o:r}))}(this),this.isMaked=!0,this.drawModules=[]},x.prototype.getDrawModules=function(){if(this.drawModules&&this.drawModules.length>0)return this.drawModules;var t=this.drawModules=[],e=this.modules,i=this.moduleCount,n=this.dynamicSize,r=this.areaColor,o=this.backgroundImageSrc,a=this.backgroundImageX,s=this.backgroundImageY,l=this.backgroundImageWidth,u=this.backgroundImageHeight,c=this.backgroundImageAlpha,d=this.backgroundImageBorderRadius,h=this.foregroundImageSrc,f=this.foregroundImageX,p=this.foregroundImageY,g=this.foregroundImageWidth,v=this.foregroundImageHeight,m=this.foregroundImagePadding,y=this.foregroundImageBackgroundColor,_=this.foregroundImageBorderRadius,x=this.foregroundImageShadowOffsetX,b=this.foregroundImageShadowOffsetY,w=this.foregroundImageShadowBlur,S=this.foregroundImageShadowColor;r&&t.push({name:"area",type:"area",color:r,x:0,y:0,width:n,height:n}),o&&t.push({name:"backgroundImage",type:"image",imageSrc:o,mappingName:"backgroundImageSrc",x:a,y:s,width:l,height:u,alpha:c,borderRadius:d});for(var C=0;C<i;C++)for(var M=0;M<i;M++){var T=e[C][M];T.isDrawn||(T.type.includes("foreground")?t.push({name:"foreground",type:"tile",color:T.color,destX:T.destX,destY:T.destY,destWidth:T.destWidth,destHeight:T.destHeight,x:T.x,y:T.y,width:T.width,height:T.height,paddingTop:T.paddingTop,paddingRight:T.paddingRight,paddingBottom:T.paddingBottom,paddingLeft:T.paddingLeft,rowIndex:C,colIndex:M}):t.push({name:"background",type:"tile",color:T.color,destX:T.destX,destY:T.destY,destWidth:T.destWidth,destHeight:T.destHeight,x:T.x,y:T.y,width:T.width,height:T.height,paddingTop:T.paddingTop,paddingRight:T.paddingRight,paddingBottom:T.paddingBottom,paddingLeft:T.paddingLeft,rowIndex:C,colIndex:M}),T.isDrawn=!0)}return h&&t.push({name:"foregroundImage",type:"image",imageSrc:h,mappingName:"foregroundImageSrc",x:f,y:p,width:g,height:v,padding:m,backgroundColor:y,borderRadius:_,shadowOffsetX:x,shadowOffsetY:b,shadowBlur:w,shadowColor:S}),t},x.prototype.isBlack=function(t,e){var i=this.moduleCount;return!(0>t||0>e||t>=i||e>=i)&&this.modules[t][e].isBlack},x.prototype.drawCanvas=function(){var e=this,i=this.isMaked,n=this.canvasContext,a=(this.useDynamicSize,this.dynamicSize),s=(this.foregroundColor,this.foregroundPadding,this.backgroundColor,this.backgroundPadding,this.drawReserve);this.margin;if(!i)return t("error","[uQRCode]: please execute the make method first!"," at uni_modules/Sansnn-uQRCode/js_sdk/uqrcode/uqrcode.js:34"),Promise.reject(new x.Error("please execute the make method first!"));var l=this.getDrawModules(),u=function(){var i=(0,o.default)(r.default.mark((function i(o,u){var c,d,h,f,p,g,v,m,y,_,b,w,S,C;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:i.prev=0,n.clearRect(0,0,a,a),n.draw(!1),c=0;case 3:if(!(c<l.length)){i.next=48;break}d=l[c],i.t0=(n.save(),d.type),i.next="area"===i.t0?8:"tile"===i.t0?10:"image"===i.t0?13:44;break;case 8:return n.setFillStyle(d.color),n.fillRect(d.x,d.y,d.width,d.height),i.abrupt("break",44);case 10:return h=d.x,f=d.y,p=d.width,g=d.height,n.setFillStyle(d.color),n.fillRect(h,f,p,g),i.abrupt("break",44);case 13:if("backgroundImage"!==d.name){i.next=28;break}return h=Math.round(d.x),f=Math.round(d.y),p=Math.round(d.width),g=Math.round(d.height),p<2*(m=Math.round(d.borderRadius))&&(m=p/2),g<2*m&&(m=g/2),n.setGlobalAlpha(d.alpha),m>0&&(n.beginPath(),n.moveTo(h+m,f),n.arcTo(h+p,f,h+p,f+g,m),n.arcTo(h+p,f+g,h,f+g,m),n.arcTo(h,f+g,h,f,m),n.arcTo(h,f,h+p,f,m),n.closePath(),n.setStrokeStyle("rgba(0,0,0,0)"),n.stroke(),n.clip()),i.prev=16,i.next=19,e.loadImage(d.imageSrc);case 19:v=i.sent,n.drawImage(v,h,f,p,g),i.next=26;break;case 23:throw i.prev=23,i.t1=i["catch"](16),t("error","[uQRCode]: ".concat(d.mappingName," invalid!")," at uni_modules/Sansnn-uQRCode/js_sdk/uqrcode/uqrcode.js:34"),new x.Error("".concat(d.mappingName," invalid!"));case 26:i.next=44;break;case 28:if("foregroundImage"!==d.name){i.next=44;break}return h=Math.round(d.x),f=Math.round(d.y),p=Math.round(d.width),g=Math.round(d.height),y=Math.round(d.padding),p<2*(m=Math.round(d.borderRadius))&&(m=p/2),g<2*m&&(m=g/2),_=h-y,b=f-y,w=p+2*y,S=g+2*y,C=Math.round(w/p*m),w<2*C&&(C=w/2),S<2*C&&(C=S/2),n.save(),n.setShadow(d.shadowOffsetX,d.shadowOffsetY,d.shadowBlur,d.shadowColor),C>0?(n.beginPath(),n.moveTo(_+C,b),n.arcTo(_+w,b,_+w,b+S,C),n.arcTo(_+w,b+S,_,b+S,C),n.arcTo(_,b+S,_,b,C),n.arcTo(_,b,_+w,b,C),n.closePath(),n.setFillStyle(d.backgroundColor),n.fill()):(n.setFillStyle(d.backgroundColor),n.fillRect(_,b,w,S)),n.restore(),n.save(),C>0?(n.beginPath(),n.moveTo(_+C,b),n.arcTo(_+w,b,_+w,b+S,C),n.arcTo(_+w,b+S,_,b+S,C),n.arcTo(_,b+S,_,b,C),n.arcTo(_,b,_+w,b,C),n.closePath(),n.setFillStyle(y>0?d.backgroundColor:"rgba(0,0,0,0)"),n.fill()):(n.setFillStyle(y>0?d.backgroundColor:"rgba(0,0,0,0)"),n.fillRect(_,b,w,S)),n.restore(),m>0&&(n.beginPath(),n.moveTo(h+m,f),n.arcTo(h+p,f,h+p,f+g,m),n.arcTo(h+p,f+g,h,f+g,m),n.arcTo(h,f+g,h,f,m),n.arcTo(h,f,h+p,f,m),n.closePath(),n.setStrokeStyle("rgba(0,0,0,0)"),n.stroke(),n.clip()),i.prev=34,i.next=37,e.loadImage(d.imageSrc);case 37:v=i.sent,n.drawImage(v,h,f,p,g),i.next=44;break;case 41:throw i.prev=41,i.t2=i["catch"](34),t("error","[uQRCode]: ".concat(d.mappingName," invalid!")," at uni_modules/Sansnn-uQRCode/js_sdk/uqrcode/uqrcode.js:34"),new x.Error("".concat(d.mappingName," invalid!"));case 44:s&&n.draw(!0),n.restore();case 45:c++,i.next=3;break;case 48:n.draw(!0),setTimeout(o,150),i.next=56;break;case 51:if(i.prev=51,i.t3=i["catch"](0),i.t3 instanceof x.Error){i.next=55;break}throw i.t3;case 55:u(i.t3);case 56:case"end":return i.stop()}}),i,null,[[0,51],[16,23],[34,41]])})));return function(t,e){return i.apply(this,arguments)}}();return new Promise((function(t,e){u(t,e)}))},x.prototype.draw=function(){return this.drawCanvas()},x.prototype.register=function(t){t&&t(x,this,!0)}}).call(this,i("f3b9")["default"])},ee10:function(t,e){function i(t,e,i,n,r,o,a){try{var s=t[o](a),l=s.value}catch(u){return void i(u)}s.done?e(l):Promise.resolve(l).then(n,r)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,l,"next",t)}function l(t){i(a,r,o,s,l,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},ee4f:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3"));function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function a(){return getApp()}function s(){return a()&&a().globalData}function l(t,e){try{setTimeout((function(){s()&&(a().globalData["zp_handle".concat(t,"Callback")]=e)}),1)}catch(i){}}function u(t){return s()?a().globalData["zp_handle".concat(t,"Callback")]:null}var c={handleQuery:function(t){return l("Query",t),this},_handleQuery:function(t,e,i,n){var r=u("Query");return r?r(t,e,i,n):[t,e,i]},handleFetchParams:function(t){return l("FetchParams",t),this},_handleFetchParams:function(t,e){var i=u("FetchParams");return i?i(t,e||{}):function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({pageNo:t.pageNo,pageSize:t.pageSize},e||{})},handleFetchResult:function(t){return l("FetchResult",t),this},_handleFetchResult:function(t,e,i){var n=u("FetchResult");return n&&n(t,e,i),!!n},handleLanguage2Local:function(t){return l("Language2Local",t),this},_handleLanguage2Local:function(t,e){var i=u("Language2Local");return i?i(t,e):e}};e.default=c},ee50:function(t,e,i){"use strict";i.r(e);var n=i("3577"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},ee80:function(t,e,i){(function(n,r){var o,a,s,l=i("3b2d"),u=uni;!function(i,n){"object"==l(e)&&"undefined"!=typeof t?n(e):(a=[e],o=n,s="function"===typeof o?o.apply(e,a):o,void 0===s||(t.exports=s))}(0,(function(t){"use strict";
|
|
/*! *****************************************************************************
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
purpose with or without fee is hereby granted.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
***************************************************************************** */var e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},e(t,i)};function i(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}var o=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},a=new function(){this.browser=new o,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==l(u)&&"function"==typeof u.getSystemInfoSync?(a.wxa=!0,a.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?a.worker=!0:"undefined"==typeof navigator?(a.node=!0,a.svgSupported=!0):function(t,e){var i=e.browser,n=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);n&&(i.firefox=!0,i.version=n[1]),r&&(i.ie=!0,i.version=r[1]),o&&(i.edge=!0,i.version=o[1],i.newEdge=+o[1].split(".")[0]>18),a&&(i.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!i.ie&&!i.edge,e.pointerEventsSupported="onpointerdown"in window&&(i.edge||i.ie&&+i.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(i.ie&&"transition"in s||i.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||i.ie&&+i.version>=9}(navigator.userAgent,a);var s,c,d="12px sans-serif",h=function(t){var e={};if("undefined"==typeof JSON)return e;for(var i=0;i<t.length;i++){var n=String.fromCharCode(i+32),r=(t.charCodeAt(i)-20)/100;e[n]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),f={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!s){var i=f.createCanvas();s=i&&i.getContext("2d")}if(s)return c!==e&&(c=s.font=e||d),s.measureText(t);t=t||"";var n=/(\d+)px/.exec(e=e||d),r=n&&+n[1]||12,o=0;if(e.indexOf("mono")>=0)o=r*t.length;else for(var a=0;a<t.length;a++){var l=h[t[a]];o+=null==l?r:l*r}return{width:o}},loadImage:function(t,e,i){var n=new Image;return n.onload=e,n.onerror=i,n.src=t,n}};function p(t){for(var e in f)t[e]&&(f[e]=t[e])}var g=j(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),v=j(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),m=Object.prototype.toString,y=Array.prototype,_=y.forEach,x=y.filter,b=y.slice,w=y.map,S=function(){}.constructor,C=S?S.prototype:null,M="__proto__",T=2311;function I(){return T++}function A(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function D(t){if(null==t||"object"!=l(t))return t;var e=t,i=m.call(t);if("[object Array]"===i){if(!gt(t)){e=[];for(var n=0,r=t.length;n<r;n++)e[n]=D(t[n])}}else if(v[i]){if(!gt(t)){var o=t.constructor;if(o.from)e=o.from(t);else for(e=new o(t.length),n=0,r=t.length;n<r;n++)e[n]=t[n]}}else if(!g[i]&&!gt(t)&&!et(t))for(var a in e={},t)t.hasOwnProperty(a)&&a!==M&&(e[a]=D(t[a]));return e}function k(t,e,i){if(!K(e)||!K(t))return i?D(e):t;for(var n in e)if(e.hasOwnProperty(n)&&n!==M){var r=t[n],o=e[n];!K(o)||!K(r)||Y(o)||Y(r)||et(o)||et(r)||J(o)||J(r)||gt(o)||gt(r)?!i&&n in t||(t[n]=D(e[n])):k(r,o,i)}return t}function L(t,e){for(var i=t[0],n=1,r=t.length;n<r;n++)i=k(i,t[n],e);return i}function P(t,e){if(Object.assign)Object.assign(t,e);else for(var i in e)e.hasOwnProperty(i)&&i!==M&&(t[i]=e[i]);return t}function O(t,e,i){for(var n=W(e),r=0;r<n.length;r++){var o=n[r];(i?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}var R=f.createCanvas;function E(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return-1}function N(t,e){var i=t.prototype;function n(){}for(var r in n.prototype=e.prototype,t.prototype=new n,i)i.hasOwnProperty(r)&&(t.prototype[r]=i[r]);t.prototype.constructor=t,t.superClass=e}function B(t,e,i){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++){var o=n[r];"constructor"!==o&&(i?null!=e[o]:null==t[o])&&(t[o]=e[o])}else O(t,e,i)}function z(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function V(t,e,i){if(t&&e)if(t.forEach&&t.forEach===_)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,r=t.length;n<r;n++)e.call(i,t[n],n,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(i,t[o],o,t)}function F(t,e,i){if(!t)return[];if(!e)return ut(t);if(t.map&&t.map===w)return t.map(e,i);for(var n=[],r=0,o=t.length;r<o;r++)n.push(e.call(i,t[r],r,t));return n}function j(t,e,i,n){if(t&&e){for(var r=0,o=t.length;r<o;r++)i=e.call(n,i,t[r],r,t);return i}}function H(t,e,i){if(!t)return[];if(!e)return ut(t);if(t.filter&&t.filter===x)return t.filter(e,i);for(var n=[],r=0,o=t.length;r<o;r++)e.call(i,t[r],r,t)&&n.push(t[r]);return n}function G(t,e,i){if(t&&e)for(var n=0,r=t.length;n<r;n++)if(e.call(i,t[n],n,t))return t[n]}function W(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e}var $=C&&Z(C.bind)?C.call.bind(C.bind):function(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return function(){return t.apply(e,i.concat(b.call(arguments)))}};function U(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return function(){return t.apply(this,e.concat(b.call(arguments)))}}function Y(t){return Array.isArray?Array.isArray(t):"[object Array]"===m.call(t)}function Z(t){return"function"==typeof t}function Q(t){return"string"==typeof t}function X(t){return"[object String]"===m.call(t)}function q(t){return"number"==typeof t}function K(t){var e=l(t);return"function"===e||!!t&&"object"===e}function J(t){return!!g[m.call(t)]}function tt(t){return!!v[m.call(t)]}function et(t){return"object"==l(t)&&"number"==typeof t.nodeType&&"object"==l(t.ownerDocument)}function it(t){return null!=t.colorStops}function nt(t){return null!=t.image}function rt(t){return"[object RegExp]"===m.call(t)}function ot(t){return t!=t}function at(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i=0,n=t.length;i<n;i++)if(null!=t[i])return t[i]}function st(t,e){return null!=t?t:e}function lt(t,e,i){return null!=t?t:null!=e?e:i}function ut(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return b.apply(t,e)}function ct(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function dt(t,e){if(!t)throw new Error(e)}function ht(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ft="__ec_primitive__";function pt(t){t[ft]=!0}function gt(t){return t[ft]}var vt=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return W(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)},t}(),mt="function"==typeof Map,yt=function(){function t(e){var i=Y(e);this.data=mt?new Map:new vt;var n=this;function r(t,e){i?n.set(t,e):n.set(e,t)}e instanceof t?e.each(r):e&&V(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(i,n){t.call(e,i,n)}))},t.prototype.keys=function(){var t=this.data.keys();return mt?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function _t(t){return new yt(t)}function xt(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.length;n++)i[n]=t[n];var r=t.length;for(n=0;n<e.length;n++)i[n+r]=e[n];return i}function bt(t,e){var i;if(Object.create)i=Object.create(t);else{var n=function(){};n.prototype=t,i=new n}return e&&P(i,e),i}function wt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function St(t,e){return t.hasOwnProperty(e)}function Ct(){}var Mt=180/Math.PI,Tt=Object.freeze({__proto__:null,guid:I,logError:A,clone:D,merge:k,mergeAll:L,extend:P,defaults:O,createCanvas:R,indexOf:E,inherits:N,mixin:B,isArrayLike:z,each:V,map:F,reduce:j,filter:H,find:G,keys:W,bind:$,curry:U,isArray:Y,isFunction:Z,isString:Q,isStringSafe:X,isNumber:q,isObject:K,isBuiltInObject:J,isTypedArray:tt,isDom:et,isGradientObject:it,isImagePatternObject:nt,isRegExp:rt,eqNaN:ot,retrieve:at,retrieve2:st,retrieve3:lt,slice:ut,normalizeCssArray:ct,assert:dt,trim:ht,setAsPrimitive:pt,isPrimitive:gt,HashMap:yt,createHashMap:_t,concatArray:xt,createObject:bt,disableUserSelect:wt,hasOwn:St,noop:Ct,RADIAN_TO_DEGREE:Mt});function It(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function At(t,e){return t[0]=e[0],t[1]=e[1],t}function Dt(t){return[t[0],t[1]]}function kt(t,e,i){return t[0]=e,t[1]=i,t}function Lt(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function Pt(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function Ot(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function Rt(t){return Math.sqrt(Nt(t))}var Et=Rt;function Nt(t){return t[0]*t[0]+t[1]*t[1]}var Bt=Nt;function zt(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function Vt(t,e){var i=Rt(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function Ft(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var jt=Ft;function Ht(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Gt=Ht;function Wt(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function $t(t,e,i){var n=e[0],r=e[1];return t[0]=i[0]*n+i[2]*r+i[4],t[1]=i[1]*n+i[3]*r+i[5],t}function Ut(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function Yt(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}var Zt=Object.freeze({__proto__:null,create:It,copy:At,clone:Dt,set:kt,add:Lt,scaleAndAdd:Pt,sub:Ot,len:Rt,length:Et,lenSquare:Nt,lengthSquare:Bt,mul:function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},div:function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:zt,normalize:Vt,distance:Ft,dist:jt,distanceSquare:Ht,distSquare:Gt,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},lerp:Wt,applyTransform:$t,min:Ut,max:Yt}),Qt=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},Xt=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Qt(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,r=i-this._x,o=n-this._y;this._x=i,this._y=n,e.drift(r,o,t),this.handler.dispatchToElement(new Qt(e,t),"drag",t.event);var a=this.handler.findHover(i,n,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new Qt(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new Qt(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Qt(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Qt(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),qt=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,i,n){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(n=i,i=e,e=null),!i||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===i)return this;var s={h:i,query:e,ctx:n||this,callAtLast:i.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var i=this._$handlers;if(!i)return this;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],r=0,o=i[t].length;r<o;r++)i[t][r].h!==e&&n.push(i[t][r]);i[t]=n}i[t]&&0===i[t].length&&delete i[t]}else delete i[t];return this},t.prototype.trigger=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],r=this._$eventProcessor;if(n)for(var o=e.length,a=n.length,s=0;s<a;s++){var l=n[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],r=this._$eventProcessor;if(n)for(var o=e.length,a=e[o-1],s=n.length,l=0;l<s;l++){var u=n[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),Kt=Math.log(2);function Jt(t,e,i,n,r,o){var a=n+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/Kt);return t[i][l]}for(var u=n|1<<i,c=i+1;n&1<<c;)c++;for(var d=0,h=0,f=0;h<s;h++){var p=1<<h;p&r||(d+=(f%2?-1:1)*t[i][h]*Jt(t,e-1,c,u,r|p,o),f++)}return o[a]=d,d}function te(t,e){var i=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],n={},r=Jt(i,8,0,0,0,n);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*Jt(i,7,0===a?1:0,1<<a,1<<s,n)/r*e[a];return function(t,e,i){var n=e*o[6]+i*o[7]+1;t[0]=(e*o[0]+i*o[1]+o[2])/n,t[1]=(e*o[3]+i*o[4]+o[5])/n}}}var ee=[];function ie(t,e,i,n,r){if(e.getBoundingClientRect&&a.domSupported&&!ne(e)){var o=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),s=function(t,e){var i=e.markers;if(i)return i;i=e.markers=[];for(var n=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,l=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[s]+":0",r[l]+":0",n[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),i.push(a)}return i}(e,o),l=function(t,e,i){for(var n=i?"invTrans":"trans",r=e[n],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),d=2*u,h=c.left,f=c.top;a.push(h,f),l=l&&o&&h===o[d]&&f===o[d+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[n]=i?te(s,a):te(a,s))}(s,o,r);if(l)return l(t,i,n),!0}return!1}function ne(t){return"CANVAS"===t.nodeName.toUpperCase()}var re=/([&<>"'])/g,oe={"&":"&","<":"<",">":">",'"':""","'":"'"};function ae(t){return null==t?"":(t+"").replace(re,(function(t,e){return oe[e]}))}var se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,le=[],ue=a.browser.firefox&&+a.browser.version.split(".")[0]<39;function ce(t,e,i,n){return i=i||{},n?de(t,e,i):ue&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):de(t,e,i),i}function de(t,e,i){if(a.domSupported&&t.getBoundingClientRect){var n=e.clientX,r=e.clientY;if(ne(t)){var o=t.getBoundingClientRect();return i.zrX=n-o.left,void(i.zrY=r-o.top)}if(ie(le,t,n,r))return i.zrX=le[0],void(i.zrY=le[1])}i.zrX=i.zrY=0}function he(t){return t||window.event}function fe(t,e,i){if(null!=(e=he(e)).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var r="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];r&&ce(t,r,e,i)}else{ce(t,e,e,i);var o=function(t){var e=t.wheelDelta;if(e)return e;var i=t.deltaX,n=t.deltaY;return null==i||null==n?e:3*(0!==n?Math.abs(n):Math.abs(i))*(n>0?-1:n<0?1:i>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&se.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function pe(t,e,i,n){t.addEventListener(e,i,n)}var ge=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function ve(t){return 2===t.which||3===t.which}var me=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,i){var n=t.touches;if(n){for(var r={points:[],touches:[],target:e,event:t},o=0,a=n.length;o<a;o++){var s=n[o],l=ce(i,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in _e)if(_e.hasOwnProperty(e)){var i=_e[e](this._track,t);if(i)return i}},t}();function ye(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}var _e={pinch:function(t,e){var i=t.length;if(i){var n,r=(t[i-1]||{}).points,o=(t[i-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var a=ye(r)/ye(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((n=r)[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function xe(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function be(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function we(t,e,i){var n=e[0]*i[0]+e[2]*i[1],r=e[1]*i[0]+e[3]*i[1],o=e[0]*i[2]+e[2]*i[3],a=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function Se(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function Ce(t,e,i){var n=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(i),c=Math.cos(i);return t[0]=n*c+a*u,t[1]=-n*u+a*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t}function Me(t,e,i){var n=i[0],r=i[1];return t[0]=e[0]*n,t[1]=e[1]*r,t[2]=e[2]*n,t[3]=e[3]*r,t[4]=e[4]*n,t[5]=e[5]*r,t}function Te(t,e){var i=e[0],n=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=i*a-o*n;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-a*r)*l,t[5]=(o*r-i*s)*l,t):null}function Ie(t){var e=[1,0,0,1,0,0];return be(e,t),e}var Ae=Object.freeze({__proto__:null,create:function(){return[1,0,0,1,0,0]},identity:xe,copy:be,mul:we,translate:Se,rotate:Ce,scale:Me,invert:Te,clone:Ie}),De=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,i=this.y-t.y;return Math.sqrt(e*e+i*i)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,i=this.y-t.y;return e*e+i*i},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,i=this.y;return this.x=t[0]*e+t[2]*i+t[4],this.y=t[1]*e+t[3]*i+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,i){t.x=e,t.y=i},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,i){t.x=e.x+i.x,t.y=e.y+i.y},t.sub=function(t,e,i){t.x=e.x-i.x,t.y=e.y-i.y},t.scale=function(t,e,i){t.x=e.x*i,t.y=e.y*i},t.scaleAndAdd=function(t,e,i,n){t.x=e.x+i.x*n,t.y=e.y+i.y*n},t.lerp=function(t,e,i,n){var r=1-n;t.x=r*e.x+n*i.x,t.y=r*e.y+n*i.y},t}(),ke=Math.min,Le=Math.max,Pe=new De,Oe=new De,Re=new De,Ee=new De,Ne=new De,Be=new De,ze=function(){function t(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}return t.prototype.union=function(t){var e=ke(t.x,this.x),i=ke(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Le(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Le(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=e,this.y=i},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,i=t.width/e.width,n=t.height/e.height,r=[1,0,0,1,0,0];return Se(r,r,[-e.x,-e.y]),Me(r,r,[i,n]),Se(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,i){if(!e)return!1;e instanceof t||(e=t.create(e));var n=this,r=n.x,o=n.x+n.width,a=n.y,s=n.y+n.height,l=e.x,u=e.x+e.width,c=e.y,d=e.y+e.height,h=!(o<l||u<r||s<c||d<a);if(i){var f=1/0,p=0,g=Math.abs(o-l),v=Math.abs(u-r),m=Math.abs(s-c),y=Math.abs(d-a),_=Math.min(g,v),x=Math.min(m,y);o<l||u<r?_>p&&(p=_,g<v?De.set(Be,-g,0):De.set(Be,v,0)):_<f&&(f=_,g<v?De.set(Ne,g,0):De.set(Ne,-v,0)),s<c||d<a?x>p&&(p=x,m<y?De.set(Be,0,-m):De.set(Be,0,y)):_<f&&(f=_,m<y?De.set(Ne,0,m):De.set(Ne,0,-y))}return i&&De.copy(i,h?Ne:Be),h},t.prototype.contain=function(t,e){var i=this;return t>=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,i,n){if(n){if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var r=n[0],o=n[3],a=n[4],s=n[5];return e.x=i.x*r+a,e.y=i.y*o+s,e.width=i.width*r,e.height=i.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Pe.x=Re.x=i.x,Pe.y=Ee.y=i.y,Oe.x=Ee.x=i.x+i.width,Oe.y=Re.y=i.y+i.height,Pe.transform(n),Ee.transform(n),Oe.transform(n),Re.transform(n),e.x=ke(Pe.x,Oe.x,Re.x,Ee.x),e.y=ke(Pe.y,Oe.y,Re.y,Ee.y);var l=Le(Pe.x,Oe.x,Re.x,Ee.x),u=Le(Pe.y,Oe.y,Re.y,Ee.y);e.width=l-e.x,e.height=u-e.y}else e!==i&&t.copy(e,i)},t}();function Ve(){ge(this.event)}var Fe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return i(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(qt),je=function(t,e){this.x=t,this.y=e},He=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ge=new ze(0,0,0,0),We=function(t){function e(e,i,n,r,o){var a=t.call(this)||this;return a._hovered=new je(0,0),a.storage=e,a.painter=i,a.painterRoot=r,a._pointerSize=o,n=n||new Fe,a.proxy=null,a.setHandlerProxy(n),a._draggingMgr=new Xt(a),a}return i(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(V(He,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,i=t.zrY,n=Ye(this,e,i),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=n?new je(e,i):this.findHover(e,i),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new je(0,0)},e.prototype.dispatch=function(t,e){var i=this[t];i&&i.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,i){var n=(t=t||{}).target;if(!n||!n.silent){for(var r="on"+e,o=function(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:Ve}}(e,t,i);n&&(n[r]&&(o.cancelBubble=!!n[r].call(n,o)),n.trigger(e,o),n=n.__hostTarget?n.__hostTarget:n.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,i){var n=this.storage.getDisplayList(),r=new je(t,e);if(Ue(n,r,t,e,i),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new ze(t-s,e-s,a,a),u=n.length-1;u>=0;u--){var c=n[u];c===i||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(Ge.copy(c.getBoundingRect()),c.transform&&Ge.applyTransform(c.transform),Ge.intersect(l)&&o.push(c))}if(o.length)for(var d=Math.PI/12,h=2*Math.PI,f=0;f<s;f+=4)for(var p=0;p<h;p+=d)if(Ue(o,r,t+f*Math.cos(p),e+f*Math.sin(p),i),r.target)return r}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new me);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var r=n.type;t.gestureEvent=r;var o=new je;o.target=n.target,this.dispatchToElement(o,r,n.event)}},e}(qt);function $e(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(var n=t,r=void 0,o=!1;n;){if(n.ignoreClip&&(o=!0),!o){var a=n.getClipPath();if(a&&!a.contain(e,i))return!1;n.silent&&(r=!0)}var s=n.__hostTarget;n=s||n.parent}return!r||"silent"}return!1}function Ue(t,e,i,n,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=$e(a,i,n))&&(!e.topTarget&&(e.topTarget=a),"silent"!==s)){e.target=a;break}}}function Ye(t,e,i){var n=t.painter;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}function Ze(t,e,i,n){var r=e+1;if(r===i)return 1;if(n(t[r++],t[e])<0){for(;r<i&&n(t[r],t[r-1])<0;)r++;!function(t,e,i){for(i--;e<i;){var n=t[e];t[e++]=t[i],t[i--]=n}}(t,e,r)}else for(;r<i&&n(t[r],t[r-1])>=0;)r++;return r-e}function Qe(t,e,i,n,r){for(n===e&&n++;n<i;n++){for(var o,a=t[n],s=e,l=n;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=o+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Xe(t,e,i,n,r,o){var a=0,s=0,l=1;if(o(t,e[i+r])>0){for(s=n-r;l<s&&o(t,e[i+r+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[i+r-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[i+c])>0?a=c+1:l=c}return l}function qe(t,e,i,n,r,o){var a=0,s=0,l=1;if(o(t,e[i+r])<0){for(s=r+1;l<s&&o(t,e[i+r-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=n-r;l<s&&o(t,e[i+r+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[i+c])<0?l=c:a=c+1}return l}function Ke(t,e,i,n){i||(i=0),n||(n=t.length);var r=n-i;if(!(r<2)){var o=0;if(r<32)Qe(t,i,n,i+(o=Ze(t,i,n,e)),e);else{var a=function(t,e){var i,n,r=7,o=0;t.length;var a=[];function s(s){var l=i[s],u=n[s],c=i[s+1],d=n[s+1];n[s]=u+d,s===o-3&&(i[s+1]=i[s+2],n[s+1]=n[s+2]),o--;var h=qe(t[c],t,l,u,0,e);l+=h,0!==(u-=h)&&0!==(d=Xe(t[l+u-1],t,c,d,d-1,e))&&(u<=d?function(i,n,o,s){var l=0;for(l=0;l<n;l++)a[l]=t[i+l];var u=0,c=o,d=i;if(t[d++]=t[c++],0!=--s)if(1!==n){for(var h,f,p,g=r;;){h=0,f=0,p=!1;do{if(e(t[c],a[u])<0){if(t[d++]=t[c++],f++,h=0,0==--s){p=!0;break}}else if(t[d++]=a[u++],h++,f=0,1==--n){p=!0;break}}while((h|f)<g);if(p)break;do{if(0!==(h=qe(t[c],a,u,n,0,e))){for(l=0;l<h;l++)t[d+l]=a[u+l];if(d+=h,u+=h,(n-=h)<=1){p=!0;break}}if(t[d++]=t[c++],0==--s){p=!0;break}if(0!==(f=Xe(a[u],t,c,s,0,e))){for(l=0;l<f;l++)t[d+l]=t[c+l];if(d+=f,c+=f,0===(s-=f)){p=!0;break}}if(t[d++]=a[u++],1==--n){p=!0;break}g--}while(h>=7||f>=7);if(p)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===n){for(l=0;l<s;l++)t[d+l]=t[c+l];t[d+s]=a[u]}else{if(0===n)throw new Error;for(l=0;l<n;l++)t[d+l]=a[u+l]}}else{for(l=0;l<s;l++)t[d+l]=t[c+l];t[d+s]=a[u]}else for(l=0;l<n;l++)t[d+l]=a[u+l]}(l,u,c,d):function(i,n,o,s){var l=0;for(l=0;l<s;l++)a[l]=t[o+l];var u=i+n-1,c=s-1,d=o+s-1,h=0,f=0;if(t[d--]=t[u--],0!=--n)if(1!==s){for(var p=r;;){var g=0,v=0,m=!1;do{if(e(a[c],t[u])<0){if(t[d--]=t[u--],g++,v=0,0==--n){m=!0;break}}else if(t[d--]=a[c--],v++,g=0,1==--s){m=!0;break}}while((g|v)<p);if(m)break;do{if(0!==(g=n-qe(a[c],t,i,n,n-1,e))){for(n-=g,f=1+(d-=g),h=1+(u-=g),l=g-1;l>=0;l--)t[f+l]=t[h+l];if(0===n){m=!0;break}}if(t[d--]=a[c--],1==--s){m=!0;break}if(0!==(v=s-Xe(t[u],a,0,s,s-1,e))){for(s-=v,f=1+(d-=v),h=1+(c-=v),l=0;l<v;l++)t[f+l]=a[h+l];if(s<=1){m=!0;break}}if(t[d--]=t[u--],0==--n){m=!0;break}p--}while(g>=7||v>=7);if(m)break;p<0&&(p=0),p+=2}if((r=p)<1&&(r=1),1===s){for(f=1+(d-=n),h=1+(u-=n),l=n-1;l>=0;l--)t[f+l]=t[h+l];t[d]=a[c]}else{if(0===s)throw new Error;for(h=d-(s-1),l=0;l<s;l++)t[h+l]=a[l]}}else{for(f=1+(d-=n),h=1+(u-=n),l=n-1;l>=0;l--)t[f+l]=t[h+l];t[d]=a[c]}else for(h=d-(s-1),l=0;l<s;l++)t[h+l]=a[l]}(l,u,c,d))}return i=[],n=[],{mergeRuns:function(){for(;o>1;){var t=o-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]<n[t+1]&&t--;else if(n[t]>n[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&n[t-1]<n[t+1]&&t--,s(t)}},pushRun:function(t,e){i[o]=t,n[o]=e,o+=1}}}(t,e),s=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Ze(t,i,n,e))<s){var l=r;l>s&&(l=s),Qe(t,i,i+l,i+o,e),o=l}a.pushRun(i,o),a.mergeRuns(),r-=o,i+=o}while(0!==r);a.forceMergeRuns()}}}V(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){We.prototype[t]=function(e){var i,n,r=e.zrX,o=e.zrY,a=Ye(this,r,o);if("mouseup"===t&&a||(n=(i=this.findHover(r,o)).target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||jt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}));var Je=!1;function ti(){Je||(Je=!0,n("warn","z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"," at uni_modules/lime-echart/static/echarts.min.js:37"))}function ei(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var ii=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ei}return t.prototype.traverse=function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var i=this._displayList;return!t&&i.length||this.updateDisplayList(e),i},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,n=0,r=e.length;n<r;n++)this._updateAndAddDisplayable(e[n],null,t);i.length=this._displayListLen,Ke(i,ei)},t.prototype._updateAndAddDisplayable=function(t,e,i){if(!t.ignore||i){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath();if(t.ignoreClip)e=null;else if(n){e=e?e.slice():[];for(var r=n,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=1),this._updateAndAddDisplayable(l,e,i)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(ti(),u.z=0),isNaN(u.z2)&&(ti(),u.z2=0),isNaN(u.zlevel)&&(ti(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,i);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,e,i);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,e,i)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,i=t.length;e<i;e++)this.delRoot(t[e]);else{var n=E(this._roots,t);n>=0&&this._roots.splice(n,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),ni=a.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},ri={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-ri.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*ri.bounceIn(2*t):.5*ri.bounceOut(2*t-1)+.5}},oi=Math.pow,ai=Math.sqrt,si=ai(3),li=It(),ui=It(),ci=It();function di(t){return t>-1e-8&&t<1e-8}function hi(t){return t>1e-8||t<-1e-8}function fi(t,e,i,n,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*n+3*o*i)}function pi(t,e,i,n,r){var o=1-r;return 3*(((e-t)*o+2*(i-e)*r)*o+(n-i)*r*r)}function gi(t,e,i,n,r,o){var a=n+3*(e-i)-t,s=3*(i-2*e+t),l=3*(e-t),u=t-r,c=s*s-3*a*l,d=s*l-9*a*u,h=l*l-3*s*u,f=0;if(di(c)&&di(d))di(s)?o[0]=0:(C=-l/s)>=0&&C<=1&&(o[f++]=C);else{var p=d*d-4*c*h;if(di(p)){var g=d/c,v=-g/2;(C=-s/a+g)>=0&&C<=1&&(o[f++]=C),v>=0&&v<=1&&(o[f++]=v)}else if(p>0){var m=ai(p),y=c*s+1.5*a*(-d+m),_=c*s+1.5*a*(-d-m);(C=(-s-((y=y<0?-oi(-y,1/3):oi(y,1/3))+(_=_<0?-oi(-_,1/3):oi(_,1/3))))/(3*a))>=0&&C<=1&&(o[f++]=C)}else{var x=(2*c*s-3*a*d)/(2*ai(c*c*c)),b=Math.acos(x)/3,w=ai(c),S=Math.cos(b),C=(-s-2*w*S)/(3*a),M=(v=(-s+w*(S+si*Math.sin(b)))/(3*a),(-s+w*(S-si*Math.sin(b)))/(3*a));C>=0&&C<=1&&(o[f++]=C),v>=0&&v<=1&&(o[f++]=v),M>=0&&M<=1&&(o[f++]=M)}}return f}function vi(t,e,i,n,r){var o=6*i-12*e+6*t,a=9*e+3*n-3*t-9*i,s=3*e-3*t,l=0;if(di(a))hi(o)&&(c=-s/o)>=0&&c<=1&&(r[l++]=c);else{var u=o*o-4*a*s;if(di(u))r[0]=-o/(2*a);else if(u>0){var c,d=ai(u),h=(-o-d)/(2*a);(c=(-o+d)/(2*a))>=0&&c<=1&&(r[l++]=c),h>=0&&h<=1&&(r[l++]=h)}}return l}function mi(t,e,i,n,r,o){var a=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,u=(s-a)*r+a,c=(l-s)*r+s,d=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=l,o[7]=n}function yi(t,e,i,n,r,o,a,s,l,u,c){var d,h,f,p,g,v=.005,m=1/0;li[0]=l,li[1]=u;for(var y=0;y<1;y+=.05)ui[0]=fi(t,i,r,a,y),ui[1]=fi(e,n,o,s,y),(p=Gt(li,ui))<m&&(d=y,m=p);m=1/0;for(var _=0;_<32&&!(v<1e-4);_++)h=d-v,f=d+v,ui[0]=fi(t,i,r,a,h),ui[1]=fi(e,n,o,s,h),p=Gt(ui,li),h>=0&&p<m?(d=h,m=p):(ci[0]=fi(t,i,r,a,f),ci[1]=fi(e,n,o,s,f),g=Gt(ci,li),f<=1&&g<m?(d=f,m=g):v*=.5);return c&&(c[0]=fi(t,i,r,a,d),c[1]=fi(e,n,o,s,d)),ai(m)}function _i(t,e,i,n,r,o,a,s,l){for(var u=t,c=e,d=0,h=1/l,f=1;f<=l;f++){var p=f*h,g=fi(t,i,r,a,p),v=fi(e,n,o,s,p),m=g-u,y=v-c;d+=Math.sqrt(m*m+y*y),u=g,c=v}return d}function xi(t,e,i,n){var r=1-n;return r*(r*t+2*n*e)+n*n*i}function bi(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function wi(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function Si(t,e,i,n,r){var o=(e-t)*n+t,a=(i-e)*n+e,s=(a-o)*n+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=i}function Ci(t,e,i,n,r,o,a,s,l){var u,c=.005,d=1/0;li[0]=a,li[1]=s;for(var h=0;h<1;h+=.05)ui[0]=xi(t,i,r,h),ui[1]=xi(e,n,o,h),(v=Gt(li,ui))<d&&(u=h,d=v);d=1/0;for(var f=0;f<32&&!(c<1e-4);f++){var p=u-c,g=u+c;ui[0]=xi(t,i,r,p),ui[1]=xi(e,n,o,p);var v=Gt(ui,li);if(p>=0&&v<d)u=p,d=v;else{ci[0]=xi(t,i,r,g),ci[1]=xi(e,n,o,g);var m=Gt(ci,li);g<=1&&m<d?(u=g,d=m):c*=.5}}return l&&(l[0]=xi(t,i,r,u),l[1]=xi(e,n,o,u)),ai(d)}function Mi(t,e,i,n,r,o,a){for(var s=t,l=e,u=0,c=1/a,d=1;d<=a;d++){var h=d*c,f=xi(t,i,r,h),p=xi(e,n,o,h),g=f-s,v=p-l;u+=Math.sqrt(g*g+v*v),s=f,l=p}return u}var Ti=/cubic-bezier\(([0-9,\.e ]+)\)/;function Ii(t){var e=t&&Ti.exec(t);if(e){var i=e[1].split(","),n=+ht(i[0]),r=+ht(i[1]),o=+ht(i[2]),a=+ht(i[3]);if(isNaN(n+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:gi(0,n,o,1,t,s)&&fi(0,r,a,1,s[0])}}}var Ai=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Ct,this.ondestroy=t.ondestroy||Ct,this.onrestart=t.onrestart||Ct,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var i=this._life,n=t-this._startTime-this._pausedTime,r=n/i;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=n%i;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Z(t)?t:ri[t]||Ii(t)},t}(),Di=function(t){this.value=t},ki=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Di(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),Li=function(){function t(t){this._list=new ki,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var i=this._list,n=this._map,r=null;if(null==n[t]){var o=i.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=i.head;i.remove(s),delete n[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Di(e),a.key=t,i.insertEntry(a),n[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),Pi={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Oi(t){return(t=Math.round(t))<0?0:t>255?255:t}function Ri(t){return t<0?0:t>1?1:t}function Ei(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Oi(parseFloat(e)/100*255):Oi(parseInt(e,10))}function Ni(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Ri(parseFloat(e)/100):Ri(parseFloat(e))}function Bi(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function zi(t,e,i){return t+(e-t)*i}function Vi(t,e,i,n,r){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,t}function Fi(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var ji=new Li(20),Hi=null;function Gi(t,e){Hi&&Fi(Hi,e),Hi=ji.put(t,Hi||e.slice())}function Wi(t,e){if(t){e=e||[];var i=ji.get(t);if(i)return Fi(e,i);var n=(t+="").replace(/ /g,"").toLowerCase();if(n in Pi)return Fi(e,Pi[n]),Gi(t,e),e;var r,o=n.length;if("#"===n.charAt(0))return 4===o||5===o?(r=parseInt(n.slice(1,4),16))>=0&&r<=4095?(Vi(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(n.slice(4),16)/15:1),Gi(t,e),e):void Vi(e,0,0,0,1):7===o||9===o?(r=parseInt(n.slice(1,7),16))>=0&&r<=16777215?(Vi(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(n.slice(7),16)/255:1),Gi(t,e),e):void Vi(e,0,0,0,1):void 0;var a=n.indexOf("("),s=n.indexOf(")");if(-1!==a&&s+1===o){var l=n.substr(0,a),u=n.substr(a+1,s-(a+1)).split(","),c=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?Vi(e,+u[0],+u[1],+u[2],1):Vi(e,0,0,0,1);c=Ni(u.pop());case"rgb":return u.length>=3?(Vi(e,Ei(u[0]),Ei(u[1]),Ei(u[2]),3===u.length?c:Ni(u[3])),Gi(t,e),e):void Vi(e,0,0,0,1);case"hsla":return 4!==u.length?void Vi(e,0,0,0,1):(u[3]=Ni(u[3]),$i(u,e),Gi(t,e),e);case"hsl":return 3!==u.length?void Vi(e,0,0,0,1):($i(u,e),Gi(t,e),e);default:return}}Vi(e,0,0,0,1)}}function $i(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=Ni(t[1]),r=Ni(t[2]),o=r<=.5?r*(n+1):r+n-r*n,a=2*r-o;return Vi(e=e||[],Oi(255*Bi(a,o,i+1/3)),Oi(255*Bi(a,o,i)),Oi(255*Bi(a,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Ui(t,e){var i=Wi(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:i[n]<0&&(i[n]=0);return Ji(i,4===i.length?"rgba":"rgb")}}function Yi(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),r=Math.floor(n),o=Math.ceil(n),a=e[r],s=e[o],l=n-r;return i[0]=Oi(zi(a[0],s[0],l)),i[1]=Oi(zi(a[1],s[1],l)),i[2]=Oi(zi(a[2],s[2],l)),i[3]=Ri(zi(a[3],s[3],l)),i}}var Zi=Yi;function Qi(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),r=Math.floor(n),o=Math.ceil(n),a=Wi(e[r]),s=Wi(e[o]),l=n-r,u=Ji([Oi(zi(a[0],s[0],l)),Oi(zi(a[1],s[1],l)),Oi(zi(a[2],s[2],l)),Ri(zi(a[3],s[3],l))],"rgba");return i?{color:u,leftIndex:r,rightIndex:o,value:n}:u}}var Xi=Qi;function qi(t,e,i,n){var r=Wi(t);if(t)return r=function(t){if(t){var e,i,n=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(n,r,o),s=Math.max(n,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+a):l/(2-s-a);var c=((s-n)/6+l/2)/l,d=((s-r)/6+l/2)/l,h=((s-o)/6+l/2)/l;n===s?e=h-d:r===s?e=1/3+c-h:o===s&&(e=2/3+d-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=i&&(r[1]=Ni(i)),null!=n&&(r[2]=Ni(n)),Ji($i(r),"rgba")}function Ki(t,e){var i=Wi(t);if(i&&null!=e)return i[3]=Ri(e),Ji(i,"rgba")}function Ji(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}function tn(t,e){var i=Wi(t);return i?(.299*i[0]+.587*i[1]+.114*i[2])*i[3]/255+(1-i[3])*e:0}var en=Object.freeze({__proto__:null,parse:Wi,lift:Ui,toHex:function(t){var e=Wi(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},fastLerp:Yi,fastMapToColor:Zi,lerp:Qi,mapToColor:Xi,modifyHSL:qi,modifyAlpha:Ki,stringify:Ji,lum:tn,random:function(){return Ji([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}}),nn=Math.round;function rn(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var i=Wi(t);i&&(t="rgb("+i[0]+","+i[1]+","+i[2]+")",e=i[3])}}else t="none";return{color:t,opacity:null==e?1:e}}function on(t){return t<1e-4&&t>-1e-4}function an(t){return nn(1e3*t)/1e3}function sn(t){return nn(1e4*t)/1e4}var ln={left:"start",right:"end",center:"middle",middle:"middle"};function un(t){return t&&!!t.image}function cn(t){return un(t)||function(t){return t&&!!t.svgElement}(t)}function dn(t){return"linear"===t.type}function hn(t){return"radial"===t.type}function fn(t){return t&&("linear"===t.type||"radial"===t.type)}function pn(t){return"url(#"+t+")"}function gn(t){var e=t.getGlobalScale(),i=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(i)/Math.log(10)),1)}function vn(t){var e=t.x||0,i=t.y||0,n=(t.rotation||0)*Mt,r=st(t.scaleX,1),o=st(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||i)&&l.push("translate("+e+"px,"+i+"px)"),n&&l.push("rotate("+n+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+nn(a*Mt)+"deg, "+nn(s*Mt)+"deg)"),l.join(" ")}var mn=a.hasGlobalWindow&&Z(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof r?function(t){return r.from(t).toString("base64")}:function(t){return null},yn=Array.prototype.slice;function _n(t,e,i){return(e-t)*i+t}function xn(t,e,i,n){for(var r=e.length,o=0;o<r;o++)t[o]=_n(e[o],i[o],n);return t}function bn(t,e,i,n){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+i[o]*n;return t}function wn(t,e,i,n){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+i[a][s]*n}return t}function Sn(t,e){for(var i=t.length,n=e.length,r=i>n?e:t,o=Math.min(i,n),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(i,n);s++)r.push({offset:a.offset,color:a.color.slice()})}function Cn(t,e,i){var n=t,r=e;if(n.push&&r.push){var o=n.length,a=r.length;if(o!==a)if(o>a)n.length=a;else for(var s=o;s<a;s++)n.push(1===i?r[s]:yn.call(r[s]));var l=n[0]&&n[0].length;for(s=0;s<n.length;s++)if(1===i)isNaN(n[s])&&(n[s]=r[s]);else for(var u=0;u<l;u++)isNaN(n[s][u])&&(n[s][u]=r[s][u])}}function Mn(t){if(z(t)){var e=t.length;if(z(t[0])){for(var i=[],n=0;n<e;n++)i.push(yn.call(t[n]));return i}return yn.call(t)}return t}function Tn(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function In(t){return 4===t||5===t}function An(t){return 1===t||2===t}var Dn=[0,0,0,0],kn=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,i){this._needsSort=!0;var n=this.keyframes,r=n.length,o=!1,a=6,s=e;if(z(e)){var l=function(t){return z(t&&t[0])?2:1}(e);a=l,(1===l&&!q(e[0])||2===l&&!q(e[0][0]))&&(o=!0)}else if(q(e)&&!ot(e))a=0;else if(Q(e))if(isNaN(+e)){var u=Wi(e);u&&(s=u,a=3)}else a=0;else if(it(e)){var c=P({},s);c.colorStops=F(e.colorStops,(function(t){return{offset:t.offset,color:Wi(t.color)}})),dn(e)?a=4:hn(e)&&(a=5),s=c}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var d={time:t,value:s,rawValue:e,percent:0};return i&&(d.easing=i,d.easingFunc=Z(i)?i:ri[i]||Ii(i)),n.push(d),d},t.prototype.prepare=function(t,e){var i=this.keyframes;this._needsSort&&i.sort((function(t,e){return t.time-e.time}));for(var n=this.valType,r=i.length,o=i[r-1],a=this.discrete,s=An(n),l=In(n),u=0;u<r;u++){var c=i[u],d=c.value,h=o.value;c.percent=c.time/t,a||(s&&u!==r-1?Cn(d,h,n):l&&Sn(d.colorStops,h.colorStops))}if(!a&&5!==n&&e&&this.needsAnimate()&&e.needsAnimate()&&n===e.valType&&!e._finished){this._additiveTrack=e;var f=i[0].value;for(u=0;u<r;u++)0===n?i[u].additiveValue=i[u].value-f:3===n?i[u].additiveValue=bn([],i[u].value,f,-1):An(n)&&(i[u].additiveValue=1===n?bn([],i[u].value,f,-1):wn([],i[u].value,f,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var i,n,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,c=this.propName,d=3===s,h=this._lastFr,f=Math.min;if(1===u)n=r=l[0];else{if(e<0)i=0;else if(e<this._lastFrP){for(i=f(h+1,u-1);i>=0&&!(l[i].percent<=e);i--);i=f(i,u-2)}else{for(i=h;i<u&&!(l[i].percent>e);i++);i=f(i-1,u-2)}r=l[i+1],n=l[i]}if(n&&r){this._lastFr=i,this._lastFrP=e;var p=r.percent-n.percent,g=0===p?1:f((e-n.percent)/p,1);r.easingFunc&&(g=r.easingFunc(g));var v=o?this._additiveValue:d?Dn:t[c];if(!An(s)&&!d||v||(v=this._additiveValue=[]),this.discrete)t[c]=g<1?n.rawValue:r.rawValue;else if(An(s))1===s?xn(v,n[a],r[a],g):function(t,e,i,n){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=_n(e[a][s],i[a][s],n)}}(v,n[a],r[a],g);else if(In(s)){var m=n[a],y=r[a],_=4===s;t[c]={type:_?"linear":"radial",x:_n(m.x,y.x,g),y:_n(m.y,y.y,g),colorStops:F(m.colorStops,(function(t,e){var i=y.colorStops[e];return{offset:_n(t.offset,i.offset,g),color:Tn(xn([],t.color,i.color,g))}})),global:y.global},_?(t[c].x2=_n(m.x2,y.x2,g),t[c].y2=_n(m.y2,y.y2,g)):t[c].r=_n(m.r,y.r,g)}else if(d)xn(v,n[a],r[a],g),o||(t[c]=Tn(v));else{var x=_n(n[a],r[a],g);o?this._additiveValue=x:t[c]=x}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,i=this.propName,n=this._additiveValue;0===e?t[i]=t[i]+n:3===e?(Wi(t[i],Dn),bn(Dn,Dn,n,1),t[i]=Tn(Dn)):1===e?bn(t[i],t[i],n,1):2===e&&wn(t[i],t[i],n,1)},t}(),Ln=function(){function t(t,e,i,n){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?A("Can' use additive animation on looped animation."):(this._additiveAnimators=n,this._allowDiscrete=i)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,i){return this.whenWithKeys(t,e,W(e),i)},t.prototype.whenWithKeys=function(t,e,i,n){for(var r=this._tracks,o=0;o<i.length;o++){var a=i[o],s=r[a];if(!s){s=r[a]=new kn(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,d=c[c.length-1];l=d&&d.value,3===u.valType&&l&&(l=Tn(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,Mn(l),n),this._trackKeys.push(a)}s.addKeyframe(t,Mn(e[a]),n)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,i=0;i<e;i++)t[i].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var i=0;i<e.length;i++)e[i].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,i=0;i<e.length;i++)t[e[i]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,i=this._additiveAnimators;if(i)for(var n=0;n<i.length;n++){var r=i[n].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,i=[],n=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(n,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else i.push(a)}if(i.length||this._force){var d=new Ai({life:n,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var n=e._additiveAnimators;if(n){for(var r=!1,o=0;o<n.length;o++)if(n[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<i.length;o++)i[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),t&&d.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return F(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var i=this._tracks,n=this._trackKeys,r=0;r<t.length;r++){var o=i[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<n.length;r++)if(!i[n[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,i){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var r=e[n],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[i?0:a.length-1];s&&(t[r]=Mn(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||W(t);for(var i=0;i<e.length;i++){var n=e[i],r=this._tracks[n];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[n]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Pn(){return(new Date).getTime()}var On,Rn,En=function(t){function e(e){var i=t.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,e=e||{},i.stage=e.stage||{},i}return i(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,i=t.next;e?e.next=i:this._head=i,i?i.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Pn()-this._pausedTime,i=e-this._time,n=this._head;n;){var r=n.next;n.step(e,i)?(n.ondestroy(),this.removeClip(n),n=r):n=r}this._time=e,t||(this.trigger("frame",i),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,ni((function e(){t._running&&(ni(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=Pn(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Pn(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Pn()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var i=new Ln(t,e.loop);return this.addAnimator(i),i},e}(qt),Nn=a.domSupported,Bn=(Rn={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:On=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:F(On,(function(t){var e=t.replace("mouse","pointer");return Rn.hasOwnProperty(e)?e:t}))}),zn=["mousemove","mouseup"],Vn=["pointermove","pointerup"],Fn=!1;function jn(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Hn(t){t&&(t.zrByTouch=!0)}function Gn(t,e){for(var i=e,n=!1;i&&9!==i.nodeType&&!(n=i.domBelongToZr||i!==e&&i===t.painterRoot);)i=i.parentNode;return n}var Wn=function(t,e){this.stopPropagation=Ct,this.stopImmediatePropagation=Ct,this.preventDefault=Ct,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},$n={mousedown:function(t){t=fe(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=fe(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=fe(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Gn(this,(t=fe(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Fn=!0,t=fe(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Fn||(t=fe(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Hn(t=fe(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),$n.mousemove.call(this,t),$n.mousedown.call(this,t)},touchmove:function(t){Hn(t=fe(this.dom,t)),this.handler.processGesture(t,"change"),$n.mousemove.call(this,t)},touchend:function(t){Hn(t=fe(this.dom,t)),this.handler.processGesture(t,"end"),$n.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&$n.click.call(this,t)},pointerdown:function(t){$n.mousedown.call(this,t)},pointermove:function(t){jn(t)||$n.mousemove.call(this,t)},pointerup:function(t){$n.mouseup.call(this,t)},pointerout:function(t){jn(t)||$n.mouseout.call(this,t)}};V(["click","dblclick","contextmenu"],(function(t){$n[t]=function(e){e=fe(this.dom,e),this.trigger(t,e)}}));var Un={pointermove:function(t){jn(t)||Un.mousemove.call(this,t)},pointerup:function(t){Un.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Yn(t,e,i,n){t.mounted[e]=i,t.listenerOpts[e]=n,pe(t.domTarget,e,i,n)}function Zn(t){var e,i,n,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,i=a,n=o[a],r=t.listenerOpts[a],e.removeEventListener(i,n,r));t.mounted={}}var Qn=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},Xn=function(t){function e(e,i){var n=t.call(this)||this;return n.__pointerCapturing=!1,n.dom=e,n.painterRoot=i,n._localHandlerScope=new Qn(e,$n),Nn&&(n._globalHandlerScope=new Qn(document,Un)),function(t,e){var i=e.domHandlers;a.pointerEventsSupported?V(Bn.pointer,(function(n){Yn(e,n,(function(e){i[n].call(t,e)}))})):(a.touchEventsSupported&&V(Bn.touch,(function(n){Yn(e,n,(function(r){i[n].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),V(Bn.mouse,(function(n){Yn(e,n,(function(r){r=he(r),e.touching||i[n].call(t,r)}))})))}(n,n._localHandlerScope),n}return i(e,t),e.prototype.dispose=function(){Zn(this._localHandlerScope),Nn&&Zn(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Nn&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){function i(i){Yn(e,i,(function(n){n=he(n),Gn(t,n.target)||(n=function(t,e){return fe(t.dom,new Wn(t,e),!0)}(t,n),e.domHandlers[i].call(t,n))}),{capture:!0})}a.pointerEventsSupported?V(Vn,i):a.touchEventsSupported||V(zn,i)}(this,e):Zn(e)}},e}(qt),qn=1;a.hasGlobalWindow&&(qn=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Kn=qn,Jn="#333",tr="#ccc",er=xe;function ir(t){return t>5e-5||t<-5e-5}var nr=[],rr=[],or=[1,0,0,1,0,0],ar=Math.abs,sr=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return ir(this.rotation)||ir(this.x)||ir(this.y)||ir(this.scaleX-1)||ir(this.scaleY-1)||ir(this.skewX)||ir(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),i=this.transform;e||t?(i=i||[1,0,0,1,0,0],e?this.getLocalTransform(i):er(i),t&&(e?we(i,t,i):be(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i)):i&&er(i)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(nr);var i=nr[0]<0?-1:1,n=nr[1]<0?-1:1,r=((nr[0]-i)*e+i)/nr[0]||0,o=((nr[1]-n)*e+n)/nr[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Te(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),r=Math.PI/2+n-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=i,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(we(rr,t.invTransform,e),e=rr);var i=this.originX,n=this.originY;(i||n)&&(or[4]=i,or[5]=n,we(rr,e,or),rr[4]-=i,rr[5]-=n,e=rr),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&$t(i,i,n),i},t.prototype.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&$t(i,i,n),i},t.prototype.getLineScale=function(){var t=this.transform;return t&&ar(t[0]-1)>1e-10&&ar(t[3]-1)>1e-10?Math.sqrt(ar(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){ur(this,t)},t.getLocalTransform=function(t,e){e=e||[];var i=t.originX||0,n=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,d=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(i||n||a||s){var f=i+a,p=n+s;e[4]=-f*r-d*p*o,e[5]=-p*o-h*f*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=h*r,e[2]=d*o,l&&Ce(e,e,l),e[4]+=i+u,e[5]+=n+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),lr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function ur(t,e){for(var i=0;i<lr.length;i++){var n=lr[i];t[n]=e[n]}}var cr={};function dr(t,e){var i=cr[e=e||d];i||(i=cr[e]=new Li(500));var n=i.get(t);return null==n&&(n=f.measureText(t,e).width,i.put(t,n)),n}function hr(t,e,i,n){var r=dr(t,e),o=vr(e),a=pr(0,r,i),s=gr(0,o,n);return new ze(a,s,r,o)}function fr(t,e,i,n){var r=((t||"")+"").split("\n");if(1===r.length)return hr(r[0],e,i,n);for(var o=new ze(0,0,0,0),a=0;a<r.length;a++){var s=hr(r[a],e,i,n);0===a?o.copy(s):o.union(s)}return o}function pr(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function gr(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function vr(t){return dr("\u56fd",t)}function mr(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function yr(t,e,i){var n=e.position||"inside",r=null!=e.distance?e.distance:5,o=i.height,a=i.width,s=o/2,l=i.x,u=i.y,c="left",d="top";if(n instanceof Array)l+=mr(n[0],i.width),u+=mr(n[1],i.height),c=null,d=null;else switch(n){case"left":l-=r,u+=s,c="right",d="middle";break;case"right":l+=r+a,u+=s,d="middle";break;case"top":l+=a/2,u-=r,c="center",d="bottom";break;case"bottom":l+=a/2,u+=o+r,c="center";break;case"inside":l+=a/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=r,u+=s,d="middle";break;case"insideRight":l+=a-r,u+=s,c="right",d="middle";break;case"insideTop":l+=a/2,u+=r,c="center";break;case"insideBottom":l+=a/2,u+=o-r,c="center",d="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=o-r,d="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,c="right",d="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=d,t}var _r="__zr_normal__",xr=lr.concat(["ignore"]),br=j(lr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),wr={},Sr=new ze(0,0,0,0),Cr=function(){function t(t){this.id=I(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,i){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,n=i.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=n?this:null;var l=!1;if(r.copyTransform(e),null!=i.position){var u=Sr;i.layoutRect?u.copy(i.layoutRect):u.copy(this.getBoundingRect()),n||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(wr,i,u):yr(wr,i,u),r.x=wr.x,r.y=wr.y,o=wr.align,a=wr.verticalAlign;var c=i.origin;if(c&&null!=i.rotation){var d=void 0,h=void 0;"center"===c?(d=.5*u.width,h=.5*u.height):(d=mr(c[0],u.width),h=mr(c[1],u.height)),l=!0,r.originX=-r.x+d+(n?0:u.x),r.originY=-r.y+h+(n?0:u.y)}}null!=i.rotation&&(r.rotation=i.rotation);var f=i.offset;f&&(r.x+=f[0],r.y+=f[1],l||(r.originX=-f[0],r.originY=-f[1]));var p=null==i.inside?"string"==typeof i.position&&i.position.indexOf("inside")>=0:i.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),v=void 0,m=void 0,y=void 0;p&&this.canBeInsideText()?(v=i.insideFill,m=i.insideStroke,null!=v&&"auto"!==v||(v=this.getInsideTextFill()),null!=m&&"auto"!==m||(m=this.getInsideTextStroke(v),y=!0)):(v=i.outsideFill,m=i.outsideStroke,null!=v&&"auto"!==v||(v=this.getOutsideFill()),null!=m&&"auto"!==m||(m=this.getOutsideStroke(v),y=!0)),(v=v||"#000")===g.fill&&m===g.stroke&&y===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=v,g.stroke=m,g.autoStroke=y,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?tr:Jn},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),i="string"==typeof e&&Wi(e);i||(i=[255,255,255,1]);for(var n=i[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)i[o]=i[o]*n+(r?0:255)*(1-n);return i[3]=1,Ji(i,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},P(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(K(t))for(var i=W(t),n=0;n<i.length;n++){var r=i[n];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,i=0;i<this.animators.length;i++){var n=this.animators[i],r=n.__fromStateTransition;if(!(n.getLoop()||r&&r!==_r)){var o=n.targetName,a=o?e[o]:e;n.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,xr)},t.prototype._savePrimaryToNormal=function(t,e,i){for(var n=0;n<i.length;n++){var r=i[n];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(_r,!1,t)},t.prototype.useState=function(t,e,i,n){var r=t===_r;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(E(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||n);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!i&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,c=this._textGuide;return u&&u.useState(t,e,i,l),c&&c.useState(t,e,i,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}A("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,i){if(t.length){var n=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&n.push(u)}var c=n[o-1],d=!!(c&&c.hoverLayer||i);d&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(n),f=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(t.join(","),h,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,e,d),g&&g.useStates(t,e,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=E(this.currentStates,t);if(e>=0){var i=this.currentStates.slice();i.splice(e,1),this.useStates(i)}},t.prototype.replaceState=function(t,e,i){var n=this.currentStates.slice(),r=E(n,t),o=E(n,e)>=0;r>=0?o?n.splice(r,1):n[r]=e:i&&!o&&n.push(e),this.useStates(n)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,i={},n=0;n<t.length;n++){var r=t[n];P(i,r),r.textConfig&&P(e=e||{},r.textConfig)}return e&&(i.textConfig=e),i},t.prototype._applyStateObj=function(t,e,i,n,r,o){var a=!(e&&n);e&&e.textConfig?(this.textConfig=P({},n?this.textConfig:i.textConfig),P(this.textConfig,e.textConfig)):a&&i.textConfig&&(this.textConfig=i.textConfig);for(var s={},l=!1,u=0;u<xr.length;u++){var c=xr[u],d=r&&br[c];e&&null!=e[c]?d?(l=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=i[c]&&(d?(l=!0,s[c]=i[c]):this[c]=i[c])}if(!r)for(u=0;u<this.animators.length;u++){var h=this.animators[u],f=h.targetName;h.getLoop()||h.__changeFinalValue(f?(e||i)[f]:e||i)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new sr,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),P(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=1;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,i=this._textGuide;e&&(e.__inHover=t),i&&(i.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.addAnimator(e[i]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,i){var n=t?this[t]:this,r=new Ln(n,e,i);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var i=this.__zr,n=this;t.during((function(){n.updateDuringAnimation(e)})).done((function(){var e=n.animators,i=E(e,t);i>=0&&e.splice(i,1)})),this.animators.push(t),i&&i.animation.addAnimator(t),i&&i.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var i=this.animators,n=i.length,r=[],o=0;o<n;o++){var a=i[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,i){Mr(this,t,e,i)},t.prototype.animateFrom=function(t,e,i){Mr(this,t,e,i,!0)},t.prototype._transitionState=function(t,e,i,n){for(var r=Mr(this,e,i,n),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function i(t,i,n,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[n]},set:function(e){t[n]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){return this[i]||o(this,this[i]=[]),this[i]},set:function(t){this[n]=t[0],this[r]=t[1],this[i]=t,o(this,t)}})}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=1,Object.defineProperty&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),t}();function Mr(t,e,i,n,r){var o=[];(function t(e,i,n,r,o,a,s,l){for(var u=W(r),c=o.duration,d=o.delay,h=o.additive,f=o.setToFinal,p=!K(a),g=e.animators,v=[],m=0;m<u.length;m++){var y=u[m],_=r[y];if(null!=_&&null!=n[y]&&(p||a[y]))if(!K(_)||z(_)||it(_))v.push(y);else{if(i){l||(n[y]=_,e.updateDuringAnimation(i));continue}t(e,y,n[y],_,o,a&&a[y],s,l)}else l||(n[y]=_,e.updateDuringAnimation(i),v.push(y))}var x=v.length;if(!h&&x)for(var b=0;b<g.length;b++)if((S=g[b]).targetName===i&&S.stopTracks(v)){var w=E(g,S);g.splice(w,1)}if(o.force||(v=H(v,(function(t){return e=r[t],i=n[t],!(e===i||z(e)&&z(i)&&function(t,e){var i=t.length;if(i!==e.length)return!1;for(var n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}(e,i));var e,i})),x=v.length),x>0||o.force&&!s.length){var S,C=void 0,M=void 0,T=void 0;if(l)for(M={},f&&(C={}),b=0;b<x;b++)M[y=v[b]]=n[y],f?C[y]=r[y]:n[y]=r[y];else if(f)for(T={},b=0;b<x;b++)T[y=v[b]]=Mn(n[y]),Ir(n,r,y);(S=new Ln(n,!1,!1,h?H(g,(function(t){return t.targetName===i})):null)).targetName=i,o.scope&&(S.scope=o.scope),f&&C&&S.whenWithKeys(0,C,v),T&&S.whenWithKeys(0,T,v),S.whenWithKeys(null==c?500:c,l?M:r,v).delay(d||0),e.addAnimator(S,i),s.push(S)}})(t,"",t,e,i=i||{},n,o,r);var a=o.length,s=!1,l=i.done,u=i.aborted,c=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},d=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&i.during&&o[0].during((function(t,e){i.during(e)}));for(var h=0;h<o.length;h++){var f=o[h];c&&f.done(c),d&&f.aborted(d),i.force&&f.duration(i.duration),f.start(i.easing)}return o}function Tr(t,e,i){for(var n=0;n<i;n++)t[n]=e[n]}function Ir(t,e,i){if(z(e[i]))if(z(t[i])||(t[i]=[]),tt(e[i])){var n=e[i].length;t[i].length!==n&&(t[i]=new e[i].constructor(n),Tr(t[i],e[i],n))}else{var r=e[i],o=t[i],a=r.length;if(z(r[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?Tr(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else Tr(o,r,a);o.length=r.length}else t[i]=e[i]}B(Cr,qt),B(Cr,sr);var Ar=function(t){function e(e){var i=t.call(this)||this;return i.isGroup=!0,i._children=[],i.attr(e),i}return i(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,i=0;i<e.length;i++)if(e[i].name===t)return e[i]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var i=this._children,n=i.indexOf(e);n>=0&&(i.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var i=E(this._children,t);return i>=0&&this.replaceAt(e,i),this},e.prototype.replaceAt=function(t,e){var i=this._children,n=i[e];if(t&&t!==this&&t.parent!==this&&t!==n){i[e]=t,n.parent=null;var r=this.__zr;r&&n.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,i=this._children,n=E(i,t);return n<0||(i.splice(n,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,i=0;i<t.length;i++){var n=t[i];e&&n.removeSelfFromZr(e),n.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var i=this._children,n=0;n<i.length;n++){var r=i[n];t.call(e,r,n)}return this},e.prototype.traverse=function(t,e){for(var i=0;i<this._children.length;i++){var n=this._children[i],r=t.call(e,n);n.isGroup&&!r&&n.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new ze(0,0,0,0),i=t||this._children,n=[],r=null,o=0;o<i.length;o++){var a=i[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(n);l?(ze.applyTransform(e,s,l),(r=r||e.clone()).union(e)):(r=r||s.clone()).union(s)}}return r||e},e}(Cr);Ar.prototype.type="group";
|
|
/*!
|
|
* ZRender, a high performance 2d drawing library.
|
|
*
|
|
* Copyright (c) 2013, Baidu Inc.
|
|
* All rights reserved.
|
|
*
|
|
* LICENSE
|
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
*/
|
|
var Dr={},kr={},Lr=function(){function t(t,e,i){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,i=i||{},this.dom=e,this.id=t;var r=new ii,o=i.renderer||"canvas";Dr[o]||(o=W(Dr)[0]),i.useDirtyRect=null!=i.useDirtyRect&&i.useDirtyRect;var s=new Dr[o](e,r,i,t),l=i.ssr||s.ssrOnly;this.storage=r,this.painter=s;var u,c=a.node||a.worker||l?null:new Xn(s.getViewportRoot(),s.root),d=i.useCoarsePointer;(null==d||"auto"===d?a.touchEventsSupported:!!d)&&(u=st(i.pointerSize,44)),this.handler=new We(r,s,c,s.root,u),this.animation=new En({stage:{update:l?null:function(){return n._flush(!0)}}}),l||this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return tn(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,i=0,n=e.length,r=0;r<n;r++)i+=tn(e[r].color,1);return(i/=n)<.4}return!1}(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,i=Pn();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var n=Pn();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-i})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,i){return this.handler.on(t,e,i),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof Ar&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete kr[t]},t}();function Pr(t,e){var i=new Lr(I(),t,e);return kr[i.id]=i,i}function Or(t,e){Dr[t]=e}var Rr=Object.freeze({__proto__:null,init:Pr,dispose:function(t){t.dispose()},disposeAll:function(){for(var t in kr)kr.hasOwnProperty(t)&&kr[t].dispose();kr={}},getInstance:function(t){return kr[t]},registerPainter:Or,version:"5.4.1"});function Er(t,e,i,n){var r=e[0],o=e[1],a=i[0],s=i[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(n)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Nr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return Q(t)?(i=t,i.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var i}function Br(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function zr(t){return t.sort((function(t,e){return t-e})),t}function Vr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,i=0;i<15;i++,e*=10)if(Math.round(t*e)/e===t)return i;return Fr(t)}function Fr(t){var e=t.toString().toLowerCase(),i=e.indexOf("e"),n=i>0?+e.slice(i+1):0,r=i>0?i:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-n)}function jr(t,e){var i=Math.log,n=Math.LN10,r=Math.floor(i(t[1]-t[0])/n),o=Math.round(i(Math.abs(e[1]-e[0]))/n),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function Hr(t,e){var i=j(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===i)return[];for(var n=Math.pow(10,e),r=F(t,(function(t){return(isNaN(t)?0:t)/i*n*100})),o=100*n,a=F(r,(function(t){return Math.floor(t)})),s=j(a,(function(t,e){return t+e}),0),l=F(r,(function(t,e){return t-a[e]}));s<o;){for(var u=Number.NEGATIVE_INFINITY,c=null,d=0,h=l.length;d<h;++d)l[d]>u&&(u=l[d],c=d);++a[c],l[c]=0,++s}return F(a,(function(t){return t/n}))}function Gr(t,e){var i=Math.max(Vr(t),Vr(e)),n=t+e;return i>20?n:Br(n,i)}var Wr=9007199254740991;function $r(t){var e=2*Math.PI;return(t%e+e)%e}function Ur(t){return t>-1e-4&&t<1e-4}var Yr=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Zr(t){if(t instanceof Date)return t;if(Q(t)){var e=Yr.exec(t);if(!e)return new Date(NaN);if(e[8]){var i=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(i-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,i,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function Qr(t){return Math.pow(10,Xr(t))}function Xr(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function qr(t,e){var i=Xr(t),n=Math.pow(10,i),r=t/n;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*n,i>=-20?+t.toFixed(i<0?-i:0):t}function Kr(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),r=+t[n-1],o=i-n;return o?r+o*(t[n]-r):r}function Jr(t){t.sort((function(t,e){return function t(e,i,n){return e.interval[n]<i.interval[n]||e.interval[n]===i.interval[n]&&(e.close[n]-i.close[n]==(n?-1:1)||!n&&t(e,i,1))}(t,e,0)?-1:1}));for(var e=-1/0,i=1,n=0;n<t.length;){for(var r=t[n].interval,o=t[n].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-i),e=r[a],i=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(n,1):n++}return t}function to(t){var e=parseFloat(t);return e==t&&(0!==e||!Q(t)||t.indexOf("x")<=0)?e:NaN}function eo(t){return!isNaN(to(t))}function io(){return Math.round(9*Math.random())}function no(t,e){return null==t?e:null==e?t:t*e/function t(e,i){return 0===i?e:t(i,e%i)}(t,e)}function ro(t){throw new Error(t)}function oo(t,e,i){return(e-t)*i+t}"undefined"!=typeof console&&console.warn&&console.log;var ao="series\0";function so(t){return t instanceof Array?t:null==t?[]:[t]}function lo(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,r=i.length;n<r;n++){var o=i[n];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var uo=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function co(t){return!K(t)||Y(t)||t instanceof Date?t:t.value}function ho(t){return K(t)&&!(t instanceof Array)}function fo(t,e,i){var n="normalMerge"===i,r="replaceMerge"===i,o="replaceAll"===i;t=t||[],e=(e||[]).slice();var a=_t();V(e,(function(t,i){K(t)||(e[i]=null)}));var s,l,u=function(t,e,i){var n=[];if("replaceAll"===i)return n;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),n.push({existing:"replaceMerge"===i||yo(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return n}(t,a,i);return(n||r)&&function(t,e,i,n){V(n,(function(r,o){if(r&&null!=r.id){var a=go(r.id),s=i.get(a);if(null!=s){var l=t[s];dt(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=r,l.existing=e[s],n[o]=null}}}))}(u,t,a,e),n&&function(t,e){V(e,(function(i,n){if(i&&null!=i.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==i.id)&&!yo(i)&&!yo(o)&&po("name",o,i))return t[r].newOption=i,void(e[n]=null)}}))}(u,e),n||r?function(t,e,i){V(e,(function(e){if(e){for(var n,r=0;(n=t[r])&&(n.newOption||yo(n.existing)||n.existing&&null!=e.id&&!po("id",e,n.existing));)r++;n?(n.newOption=e,n.brandNew=i):t.push({newOption:e,brandNew:i,existing:null,keyInfo:null}),r++}}))}(u,e,r):o&&function(t,e){V(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(u,e),s=u,l=_t(),V(s,(function(t){var e=t.existing;e&&l.set(e.id,t)})),V(s,(function(t){var e=t.newOption;dt(!e||null==e.id||!l.get(e.id)||l.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&l.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),V(s,(function(t,e){var i=t.existing,n=t.newOption,r=t.keyInfo;if(K(n)){if(r.name=null!=n.name?go(n.name):i?i.name:ao+e,i)r.id=go(i.id);else if(null!=n.id)r.id=go(n.id);else{var o=0;do{r.id="\0"+r.name+"\0"+o++}while(l.get(r.id))}l.set(r.id,t)}})),u}function po(t,e,i){var n=vo(e[t],null),r=vo(i[t],null);return null!=n&&null!=r&&n===r}function go(t){return vo(t,"")}function vo(t,e){return null==t?e:Q(t)?t:q(t)||X(t)?t+"":e}function mo(t){var e=t.name;return!(!e||!e.indexOf(ao))}function yo(t){return t&&null!=t.id&&0===go(t.id).indexOf("\0_ec_\0")}function _o(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?Y(e.dataIndex)?F(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?Y(e.name)?F(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function xo(){var t="__ec_inner_"+bo++;return function(e){return e[t]||(e[t]={})}}var bo=io();function wo(t,e,i){var n=So(e,i),r=n.mainTypeSpecified,o=n.queryOptionMap,a=n.others,s=i?i.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each((function(e,n){var r=To(t,n,e,{useDefault:s===n,enableAll:!i||null==i.enableAll||i.enableAll,enableNone:!i||null==i.enableNone||i.enableNone});a[n+"Models"]=r.models,a[n+"Model"]=r.models[0]})),a}function So(t,e){var i;if(Q(t)){var n={};n[t+"Index"]=0,i=n}else i=t;var r=_t(),o={},a=!1;return V(i,(function(t,i){if("dataIndex"!==i&&"dataIndexInside"!==i){var n=i.match(/^(\w+)(Index|Id|Name)$/)||[],s=n[1],l=(n[2]||"").toLowerCase();!s||!l||e&&e.includeMainTypes&&E(e.includeMainTypes,s)<0||(a=a||!!s,(r.get(s)||r.set(s,{}))[l]=t)}else o[i]=t})),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var Co={useDefault:!0,enableAll:!1,enableNone:!1},Mo={useDefault:!1,enableAll:!0,enableNone:!0};function To(t,e,i,n){n=n||Co;var r=i.index,o=i.id,a=i.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=n.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(dt(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(dt(n.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s)}function Io(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i}function Ao(t,e){var i=_t(),n=[];return V(t,(function(t){var r=e(t);(i.get(r)||(n.push(r),i.set(r,[]))).push(t)})),{keys:n,buckets:i}}function Do(t,e,i,n,r){var o=null==e||"auto"===e;if(null==n)return n;if(q(n))return Br(p=oo(i||0,n,r),o?Math.max(Vr(i||0),Vr(n)):e);if(Q(n))return r<1?i:n;for(var a=[],s=i,l=n,u=Math.max(s?s.length:0,l.length),c=0;c<u;++c){var d=t.getDimensionInfo(c);if(d&&"ordinal"===d.type)a[c]=(r<1&&s?s:l)[c];else{var h=s&&s[c]?s[c]:0,f=l[c],p=oo(h,f,r);a[c]=Br(p,o?Math.max(Vr(h),Vr(f)):e)}}return a}var ko="___EC__COMPONENT__CONTAINER___",Lo="___EC__EXTENDED_CLASS___";function Po(t){var e={main:"",sub:""};if(t){var i=t.split(".");e.main=i[0]||"",e.sub=i[1]||""}return e}function Oo(t,e){t.$constructor=t,t.extend=function(t){var e,n,r=this;return Z(n=r)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return i(e,t),e}(r):(e=function(){(t.$constructor||r).apply(this,arguments)},N(e,this)),P(e.prototype,t),e[Lo]=!0,e.extend=this.extend,e.superCall=No,e.superApply=Bo,e.superClass=r,e}}function Ro(t,e){t.extend=e.extend}var Eo=Math.round(10*Math.random());function No(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return this.superClass.prototype[e].apply(t,i)}function Bo(t,e,i){return this.superClass.prototype[e].apply(t,i)}function zo(t){var e={};t.registerClass=function(t){var i,n=t.type||t.prototype.type;if(n){dt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(i=n),'componentType "'+i+'" illegal'),t.prototype.type=n;var r=Po(n);if(r.sub){if(r.sub!==ko){var o=function(t){var i=e[t.main];return i&&i[ko]||((i=e[t.main]={})[ko]=!0),i}(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,i,n){var r=e[t];if(r&&r[ko]&&(r=i?r[i]:null),n&&!r)throw new Error(i?"Component "+t+"."+(i||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var i=Po(t),n=[],r=e[i.main];return r&&r[ko]?V(r,(function(t,e){e!==ko&&n.push(t)})):n.push(r),n},t.hasClass=function(t){var i=Po(t);return!!e[i.main]},t.getAllClassMainTypes=function(){var t=[];return V(e,(function(e,i){t.push(i)})),t},t.hasSubTypes=function(t){var i=Po(t),n=e[i.main];return n&&n[ko]}}function Vo(t,e){for(var i=0;i<t.length;i++)t[i][1]||(t[i][1]=t[i][0]);return e=e||!1,function(i,n,r){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(n&&E(n,s)>=0||r&&E(r,s)<0)){var l=i.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var Fo=Vo([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),jo=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Fo(this,t,e)},t}(),Ho=new Li(50);function Go(t){if("string"==typeof t){var e=Ho.get(t);return e&&e.image}return t}function Wo(t,e,i,n,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var o=Ho.get(t),a={hostEl:i,cb:n,cbPayload:r};return o?!Uo(e=o.image)&&o.pending.push(a):((e=f.loadImage(t,$o,$o)).__zrImageSrc=t,Ho.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function $o(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var i=t.pending[e],n=i.cb;n&&n(this,i.cbPayload),i.hostEl.dirty()}t.pending.length=0}function Uo(t){return t&&t.width&&t.height}var Yo=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Zo(t,e,i,n,r){if(!e)return"";var o=(t+"").split("\n");r=Qo(e,i,n,r);for(var a=0,s=o.length;a<s;a++)o[a]=Xo(o[a],r);return o.join("\n")}function Qo(t,e,i,n){var r=P({},n=n||{});r.font=e,i=st(i,"..."),r.maxIterations=st(n.maxIterations,2);var o=r.minChar=st(n.minChar,0);r.cnCharWidth=dr("\u56fd",e);var a=r.ascCharWidth=dr("a",e);r.placeholder=st(n.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=a;l++)s-=a;var u=dr(i,e);return u>s&&(i="",u=0),s=t-u,r.ellipsis=i,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function Xo(t,e){var i=e.containerWidth,n=e.font,r=e.contentWidth;if(!i)return"";var o=dr(t,n);if(o<=i)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?qo(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=dr(t=t.substr(0,s),n)}return""===t&&(t=e.placeholder),t}function qo(t,e,i,n){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?i:n}return o}var Ko=function(){},Jo=function(t){this.tokens=[],t&&(this.tokens=t)},ta=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function ea(t,e,i,n,r){var o,a,s=""===e,l=r&&i.rich[r]||{},u=t.lines,c=l.font||i.font,d=!1;if(n){var h=l.padding,f=h?h[1]+h[3]:0;if(null!=l.width&&"auto"!==l.width){var p=mr(l.width,n.width)+f;u.length>0&&p+n.accumWidth>n.width&&(o=e.split("\n"),d=!0),n.accumWidth=p}else{var g=ra(e,c,n.width,n.breakAll,n.accumWidth);n.accumWidth=g.accumWidth+f,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var v=0;v<o.length;v++){var m=o[v],y=new Ko;if(y.styleName=r,y.text=m,y.isLineHolder=!m&&!s,"number"==typeof l.width?y.width=l.width:y.width=a?a[v]:dr(m,c),v||d)u.push(new Jo([y]));else{var _=(u[u.length-1]||(u[0]=new Jo)).tokens,x=_.length;1===x&&_[0].isLineHolder?_[0]=y:(m||!x||s)&&_.push(y)}}}var ia=j(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function na(t){return!function(t){var e=t.charCodeAt(0);return e>=33&&e<=383}(t)||!!ia[t]}function ra(t,e,i,n,r){for(var o=[],a=[],s="",l="",u=0,c=0,d=0;d<t.length;d++){var h=t.charAt(d);if("\n"!==h){var f=dr(h,e),p=!n&&!na(h);(o.length?c+f>i:r+c+f>i)?c?(s||l)&&(p?(s||(s=l,l="",c=u=0),o.push(s),a.push(c-u),l+=h,s="",c=u+=f):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=h,c=f)):p?(o.push(l),a.push(u),l=h,u=f):(o.push(h),a.push(f)):(c+=f,p?(l+=h,u+=f):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:a}}var oa="__zr_style_"+Math.round(10*Math.random()),aa={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},sa={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};aa[oa]=!0;var la=["z","z2","invisible"],ua=["invisible"],ca=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),e.prototype._init=function(e){for(var i=W(e),n=0;n<i.length;n++){var r=i[n];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,i,n){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,i){return da.copy(t.getBoundingRect()),t.transform&&da.applyTransform(t.transform),ha.width=e,ha.height=i,!da.intersect(ha)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(i&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(n&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var i=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(i[0],i[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,i=this.getBoundingRect(),n=this.style,r=n.shadowBlur||0,o=n.shadowOffsetX||0,a=n.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new ze(0,0,0,0)),e?ze.applyTransform(t,i,e):t.copy(i),(r||o||a)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(a),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+a-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new ze(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,i){"style"!==e?t.prototype.attrKV.call(this,e,i):this.style?this.setStyle(i):this.useStyle(i)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:P(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return bt(aa,t)},e.prototype.useStyle=function(t){t[oa]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[oa]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var i=this._normalState;e.style&&!i.style&&(i.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,i,la)},e.prototype._applyStateObj=function(e,i,n,r,o,a){t.prototype._applyStateObj.call(this,e,i,n,r,o,a);var s,l=!(i&&r);if(i&&i.style?o?r?s=i.style:(s=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(s,i.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:n.style),this._mergeStyle(s,i.style)):l&&(s=n.style),s)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var c=W(u),d=0;d<c.length;d++)(f=c[d])in s&&(s[f]=s[f],this.style[f]=u[f]);var h=W(s);for(d=0;d<h.length;d++){var f=h[d];this.style[f]=this.style[f]}this._transitionState(e,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var p=this.__inHover?ua:la;for(d=0;d<p.length;d++)f=p[d],i&&null!=i[f]?this[f]=i[f]:l&&null!=n[f]&&(this[f]=n[f])},e.prototype._mergeStates=function(e){for(var i,n=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(i=i||{},this._mergeStyle(i,o.style))}return i&&(n.style=i),n},e.prototype._mergeStyle=function(t,e){return P(t,e),t},e.prototype.getAnimationStyleProps=function(){return sa},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=3)),e}(Cr),da=new ze(0,0,0,0),ha=new ze(0,0,0,0),fa=Math.min,pa=Math.max,ga=Math.sin,va=Math.cos,ma=2*Math.PI,ya=It(),_a=It(),xa=It();function ba(t,e,i){if(0!==t.length){for(var n=t[0],r=n[0],o=n[0],a=n[1],s=n[1],l=1;l<t.length;l++)n=t[l],r=fa(r,n[0]),o=pa(o,n[0]),a=fa(a,n[1]),s=pa(s,n[1]);e[0]=r,e[1]=a,i[0]=o,i[1]=s}}function wa(t,e,i,n,r,o){r[0]=fa(t,i),r[1]=fa(e,n),o[0]=pa(t,i),o[1]=pa(e,n)}var Sa=[],Ca=[];function Ma(t,e,i,n,r,o,a,s,l,u){var c=vi,d=fi,h=c(t,i,r,a,Sa);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var f=0;f<h;f++){var p=d(t,i,r,a,Sa[f]);l[0]=fa(p,l[0]),u[0]=pa(p,u[0])}for(h=c(e,n,o,s,Ca),f=0;f<h;f++){var g=d(e,n,o,s,Ca[f]);l[1]=fa(g,l[1]),u[1]=pa(g,u[1])}l[0]=fa(t,l[0]),u[0]=pa(t,u[0]),l[0]=fa(a,l[0]),u[0]=pa(a,u[0]),l[1]=fa(e,l[1]),u[1]=pa(e,u[1]),l[1]=fa(s,l[1]),u[1]=pa(s,u[1])}function Ta(t,e,i,n,r,o,a,s){var l=wi,u=xi,c=pa(fa(l(t,i,r),1),0),d=pa(fa(l(e,n,o),1),0),h=u(t,i,r,c),f=u(e,n,o,d);a[0]=fa(t,r,h),a[1]=fa(e,o,f),s[0]=pa(t,r,h),s[1]=pa(e,o,f)}function Ia(t,e,i,n,r,o,a,s,l){var u=Ut,c=Yt,d=Math.abs(r-o);if(d%ma<1e-4&&d>1e-4)return s[0]=t-i,s[1]=e-n,l[0]=t+i,void(l[1]=e+n);if(ya[0]=va(r)*i+t,ya[1]=ga(r)*n+e,_a[0]=va(o)*i+t,_a[1]=ga(o)*n+e,u(s,ya,_a),c(l,ya,_a),(r%=ma)<0&&(r+=ma),(o%=ma)<0&&(o+=ma),r>o&&!a?o+=ma:r<o&&a&&(r+=ma),a){var h=o;o=r,r=h}for(var f=0;f<o;f+=Math.PI/2)f>r&&(xa[0]=va(f)*i+t,xa[1]=ga(f)*n+e,u(s,xa,s),c(l,xa,l))}var Aa={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Da=[],ka=[],La=[],Pa=[],Oa=[],Ra=[],Ea=Math.min,Na=Math.max,Ba=Math.cos,za=Math.sin,Va=Math.abs,Fa=Math.PI,ja=2*Fa,Ha="undefined"!=typeof Float32Array,Ga=[];function Wa(t){return Math.round(t/Fa*1e8)/1e8%2*Fa}function $a(t,e){var i=Wa(t[0]);i<0&&(i+=ja);var n=i-t[0],r=t[1];r+=n,!e&&r-i>=ja?r=i+ja:e&&i-r>=ja?r=i-ja:!e&&i>r?r=i+(ja-Wa(i-r)):e&&i<r&&(r=i-(ja-Wa(r-i))),t[0]=i,t[1]=r}var Ua=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,i){(i=i||0)>0&&(this._ux=Va(i/Kn/t)||0,this._uy=Va(i/Kn/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Aa.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var i=Va(t-this._xi),n=Va(e-this._yi),r=i>this._ux||n>this._uy;if(this.addData(Aa.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=i*i+n*n;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,i,n,r,o){return this._drawPendingPt(),this.addData(Aa.C,t,e,i,n,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,i,n,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,i,n){return this._drawPendingPt(),this.addData(Aa.Q,t,e,i,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,i,n),this._xi=i,this._yi=n,this},t.prototype.arc=function(t,e,i,n,r,o){this._drawPendingPt(),Ga[0]=n,Ga[1]=r,$a(Ga,o),n=Ga[0];var a=(r=Ga[1])-n;return this.addData(Aa.A,t,e,i,i,n,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,i,n,r,o),this._xi=Ba(r)*i+t,this._yi=za(r)*i+e,this},t.prototype.arcTo=function(t,e,i,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,i,n,r),this},t.prototype.rect=function(t,e,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,i,n),this.addData(Aa.R,t,e,i,n),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Aa.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&t.closePath(),this._xi=e,this._yi=i,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Ha||(this.data=new Float32Array(e));for(var i=0;i<e;i++)this.data[i]=t[i];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,i=0,n=this._len,r=0;r<e;r++)i+=t[r].len();for(Ha&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i)),r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[n++]=o[a];this._len=n},t.prototype.addData=function(t,e,i,n,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Ha&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){La[0]=La[1]=Oa[0]=Oa[1]=Number.MAX_VALUE,Pa[0]=Pa[1]=Ra[0]=Ra[1]=-Number.MAX_VALUE;var t,e=this.data,i=0,n=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(r=i=e[t],o=n=e[t+1]),a){case Aa.M:i=r=e[t++],n=o=e[t++],Oa[0]=r,Oa[1]=o,Ra[0]=r,Ra[1]=o;break;case Aa.L:wa(i,n,e[t],e[t+1],Oa,Ra),i=e[t++],n=e[t++];break;case Aa.C:Ma(i,n,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],Oa,Ra),i=e[t++],n=e[t++];break;case Aa.Q:Ta(i,n,e[t++],e[t++],e[t],e[t+1],Oa,Ra),i=e[t++],n=e[t++];break;case Aa.A:var l=e[t++],u=e[t++],c=e[t++],d=e[t++],h=e[t++],f=e[t++]+h;t+=1;var p=!e[t++];s&&(r=Ba(h)*c+l,o=za(h)*d+u),Ia(l,u,c,d,h,f,p,Oa,Ra),i=Ba(f)*c+l,n=za(f)*d+u;break;case Aa.R:wa(r=i=e[t++],o=n=e[t++],r+e[t++],o+e[t++],Oa,Ra);break;case Aa.Z:i=r,n=o}Ut(La,La,Oa),Yt(Pa,Pa,Ra)}return 0===t&&(La[0]=La[1]=Pa[0]=Pa[1]=0),new ze(La[0],La[1],Pa[0]-La[0],Pa[1]-La[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,i=this._ux,n=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,d=0;d<e;){var h=t[d++],f=1===d;f&&(a=r=t[d],s=o=t[d+1]);var p=-1;switch(h){case Aa.M:r=a=t[d++],o=s=t[d++];break;case Aa.L:var g=t[d++],v=(_=t[d++])-o;(Va(D=g-r)>i||Va(v)>n||d===e-1)&&(p=Math.sqrt(D*D+v*v),r=g,o=_);break;case Aa.C:var m=t[d++],y=t[d++],_=(g=t[d++],t[d++]),x=t[d++],b=t[d++];p=_i(r,o,m,y,g,_,x,b,10),r=x,o=b;break;case Aa.Q:p=Mi(r,o,m=t[d++],y=t[d++],g=t[d++],_=t[d++],10),r=g,o=_;break;case Aa.A:var w=t[d++],S=t[d++],C=t[d++],M=t[d++],T=t[d++],I=t[d++],A=I+T;d+=1,t[d++],f&&(a=Ba(T)*C+w,s=za(T)*M+S),p=Na(C,M)*Ea(ja,Math.abs(I)),r=Ba(A)*C+w,o=za(A)*M+S;break;case Aa.R:a=r=t[d++],s=o=t[d++],p=2*t[d++]+2*t[d++];break;case Aa.Z:var D=a-r;v=s-o,p=Math.sqrt(D*D+v*v),r=a,o=s}p>=0&&(l[c++]=p,u+=p)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var i,n,r,o,a,s,l,u,c,d,h=this.data,f=this._ux,p=this._uy,g=this._len,v=e<1,m=0,y=0,_=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x<g;){var b=h[x++],w=1===x;switch(w&&(i=r=h[x],n=o=h[x+1]),b!==Aa.L&&_>0&&(t.lineTo(c,d),_=0),b){case Aa.M:i=r=h[x++],n=o=h[x++],t.moveTo(r,o);break;case Aa.L:a=h[x++],s=h[x++];var S=Va(a-r),C=Va(s-o);if(S>f||C>p){if(v){if(m+(Z=l[y++])>u){var M=(u-m)/Z;t.lineTo(r*(1-M)+a*M,o*(1-M)+s*M);break t}m+=Z}t.lineTo(a,s),r=a,o=s,_=0}else{var T=S*S+C*C;T>_&&(c=a,d=s,_=T)}break;case Aa.C:var I=h[x++],A=h[x++],D=h[x++],k=h[x++],L=h[x++],P=h[x++];if(v){if(m+(Z=l[y++])>u){mi(r,I,D,L,M=(u-m)/Z,Da),mi(o,A,k,P,M,ka),t.bezierCurveTo(Da[1],ka[1],Da[2],ka[2],Da[3],ka[3]);break t}m+=Z}t.bezierCurveTo(I,A,D,k,L,P),r=L,o=P;break;case Aa.Q:if(I=h[x++],A=h[x++],D=h[x++],k=h[x++],v){if(m+(Z=l[y++])>u){Si(r,I,D,M=(u-m)/Z,Da),Si(o,A,k,M,ka),t.quadraticCurveTo(Da[1],ka[1],Da[2],ka[2]);break t}m+=Z}t.quadraticCurveTo(I,A,D,k),r=D,o=k;break;case Aa.A:var O=h[x++],R=h[x++],E=h[x++],N=h[x++],B=h[x++],z=h[x++],V=h[x++],F=!h[x++],j=E>N?E:N,H=Va(E-N)>.001,G=B+z,W=!1;if(v&&(m+(Z=l[y++])>u&&(G=B+z*(u-m)/Z,W=!0),m+=Z),H&&t.ellipse?t.ellipse(O,R,E,N,V,B,G,F):t.arc(O,R,j,B,G,F),W)break t;w&&(i=Ba(B)*E+O,n=za(B)*N+R),r=Ba(G)*E+O,o=za(G)*N+R;break;case Aa.R:i=r=h[x],n=o=h[x+1],a=h[x++],s=h[x++];var $=h[x++],U=h[x++];if(v){if(m+(Z=l[y++])>u){var Y=u-m;t.moveTo(a,s),t.lineTo(a+Ea(Y,$),s),(Y-=$)>0&&t.lineTo(a+$,s+Ea(Y,U)),(Y-=U)>0&&t.lineTo(a+Na($-Y,0),s+U),(Y-=$)>0&&t.lineTo(a,s+Na(U-Y,0));break t}m+=Z}t.rect(a,s,$,U);break;case Aa.Z:if(v){var Z;if(m+(Z=l[y++])>u){M=(u-m)/Z,t.lineTo(r*(1-M)+i*M,o*(1-M)+n*M);break t}m+=Z}t.closePath(),r=i,o=n}}},t.prototype.clone=function(){var e=new t,i=this.data;return e.data=i.slice?i.slice():Array.prototype.slice.call(i),e._len=this._len,e},t.CMD=Aa,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function Ya(t,e,i,n,r,o,a){if(0===r)return!1;var s,l=r;if(a>e+l&&a>n+l||a<e-l&&a<n-l||o>t+l&&o>i+l||o<t-l&&o<i-l)return!1;if(t===i)return Math.abs(o-t)<=l/2;var u=(s=(e-n)/(t-i))*o-a+(t*n-i*e)/(t-i);return u*u/(s*s+1)<=l/2*l/2}function Za(t,e,i,n,r,o,a,s,l,u,c){if(0===l)return!1;var d=l;return!(c>e+d&&c>n+d&&c>o+d&&c>s+d||c<e-d&&c<n-d&&c<o-d&&c<s-d||u>t+d&&u>i+d&&u>r+d&&u>a+d||u<t-d&&u<i-d&&u<r-d&&u<a-d)&&yi(t,e,i,n,r,o,a,s,u,c,null)<=d/2}function Qa(t,e,i,n,r,o,a,s,l){if(0===a)return!1;var u=a;return!(l>e+u&&l>n+u&&l>o+u||l<e-u&&l<n-u&&l<o-u||s>t+u&&s>i+u&&s>r+u||s<t-u&&s<i-u&&s<r-u)&&Ci(t,e,i,n,r,o,s,l,null)<=u/2}var Xa=2*Math.PI;function qa(t){return(t%=Xa)<0&&(t+=Xa),t}var Ka=2*Math.PI;function Ja(t,e,i,n,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(c-u>i||c+u<i)return!1;if(Math.abs(n-r)%Ka<1e-4)return!0;if(o){var d=n;n=qa(r),r=qa(d)}else n=qa(n),r=qa(r);n>r&&(r+=Ka);var h=Math.atan2(l,s);return h<0&&(h+=Ka),h>=n&&h<=r||h+Ka>=n&&h+Ka<=r}function ts(t,e,i,n,r,o){if(o>e&&o>n||o<e&&o<n)return 0;if(n===e)return 0;var a=(o-e)/(n-e),s=n<e?1:-1;1!==a&&0!==a||(s=n<e?.5:-.5);var l=a*(i-t)+t;return l===r?1/0:l>r?s:0}var es=Ua.CMD,is=2*Math.PI,ns=[-1,-1,-1],rs=[-1,-1];function os(t,e,i,n,r,o,a,s,l,u){if(u>e&&u>n&&u>o&&u>s||u<e&&u<n&&u<o&&u<s)return 0;var c,d=gi(e,n,o,s,u,ns);if(0===d)return 0;for(var h=0,f=-1,p=void 0,g=void 0,v=0;v<d;v++){var m=ns[v],y=0===m||1===m?.5:1;fi(t,i,r,a,m)<l||(f<0&&(f=vi(e,n,o,s,rs),rs[1]<rs[0]&&f>1&&(void 0,c=rs[0],rs[0]=rs[1],rs[1]=c),p=fi(e,n,o,s,rs[0]),f>1&&(g=fi(e,n,o,s,rs[1]))),2===f?m<rs[0]?h+=p<e?y:-y:m<rs[1]?h+=g<p?y:-y:h+=s<g?y:-y:m<rs[0]?h+=p<e?y:-y:h+=s<p?y:-y)}return h}function as(t,e,i,n,r,o,a,s){if(s>e&&s>n&&s>o||s<e&&s<n&&s<o)return 0;var l=function(t,e,i,n,r){var o=t-2*e+i,a=2*(e-t),s=t-n,l=0;if(di(o))hi(a)&&(c=-s/a)>=0&&c<=1&&(r[l++]=c);else{var u=a*a-4*o*s;if(di(u))(c=-a/(2*o))>=0&&c<=1&&(r[l++]=c);else if(u>0){var c,d=ai(u),h=(-a-d)/(2*o);(c=(-a+d)/(2*o))>=0&&c<=1&&(r[l++]=c),h>=0&&h<=1&&(r[l++]=h)}}return l}(e,n,o,s,ns);if(0===l)return 0;var u=wi(e,n,o);if(u>=0&&u<=1){for(var c=0,d=xi(e,n,o,u),h=0;h<l;h++){var f=0===ns[h]||1===ns[h]?.5:1;xi(t,i,r,ns[h])<a||(ns[h]<u?c+=d<e?f:-f:c+=o<d?f:-f)}return c}return f=0===ns[0]||1===ns[0]?.5:1,xi(t,i,r,ns[0])<a?0:o<e?f:-f}function ss(t,e,i,n,r,o,a,s){if((s-=e)>i||s<-i)return 0;var l=Math.sqrt(i*i-s*s);ns[0]=-l,ns[1]=l;var u=Math.abs(n-r);if(u<1e-4)return 0;if(u>=is-1e-4){n=0,r=is;var c=o?1:-1;return a>=ns[0]+t&&a<=ns[1]+t?c:0}if(n>r){var d=n;n=r,r=d}n<0&&(n+=is,r+=is);for(var h=0,f=0;f<2;f++){var p=ns[f];if(p+t>a){var g=Math.atan2(s,p);c=o?1:-1,g<0&&(g=is+g),(g>=n&&g<=r||g+is>=n&&g+is<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),h+=c)}}return h}function ls(t,e,i,n,r){for(var o,a,s,l,u=t.data,c=t.len(),d=0,h=0,f=0,p=0,g=0,v=0;v<c;){var m=u[v++],y=1===v;switch(m===es.M&&v>1&&(i||(d+=ts(h,f,p,g,n,r))),y&&(p=h=u[v],g=f=u[v+1]),m){case es.M:h=p=u[v++],f=g=u[v++];break;case es.L:if(i){if(Ya(h,f,u[v],u[v+1],e,n,r))return!0}else d+=ts(h,f,u[v],u[v+1],n,r)||0;h=u[v++],f=u[v++];break;case es.C:if(i){if(Za(h,f,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],e,n,r))return!0}else d+=os(h,f,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],n,r)||0;h=u[v++],f=u[v++];break;case es.Q:if(i){if(Qa(h,f,u[v++],u[v++],u[v],u[v+1],e,n,r))return!0}else d+=as(h,f,u[v++],u[v++],u[v],u[v+1],n,r)||0;h=u[v++],f=u[v++];break;case es.A:var _=u[v++],x=u[v++],b=u[v++],w=u[v++],S=u[v++],C=u[v++];v+=1;var M=!!(1-u[v++]);o=Math.cos(S)*b+_,a=Math.sin(S)*w+x,y?(p=o,g=a):d+=ts(h,f,o,a,n,r);var T=(n-_)*w/b+_;if(i){if(Ja(_,x,w,S,S+C,M,e,T,r))return!0}else d+=ss(_,x,w,S,S+C,M,T,r);h=Math.cos(S+C)*b+_,f=Math.sin(S+C)*w+x;break;case es.R:if(p=h=u[v++],g=f=u[v++],o=p+u[v++],a=g+u[v++],i){if(Ya(p,g,o,g,e,n,r)||Ya(o,g,o,a,e,n,r)||Ya(o,a,p,a,e,n,r)||Ya(p,a,p,g,e,n,r))return!0}else d+=ts(o,g,o,a,n,r),d+=ts(p,a,p,g,n,r);break;case es.Z:if(i){if(Ya(h,f,p,g,e,n,r))return!0}else d+=ts(h,f,p,g,n,r);h=p,f=g}}return i||(s=f,l=g,Math.abs(s-l)<1e-4)||(d+=ts(h,f,p,g,n,r)||0),0!==d}var us=O({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},aa),cs={style:O({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},sa.style)},ds=lr.concat(["invisible","culling","z","z2","zlevel","parent"]),hs=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),e.prototype.update=function(){var i=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){i.buildPath(t,i.shape)}),r.silent=!0;var o=r.style;for(var a in n)o[a]!==n[a]&&(o[a]=n[a]);o.fill=n.fill?n.decal:null,o.decal=null,o.shadowColor=null,n.strokeFirst&&(o.stroke=null);for(var s=0;s<ds.length;++s)r[ds[s]]=this[ds[s]];r.__dirty|=1}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var i=W(e);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var r=0;r<i.length;r++){var o=i[r],a=e[o];"style"===o?this.style?P(this.style,a):this.useStyle(a):"shape"===o?P(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(Q(t)){var e=tn(t,0);return e>.5?Jn:e>.2?"#eee":tr}if(t)return tr}return Jn},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Q(e)){var i=this.__zr;if(!(!i||!i.isDarkMode())===tn(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,i){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new Ua(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,i=!t;if(i){var n=!1;this.path||(n=!0,this.createPathProxy());var r=this.path;(n||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||i){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),r=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,i,n){return ls(t,e,!0,i,n)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,i){return ls(t,0,!1,e,i)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,i){"shape"===e?this.setShape(i):t.prototype.attrKV.call(this,e,i)},e.prototype.setShape=function(t,e){var i=this.shape;return i||(i=this.shape={}),"string"==typeof t?i[t]=e:P(i,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return bt(us,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var i=this._normalState;e.shape&&!i.shape&&(i.shape=P({},this.shape))},e.prototype._applyStateObj=function(e,i,n,r,o,a){t.prototype._applyStateObj.call(this,e,i,n,r,o,a);var s,u=!(i&&r);if(i&&i.shape?o?r?s=i.shape:(s=P({},n.shape),P(s,i.shape)):(s=P({},r?this.shape:n.shape),P(s,i.shape)):u&&(s=n.shape),s)if(o){this.shape=P({},this.shape);for(var c={},d=W(s),h=0;h<d.length;h++){var f=d[h];"object"==l(s[f])?this.shape[f]=s[f]:c[f]=s[f]}this._transitionState(e,{shape:c},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var i,n=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(i=i||{},this._mergeStyle(i,o.shape))}return i&&(n.shape=i),n},e.prototype.getAnimationStyleProps=function(){return cs},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(i){var n=e.call(this,i)||this;return t.init&&t.init.call(n,i),n}return i(n,e),n.prototype.getDefaultStyle=function(){return D(t.style)},n.prototype.getDefaultShape=function(){return D(t.shape)},n}(e);for(var r in t)"function"==typeof t[r]&&(n.prototype[r]=t[r]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=7)),e}(ca),fs=O({strokeFirst:!0,font:d,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},us),ps=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return bt(fs,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var i=fr(e,t.font,t.textAlign,t.textBaseline);if(i.x+=t.x||0,i.y+=t.y||0,this.hasStroke()){var n=t.lineWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(ca);ps.prototype.type="tspan";var gs=O({x:0,y:0},aa),vs={style:O({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},sa.style)},ms=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.createStyle=function(t){return bt(gs,t)},e.prototype._getSize=function(t){var e=this.style,i=e[t];if(null!=i)return i;var n,r=(n=e.image)&&"string"!=typeof n&&n.width&&n.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return vs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ze(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(ca);ms.prototype.type="image";var ys=Math.round;function _s(t,e,i){if(e){var n=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=n,t.x2=r,t.y1=o,t.y2=a;var s=i&&i.lineWidth;return s?(ys(2*n)===ys(2*r)&&(t.x1=t.x2=bs(n,s,!0)),ys(2*o)===ys(2*a)&&(t.y1=t.y2=bs(o,s,!0)),t):t}}function xs(t,e,i){if(e){var n=e.x,r=e.y,o=e.width,a=e.height;t.x=n,t.y=r,t.width=o,t.height=a;var s=i&&i.lineWidth;return s?(t.x=bs(n,s,!0),t.y=bs(r,s,!0),t.width=Math.max(bs(n+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(bs(r+a,s,!1)-t.y,0===a?0:1),t):t}}function bs(t,e,i){if(!e)return t;var n=ys(2*t);return(n+ys(e))%2==0?n/2:(n+(i?1:-1))/2}var ws=function(){this.x=0,this.y=0,this.width=0,this.height=0},Ss={},Cs=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new ws},e.prototype.buildPath=function(t,e){var i,n,r,o;if(this.subPixelOptimize){var a=xs(Ss,e,this.style);i=a.x,n=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else i=e.x,n=e.y,r=e.width,o=e.height;e.r?function(t,e){var i,n,r,o,a,s=e.x,l=e.y,u=e.width,c=e.height,d=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof d?i=n=r=o=d:d instanceof Array?1===d.length?i=n=r=o=d[0]:2===d.length?(i=r=d[0],n=o=d[1]):3===d.length?(i=d[0],n=o=d[1],r=d[2]):(i=d[0],n=d[1],r=d[2],o=d[3]):i=n=r=o=0,i+n>u&&(i*=u/(a=i+n),n*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),n+r>c&&(n*=c/(a=n+r),r*=c/a),i+o>c&&(i*=c/(a=i+o),o*=c/a),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.arc(s+u-n,l+n,n,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+i),0!==i&&t.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}(t,e):t.rect(i,n,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(hs);Cs.prototype.type="rect";var Ms={fill:"#000"},Ts={style:O({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},sa.style)},Is=function(t){function e(e){var i=t.call(this)||this;return i.type="text",i._children=[],i._defaultStyle=Ms,i.attr(e),i}return i(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var i=this._children[e];i.zlevel=this.zlevel,i.z=this.z,i.z2=this.z2,i.culling=this.culling,i.cursor=this.cursor,i.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var i=this.innerTransformable;return i?i.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,Rs(t=this.style),V(t.rich,Rs),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new ze(0,0,0,0),e=this._children,i=[],n=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(i);s?(t.copy(a),t.applyTransform(s),(n=n||t.clone()).union(t)):(n=n||a.clone()).union(a)}this._rect=n||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Ms},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var i=e.rich,n=t.rich||i&&{};return P(t,e),i&&n?(this._mergeRich(n,i),t.rich=n):n&&(t.rich=n),t},e.prototype._mergeRich=function(t,e){for(var i=W(e),n=0;n<i.length;n++){var r=i[n];t[r]=t[r]||{},P(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return Ts},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||d,i=t.padding,n=function(t,e){null!=t&&(t+="");var i,n=e.overflow,r=e.padding,o=e.font,a="truncate"===n,s=vr(o),l=st(e.lineHeight,s),u=!!e.backgroundColor,c="truncate"===e.lineOverflow,d=e.width,h=(i=null==d||"break"!==n&&"breakAll"!==n?t?t.split("\n"):[]:t?ra(t,e.font,d,"breakAll"===n,0).lines:[]).length*l,f=st(e.height,h);if(h>f&&c){var p=Math.floor(f/l);i=i.slice(0,p)}if(t&&a&&null!=d)for(var g=Qo(d,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v=0;v<i.length;v++)i[v]=Xo(i[v],g);var m=f,y=0;for(v=0;v<i.length;v++)y=Math.max(dr(i[v],o),y);null==d&&(d=y);var _=y;return r&&(m+=r[0]+r[2],_+=r[1]+r[3],d+=r[1]+r[3]),u&&(_=d),{lines:i,height:f,outerWidth:_,outerHeight:m,lineHeight:l,calculatedLineHeight:s,contentWidth:y,contentHeight:h,width:d}}(zs(t),t),r=Vs(t),o=!!t.backgroundColor,a=n.outerHeight,s=n.outerWidth,l=n.contentWidth,u=n.lines,c=n.lineHeight,h=this._defaultStyle,f=t.x||0,p=t.y||0,g=t.align||h.align||"left",v=t.verticalAlign||h.verticalAlign||"top",m=f,y=gr(p,n.contentHeight,v);if(r||i){var _=pr(f,s,g),x=gr(p,a,v);r&&this._renderBackground(t,t,_,x,s,a)}y+=c/2,i&&(m=Bs(f,g,i),"top"===v?y+=i[0]:"bottom"===v&&(y-=i[2]));for(var b=0,w=!1,S=(Ns("fill"in t?t.fill:(w=!0,h.fill))),C=(Es("stroke"in t?t.stroke:o||h.autoStroke&&!w?null:(b=2,h.stroke))),M=t.textShadowBlur>0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),I=n.calculatedLineHeight,A=0;A<u.length;A++){var D=this._getOrCreateChild(ps),k=D.createStyle();D.useStyle(k),k.text=u[A],k.x=m,k.y=y,g&&(k.textAlign=g),k.textBaseline="middle",k.opacity=t.opacity,k.strokeFirst=!0,M&&(k.shadowBlur=t.textShadowBlur||0,k.shadowColor=t.textShadowColor||"transparent",k.shadowOffsetX=t.textShadowOffsetX||0,k.shadowOffsetY=t.textShadowOffsetY||0),k.stroke=C,k.fill=S,C&&(k.lineWidth=t.lineWidth||b,k.lineDash=t.lineDash,k.lineDashOffset=t.lineDashOffset||0),k.font=e,Ps(k,t),y+=c,T&&D.setBoundingRect(new ze(pr(k.x,t.width,k.textAlign),gr(k.y,I,k.textBaseline),l,I))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var i=new ta;if(null!=t&&(t+=""),!t)return i;for(var n,r=e.width,o=e.height,a=e.overflow,s="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},l=Yo.lastIndex=0;null!=(n=Yo.exec(t));){var u=n.index;u>l&&ea(i,t.substring(l,u),e,s),ea(i,n[2],e,s,n[1]),l=Yo.lastIndex}l<t.length&&ea(i,t.substring(l,t.length),e,s);var c=[],d=0,h=0,f=e.padding,p="truncate"===a,g="truncate"===e.lineOverflow;function v(t,e,i){t.width=e,t.lineHeight=i,d+=i,h=Math.max(h,e)}t:for(var m=0;m<i.lines.length;m++){for(var y=i.lines[m],_=0,x=0,b=0;b<y.tokens.length;b++){var w=(P=y.tokens[b]).styleName&&e.rich[P.styleName]||{},S=P.textPadding=w.padding,C=S?S[1]+S[3]:0,M=P.font=w.font||e.font;P.contentHeight=vr(M);var T=st(w.height,P.contentHeight);if(P.innerHeight=T,S&&(T+=S[0]+S[2]),P.height=T,P.lineHeight=lt(w.lineHeight,e.lineHeight,T),P.align=w&&w.align||e.align,P.verticalAlign=w&&w.verticalAlign||"middle",g&&null!=o&&d+P.lineHeight>o){b>0?(y.tokens=y.tokens.slice(0,b),v(y,x,_),i.lines=i.lines.slice(0,m+1)):i.lines=i.lines.slice(0,m);break t}var I=w.width,A=null==I||"auto"===I;if("string"==typeof I&&"%"===I.charAt(I.length-1))P.percentWidth=I,c.push(P),P.contentWidth=dr(P.text,M);else{if(A){var D=w.backgroundColor,k=D&&D.image;k&&Uo(k=Go(k))&&(P.width=Math.max(P.width,k.width*T/k.height))}var L=p&&null!=r?r-x:null;null!=L&&L<P.width?!A||L<C?(P.text="",P.width=P.contentWidth=0):(P.text=Zo(P.text,L-C,M,e.ellipsis,{minChar:e.truncateMinChar}),P.width=P.contentWidth=dr(P.text,M)):P.contentWidth=dr(P.text,M)}P.width+=C,x+=P.width,w&&(_=Math.max(_,P.lineHeight))}v(y,x,_)}for(i.outerWidth=i.width=st(r,h),i.outerHeight=i.height=st(o,d),i.contentHeight=d,i.contentWidth=h,f&&(i.outerWidth+=f[1]+f[3],i.outerHeight+=f[0]+f[2]),m=0;m<c.length;m++){var P,O=(P=c[m]).percentWidth;P.width=parseInt(O,10)/100*i.width}return i}(zs(t),t),i=e.width,n=e.outerWidth,r=e.outerHeight,o=t.padding,a=t.x||0,s=t.y||0,l=this._defaultStyle,u=t.align||l.align,c=t.verticalAlign||l.verticalAlign,d=pr(a,n,u),h=gr(s,r,c),f=d,p=h;o&&(f+=o[3],p+=o[0]);var g=f+i;Vs(t)&&this._renderBackground(t,t,d,h,n,r);for(var v=!!t.backgroundColor,m=0;m<e.lines.length;m++){for(var y=e.lines[m],_=y.tokens,x=_.length,b=y.lineHeight,w=y.width,S=0,C=f,M=g,T=x-1,I=void 0;S<x&&(!(I=_[S]).align||"left"===I.align);)this._placeToken(I,t,b,p,C,"left",v),w-=I.width,C+=I.width,S++;for(;T>=0&&"right"===(I=_[T]).align;)this._placeToken(I,t,b,p,M,"right",v),w-=I.width,M-=I.width,T--;for(C+=(i-(C-f)-(g-M)-w)/2;S<=T;)I=_[S],this._placeToken(I,t,b,p,C+I.width/2,"center",v),C+=I.width,S++;p+=b}},e.prototype._placeToken=function(t,e,i,n,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=n+i/2;"top"===l?u=n+t.height/2:"bottom"===l&&(u=n+i-t.height/2),!t.isLineHolder&&Vs(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var c=!!s.backgroundColor,h=t.textPadding;h&&(r=Bs(r,o,h),u-=t.height/2-h[0]-t.innerHeight/2);var f=this._getOrCreateChild(ps),p=f.createStyle();f.useStyle(p);var g=this._defaultStyle,v=!1,m=0,y=Ns("fill"in s?s.fill:"fill"in e?e.fill:(v=!0,g.fill)),_=Es("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||g.autoStroke&&!v?null:(m=2,g.stroke)),x=s.textShadowBlur>0||e.textShadowBlur>0;p.text=t.text,p.x=r,p.y=u,x&&(p.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,p.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",p.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,p.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),p.textAlign=o,p.textBaseline="middle",p.font=t.font||d,p.opacity=lt(s.opacity,e.opacity,1),Ps(p,s),_&&(p.lineWidth=lt(s.lineWidth,e.lineWidth,m),p.lineDash=st(s.lineDash,e.lineDash),p.lineDashOffset=e.lineDashOffset||0,p.stroke=_),y&&(p.fill=y);var b=t.contentWidth,w=t.contentHeight;f.setBoundingRect(new ze(pr(p.x,b,p.textAlign),gr(p.y,w,p.textBaseline),b,w))},e.prototype._renderBackground=function(t,e,i,n,r,o){var a,s,l,u=t.backgroundColor,c=t.borderWidth,d=t.borderColor,h=u&&u.image,f=u&&!h,p=t.borderRadius,g=this;if(f||t.lineHeight||c&&d){(a=this._getOrCreateChild(Cs)).useStyle(a.createStyle()),a.style.fill=null;var v=a.shape;v.x=i,v.y=n,v.width=r,v.height=o,v.r=p,a.dirtyShape()}if(f)(l=a.style).fill=u||null,l.fillOpacity=st(t.fillOpacity,1);else if(h){(s=this._getOrCreateChild(ms)).onload=function(){g.dirtyStyle()};var m=s.style;m.image=u.image,m.x=i,m.y=n,m.width=r,m.height=o}c&&d&&((l=a.style).lineWidth=c,l.stroke=d,l.strokeOpacity=st(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(a||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=lt(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return Os(t)&&(e=[t.fontStyle,t.fontWeight,Ls(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&ht(e)||t.textFont||t.font},e}(ca),As={left:!0,right:1,center:1},Ds={top:1,bottom:1,middle:1},ks=["fontStyle","fontWeight","fontSize","fontFamily"];function Ls(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function Ps(t,e){for(var i=0;i<ks.length;i++){var n=ks[i],r=e[n];null!=r&&(t[n]=r)}}function Os(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function Rs(t){if(t){t.font=Is.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||As[e]?e:"left";var i=t.verticalAlign;"center"===i&&(i="middle"),t.verticalAlign=null==i||Ds[i]?i:"top",t.padding&&(t.padding=ct(t.padding))}}function Es(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function Ns(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function Bs(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function zs(t){var e=t.text;return null!=e&&(e+=""),e}function Vs(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var Fs=xo(),js=function(t,e,i,n){if(n){var r=Fs(n);r.dataIndex=i,r.dataType=e,r.seriesIndex=t,"group"===n.type&&n.traverse((function(n){var r=Fs(n);r.seriesIndex=t,r.dataIndex=i,r.dataType=e}))}},Hs=1,Gs={},Ws=xo(),$s=xo(),Us=["emphasis","blur","select"],Ys=["normal","emphasis","blur","select"],Zs="highlight",Qs="downplay",Xs="select",qs="unselect",Ks="toggleSelect";function Js(t){return null!=t&&"none"!==t}var tl=new Li(100);function el(t){if(Q(t)){var e=tl.get(t);return e||(e=Ui(t,-.1),tl.put(t,e)),e}if(it(t)){var i=P({},t);return i.colorStops=F(t.colorStops,(function(t){return{offset:t.offset,color:Ui(t.color,-.1)}})),i}return t}function il(t,e,i){t.onHoverStateChange&&(t.hoverState||0)!==i&&t.onHoverStateChange(e),t.hoverState=i}function nl(t){il(t,"emphasis",2)}function rl(t){2===t.hoverState&&il(t,"normal",0)}function ol(t){il(t,"blur",1)}function al(t){1===t.hoverState&&il(t,"normal",0)}function sl(t){t.selected=!0}function ll(t){t.selected=!1}function ul(t,e,i){e(t,i)}function cl(t,e,i){ul(t,e,i),t.isGroup&&t.traverse((function(t){ul(t,e,i)}))}function dl(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}}function hl(t,e){var i=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,i,n){var r=i&&E(i,"select")>=0,o=!1;if(t instanceof hs){var a=Ws(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(Js(s)||Js(l)){var u=(n=n||{}).style||{};"inherit"===u.fill?(o=!0,n=P({},n),(u=P({},u)).fill=s):!Js(u.fill)&&Js(s)?(o=!0,n=P({},n),(u=P({},u)).fill=el(s)):!Js(u.stroke)&&Js(l)&&(o||(n=P({},n),u=P({},u)),u.stroke=el(l)),n.style=u}}if(n&&null==n.z2){o||(n=P({},n));var c=t.z2EmphasisLift;n.z2=t.z2+(null!=c?c:10)}return n}(this,0,e,i);if("blur"===t)return function(t,e,i){var n=E(t.currentStates,e)>=0,r=t.style.opacity,o=n?null:function(t,e,i,n){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?n&&n[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(i)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),a=(i=i||{}).style||{};return null==a.opacity&&(i=P({},i),a=P({opacity:n?r:.1*o.opacity},a),i.style=a),i}(this,t,i);if("select"===t)return function(t,e,i){if(i&&null==i.z2){i=P({},i);var n=t.z2SelectLift;i.z2=t.z2+(null!=n?n:9)}return i}(this,0,i)}return i}function fl(t){t.stateProxy=hl;var e=t.getTextContent(),i=t.getTextGuideLine();e&&(e.stateProxy=hl),i&&(i.stateProxy=hl)}function pl(t,e){!wl(t,e)&&!t.__highByOuter&&cl(t,nl)}function gl(t,e){!wl(t,e)&&!t.__highByOuter&&cl(t,rl)}function vl(t,e){t.__highByOuter|=1<<(e||0),cl(t,nl)}function ml(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&cl(t,rl)}function yl(t){cl(t,ol)}function _l(t){cl(t,al)}function xl(t){cl(t,sl)}function bl(t){cl(t,ll)}function wl(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Sl(t){var e=t.getModel(),i=[],n=[];e.eachComponent((function(e,r){var o=$s(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&n.push(s),o.isBlured&&(s.group.traverse((function(t){al(t)})),a&&i.push(r)),o.isBlured=!1})),V(n,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(i,!1,e)}))}function Cl(t,e,i,n){var r=n.getModel();function o(t,e){for(var i=0;i<e.length;i++){var n=t.getItemGraphicEl(e[i]);n&&_l(n)}}if(i=i||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries((function(t){var r=a===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===i&&!r||"coordinateSystem"===i&&!(u&&s?u===s:r)||"series"===e&&r)){if(n.getViewOfSeriesModel(t).group.traverse((function(t){ol(t)})),z(e))o(t.getData(),e);else if(K(e))for(var c=W(e),d=0;d<c.length;d++)o(t.getData(c[d]),e[c[d]]);l.push(t),$s(t).isBlured=!0}})),r.eachComponent((function(t,e){if("series"!==t){var i=n.getViewOfComponentModel(e);i&&i.toggleBlurSeries&&i.toggleBlurSeries(l,!0,r)}}))}}function Ml(t,e,i){if(null!=t&&null!=e){var n=i.getModel().getComponent(t,e);if(n){$s(n).isBlured=!0;var r=i.getViewOfComponentModel(n);r&&r.focusBlurEnabled&&r.group.traverse((function(t){ol(t)}))}}}function Tl(t,e,i,n){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==i)return r;var o=n.getModel().getComponent(t,e);if(!o)return r;var a=n.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(i),u=0;u<l.length;u++)if("self"===Fs(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function Il(t){V(t.getAllData(),(function(e){var i=e.data,n=e.type;i.eachItemGraphicEl((function(e,i){t.isSelected(i,n)?xl(e):bl(e)}))}))}function Al(t){var e=[];return t.eachSeries((function(t){V(t.getAllData(),(function(i){i.data;var n=i.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=n&&(o.dataType=n),e.push(o)}}))})),e}function Dl(t,e,i){El(t,!0),cl(t,fl),Ll(t,e,i)}function kl(t,e,i,n){n?function(t){El(t,!1)}(t):Dl(t,e,i)}function Ll(t,e,i){var n=Fs(t);null!=e?(n.focus=e,n.blurScope=i):n.focus&&(n.focus=null)}var Pl=["emphasis","blur","select"],Ol={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Rl(t,e,i,n){i=i||"itemStyle";for(var r=0;r<Pl.length;r++){var o=Pl[r],a=e.getModel([o,i]);t.ensureState(o).style=n?n(a):a[Ol[i]]()}}function El(t,e){var i=!1===e,n=t;t.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=t.highDownSilentOnTouch),i&&!n.__highDownDispatcher||(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!i)}function Nl(t){return!(!t||!t.__highDownDispatcher)}function Bl(t){var e=t.type;return e===Xs||e===qs||e===Ks}function zl(t){var e=t.type;return e===Zs||e===Qs}var Vl=Ua.CMD,Fl=[[],[],[]],jl=Math.sqrt,Hl=Math.atan2;function Gl(t,e){if(e){var i,n,r,o,a,s,l=t.data,u=t.len(),c=Vl.M,d=Vl.C,h=Vl.L,f=Vl.R,p=Vl.A,g=Vl.Q;for(r=0,o=0;r<u;){switch(i=l[r++],o=r,n=0,i){case c:case h:n=1;break;case d:n=3;break;case g:n=2;break;case p:var v=e[4],m=e[5],y=jl(e[0]*e[0]+e[1]*e[1]),_=jl(e[2]*e[2]+e[3]*e[3]),x=Hl(-e[1]/_,e[0]/y);l[r]*=y,l[r++]+=v,l[r]*=_,l[r++]+=m,l[r++]*=y,l[r++]*=_,l[r++]+=x,l[r++]+=x,o=r+=2;break;case f:s[0]=l[r++],s[1]=l[r++],$t(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],$t(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<n;a++){var b=Fl[a];b[0]=l[r++],b[1]=l[r++],$t(b,b,e),l[o++]=b[0],l[o++]=b[1]}}t.increaseVersion()}}var Wl=Math.sqrt,$l=Math.sin,Ul=Math.cos,Yl=Math.PI;function Zl(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Ql(t,e){return(t[0]*e[0]+t[1]*e[1])/(Zl(t)*Zl(e))}function Xl(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(Ql(t,e))}function ql(t,e,i,n,r,o,a,s,l,u,c){var d=l*(Yl/180),h=Ul(d)*(t-i)/2+$l(d)*(e-n)/2,f=-1*$l(d)*(t-i)/2+Ul(d)*(e-n)/2,p=h*h/(a*a)+f*f/(s*s);p>1&&(a*=Wl(p),s*=Wl(p));var g=(r===o?-1:1)*Wl((a*a*(s*s)-a*a*(f*f)-s*s*(h*h))/(a*a*(f*f)+s*s*(h*h)))||0,v=g*a*f/s,m=g*-s*h/a,y=(t+i)/2+Ul(d)*v-$l(d)*m,_=(e+n)/2+$l(d)*v+Ul(d)*m,x=Xl([1,0],[(h-v)/a,(f-m)/s]),b=[(h-v)/a,(f-m)/s],w=[(-1*h-v)/a,(-1*f-m)/s],S=Xl(b,w);if(Ql(b,w)<=-1&&(S=Yl),Ql(b,w)>=1&&(S=0),S<0){var C=Math.round(S/Yl*1e6)/1e6;S=2*Yl+C%2*Yl}c.addData(u,y,_,a,s,x,S,d,o)}var Kl=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Jl=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,tu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.applyTransform=function(t){},e}(hs);function eu(t){return null!=t.setData}function iu(t,e){var i=function(t){var e=new Ua;if(!t)return e;var i,n=0,r=0,o=n,a=r,s=Ua.CMD,l=t.match(Kl);if(!l)return e;for(var u=0;u<l.length;u++){for(var c=l[u],d=c.charAt(0),h=void 0,f=c.match(Jl)||[],p=f.length,g=0;g<p;g++)f[g]=parseFloat(f[g]);for(var v=0;v<p;){var m=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,C=n,M=r,T=void 0,I=void 0;switch(d){case"l":n+=f[v++],r+=f[v++],h=s.L,e.addData(h,n,r);break;case"L":n=f[v++],r=f[v++],h=s.L,e.addData(h,n,r);break;case"m":n+=f[v++],r+=f[v++],h=s.M,e.addData(h,n,r),o=n,a=r,d="l";break;case"M":n=f[v++],r=f[v++],h=s.M,e.addData(h,n,r),o=n,a=r,d="L";break;case"h":n+=f[v++],h=s.L,e.addData(h,n,r);break;case"H":n=f[v++],h=s.L,e.addData(h,n,r);break;case"v":r+=f[v++],h=s.L,e.addData(h,n,r);break;case"V":r=f[v++],h=s.L,e.addData(h,n,r);break;case"C":h=s.C,e.addData(h,f[v++],f[v++],f[v++],f[v++],f[v++],f[v++]),n=f[v-2],r=f[v-1];break;case"c":h=s.C,e.addData(h,f[v++]+n,f[v++]+r,f[v++]+n,f[v++]+r,f[v++]+n,f[v++]+r),n+=f[v-2],r+=f[v-1];break;case"S":m=n,y=r,T=e.len(),I=e.data,i===s.C&&(m+=n-I[T-4],y+=r-I[T-3]),h=s.C,C=f[v++],M=f[v++],n=f[v++],r=f[v++],e.addData(h,m,y,C,M,n,r);break;case"s":m=n,y=r,T=e.len(),I=e.data,i===s.C&&(m+=n-I[T-4],y+=r-I[T-3]),h=s.C,C=n+f[v++],M=r+f[v++],n+=f[v++],r+=f[v++],e.addData(h,m,y,C,M,n,r);break;case"Q":C=f[v++],M=f[v++],n=f[v++],r=f[v++],h=s.Q,e.addData(h,C,M,n,r);break;case"q":C=f[v++]+n,M=f[v++]+r,n+=f[v++],r+=f[v++],h=s.Q,e.addData(h,C,M,n,r);break;case"T":m=n,y=r,T=e.len(),I=e.data,i===s.Q&&(m+=n-I[T-4],y+=r-I[T-3]),n=f[v++],r=f[v++],h=s.Q,e.addData(h,m,y,n,r);break;case"t":m=n,y=r,T=e.len(),I=e.data,i===s.Q&&(m+=n-I[T-4],y+=r-I[T-3]),n+=f[v++],r+=f[v++],h=s.Q,e.addData(h,m,y,n,r);break;case"A":_=f[v++],x=f[v++],b=f[v++],w=f[v++],S=f[v++],ql(C=n,M=r,n=f[v++],r=f[v++],w,S,_,x,b,h=s.A,e);break;case"a":_=f[v++],x=f[v++],b=f[v++],w=f[v++],S=f[v++],ql(C=n,M=r,n+=f[v++],r+=f[v++],w,S,_,x,b,h=s.A,e)}}"z"!==d&&"Z"!==d||(h=s.Z,e.addData(h),n=o,r=a),i=h}return e.toStatic(),e}(t),n=P({},e);return n.buildPath=function(t){if(eu(t))t.setData(i.data),(e=t.getContext())&&t.rebuildPath(e,1);else{var e=t;i.rebuildPath(e,1)}},n.applyTransform=function(t){Gl(i,t),this.dirtyShape()},n}function nu(t,e){return new tu(iu(t,e))}function ru(t,e){e=e||{};var i=new hs;return t.shape&&i.setShape(t.shape),i.setStyle(t.style),e.bakeTransform?Gl(i.path,t.getComputedTransform()):e.toLocal?i.setLocalTransform(t.getComputedTransform()):i.copyTransform(t),i.buildPath=t.buildPath,i.applyTransform=i.applyTransform,i.z=t.z,i.z2=t.z2,i.zlevel=t.zlevel,i}var ou=function(){this.cx=0,this.cy=0,this.r=0},au=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new ou},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(hs);au.prototype.type="circle";var su=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},lu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new su},e.prototype.buildPath=function(t,e){var i=.5522848,n=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*i,l=a*i;t.moveTo(n-o,r),t.bezierCurveTo(n-o,r-l,n-s,r-a,n,r-a),t.bezierCurveTo(n+s,r-a,n+o,r-l,n+o,r),t.bezierCurveTo(n+o,r+l,n+s,r+a,n,r+a),t.bezierCurveTo(n-s,r+a,n-o,r+l,n-o,r),t.closePath()},e}(hs);lu.prototype.type="ellipse";var uu=Math.PI,cu=2*uu,du=Math.sin,hu=Math.cos,fu=Math.acos,pu=Math.atan2,gu=Math.abs,vu=Math.sqrt,mu=Math.max,yu=Math.min,_u=1e-4;function xu(t,e,i,n,r,o,a){var s=t-i,l=e-n,u=(a?o:-o)/vu(s*s+l*l),c=u*l,d=-u*s,h=t+c,f=e+d,p=i+c,g=n+d,v=(h+p)/2,m=(f+g)/2,y=p-h,_=g-f,x=y*y+_*_,b=r-o,w=h*g-p*f,S=(_<0?-1:1)*vu(mu(0,b*b*x-w*w)),C=(w*_-y*S)/x,M=(-w*y-_*S)/x,T=(w*_+y*S)/x,I=(-w*y+_*S)/x,A=C-v,D=M-m,k=T-v,L=I-m;return A*A+D*D>k*k+L*L&&(C=T,M=I),{cx:C,cy:M,x0:-c,y0:-d,x1:C*(r/b-1),y1:M*(r/b-1)}}var bu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},wu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new bu},e.prototype.buildPath=function(t,e){(function(t,e){var i,n=mu(e.r,0),r=mu(e.r0||0,0),o=n>0;if(o||r>0){if(o||(n=r,r=0),r>n){var a=n;n=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,c=e.cy,d=!!e.clockwise,h=gu(l-s),f=h>cu&&h%cu;if(f>_u&&(h=f),n>_u)if(h>cu-_u)t.moveTo(u+n*hu(s),c+n*du(s)),t.arc(u,c,n,s,l,!d),r>_u&&(t.moveTo(u+r*hu(l),c+r*du(l)),t.arc(u,c,r,l,s,d));else{var p=void 0,g=void 0,v=void 0,m=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,C=void 0,M=void 0,T=void 0,I=void 0,A=void 0,D=void 0,k=n*hu(s),L=n*du(s),P=r*hu(l),O=r*du(l),R=h>_u;if(R){var E=e.cornerRadius;E&&(i=function(t){var e;if(Y(t)){var i=t.length;if(!i)return t;e=1===i?[t[0],t[0],0,0]:2===i?[t[0],t[0],t[1],t[1]]:3===i?t.concat(t[2]):t}else e=[t,t,t,t];return e}(E),p=i[0],g=i[1],v=i[2],m=i[3]);var N=gu(n-r)/2;if(y=yu(N,v),_=yu(N,m),x=yu(N,p),b=yu(N,g),C=w=mu(y,_),M=S=mu(x,b),(w>_u||S>_u)&&(T=n*hu(l),I=n*du(l),A=r*hu(s),D=r*du(s),h<uu)){var B=function(t,e,i,n,r,o,a,s){var l=i-t,u=n-e,c=a-r,d=s-o,h=d*l-c*u;if(!(h*h<_u))return[t+(h=(c*(e-o)-d*(t-r))/h)*l,e+h*u]}(k,L,A,D,T,I,P,O);if(B){var z=k-B[0],V=L-B[1],F=T-B[0],j=I-B[1],H=1/du(fu((z*F+V*j)/(vu(z*z+V*V)*vu(F*F+j*j)))/2),G=vu(B[0]*B[0]+B[1]*B[1]);C=yu(w,(n-G)/(H+1)),M=yu(S,(r-G)/(H-1))}}}if(R)if(C>_u){var W=yu(v,C),$=yu(m,C),U=xu(A,D,k,L,n,W,d),Z=xu(T,I,P,O,n,$,d);t.moveTo(u+U.cx+U.x0,c+U.cy+U.y0),C<w&&W===$?t.arc(u+U.cx,c+U.cy,C,pu(U.y0,U.x0),pu(Z.y0,Z.x0),!d):(W>0&&t.arc(u+U.cx,c+U.cy,W,pu(U.y0,U.x0),pu(U.y1,U.x1),!d),t.arc(u,c,n,pu(U.cy+U.y1,U.cx+U.x1),pu(Z.cy+Z.y1,Z.cx+Z.x1),!d),$>0&&t.arc(u+Z.cx,c+Z.cy,$,pu(Z.y1,Z.x1),pu(Z.y0,Z.x0),!d))}else t.moveTo(u+k,c+L),t.arc(u,c,n,s,l,!d);else t.moveTo(u+k,c+L);r>_u&&R?M>_u?(W=yu(p,M),U=xu(P,O,T,I,r,-($=yu(g,M)),d),Z=xu(k,L,A,D,r,-W,d),t.lineTo(u+U.cx+U.x0,c+U.cy+U.y0),M<S&&W===$?t.arc(u+U.cx,c+U.cy,M,pu(U.y0,U.x0),pu(Z.y0,Z.x0),!d):($>0&&t.arc(u+U.cx,c+U.cy,$,pu(U.y0,U.x0),pu(U.y1,U.x1),!d),t.arc(u,c,r,pu(U.cy+U.y1,U.cx+U.x1),pu(Z.cy+Z.y1,Z.cx+Z.x1),d),W>0&&t.arc(u+Z.cx,c+Z.cy,W,pu(Z.y1,Z.x1),pu(Z.y0,Z.x0),!d))):(t.lineTo(u+P,c+O),t.arc(u,c,r,l,s,d)):t.lineTo(u+P,c+O)}else t.moveTo(u,c);t.closePath()}}})(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(hs);wu.prototype.type="sector";var Su=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Cu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Su},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,r,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,r,!0)},e}(hs);function Mu(t,e,i){var n=e.smooth,r=e.points;if(r&&r.length>=2){if(n){var o=function(t,e,i,n){var r,o,a,s,l=[],u=[],c=[],d=[];if(n){a=[1/0,1/0],s=[-1/0,-1/0];for(var h=0,f=t.length;h<f;h++)Ut(a,a,t[h]),Yt(s,s,t[h]);Ut(a,a,n[0]),Yt(s,s,n[1])}for(h=0,f=t.length;h<f;h++){var p=t[h];if(i)r=t[h?h-1:f-1],o=t[(h+1)%f];else{if(0===h||h===f-1){l.push(Dt(t[h]));continue}r=t[h-1],o=t[h+1]}Ot(u,o,r),zt(u,u,e);var g=Ft(p,r),v=Ft(p,o),m=g+v;0!==m&&(g/=m,v/=m),zt(c,u,-g),zt(d,u,v);var y=Lt([],p,c),_=Lt([],p,d);n&&(Yt(y,y,a),Ut(y,y,s),Yt(_,_,a),Ut(_,_,s)),l.push(y),l.push(_)}return i&&l.push(l.shift()),l}(r,n,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(i?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]),s=1;for(var d=r.length;s<d;s++)t.lineTo(r[s][0],r[s][1])}i&&t.closePath()}}Cu.prototype.type="ring";var Tu=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},Iu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Tu},e.prototype.buildPath=function(t,e){Mu(t,e,!0)},e}(hs);Iu.prototype.type="polygon";var Au=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},Du=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Au},e.prototype.buildPath=function(t,e){Mu(t,e,!1)},e}(hs);Du.prototype.type="polyline";var ku={},Lu=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},Pu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Lu},e.prototype.buildPath=function(t,e){var i,n,r,o;if(this.subPixelOptimize){var a=_s(ku,e,this.style);i=a.x1,n=a.y1,r=a.x2,o=a.y2}else i=e.x1,n=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(i,n),s<1&&(r=i*(1-s)+r*s,o=n*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(hs);Pu.prototype.type="line";var Ou=[],Ru=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function Eu(t,e,i){var n=t.cpx2,r=t.cpy2;return null!=n||null!=r?[(i?pi:fi)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?pi:fi)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?bi:xi)(t.x1,t.cpx1,t.x2,e),(i?bi:xi)(t.y1,t.cpy1,t.y2,e)]}var Nu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Ru},e.prototype.buildPath=function(t,e){var i=e.x1,n=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(i,n),null==l||null==u?(c<1&&(Si(i,a,r,c,Ou),a=Ou[1],r=Ou[2],Si(n,s,o,c,Ou),s=Ou[1],o=Ou[2]),t.quadraticCurveTo(a,s,r,o)):(c<1&&(mi(i,a,l,r,c,Ou),a=Ou[1],l=Ou[2],r=Ou[3],mi(n,s,u,o,c,Ou),s=Ou[1],u=Ou[2],o=Ou[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return Eu(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=Eu(this.shape,t,!0);return Vt(e,e)},e}(hs);Nu.prototype.type="bezier-curve";var Bu=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},zu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Bu},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+i,u*r+n),t.arc(i,n,r,o,a,!s)},e}(hs);zu.prototype.type="arc";var Vu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return i(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),i=0;i<t.length;i++)e=e||t[i].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1],t[i].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var i=e.paths||[],n=0;n<i.length;n++)i[n].buildPath(t,i[n].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),hs.prototype.getBoundingRect.call(this)},e}(hs),Fu=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),ju=function(t){function e(e,i,n,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==i?0:i,s.x2=null==n?1:n,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return i(e,t),e}(Fu),Hu=function(t){function e(e,i,n,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==i?.5:i,a.r=null==n?.5:n,a.type="radial",a.global=o||!1,a}return i(e,t),e}(Fu),Gu=[0,0],Wu=[0,0],$u=new De,Uu=new De,Yu=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var i=0;i<4;i++)this._corners[i]=new De;for(i=0;i<2;i++)this._axes[i]=new De;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var i=this._corners,n=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(i[0].set(r,o),i[1].set(a,o),i[2].set(a,s),i[3].set(r,s),e)for(var l=0;l<4;l++)i[l].transform(e);for(De.sub(n[0],i[1],i[0]),De.sub(n[1],i[3],i[0]),n[0].normalize(),n[1].normalize(),l=0;l<2;l++)this._origin[l]=n[l].dot(i[0])},t.prototype.intersect=function(t,e){var i=!0,n=!e;return $u.set(1/0,1/0),Uu.set(0,0),!this._intersectCheckOneSide(this,t,$u,Uu,n,1)&&(i=!1,n)||!this._intersectCheckOneSide(t,this,$u,Uu,n,-1)&&(i=!1,n)||n||De.copy(e,i?$u:Uu),i},t.prototype._intersectCheckOneSide=function(t,e,i,n,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,Gu),this._getProjMinMaxOnAxis(s,e._corners,Wu),Gu[1]<Wu[0]||Gu[0]>Wu[1]){if(a=!1,r)return a;var u=Math.abs(Wu[0]-Gu[1]),c=Math.abs(Gu[0]-Wu[1]);Math.min(u,c)>n.len()&&(u<c?De.scale(n,l,-u*o):De.scale(n,l,c*o))}else i&&(u=Math.abs(Wu[0]-Gu[1]),c=Math.abs(Gu[0]-Wu[1]),Math.min(u,c)<i.len()&&(u<c?De.scale(i,l,u*o):De.scale(i,l,-c*o)))}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,i){for(var n=this._axes[t],r=this._origin,o=e[0].dot(n)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(n)+r[t];a=Math.min(u,a),s=Math.max(u,s)}i[0]=a,i[1]=s},t}(),Zu=[],Qu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return i(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++)(e=this._displayables[t]).parent=this,e.update(),e.parent=null;for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new ze(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var i=this._displayables[e],n=i.getBoundingRect().clone();i.needLocalTransform()&&n.applyTransform(i.getLocalTransform(Zu)),t.union(n)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(i[0],i[1]))for(var n=0;n<this._displayables.length;n++)if(this._displayables[n].contain(t,e))return!0;return!1},e}(ca),Xu=xo();function qu(t,e,i,n,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,u=void 0,c=void 0;return n?(l=st(n.duration,200),u=st(n.easing,"cubicOut"),c=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),c=e.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(u=o.easing),null!=o.delay&&(c=o.delay)),Z(c)&&(c=c(i,r)),Z(l)&&(l=l(i)),{duration:l||0,delay:c,easing:u}}return null}function Ku(t,e,i,n,r,o,a){var s,l=!1;Z(r)?(a=o,o=r,r=null):K(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var c=qu(t,n,r,u?s||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(e,r):null);if(c&&c.duration>0){var d={duration:c.duration,delay:c.delay||0,easing:c.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(i,d):e.animateTo(i,d)}else e.stopAnimation(),!l&&e.attr(i),a&&a(1),o&&o()}function Ju(t,e,i,n,r,o){Ku("update",t,e,i,n,r,o)}function tc(t,e,i,n,r,o){Ku("enter",t,e,i,n,r,o)}function ec(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function ic(t,e,i,n,r,o){ec(t)||Ku("leave",t,e,i,n,r,o)}function nc(t,e,i,n){t.removeTextContent(),t.removeTextGuideLine(),ic(t,{style:{opacity:0}},e,i,n)}function rc(t,e,i){function n(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||nc(t,e,i,n)})):nc(t,e,i,n)}function oc(t){Xu(t).oldStyle=t.style}var ac=Math.max,sc=Math.min,lc={};function uc(t){return hs.extend(t)}function cc(t,e){return function(t,e){var n=iu(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return i(e,t),e}(tu)}(t,e)}function dc(t,e){lc[t]=e}function hc(t){if(lc.hasOwnProperty(t))return lc[t]}function fc(t,e,i,n){var r=nu(t,e);return i&&("center"===n&&(i=gc(i,r.getBoundingRect())),mc(r,i)),r}function pc(t,e,i){var n=new ms({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var r={width:t.width,height:t.height};n.setStyle(gc(e,r))}}});return n}function gc(t,e){var i,n=e.width/e.height,r=t.height*n;return i=r<=t.width?t.height:(r=t.width)/n,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-i/2,width:r,height:i}}var vc=function(t,e){for(var i=[],n=t.length,r=0;r<n;r++){var o=t[r];i.push(o.getUpdatedPathProxy(!0))}var a=new hs(e);return a.createPathProxy(),a.buildPath=function(t){if(eu(t)){t.appendPath(i);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function mc(t,e){if(t.applyTransform){var i=t.getBoundingRect().calculateTransform(e);t.applyTransform(i)}}function yc(t,e){return _s(t,t,{lineWidth:e}),t}var _c=bs;function xc(t,e){for(var i=xe([]);t&&t!==e;)we(i,t.getLocalTransform(),i),t=t.parent;return i}function bc(t,e,i){return e&&!z(e)&&(e=sr.getLocalTransform(e)),i&&(e=Te([],e)),$t([],t,e)}function wc(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-n:"right"===t?n:0,"top"===t?-r:"bottom"===t?r:0];return o=bc(o,e,i),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Sc(t){return!t.isGroup}function Cc(t,e,i){if(t&&e){var n,r=(n={},t.traverse((function(t){Sc(t)&&t.anid&&(n[t.anid]=t)})),n);e.traverse((function(t){if(Sc(t)&&t.anid){var e=r[t.anid];if(e){var n=o(t);t.attr(o(e)),Ju(t,n,i,Fs(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=P({},t.shape)),e}}function Mc(t,e){return F(t,(function(t){var i=t[0];i=ac(i,e.x),i=sc(i,e.x+e.width);var n=t[1];return n=ac(n,e.y),[i,n=sc(n,e.y+e.height)]}))}function Tc(t,e){var i=ac(t.x,e.x),n=sc(t.x+t.width,e.x+e.width),r=ac(t.y,e.y),o=sc(t.y+t.height,e.y+e.height);if(n>=i&&o>=r)return{x:i,y:r,width:n-i,height:o-r}}function Ic(t,e,i){var n=P({rectHover:!0},e),r=n.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),O(r,i),new ms(n)):fc(t.replace("path://",""),n,i,"center")}function Ac(t,e,i,n,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(Dc(t,e,i,n,s[0],s[1],a[0],a[1]))return!0;a=s}}function Dc(t,e,i,n,r,o,a,s){var l,u=i-t,c=n-e,d=a-r,h=s-o,f=kc(d,h,u,c);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=t-r,g=e-o,v=kc(p,g,u,c)/f;if(v<0||v>1)return!1;var m=kc(p,g,d,h)/f;return!(m<0||m>1)}function kc(t,e,i,n){return t*n-i*e}function Lc(t){var e=t.itemTooltipOption,i=t.componentModel,n=t.itemName,r=Q(e)?{formatter:e}:e,o=i.mainType,a=i.componentIndex,s={componentType:o,name:n,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&V(W(l),(function(t){St(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Fs(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:n,option:O({content:n,formatterParams:s},r)}}function Pc(t,e){var i;t.isGroup&&(i=e(t)),i||t.traverse(e)}function Oc(t,e){if(t)if(Y(t))for(var i=0;i<t.length;i++)Pc(t[i],e);else Pc(t,e)}dc("circle",au),dc("ellipse",lu),dc("sector",wu),dc("ring",Cu),dc("polygon",Iu),dc("polyline",Du),dc("rect",Cs),dc("line",Pu),dc("bezierCurve",Nu),dc("arc",zu);var Rc=Object.freeze({__proto__:null,updateProps:Ju,initProps:tc,removeElement:ic,removeElementWithFadeOut:rc,isElementRemoved:ec,extendShape:uc,extendPath:cc,registerShape:dc,getShapeClass:hc,makePath:fc,makeImage:pc,mergePath:vc,resizePath:mc,subPixelOptimizeLine:yc,subPixelOptimizeRect:function(t){return xs(t.shape,t.shape,t.style),t},subPixelOptimize:_c,getTransform:xc,applyTransform:bc,transformDirection:wc,groupTransition:Cc,clipPointsByRect:Mc,clipRectByRect:Tc,createIcon:Ic,linePolygonIntersect:Ac,lineLineIntersect:Dc,setTooltipConfig:Lc,traverseElements:Oc,Group:Ar,Image:ms,Text:Is,Circle:au,Ellipse:lu,Sector:wu,Ring:Cu,Polygon:Iu,Polyline:Du,Rect:Cs,Line:Pu,BezierCurve:Nu,Arc:zu,IncrementalDisplayable:Qu,CompoundPath:Vu,LinearGradient:ju,RadialGradient:Hu,BoundingRect:ze,OrientedBoundingRect:Yu,Point:De,Path:hs}),Ec={};function Nc(t,e){for(var i=0;i<Us.length;i++){var n=Us[i],r=e[n],o=t.ensureState(n);o.style=o.style||{},o.style.text=r}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Bc(t,e,i){var n,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,s=e.normal;r&&(n=r.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=i?{interpolatedValue:i}:null)),null==n&&(n=Z(t.defaultText)?t.defaultText(o,t,i):t.defaultText);for(var l={normal:n},u=0;u<Us.length;u++){var c=Us[u],d=e[c];l[c]=st(r?r.getFormattedLabel(o,c,null,a,d&&d.get("formatter")):null,n)}return l}function zc(t,e,i,n){i=i||Ec;for(var r=t instanceof Is,o=!1,a=0;a<Ys.length;a++)if((h=e[Ys[a]])&&h.getShallow("show")){o=!0;break}var s=r?t:t.getTextContent();if(o){r||(s||(s=new Is,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=Bc(i,e),u=e.normal,c=!!u.getShallow("show"),d=Fc(u,n&&n.normal,i,!1,!r);for(d.text=l.normal,r||t.setTextConfig(jc(u,i,!1)),a=0;a<Us.length;a++){var h,f=Us[a];if(h=e[f]){var p=s.ensureState(f),g=!!st(h.getShallow("show"),c);g!==c&&(p.ignore=!g),p.style=Fc(h,n&&n[f],i,!0,!r),p.style.text=l[f],r||(t.ensureState(f).textConfig=jc(h,i,!0))}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(d.x=s.style.x),null!=s.style.y&&(d.y=s.style.y),s.ignore=!c,s.useStyle(d),s.dirty(),i.enableTextSetter&&(Yc(s).setLabelText=function(t){var n=Bc(i,e,t);Nc(s,n)})}else s&&(s.ignore=!0);t.dirty()}function Vc(t,e){e=e||"label";for(var i={normal:t.getModel(e)},n=0;n<Us.length;n++){var r=Us[n];i[r]=t.getModel([r,e])}return i}function Fc(t,e,i,n,r){var o={};return function(t,e,i,n,r){i=i||Ec;var o,a=e.ecModel,s=a&&a.option.textStyle,l=function(t){for(var e;t&&t!==t.ecModel;){var i=(t.option||Ec).rich;if(i){e=e||{};for(var n=W(i),r=0;r<n.length;r++)e[n[r]]=1}t=t.parentModel}return e}(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=e.getModel(["rich",u]);$c(o[u]={},c,s,i,n,r,!1,!0)}o&&(t.rich=o);var d=e.get("overflow");d&&(t.overflow=d);var h=e.get("minMargin");null!=h&&(t.margin=h),$c(t,e,s,i,n,r,!0,!1)}(o,t,i,n,r),e&&P(o,e),o}function jc(t,e,i){e=e||{};var n,r={},o=t.getShallow("rotate"),a=st(t.getShallow("distance"),i?null:5),s=t.getShallow("offset");return"outside"===(n=t.getShallow("position")||(i?null:"inside"))&&(n=e.defaultOutsidePosition||"top"),null!=n&&(r.position=n),null!=s&&(r.offset=s),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=a&&(r.distance=a),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}var Hc=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Gc=["align","lineHeight","width","height","tag","verticalAlign"],Wc=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function $c(t,e,i,n,r,o,a,s){i=!r&&i||Ec;var l=n&&n.inheritColor,u=e.getShallow("color"),c=e.getShallow("textBorderColor"),d=st(e.getShallow("opacity"),i.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==c&&"auto"!==c||(c=l||null),o||(u=u||i.color,c=c||i.textBorderColor),null!=u&&(t.fill=u),null!=c&&(t.stroke=c);var h=st(e.getShallow("textBorderWidth"),i.textBorderWidth);null!=h&&(t.lineWidth=h);var f=st(e.getShallow("textBorderType"),i.textBorderType);null!=f&&(t.lineDash=f);var p=st(e.getShallow("textBorderDashOffset"),i.textBorderDashOffset);null!=p&&(t.lineDashOffset=p),r||null!=d||s||(d=n&&n.defaultOpacity),null!=d&&(t.opacity=d),r||o||null==t.fill&&n.inheritColor&&(t.fill=n.inheritColor);for(var g=0;g<Hc.length;g++){var v=Hc[g];null!=(y=st(e.getShallow(v),i[v]))&&(t[v]=y)}for(g=0;g<Gc.length;g++)v=Gc[g],null!=(y=e.getShallow(v))&&(t[v]=y);if(null==t.verticalAlign){var m=e.getShallow("baseline");null!=m&&(t.verticalAlign=m)}if(!a||!n.disableBox){for(g=0;g<Wc.length;g++){var y;v=Wc[g],null!=(y=e.getShallow(v))&&(t[v]=y)}var _=e.getShallow("borderType");null!=_&&(t.borderDash=_),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function Uc(t,e){var i=e&&e.getModel("textStyle");return ht([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}var Yc=xo();function Zc(t,e,i,n){if(t){var r=Yc(t);r.prevValue=r.value,r.value=i;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=n,r.statesModels=e)}}function Qc(t,e,i,n,r){var o=Yc(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=st(o.interpolatedValue,o.prevValue),l=o.value;t.percent=0,(null==o.prevValue?tc:Ju)(t,{percent:1},n,e,null,(function(n){var u=Do(i,o.precision,s,l,n);o.interpolatedValue=1===n?null:u;var c=Bc({labelDataIndex:e,labelFetcher:r,defaultText:a?a(u):u+""},o.statesModels,u);Nc(t,c)}))}}var Xc,qc,Kc=["textStyle","color"],Jc=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],td=new Is,ed=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Kc):null)},t.prototype.getFont=function(){return Uc({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},i=0;i<Jc.length;i++)e[Jc[i]]=this.getShallow(Jc[i]);return td.useStyle(e),td.update(),td.getBoundingRect()},t}(),id=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],nd=Vo(id),rd=function(){function t(){}return t.prototype.getLineStyle=function(t){return nd(this,t)},t}(),od=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],ad=Vo(od),sd=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return ad(this,t,e)},t}(),ld=function(){function t(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}return t.prototype.init=function(t,e,i){for(var n=[],r=3;r<arguments.length;r++)n[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){k(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var i=this.option,n=null==i?i:i[t];if(null==n&&!e){var r=this.parentModel;r&&(n=r.getShallow(t))}return n},t.prototype.getModel=function(e,i){var n=null!=e,r=n?this.parsePath(e):null;return new t(n?this._doGet(r):this.option,i=i||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(D(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!a.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var i=this.option;if(!t)return i;for(var n=0;n<t.length&&(!t[n]||null!=(i=i&&"object"==l(i)?i[t[n]]:null));n++);return null==i&&e&&(i=e._doGet(this.resolveParentPath(t),e.parentModel)),i},t}();Oo(ld),Xc=ld,qc=["__\0is_clz",Eo++].join("_"),Xc.prototype[qc]=!0,Xc.isInstance=function(t){return!(!t||!t[qc])},B(ld,rd),B(ld,sd),B(ld,jo),B(ld,ed);var ud=Math.round(10*Math.random());function cd(t){return[t||"",ud++].join("_")}function dd(t,e){return k(k({},t,!0),e,!0)}var hd={},fd={},pd=a.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function gd(t,e){t=t.toUpperCase(),fd[t]=new ld(e),hd[t]=e}function vd(t){return fd[t]}gd("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),gd("ZH",{time:{month:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],dayOfWeekAbbr:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}});var md=864e5,yd=31536e6,_d={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},xd={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+_d.hour,minute:"{yyyy}-{MM}-{dd} "+_d.minute,second:"{yyyy}-{MM}-{dd} "+_d.second,millisecond:_d.none},bd=["year","month","day","hour","minute","second","millisecond"],wd=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Sd(t,e){return"0000".substr(0,e-(t+="").length)+t}function Cd(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Md(t){return t===Cd(t)}function Td(t,e,i,n){var r=Zr(t),o=r[Dd(i)](),a=r[kd(i)]()+1,s=Math.floor((a-1)/3)+1,l=r[Ld(i)](),u=r["get"+(i?"UTC":"")+"Day"](),c=r[Pd(i)](),d=(c-1)%12+1,h=r[Od(i)](),f=r[Rd(i)](),p=r[Ed(i)](),g=(n instanceof ld?n:vd(n||pd)||fd.EN).getModel("time"),v=g.get("month"),m=g.get("monthAbbr"),y=g.get("dayOfWeek"),_=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,o%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,m[a-1]).replace(/{MM}/g,Sd(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Sd(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,y[u]).replace(/{ee}/g,_[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Sd(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Sd(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,Sd(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,Sd(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,Sd(p,3)).replace(/{S}/g,p+"")}function Id(t,e){var i=Zr(t),n=i[kd(e)]()+1,r=i[Ld(e)](),o=i[Pd(e)](),a=i[Od(e)](),s=i[Rd(e)](),l=0===i[Ed(e)](),u=l&&0===s,c=u&&0===a,d=c&&0===o,h=d&&1===r;return h&&1===n?"year":h?"month":d?"day":c?"hour":u?"minute":l?"second":"millisecond"}function Ad(t,e,i){var n=q(t)?Zr(t):t;switch(e=e||Id(t,i)){case"year":return n[Dd(i)]();case"half-year":return n[kd(i)]()>=6?1:0;case"quarter":return Math.floor((n[kd(i)]()+1)/4);case"month":return n[kd(i)]();case"day":return n[Ld(i)]();case"half-day":return n[Pd(i)]()/24;case"hour":return n[Pd(i)]();case"minute":return n[Od(i)]();case"second":return n[Rd(i)]();case"millisecond":return n[Ed(i)]()}}function Dd(t){return t?"getUTCFullYear":"getFullYear"}function kd(t){return t?"getUTCMonth":"getMonth"}function Ld(t){return t?"getUTCDate":"getDate"}function Pd(t){return t?"getUTCHours":"getHours"}function Od(t){return t?"getUTCMinutes":"getMinutes"}function Rd(t){return t?"getUTCSeconds":"getSeconds"}function Ed(t){return t?"getUTCMilliseconds":"getMilliseconds"}function Nd(t){return t?"setUTCFullYear":"setFullYear"}function Bd(t){return t?"setUTCMonth":"setMonth"}function zd(t){return t?"setUTCDate":"setDate"}function Vd(t){return t?"setUTCHours":"setHours"}function Fd(t){return t?"setUTCMinutes":"setMinutes"}function jd(t){return t?"setUTCSeconds":"setSeconds"}function Hd(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Gd(t){if(!eo(t))return Q(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Wd(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var $d=ct;function Ud(t,e,i){function n(t){return t&&ht(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?Zr(t):t;if(!isNaN(+s))return Td(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",i);if(a)return"-"}if("ordinal"===e)return X(t)?n(t):q(t)&&r(t)?t+"":"-";var l=to(t);return r(l)?Gd(l):X(t)?n(t):"boolean"==typeof t?t+"":"-"}var Yd=["a","b","c","d","e","f","g"],Zd=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Qd(t,e,i){Y(e)||(e=[e]);var n=e.length;if(!n)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=Yd[o];t=t.replace(Zd(a),Zd(a,0))}for(var s=0;s<n;s++)for(var l=0;l<r.length;l++){var u=e[s][r[l]];t=t.replace(Zd(Yd[l],s),i?ae(u):u)}return t}function Xd(t,e){var i=Q(t)?{color:t,extraCssText:e}:t||{},n=i.color,r=i.type;e=i.extraCssText;var o=i.renderMode||"html";return n?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ae(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ae(n)+";"+(e||"")+'"></span>':{renderMode:o,content:"{"+(i.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function qd(t,e){return e=e||"transparent",Q(t)?t:K(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Kd(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location.href=t}else window.open(t,e)}var Jd=V,th=["left","right","top","bottom","width","height"],eh=[["width","left","right"],["height","top","bottom"]];function ih(t,e,i,n,r){var o=0,a=0;null==n&&(n=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var c,d,h=l.getBoundingRect(),f=e.childAt(u+1),p=f&&f.getBoundingRect();if("horizontal"===t){var g=h.width+(p?-p.x+h.x:0);(c=o+g)>n||l.newline?(o=0,c=g,a+=s+i,s=h.height):s=Math.max(s,h.height)}else{var v=h.height+(p?-p.y+h.y:0);(d=a+v)>r||l.newline?(o+=s+i,a=0,d=v,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+i:a=d+i)}))}var nh=ih;function rh(t,e,i){i=$d(i||0);var n=e.width,r=e.height,o=Nr(t.left,n),a=Nr(t.top,r),s=Nr(t.right,n),l=Nr(t.bottom,r),u=Nr(t.width,n),c=Nr(t.height,r),d=i[2]+i[0],h=i[1]+i[3],f=t.aspect;switch(isNaN(u)&&(u=n-s-h-o),isNaN(c)&&(c=r-l-d-a),null!=f&&(isNaN(u)&&isNaN(c)&&(f>n/r?u=.8*n:c=.8*r),isNaN(u)&&(u=f*c),isNaN(c)&&(c=u/f)),isNaN(o)&&(o=n-s-u-h),isNaN(a)&&(a=r-l-c-d),t.left||t.right){case"center":o=n/2-u/2-i[3];break;case"right":o=n-u-h}switch(t.top||t.bottom){case"middle":case"center":a=r/2-c/2-i[0];break;case"bottom":a=r-c-d}o=o||0,a=a||0,isNaN(u)&&(u=n-h-o-(s||0)),isNaN(c)&&(c=r-d-a-(l||0));var p=new ze(o+i[3],a+i[0],u,c);return p.margin=i,p}function oh(t,e,i,n,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new ze(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(a=a.clone()).applyTransform(c)}var d=rh(O({width:a.width,height:a.height},e),i,n),h=s?d.x-a.x:0,f=l?d.y-a.y:0;return"raw"===u?(o.x=h,o.y=f):(o.x+=h,o.y+=f),o===t&&t.markRedraw(),!0}function ah(t){var e=t.layoutMode||t.constructor.layoutMode;return K(e)?e:e?{type:e}:null}function sh(t,e,i){var n=i&&i.ignoreSize;!Y(n)&&(n=[n,n]);var r=a(eh[0],0),o=a(eh[1],1);function a(i,r){var o={},a=0,u={},c=0;if(Jd(i,(function(e){u[e]=t[e]})),Jd(i,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&c++})),n[r])return l(e,i[1])?u[i[2]]=null:l(e,i[2])&&(u[i[1]]=null),u;if(2!==c&&a){if(a>=2)return o;for(var d=0;d<i.length;d++){var h=i[d];if(!s(o,h)&&s(t,h)){o[h]=t[h];break}}return o}return u}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,i){Jd(t,(function(t){e[t]=i[t]}))}u(eh[0],t,r),u(eh[1],t,o)}function lh(t){return uh({},t)}function uh(t,e){return e&&t&&Jd(th,(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t}U(ih,"vertical"),U(ih,"horizontal");var ch=xo(),dh=function(t){function e(e,i,n){var r=t.call(this,e,i,n)||this;return r.uid=cd("ec_cpt_model"),r}return i(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i)},e.prototype.mergeDefaultAndTheme=function(t,e){var i=ah(this),n=i?lh(t):{};k(t,e.getTheme().get(this.mainType)),k(t,this.getDefaultOption()),i&&sh(t,n,i)},e.prototype.mergeOption=function(t,e){k(this.option,t,!0);var i=ah(this);i&&sh(this.option,t,i)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[Lo])}(t))return t.defaultOption;var e=ch(this);if(!e.defaultOption){for(var i=[],n=t;n;){var r=n.prototype.defaultOption;r&&i.push(r),n=n.superClass}for(var o={},a=i.length-1;a>=0;a--)o=k(o,i[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var i=t+"Index",n=t+"Id";return To(this.ecModel,t,{index:this.get(i,!0),id:this.get(n,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(ld);Ro(dh,ld),zo(dh),function(t){var e={};t.registerSubTypeDefaulter=function(t,i){var n=Po(t);e[n.main]=i},t.determineSubType=function(i,n){var r=n.type;if(!r){var o=Po(i).main;t.hasSubTypes(i)&&e[o]&&(r=e[o](n))}return r}}(dh),function(t,e){function i(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,e,n,r){if(t.length){var o=function(t){var e={},n=[];return V(t,(function(r){var o=i(e,r),a=function(t,e){var i=[];return V(t,(function(t){E(e,t)>=0&&i.push(t)})),i}(o.originalDeps=function(t){var e=[];return V(dh.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=F(e,(function(t){return Po(t).main})),"dataset"!==t&&E(e,"dataset")<=0&&e.unshift("dataset"),e}(r),t);o.entryCount=a.length,0===o.entryCount&&n.push(r),V(a,(function(t){E(o.predecessor,t)<0&&o.predecessor.push(t);var n=i(e,t);E(n.successor,t)<0&&n.successor.push(r)}))})),{graph:e,noEntryList:n}}(e),a=o.graph,s=o.noEntryList,l={};for(V(t,(function(t){l[t]=!0}));s.length;){var u=s.pop(),c=a[u],d=!!l[u];d&&(n.call(r,u,c.originalDeps.slice()),delete l[u]),V(c.successor,d?f:h)}V(l,(function(){throw new Error("")}))}function h(t){a[t].entryCount--,0===a[t].entryCount&&s.push(t)}function f(t){l[t]=!0,h(t)}}}(dh);var hh="";"undefined"!=typeof navigator&&(hh=navigator.platform||"");var fh="rgba(0, 0, 0, 0.2)",ph={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:fh,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:fh,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:fh,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:fh,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:fh,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:fh,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:hh.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},gh=_t(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),vh="original",mh="arrayRows",yh="objectRows",_h="keyedColumns",xh="typedArray",bh="unknown",wh="column",Sh=xo();function Ch(t,e,i){var n={},r=Th(e);if(!r||!t)return n;var o,a,s=[],l=[],u=e.ecModel,c=Sh(u).datasetMap,d=r.uid+"_"+i.seriesLayoutBy;V(t=t.slice(),(function(e,i){var r=K(e)?e:t[i]={name:e};"ordinal"===r.type&&null==o&&(o=i,a=p(r)),n[r.name]=[]}));var h=c.get(d)||c.set(d,{categoryWayDim:a,valueWayDim:0});function f(t,e,i){for(var n=0;n<i;n++)t.push(e+n)}function p(t){var e=t.dimsDef;return e?e.length:1}return V(t,(function(t,e){var i=t.name,r=p(t);if(null==o){var a=h.valueWayDim;f(n[i],a,r),f(l,a,r),h.valueWayDim+=r}else o===e?(f(n[i],0,r),f(s,0,r)):(a=h.categoryWayDim,f(n[i],a,r),f(l,a,r),h.categoryWayDim+=r)})),s.length&&(n.itemName=s),l.length&&(n.seriesName=l),n}function Mh(t,e,i){var n={};if(!Th(t))return n;var r,o=e.sourceFormat,a=e.dimensionsDefine;o!==yh&&o!==_h||V(a,(function(t,e){"name"===(K(t)?t.name:t)&&(r=e)}));var s=function(){for(var t={},n={},s=[],l=0,u=Math.min(5,i);l<u;l++){var c=Ah(e.data,o,e.seriesLayoutBy,a,e.startIndex,l);s.push(c);var d=3===c;if(d&&null==t.v&&l!==r&&(t.v=l),(null==t.n||t.n===t.v||!d&&3===s[t.n])&&(t.n=l),h(t)&&3!==s[t.n])return t;d||(2===c&&null==n.v&&l!==r&&(n.v=l),null!=n.n&&n.n!==n.v||(n.n=l))}function h(t){return null!=t.v&&null!=t.n}return h(t)?t:h(n)?n:null}();if(s){n.value=[s.v];var l=null!=r?r:s.n;n.itemName=[l],n.seriesName=[l]}return n}function Th(t){if(!t.get("data",!0))return To(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},Co).models[0]}function Ih(t,e){return Ah(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function Ah(t,e,i,n,r,o){var a,s,l;if(tt(t))return 3;if(n){var u=n[o];K(u)?(s=u.name,l=u.type):Q(u)&&(s=u)}if(null!=l)return"ordinal"===l?1:3;if(e===mh){var c=t;if("row"===i){for(var d=c[o],h=0;h<(d||[]).length&&h<5;h++)if(null!=(a=y(d[r+h])))return a}else for(h=0;h<c.length&&h<5;h++){var f=c[r+h];if(f&&null!=(a=y(f[o])))return a}}else if(e===yh){var p=t;if(!s)return 3;for(h=0;h<p.length&&h<5;h++)if((v=p[h])&&null!=(a=y(v[s])))return a}else if(e===_h){if(!s)return 3;if(!(d=t[s])||tt(d))return 3;for(h=0;h<d.length&&h<5;h++)if(null!=(a=y(d[h])))return a}else if(e===vh){var g=t;for(h=0;h<g.length&&h<5;h++){var v,m=co(v=g[h]);if(!Y(m))return 3;if(null!=(a=y(m[o])))return a}}function y(t){var e=Q(t);return null!=t&&isFinite(t)&&""!==t?e?2:3:e&&"-"!==t?1:void 0}return 3}var Dh,kh,Lh,Ph=_t(),Oh=xo(),Rh=xo(),Eh=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,i){var n=so(this.get("color",!0)),r=this.get("colorLayer",!0);return Bh(this,Oh,n,r,t,e,i)},t.prototype.clearColorPalette=function(){!function(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}(this,Oh)},t}();function Nh(t,e,i,n){var r=so(t.get(["aria","decal","decals"]));return Bh(t,Rh,r,null,e,i,n)}function Bh(t,e,i,n,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=a&&n?function(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n].length>e)return t[n];return t[i-1]}(n,a):i;if((c=c||i)&&c.length){var d=c[l];return r&&(u[r]=d),s.paletteIdx=(l+1)%c.length,d}}var zh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(t,e,i,n,r,o){n=n||{},this.option=null,this._theme=new ld(n),this._locale=new ld(r),this._optionManager=o},e.prototype.setOption=function(t,e,i){var n=jh(e);this._optionManager.setOption(t,i,n),this._resetOption(null,n)},e.prototype.resetOption=function(t,e){return this._resetOption(t,jh(e))},e.prototype._resetOption=function(t,e){var i=!1,n=this._optionManager;if(!t||"recreate"===t){var r=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Lh(this,r),i=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=n.getTimelineOption(this);o&&(i=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=n.getMediaOption(this);a.length&&V(a,(function(t){i=!0,this._mergeOption(t,e)}),this)}return i},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var i=this.option,n=this._componentsMap,r=this._componentsCount,o=[],a=_t(),s=e&&e.replaceMergeMainTypeMap;Sh(this).datasetMap=_t(),V(t,(function(t,e){null!=t&&(dh.hasClass(e)?e&&(o.push(e),a.set(e,!0)):i[e]=null==i[e]?D(t):k(i[e],t,!0))})),s&&s.each((function(t,e){dh.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),dh.topologicalTravel(o,dh.getAllClassMainTypes(),(function(e){var o=function(t,e,i){var n=Ph.get(e);if(!n)return i;var r=n(t);return r?i.concat(r):i}(this,e,so(t[e])),a=n.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=fo(a,o,l);(function(t,e,i){V(t,(function(t){var n=t.newOption;K(n)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,i,n){return e.type?e.type:i?i.subType:n.determineSubType(t,e)}(e,n,t.existing,i))}))})(u,e,dh),i[e]=null,n.set(e,null),r.set(e,0);var c,d=[],h=[],f=0;V(u,(function(t,i){var n=t.existing,r=t.newOption;if(r){var o="series"===e,a=dh.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(c)return;c=!0}if(n&&n.constructor===a)n.name=t.keyInfo.name,n.mergeOption(r,this),n.optionUpdated(r,!1);else{var s=P({componentIndex:i},t.keyInfo);P(n=new a(r,this,this,s),s),t.brandNew&&(n.__requireNewView=!0),n.init(r,this,this),n.optionUpdated(null,!0)}}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(d.push(n.option),h.push(n),f++):(d.push(void 0),h.push(void 0))}),this),i[e]=d,n.set(e,h),r.set(e,f),"series"===e&&Dh(this)}),this),this._seriesIndices||Dh(this)},e.prototype.getOption=function(){var t=D(this.option);return V(t,(function(e,i){if(dh.hasClass(i)){for(var n=so(e),r=n.length,o=!1,a=r-1;a>=0;a--)n[a]&&!yo(n[a])?o=!0:(n[a]=null,!o&&r--);n.length=r,t[i]=n}})),delete t["\0_ec_inner"],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var i=this._componentsMap.get(t);if(i){var n=i[e||0];if(n)return n;if(null==e)for(var r=0;r<i.length;r++)if(i[r])return i[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,r=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=n?(i=[],V(so(n),(function(t){a[t]&&i.push(a[t])}))):i=null!=r?Vh("id",r,a):null!=o?Vh("name",o,a):H(a,(function(t){return!!t})),Fh(i,t)):[]},e.prototype.findComponents=function(t){var e,i,n,r,o,a=t.query,s=t.mainType,l=(i=s+"Index",n=s+"Id",r=s+"Name",!(e=a)||null==e[i]&&null==e[n]&&null==e[r]?null:{mainType:s,index:e[i],id:e[n],name:e[r]}),u=l?this.queryComponents(l):H(this._componentsMap.get(s),(function(t){return!!t}));return o=Fh(u,t),t.filter?H(o,t.filter):o},e.prototype.eachComponent=function(t,e,i){var n=this._componentsMap;if(Z(t)){var r=e,o=t;n.each((function(t,e){for(var i=0;t&&i<t.length;i++){var n=t[i];n&&o.call(r,e,n,n.componentIndex)}}))}else for(var a=Q(t)?n.get(t):K(t)?this.findComponents(t):null,s=0;a&&s<a.length;s++){var l=a[s];l&&e.call(i,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=vo(t,null);return H(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return H(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return H(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){kh(this),V(this._seriesIndices,(function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)}),this)},e.prototype.eachRawSeries=function(t,e){V(this._componentsMap.get("series"),(function(i){i&&t.call(e,i,i.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,i){kh(this),V(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];r.subType===t&&e.call(i,r,n)}),this)},e.prototype.eachRawSeriesByType=function(t,e,i){return V(this.getSeriesByType(t),e,i)},e.prototype.isSeriesFiltered=function(t){return kh(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){kh(this);var i=[];V(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)&&i.push(n)}),this),this._seriesIndices=i,this._seriesIndicesMap=_t(i)},e.prototype.restoreData=function(t){Dh(this);var e=this._componentsMap,i=[];e.each((function(t,e){dh.hasClass(e)&&i.push(e)})),dh.topologicalTravel(i,dh.getAllClassMainTypes(),(function(i){V(e.get(i),(function(e){!e||"series"===i&&function(t,e){if(e){var i=e.seriesIndex,n=e.seriesId,r=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=r&&t.name!==r}}(e,t)||e.restoreData()}))}))},e.internalField=(Dh=function(t){var e=t._seriesIndices=[];V(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=_t(e)},kh=function(t){},void(Lh=function(t,e){t.option={},t.option["\0_ec_inner"]=1,t._componentsMap=_t({series:[]}),t._componentsCount=_t();var i=e.aria;K(i)&&null==i.enabled&&(i.enabled=!0),function(t,e){var i=t.color&&!t.colorLayer;V(e,(function(e,n){"colorLayer"===n&&i||dh.hasClass(n)||("object"==l(e)?t[n]=t[n]?k(t[n],e,!1):D(e):null==t[n]&&(t[n]=e))}))}(e,t._theme.option),k(e,ph,!1),t._mergeOption(e,null)})),e}(ld);function Vh(t,e,i){if(Y(e)){var n=_t();return V(e,(function(t){null!=t&&null!=vo(t,null)&&n.set(t,!0)})),H(i,(function(e){return e&&n.get(e[t])}))}var r=vo(e,null);return H(i,(function(e){return e&&null!=r&&e[t]===r}))}function Fh(t,e){return e.hasOwnProperty("subType")?H(t,(function(t){return t&&t.subType===e.subType})):t}function jh(t){var e=_t();return t&&V(so(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}B(zh,Eh);var Hh=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Gh=function(t){V(Hh,(function(e){this[e]=$(t[e],t)}),this)},Wh={},$h=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var i=[];V(Wh,(function(n,r){var o=n.create(t,e);i=i.concat(o||[])})),this._coordinateSystems=i},t.prototype.update=function(t,e){V(this._coordinateSystems,(function(i){i.update&&i.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){Wh[t]=e},t.get=function(t){return Wh[t]},t}(),Uh=/^(min|max)?(.+)$/,Yh=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,i){t&&(V(so(t.series),(function(t){t&&t.data&&tt(t.data)&&pt(t.data)})),V(so(t.dataset),(function(t){t&&t.source&&tt(t.source)&&pt(t.source)}))),t=D(t);var n=this._optionBackup,r=function(t,e,i){var n,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,d=!!(l||s||a&&a.timeline);function h(t){V(e,(function(e){e(t,i)}))}return a?(r=a).timeline||(r.timeline=s):((d||c)&&(t.options=t.media=null),r=t),c&&Y(u)&&V(u,(function(t){t&&t.option&&(t.query?o.push(t):n||(n=t))})),h(r),V(l,(function(t){return h(t)})),V(o,(function(t){return h(t.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:n,mediaList:o}}(t,e,!n);this._newBaseOption=r.baseOption,n?(r.timelineOptions.length&&(n.timelineOptions=r.timelineOptions),r.mediaList.length&&(n.mediaList=r.mediaList),r.mediaDefault&&(n.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],D(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=D(i[n.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,i,n=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)Zh(o[u].query,n,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,i=this._currentMediaIndices,e.join(",")!==i.join(","))&&(l=F(s,(function(t){return D(-1===t?a.option:o[t].option)}))),this._currentMediaIndices=s,l},t}();function Zh(t,e,i){var n={width:e,height:i,aspectratio:e/i},r=!0;return V(t,(function(t,e){var i=e.match(Uh);if(i&&i[1]&&i[2]){var o=i[1],a=i[2].toLowerCase();(function(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e})(n[a],t,o)||(r=!1)}})),r}var Qh=V,Xh=K,qh=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Kh(t){var e=t&&t.itemStyle;if(e)for(var i=0,n=qh.length;i<n;i++){var r=qh[i],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?k(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?k(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function Jh(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,r=t[e].emphasis;n&&(i?(t[e].normal=t[e].emphasis=null,O(t[e],n)):t[e]=n),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function tf(t){Jh(t,"itemStyle"),Jh(t,"lineStyle"),Jh(t,"areaStyle"),Jh(t,"label"),Jh(t,"labelLine"),Jh(t,"upperLabel"),Jh(t,"edgeLabel")}function ef(t,e){var i=Xh(t)&&t[e],n=Xh(i)&&i.textStyle;if(n)for(var r=0,o=uo.length;r<o;r++){var a=uo[r];n.hasOwnProperty(a)&&(i[a]=n[a])}}function nf(t){t&&(tf(t),ef(t,"label"),t.emphasis&&ef(t.emphasis,"label"))}function rf(t){return Y(t)?t:t?[t]:[]}function of(t){return(Y(t)?t[0]:t)||{}}function af(t){t&&V(sf,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var sf=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],lf=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],uf=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function cf(t){var e=t&&t.itemStyle;if(e)for(var i=0;i<uf.length;i++){var n=uf[i][1],r=uf[i][0];null!=e[n]&&(e[r]=e[n])}}function df(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function hf(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function ff(t,e){(function(t,e){Qh(rf(t.series),(function(t){Xh(t)&&function(t){if(Xh(t)){Kh(t),tf(t),ef(t,"label"),ef(t,"upperLabel"),ef(t,"edgeLabel"),t.emphasis&&(ef(t.emphasis,"label"),ef(t.emphasis,"upperLabel"),ef(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Kh(e),nf(e));var i=t.markLine;i&&(Kh(i),nf(i));var n=t.markArea;n&&nf(n);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!tt(o))for(var a=0;a<o.length;a++)nf(o[a]);V(t.categories,(function(t){tf(t)}))}if(r&&!tt(r))for(a=0;a<r.length;a++)nf(r[a]);if((e=t.markPoint)&&e.data){var s=e.data;for(a=0;a<s.length;a++)nf(s[a])}if((i=t.markLine)&&i.data){var l=i.data;for(a=0;a<l.length;a++)Y(l[a])?(nf(l[a][0]),nf(l[a][1])):nf(l[a])}"gauge"===t.type?(ef(t,"axisLabel"),ef(t,"title"),ef(t,"detail")):"treemap"===t.type?(Jh(t.breadcrumb,"itemStyle"),V(t.levels,(function(t){tf(t)}))):"tree"===t.type&&tf(t.leaves)}}(t)}));var i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),Qh(i,(function(e){Qh(rf(t[e]),(function(t){t&&(ef(t,"axisLabel"),ef(t.axisPointer,"label"))}))})),Qh(rf(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;ef(e,"axisLabel"),ef(e&&e.axisPointer,"label")})),Qh(rf(t.calendar),(function(t){Jh(t,"itemStyle"),ef(t,"dayLabel"),ef(t,"monthLabel"),ef(t,"yearLabel")})),Qh(rf(t.radar),(function(t){ef(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),Qh(rf(t.geo),(function(t){Xh(t)&&(nf(t),Qh(rf(t.regions),(function(t){nf(t)})))})),Qh(rf(t.timeline),(function(t){nf(t),Jh(t,"label"),Jh(t,"itemStyle"),Jh(t,"controlStyle",!0);var e=t.data;Y(e)&&V(e,(function(t){K(t)&&(Jh(t,"label"),Jh(t,"itemStyle"))}))})),Qh(rf(t.toolbox),(function(t){Jh(t,"iconStyle"),Qh(t.feature,(function(t){Jh(t,"iconStyle")}))})),ef(of(t.axisPointer),"label"),ef(of(t.tooltip).axisPointer,"label")})(t,e),t.series=so(t.series),V(t.series,(function(t){if(K(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),df(t.label),(r=t.data)&&!tt(r))for(var i=0;i<r.length;i++)df(r[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var n=function(t,e){for(var i="pointer.color".split(","),n=t,r=0;r<i.length&&null!=(n=n&&n[i[r]]);r++);return n}(t);null!=n&&function(t,e,i,n){for(var r,o="itemStyle.color".split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];null==a[o[s]]&&(a[o[s]]=i)}(t,0,n)}else if("bar"===e){var r;if(cf(t),cf(t.backgroundStyle),cf(t.emphasis),(r=t.data)&&!tt(r))for(i=0;i<r.length;i++)"object"==l(r[i])&&(cf(r[i]),cf(r[i]&&r[i].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),hf(t),function t(e,i){if(e)for(var n=0;n<e.length;n++)i(e[n]),e[n]&&t(e[n].children,i)}(t.data,hf)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&O(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),af(t)}})),t.dataRange&&(t.visualMap=t.dataRange),V(lf,(function(e){var i=t[e];i&&(Y(i)||(i=[i]),V(i,(function(t){af(t)})))}))}function pf(t){V(t,(function(e,i){var n=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var d,h,f=a.get(e.stackedDimension,c);if(isNaN(f))return r;s?h=a.getRawIndex(c):d=a.get(e.stackedByDimension,c);for(var p=NaN,g=i-1;g>=0;g--){var v=t[g];if(s||(h=v.data.rawIndexOf(v.stackedByDimension,d)),h>=0){var m=v.data.getByRawIndex(v.stackResultDimension,h);if("all"===l||"positive"===l&&m>0||"negative"===l&&m<0||"samesign"===l&&f>=0&&m>0||"samesign"===l&&f<=0&&m<0){f=Gr(f,m),p=m;break}}}return n[0]=f,n[1]=p,n}))}))}var gf,vf,mf,yf,_f,xf=function(t){this.data=t.data||(t.sourceFormat===_h?{}:[]),this.sourceFormat=t.sourceFormat||bh,this.seriesLayoutBy=t.seriesLayoutBy||wh,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var i=0;i<e.length;i++){var n=e[i];null==n.type&&1===Ih(this,i)&&(n.type="ordinal")}};function bf(t){return t instanceof xf}function wf(t,e,i){i=i||Cf(t);var n=e.seriesLayoutBy,r=function(t,e,i,n,r){var o,a;if(!t)return{dimensionsDefine:Mf(r),startIndex:a,dimensionsDetectedCount:o};if(e===mh){var s=t;"auto"===n||null==n?Tf((function(t){null!=t&&"-"!==t&&(Q(t)?null==a&&(a=1):a=0)}),i,s,10):a=q(n)?n:n?1:0,r||1!==a||(r=[],Tf((function(t,e){r[e]=null!=t?t+"":""}),i,s,1/0)),o=r?r.length:"row"===i?s.length:s[0]?s[0].length:null}else if(e===yh)r||(r=function(t){for(var e,i=0;i<t.length&&!(e=t[i++]););if(e){var n=[];return V(e,(function(t,e){n.push(e)})),n}}(t));else if(e===_h)r||(r=[],V(t,(function(t,e){r.push(e)})));else if(e===vh){var l=co(t[0]);o=Y(l)&&l.length||1}return{startIndex:a,dimensionsDefine:Mf(r),dimensionsDetectedCount:o}}(t,i,n,e.sourceHeader,e.dimensions);return new xf({data:t,sourceFormat:i,seriesLayoutBy:n,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:D(e)})}function Sf(t){return new xf({data:t,sourceFormat:tt(t)?xh:vh})}function Cf(t){var e=bh;if(tt(t))e=xh;else if(Y(t)){0===t.length&&(e=mh);for(var i=0,n=t.length;i<n;i++){var r=t[i];if(null!=r){if(Y(r)){e=mh;break}if(K(r)){e=yh;break}}}}else if(K(t))for(var o in t)if(St(t,o)&&z(t[o])){e=_h;break}return e}function Mf(t){if(t){var e=_t();return F(t,(function(t,i){var n={name:(t=K(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==n.name)return n;n.name+="",null==n.displayName&&(n.displayName=n.name);var r=e.get(n.name);return r?n.name+="-"+r.count++:e.set(n.name,{count:1}),n}))}}function Tf(t,e,i,n){if("row"===e)for(var r=0;r<i.length&&r<n;r++)t(i[r]?i[r][0]:null,r);else{var o=i[0]||[];for(r=0;r<o.length&&r<n;r++)t(o[r],r)}}function If(t){var e=t.sourceFormat;return e===yh||e===_h}var Af=function(){function t(t,e){var i=bf(t)?t:Sf(t);this._source=i;var n=this._data=i.data;i.sourceFormat===xh&&(this._offset=0,this._dimSize=e,this._data=n),_f(this,n,i)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;_f=function(t,r,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,u=o.dimensionsDefine,c=yf[zf(a,s)];if(P(t,c),a===xh)t.getItem=e,t.count=n,t.fillStorage=i;else{var d=Lf(a,s);t.getItem=$(d,null,r,l,u);var h=Rf(a,s);t.count=$(h,null,r,l,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var i=this._data,n=this._dimSize,r=n*t,o=0;o<n;o++)e[o]=i[r+o];return e},i=function(t,e,i,n){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=n[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,d=i[a],h=0;h<c;h++){var f=r[h*o+a];d[t+h]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},n=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={}).arrayRows_column={pure:!0,appendData:r},t.arrayRows_row={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t.objectRows={pure:!0,appendData:r},t.keyedColumns={pure:!0,appendData:function(t){var e=this._data;V(t,(function(t,i){for(var n=e[i]||(e[i]=[]),r=0;r<(t||[]).length;r++)n.push(t[r])}))}},t.original={appendData:r},t.typedArray={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},yf=t}(),t}(),Df=function(t,e,i,n){return t[n]},kf=((gf={}).arrayRows_column=function(t,e,i,n){return t[n+e]},gf.arrayRows_row=function(t,e,i,n,r){n+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[n]:null}return o},gf.objectRows=Df,gf.keyedColumns=function(t,e,i,n,r){for(var o=r||[],a=0;a<i.length;a++){var s=i[a].name,l=t[s];o[a]=l?l[n]:null}return o},gf.original=Df,gf);function Lf(t,e){var i=kf[zf(t,e)];return i}var Pf=function(t,e,i){return t.length},Of=((vf={}).arrayRows_column=function(t,e,i){return Math.max(0,t.length-e)},vf.arrayRows_row=function(t,e,i){var n=t[0];return n?Math.max(0,n.length-e):0},vf.objectRows=Pf,vf.keyedColumns=function(t,e,i){var n=i[0].name,r=t[n];return r?r.length:0},vf.original=Pf,vf);function Rf(t,e){var i=Of[zf(t,e)];return i}var Ef=function(t,e,i){return t[e]},Nf=((mf={}).arrayRows=Ef,mf.objectRows=function(t,e,i){return t[i]},mf.keyedColumns=Ef,mf.original=function(t,e,i){var n=co(t);return n instanceof Array?n[e]:n},mf.typedArray=Ef,mf);function Bf(t){var e=Nf[t];return e}function zf(t,e){return t===mh?t+"_"+e:t}function Vf(t,e,i){if(t){var n=t.getRawDataItem(e);if(null!=n){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=i){var a=t.getDimensionIndex(i),s=r.getDimensionProperty(a);return Bf(o)(n,a,s)}var l=n;return o===vh&&(l=co(n)),l}}}var Ff=/\{@(.+?)\}/g,jf=function(){function t(){}return t.prototype.getDataParams=function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),r=i.getRawIndex(t),o=i.getName(t),a=i.getRawDataItem(t),s=i.getItemVisual(t,"style"),l=s&&s[i.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,d="series"===c,h=i.userOutput&&i.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:n,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,i,n,r,o){e=e||"normal";var a=this.getData(i),s=this.getDataParams(t,i);return o&&(s.value=o.interpolatedValue),null!=n&&Y(s.value)&&(s.value=s.value[n]),r||(r=a.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),Z(r)?(s.status=e,s.dimensionIndex=n,r(s)):Q(r)?Qd(r,s).replace(Ff,(function(e,i){var n=i.length,r=i;"["===r.charAt(0)&&"]"===r.charAt(n-1)&&(r=+r.slice(1,n-1));var s=Vf(a,t,r);if(o&&Y(o.interpolatedValue)){var l=a.getDimensionIndex(r);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Vf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,i){},t}();function Hf(t){var e,i;return K(t)?t.type&&(i=t):e=t,{text:e,frag:i}}function Gf(t){return new Wf(t)}var Wf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,i=this._upstream,n=t&&t.skip;if(this._dirty&&i){var r=this.context;r.data=r.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(e=this._plan(this.context));var o,a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(n)),this._modBy=l,this._modDataCount=u;var d=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!n&&(o||h<f)){var p=this._progress;if(Y(p))for(var g=0;g<p.length;g++)this._doProgress(p[g],h,f,l,u);else this._doProgress(p,h,f,l,u)}this._dueIndex=f;var v=null!=this._settedOutputEnd?this._settedOutputEnd:f;this._outputDueEnd=v}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,i,n,r){$f.reset(e,i,n,r),this._callingProgress=t,this._callingProgress({start:e,end:i,count:i-e,next:$f.next},this.context)},t.prototype._doReset=function(t){var e,i;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(i=e.forceFirstProgress,e=e.progress),Y(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var n=this._downstream;return n&&n.dirty(),i},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),$f=function(){var t,e,i,n,r,o={reset:function(l,u,c,d){e=l,t=u,i=c,n=d,r=Math.ceil(n/i),o.next=i>1&&n>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*i+Math.ceil(e/r),a=e>=t?null:o<n?o:e;return e++,a}}();function Uf(t,e){var i=e&&e.type;return"ordinal"===i?t:("time"!==i||q(t)||null==t||"-"===t||(t=+Zr(t)),null==t||""===t?NaN:+t)}var Yf=_t({number:function(t){return parseFloat(t)},time:function(t){return+Zr(t)},trim:function(t){return Q(t)?ht(t):t}});function Zf(t){return Yf.get(t)}var Qf={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},Xf=function(){function t(t,e){if(!q(e)){ro("")}this._opFn=Qf[t],this._rvalFloat=to(e)}return t.prototype.evaluate=function(t){return q(t)?this._opFn(t,this._rvalFloat):this._opFn(to(t),this._rvalFloat)},t}(),qf=function(){function t(t,e){var i="desc"===t;this._resultLT=i?1:-1,null==e&&(e=i?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var i=q(t)?t:to(t),n=q(e)?e:to(e),r=isNaN(i),o=isNaN(n);if(r&&(i=this._incomparable),o&&(n=this._incomparable),r&&o){var a=Q(t),s=Q(e);a&&(i=s?t:0),s&&(n=a?e:0)}return i<n?this._resultLT:i>n?-this._resultLT:0},t}(),Kf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=l(e),this._rvalFloat=to(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var i=l(t);i===this._rvalTypeof||"number"!==i&&"number"!==this._rvalTypeof||(e=to(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Jf(t,e){return"eq"===t||"ne"===t?new Kf("eq"===t,e):St(Qf,t)?new Xf(t,e):null}var tp=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Uf(t,e)},t}();function ep(t){var e=t.sourceFormat;if(!sp(e)){ro("")}return t.data}function ip(t){var e=t.sourceFormat,i=t.data;if(!sp(e)){ro("")}if(e===mh){for(var n=[],r=0,o=i.length;r<o;r++)n.push(i[r].slice());return n}if(e===yh){for(n=[],r=0,o=i.length;r<o;r++)n.push(P({},i[r]));return n}}function np(t,e,i){if(null!=i)return q(i)||!isNaN(i)&&!St(e,i)?t[i]:St(e,i)?e[i]:void 0}function rp(t){return D(t)}var op=_t();function ap(t,e,i,n){e.length||ro(""),K(t)||ro("");var r=t.type,o=op.get(r);o||ro("");var a=F(e,(function(t){return function(t,e){var i=new tp,n=t.data,r=i.sourceFormat=t.sourceFormat,o=t.startIndex;t.seriesLayoutBy!==wh&&ro("");var a=[],s={},l=t.dimensionsDefine;if(l)V(l,(function(t,e){var i=t.name,n={index:e,name:i,displayName:t.displayName};if(a.push(n),null!=i){St(s,i)&&ro(""),s[i]=n}}));else for(var u=0;u<t.dimensionsDetectedCount;u++)a.push({index:u});var c=Lf(r,wh);e.__isBuiltIn&&(i.getRawDataItem=function(t){return c(n,o,a,t)},i.getRawData=$(ep,null,t)),i.cloneRawData=$(ip,null,t);var d=Rf(r,wh);i.count=$(d,null,n,o,a);var h=Bf(r);i.retrieveValue=function(t,e){var i=c(n,o,a,t);return f(i,e)};var f=i.retrieveValueFromItem=function(t,e){if(null!=t){var i=a[e];return i?h(t,e,i.name):void 0}};return i.getDimensionInfo=$(np,null,a,s),i.cloneAllDimensionInfo=$(rp,null,a),i}(t,o)})),s=so(o.transform({upstream:a[0],upstreamList:a,config:D(t.config)}));return F(s,(function(t,i){var n;K(t)||ro(""),t.data||ro(""),sp(Cf(t.data))||ro("");var r=e[0];if(r&&0===i&&!t.dimensions){var o=r.startIndex;o&&(t.data=r.data.slice(0,o).concat(t.data)),n={seriesLayoutBy:wh,sourceHeader:o,dimensions:r.metaRawOption.dimensions}}else n={seriesLayoutBy:wh,sourceHeader:0,dimensions:t.dimensions};return wf(t.data,n,null)}))}function sp(t){return t===mh||t===yh}var lp,up="undefined",cp=("undefined"===typeof Uint32Array?"undefined":l(Uint32Array))===up?Array:Uint32Array,dp=("undefined"===typeof Uint16Array?"undefined":l(Uint16Array))===up?Array:Uint16Array,hp=("undefined"===typeof Int32Array?"undefined":l(Int32Array))===up?Array:Int32Array,fp=("undefined"===typeof Float64Array?"undefined":l(Float64Array))===up?Array:Float64Array,pp={float:fp,int:hp,ordinal:Array,number:Array,time:fp};function gp(t){return t>65535?cp:dp}function vp(t,e,i,n,r){var o=pp[i||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==n){for(var l=new o(n),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(n)}var mp=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=_t()}return t.prototype.initData=function(t,e,i){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=t.getSource(),r=this.defaultDimValueGetter=lp[n.sourceFormat];this._dimValueGetter=i||r,this._rawExtent=[],If(n),this._dimensions=F(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var i=this._calcDimNameToIdx,n=this._dimensions,r=i.get(t);if(null!=r){if(n[r].type===e)return r}else r=n.length;return n[r]={type:e},i.set(t,r),this._chunks[r]=new pp[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var i=this._chunks[t],n=this._dimensions[t],r=this._rawExtent,o=n.ordinalOffset||0,a=i.length;0===o&&(r[t]=[1/0,-1/0]);for(var s=r[t],l=o;l<a;l++){var u=i[l]=e.parseAndCollect(i[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}n.ordinalMeta=e,n.ordinalOffset=a,n.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,i=this.count();e.appendData(t);var n=e.count();return e.persistent||(n+=i),i<n&&this._initDataFromProvider(i,n,!0),[i,n]},t.prototype.appendValues=function(t,e){for(var i=this._chunks,n=this._dimensions,r=n.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<r;l++)vp(i,l,(f=n[l]).type,s,!0);for(var u=[],c=a;c<s;c++)for(var d=c-a,h=0;h<r;h++){var f=n[h],p=lp.arrayRows.call(this,t[d]||u,f.property,d,h);i[h][c]=p;var g=o[h];p<g[0]&&(g[0]=p),p>g[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,i){for(var n=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=F(o,(function(t){return t.property})),u=0;u<a;u++){var c=o[u];s[u]||(s[u]=[1/0,-1/0]),vp(r,u,c.type,e,i)}if(n.fillStorage)n.fillStorage(t,e,r,s);else for(var d=[],h=t;h<e;h++){d=n.getItem(h,d);for(var f=0;f<a;f++){var p=r[f],g=this._dimValueGetter(d,l[f],h,f);p[h]=g;var v=s[f];g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var i=this._chunks[t];return i?i[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var i=[],n=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)n.push(r)}else n=t;r=0;for(var o=n.length;r<o;r++)i.push(this.get(n[r],e));return i},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var i=this._chunks[t];return i?i[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var i=0,n=this.count();i<n;i++){var r=this.get(t,i);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var i=e.sort((function(t,e){return t-e})),n=this.count();return 0===n?0:n%2==1?i[(n-1)/2]:(i[n/2]+i[n/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&i<this._count&&i===t)return t;for(var n=0,r=this._count-1;n<=r;){var o=(n+r)/2|0;if(e[o]<t)n=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,i){var n=this._chunks[t],r=[];if(!n)return r;null==i&&(i=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var c=e-n[this.getRawIndex(l)],d=Math.abs(c);d<=i&&((d<o||d===o&&c>=0&&a<0)&&(o=d,a=c,s=0),c===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var i=e.constructor,n=this._count;if(i===Array){t=new i(n);for(var r=0;r<n;r++)t[r]=e[r]}else t=new i(e.buffer,0,n)}else for(t=new(i=gp(this._rawCount))(this.count()),r=0;r<t.length;r++)t[r]=r;return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var i=this.clone(),n=i.count(),r=new(gp(i._rawCount))(n),o=[],a=t.length,s=0,l=t[0],u=i._chunks,c=0;c<n;c++){var d=void 0,h=i.getRawIndex(c);if(0===a)d=e(c);else if(1===a)d=e(u[l][h],c);else{for(var f=0;f<a;f++)o[f]=u[t[f]][h];o[f]=c,d=e.apply(null,o)}d&&(r[s++]=h)}return s<n&&(i._indices=r),i._count=s,i._extent=[],i._updateGetRawIdx(),i},t.prototype.selectRange=function(t){var e=this.clone(),i=e._count;if(!i)return this;var n=W(t),r=n.length;if(!r)return this;var o=e.count(),a=new(gp(e._rawCount))(o),s=0,l=n[0],u=t[l][0],c=t[l][1],d=e._chunks,h=!1;if(!e._indices){var f=0;if(1===r){for(var p=d[n[0]],g=0;g<i;g++)((_=p[g])>=u&&_<=c||isNaN(_))&&(a[s++]=f),f++;h=!0}else if(2===r){p=d[n[0]];var v=d[n[1]],m=t[n[1]][0],y=t[n[1]][1];for(g=0;g<i;g++){var _=p[g],x=v[g];(_>=u&&_<=c||isNaN(_))&&(x>=m&&x<=y||isNaN(x))&&(a[s++]=f),f++}h=!0}}if(!h)if(1===r)for(g=0;g<o;g++){var b=e.getRawIndex(g);((_=d[n[0]][b])>=u&&_<=c||isNaN(_))&&(a[s++]=b)}else for(g=0;g<o;g++){for(var w=!0,S=(b=e.getRawIndex(g),0);S<r;S++){var C=n[S];((_=d[C][b])<t[C][0]||_>t[C][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return s<o&&(e._indices=a),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var i=this.clone(t);return this._updateDims(i,t,e),i},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,i){for(var n=t._chunks,r=[],o=e.length,a=t.count(),s=[],u=t._rawExtent,c=0;c<e.length;c++)u[e[c]]=[1/0,-1/0];for(var d=0;d<a;d++){for(var h=t.getRawIndex(d),f=0;f<o;f++)s[f]=n[e[f]][h];s[o]=d;var p=i&&i.apply(null,s);if(null!=p)for("object"!=l(p)&&(r[0]=p,p=r),c=0;c<p.length;c++){var g=e[c],v=p[c],m=u[g],y=n[g];y&&(y[h]=v),v<m[0]&&(m[0]=v),v>m[1]&&(m[1]=v)}}},t.prototype.lttbDownSample=function(t,e){var i,n,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),d=new(gp(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));d[l++]=c;for(var h=1;h<s-1;h+=u){for(var f=Math.min(h+u,s-1),p=Math.min(h+2*u,s),g=(p+f)/2,v=0,m=f;m<p;m++){var y=a[M=this.getRawIndex(m)];isNaN(y)||(v+=y)}v/=p-f;var _=h,x=Math.min(h+u,s),b=h-1,w=a[c];i=-1,r=_;var S=-1,C=0;for(m=_;m<x;m++){var M;y=a[M=this.getRawIndex(m)],isNaN(y)?(C++,S<0&&(S=M)):(n=Math.abs((b-g)*(y-w)-(b-m)*(v-w)))>i&&(i=n,r=M)}C>0&&C<x-_&&(d[l++]=Math.min(S,r),r=Math.max(S,r)),d[l++]=r,c=r}return d[l++]=this.getRawIndex(s-1),o._count=l,o._indices=d,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,i,n){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=r._rawExtent[t]=[1/0,-1/0],d=new(gp(this._rawCount))(Math.ceil(u/s)),h=0,f=0;f<u;f+=s){s>u-f&&(s=u-f,a.length=s);for(var p=0;p<s;p++){var g=this.getRawIndex(f+p);a[p]=l[g]}var v=i(a),m=this.getRawIndex(Math.min(f+n(a,v)||0,u-1));l[m]=v,v<c[0]&&(c[0]=v),v>c[1]&&(c[1]=v),d[h++]=m}return r._count=h,r._indices=d,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var i=t.length,n=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(i){case 0:e(r);break;case 1:e(n[t[0]][a],r);break;case 2:e(n[t[0]][a],n[t[1]][a],r);break;default:for(var s=0,l=[];s<i;s++)l[s]=n[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],i=[1/0,-1/0];if(!e)return i;var n,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(n=this._extent[t])return n.slice();for(var o=(n=i)[0],a=n[1],s=0;s<r;s++){var l=e[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return n=[o,a],this._extent[t]=n,n},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var i=[],n=this._chunks,r=0;r<n.length;r++)i.push(n[r][e]);return i},t.prototype.clone=function(e,i){var n,r,o=new t,a=this._chunks,s=e&&j(e,(function(t,e){return t[e]=!0,t}),{});if(s)for(var l=0;l<a.length;l++)o._chunks[l]=s[l]?(n=a[l],r=void 0,(r=n.constructor)===Array?n.slice():new r(n)):a[l];else o._chunks=a;return this._copyCommonProps(o),i||(o._indices=this._cloneIndices()),o._updateGetRawIdx(),o},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=D(this._extent),t._rawExtent=D(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var i=this._indices.length;e=new t(i);for(var n=0;n<i;n++)e[n]=this._indices[n]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,i,n){return Uf(t[n],this._dimensions[n])}lp={arrayRows:t,objectRows:function(t,e,i,n){return Uf(t[e],this._dimensions[n])},keyedColumns:t,original:function(t,e,i,n){var r=t&&(null==t.value?t:t.value);return Uf(r instanceof Array?r[n]:r,this._dimensions[n])},typedArray:function(t,e,i,n){return t[n]}}}(),t}(),yp=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,i=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length;if(xp(i)){var o=i,a=void 0,s=void 0,l=void 0;if(r){var u=n[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=tt(a=o.get("data",!0))?xh:vh,e=[];var c=this._getSourceMetaRawOption()||{},d=l&&l.metaRawOption||{},h=st(c.seriesLayoutBy,d.seriesLayoutBy)||null,f=st(c.sourceHeader,d.sourceHeader),p=st(c.dimensions,d.dimensions);t=h!==d.seriesLayoutBy||!!f!=!!d.sourceHeader||p?[wf(a,{seriesLayoutBy:h,sourceHeader:f,dimensions:p},s)]:[]}else{var g=i;if(r){var v=this._applyTransform(n);t=v.sourceList,e=v.upstreamSignList}else t=[wf(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,i=this._sourceHost,n=i.get("transform",!0),r=i.get("fromTransformResult",!0);if(null!=r){1!==t.length&&bp("")}var o,a=[],s=[];return V(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||bp(""),a.push(e),s.push(t._getVersionSign())})),n?e=function(t,e,i){var n=so(t),r=n.length;r||ro("");for(var o=0,a=r;o<a;o++)e=ap(n[o],e),o!==a-1&&(e.length=Math.max(e.length,1));return e}(n,a,i.componentIndex):null!=r&&(e=[(o=a[0],new xf({data:o.data,sourceFormat:o.sourceFormat,seriesLayoutBy:o.seriesLayoutBy,dimensionsDefine:D(o.dimensionsDefine),startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var i=t[e];if(i._isDirty()||this._upstreamSignList[e]!==i._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var i=this._getUpstreamSourceManagers();return i[0]&&i[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,i){var n=this._storeList,r=n[0];r||(r=n[0]={});var o=r[i];if(!o){var a=this._getUpstreamSourceManagers()[0];xp(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,i):(o=new mp).initData(new Af(e,t.length),t),r[i]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(xp(t)){var e=Th(t);return e?[e.getSourceManager()]:[]}return F(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?To(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},Co).models:[]}(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,i,n=this._sourceHost;if(xp(n))t=n.get("seriesLayoutBy",!0),e=n.get("sourceHeader",!0),i=n.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=n;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),i=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:i}},t}();function _p(t){t.option.transform&&pt(t.option.transform)}function xp(t){return"series"===t.mainType}function bp(t){throw new Error(t)}function wp(t,e){var i=t.color||"#6e7079",n=t.fontSize||12,r=t.fontWeight||"400",o=t.color||"#464646",a=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+ae(n+"")+"px;color:"+ae(i)+";font-weight:"+ae(r+""),valueStyle:"font-size:"+ae(a+"")+"px;color:"+ae(o)+";font-weight:"+ae(s+"")}:{nameStyle:{fontSize:n,fill:i,fontWeight:r},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var Sp=[0,10,20,30],Cp=["","\n","\n\n","\n\n\n"];function Mp(t,e){return e.type=t,e}function Tp(t){return"section"===t.type}function Ip(t){return Tp(t)?Ap:Dp}function Ap(t,e,i,n){var r,o=e.noHeader,a=(r=function t(e){if(Tp(e)){var i=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return V(e.blocks,(function(e){var n=t(e);n>=i&&(i=n+ +(r&&(!n||Tp(e)&&!e.noHeader)))})),i}return 0}(e),{html:Sp[r],richText:Cp[r]}),s=[],l=e.blocks||[];dt(!l||Y(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(St(c,u)){var d=new qf(c[u],null);l.sort((function(t,e){return d.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}V(l,(function(i,r){var o=e.valueFormatter,l=Ip(i)(o?P(P({},t),{valueFormatter:o}):t,i,r>0?a.html:0,n);null!=l&&s.push(l)}));var h="richText"===t.renderMode?s.join(a.richText):Lp(s.join(""),o?i:a.html);if(o)return h;var f=Ud(e.header,"ordinal",t.useUTC),p=wp(n,t.renderMode).nameStyle;return"richText"===t.renderMode?Pp(t,f,p)+a.richText+h:Lp('<div style="'+p+';line-height:1;">'+ae(f)+"</div>"+h,i)}function Dp(t,e,i,n){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(t){return F(t=Y(t)?t:[t],(function(t,e){return Ud(t,Y(f)?f[e]:f,u)}))};if(!o||!a){var d=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),h=o?"":Ud(l,"ordinal",u),f=e.valueType,p=a?[]:c(e.value),g=!s||!o,v=!s&&o,m=wp(n,r),y=m.nameStyle,_=m.valueStyle;return"richText"===r?(s?"":d)+(o?"":Pp(t,h,y))+(a?"":function(t,e,i,n,r){var o=[r],a=n?10:20;return i&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Y(e)?e.join(" "):e,o)}(t,p,g,v,_)):Lp((s?"":d)+(o?"":function(t,e,i){return'<span style="'+i+";"+(e?"margin-left:2px":"")+'">'+ae(t)+"</span>"}(h,!s,y))+(a?"":function(t,e,i,n){var r=i?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=Y(t)?t:[t],'<span style="'+o+";"+n+'">'+F(t,(function(t){return ae(t)})).join(" ")+"</span>"}(p,g,v,_)),i)}}function kp(t,e,i,n,r,o){if(t)return Ip(t)({useUTC:r,renderMode:i,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function Lp(t,e){return'<div style="margin: '+e+'px 0 0;line-height:1;">'+t+'<div style="clear:both"></div></div>'}function Pp(t,e,i){return t.markupStyleCreator.wrapRichTextStyle(e,i)}function Op(t,e){return qd(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Rp(t,e){var i=t.get("padding");return null!=i?i:"richText"===e?[8,10]:10}var Ep=function(){function t(){this.richTextStyles={},this._nextStyleNameId=io()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,i){var n="richText"===i?this._generateStyleName():null,r=Xd({color:e,type:t,renderMode:i,markerId:n});return Q(r)?r:(this.richTextStyles[n]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var i={};Y(e)?V(e,(function(t){return P(i,t)})):P(i,e);var n=this._generateStyleName();return this.richTextStyles[n]=i,"{"+n+"|"+t+"}"},t}();function Np(t){var e,i,n,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,d=o.getRawValue(a),h=Y(d),f=Op(o,a);if(c>1||h&&!c){var p=function(t,e,i,n,r){var o=e.getData(),a=j(t,(function(t,e,i){var n=o.getDimensionInfo(i);return t||n&&!1!==n.tooltip&&null!=n.displayName}),!1),s=[],l=[],u=[];function c(t,e){var i=o.getDimensionInfo(e);i&&!1!==i.otherDims.tooltip&&(a?u.push(Mp("nameValue",{markerType:"subItem",markerColor:r,name:i.displayName,value:t,valueType:i.type})):(s.push(t),l.push(i.type)))}return n.length?V(n,(function(t){c(Vf(o,i,t),t)})):V(t,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}(d,o,a,u,f);e=p.inlineValues,i=p.inlineValueTypes,n=p.blocks,r=p.inlineValues[0]}else if(c){var g=l.getDimensionInfo(u[0]);r=e=Vf(l,a,u[0]),i=g.type}else r=e=h?d[0]:d;var v=mo(o),m=v&&o.name||"",y=l.getName(a),_=s?m:y;return Mp("section",{header:m,noHeader:s||!v,sortParam:r,blocks:[Mp("nameValue",{markerType:"item",markerColor:f,name:_,noName:!ht(_),value:e,valueType:i})].concat(n||[])})}var Bp=xo();function zp(t,e){return t.getName(e)||t.getId(e)}var Vp=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return i(e,t),e.prototype.init=function(t,e,i){this.seriesIndex=this.componentIndex,this.dataTask=Gf({count:jp,reset:Hp}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),(Bp(this).sourceManager=new yp(this)).prepareSource();var n=this.getInitialData(t,i);Wp(n,this),this.dataTask.context.data=n,Bp(this).dataBeforeProcessed=n,Fp(this),this._initSelectedMapFromData(n)},e.prototype.mergeDefaultAndTheme=function(t,e){var i=ah(this),n=i?lh(t):{},r=this.subType;dh.hasClass(r)&&(r+="Series"),k(t,e.getTheme().get(this.subType)),k(t,this.getDefaultOption()),lo(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&sh(t,n,i)},e.prototype.mergeOption=function(t,e){t=k(this.option,t,!0),this.fillDataTextStyle(t.data);var i=ah(this);i&&sh(this.option,t,i);var n=Bp(this).sourceManager;n.dirty(),n.prepareSource();var r=this.getInitialData(t,e);Wp(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,Bp(this).dataBeforeProcessed=r,Fp(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!tt(t))for(var e=["show"],i=0;i<t.length;i++)t[i]&&t[i].label&&lo(t[i],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=Up(this);if(e){var i=e.context.data;return null==t?i:i.getLinkedData(t)}return Bp(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=Up(this);if(e){var i=e.context;i.outputData=t,e!==this.dataTask&&(i.data=t)}Bp(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return _t(t)},e.prototype.getSourceManager=function(){return Bp(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return Bp(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,i){return Np({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(a.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,i){var n=this.ecModel,r=Eh.prototype.getColorFromPalette.call(this,t,e,i);return r||(r=n.getColorFromPalette(t,e,i)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var i=this.option.selectedMap;if(i){var n=this.option.selectedMode,r=this.getData(e);if("series"===n||"all"===i)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=zp(r,t[o]);i[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var i=[],n=0;n<t.length;n++)i[0]=t[n],this.isSelected(t[n],e)?this.unselect(i,e):this.select(i,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=W(t),i=[],n=0;n<e.length;n++){var r=t[e[n]];r>=0&&i.push(r)}return i},e.prototype.isSelected=function(t,e){var i=this.option.selectedMap;if(!i)return!1;var n=this.getData(e);return("all"===i||i[zp(n,t)])&&!n.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var i,n,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){K(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<a;l++){var u=e[l];s[d=zp(t,u)]=!0,this._selectedDataIndicesMap[d]=t.getRawIndex(u)}}else if("single"===o||!0===o){var c=e[a-1],d=zp(t,c);r.selectedMap=((i={})[d]=!0,i),this._selectedDataIndicesMap=((n={})[d]=t.getRawIndex(c),n)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(i){var n=t.getRawDataItem(i);n&&n.selected&&e.push(i)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return dh.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(dh);function Fp(t){var e=t.name;mo(t)||(t.name=function(t){var e=t.getRawData(),i=e.mapDimensionsAll("seriesName"),n=[];return V(i,(function(t){var i=e.getDimensionInfo(t);i.displayName&&n.push(i.displayName)})),n.join(" ")}(t)||e)}function jp(t){return t.model.getRawData().count()}function Hp(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Gp}function Gp(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Wp(t,e){V(xt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(i){t.wrapMethod(i,U($p,e))}))}function $p(t,e){var i=Up(t);return i&&i.setOutputEnd((e||this).count()),e}function Up(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var r=n.agentStubMap;r&&(n=r.get(t.uid))}return n}}B(Vp,jf),B(Vp,Eh),Ro(Vp,dh);var Yp=function(){function t(){this.group=new Ar,this.uid=cd("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,i,n){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,i,n){},t.prototype.updateLayout=function(t,e,i,n){},t.prototype.updateVisual=function(t,e,i,n){},t.prototype.toggleBlurSeries=function(t,e,i){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function Zp(){var t=xo();return function(e){var i=t(e),n=e.pipelineContext,r=!!i.large,o=!!i.progressiveRender,a=i.large=!(!n||!n.large),s=i.progressiveRender=!(!n||!n.progressiveRender);return!(r===a&&o===s)&&"reset"}}Oo(Yp),zo(Yp);var Qp=xo(),Xp=Zp(),qp=function(){function t(){this.group=new Ar,this.uid=cd("viewChart"),this.renderTask=Gf({plan:tg,reset:eg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,i,n){},t.prototype.highlight=function(t,e,i,n){var r=t.getData(n&&n.dataType);r&&Jp(r,n,"emphasis")},t.prototype.downplay=function(t,e,i,n){var r=t.getData(n&&n.dataType);r&&Jp(r,n,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.updateLayout=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.updateVisual=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.eachRendered=function(t){Oc(this.group,t)},t.markUpdateMethod=function(t,e){Qp(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Kp(t,e,i){t&&Nl(t)&&("emphasis"===e?vl:ml)(t,i)}function Jp(t,e,i){var n=_o(t,e),r=e&&null!=e.highlightKey?function(t){var e=Gs[t];return null==e&&Hs<=32&&(e=Gs[t]=Hs++),e}(e.highlightKey):null;null!=n?V(so(n),(function(e){Kp(t.getItemGraphicEl(e),i,r)})):t.eachItemGraphicEl((function(t){Kp(t,i,r)}))}function tg(t){return Xp(t.model)}function eg(t){var e=t.model,i=t.ecModel,n=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Qp(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,i,n,r),ig[l]}Oo(qp),zo(qp);var ig={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},ng="\0__throttleOriginMethod",rg="\0__throttleRate",og="\0__throttleType";function ag(t,e,i){var n,r,o,a,s,l=0,u=0,c=null;function d(){u=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var h=function(){for(var t=[],h=0;h<arguments.length;h++)t[h]=arguments[h];n=(new Date).getTime(),o=this,a=t;var f=s||e,p=s||i;s=null,r=n-(p?l:u)-f,clearTimeout(c),p?c=setTimeout(d,f):r>=0?d():c=setTimeout(d,-r),l=n};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(t){s=t},h}function sg(t,e,i,n){var r=t[e];if(r){var o=r[ng]||r,a=r[og];if(r[rg]!==i||a!==n){if(null==i||!n)return t[e]=o;(r=t[e]=ag(o,i,"debounce"===n))[ng]=o,r[og]=n,r[rg]=i}return r}}function lg(t,e){var i=t[e];i&&i[ng]&&(i.clear&&i.clear(),t[e]=i[ng])}var ug=xo(),cg={itemStyle:Vo(od,!0),lineStyle:Vo(id,!0)},dg={lineStyle:"stroke",itemStyle:"fill"};function hg(t,e){var i=t.visualStyleMapper||cg[e];return i||(n("warn","Unknown style type '"+e+"'."," at uni_modules/lime-echart/static/echarts.min.js:47"),cg.itemStyle)}function fg(t,e){var i=t.visualDrawType||dg[e];return i||(n("warn","Unknown style type '"+e+"'."," at uni_modules/lime-echart/static/echarts.min.js:47"),"fill")}var pg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),n=t.visualStyleAccessPath||"itemStyle",r=t.getModel(n),o=hg(t,n)(r),a=r.getShallow("decal");a&&(i.setVisual("decal",a),a.dirty=!0);var s=fg(t,n),l=o[s],u=Z(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var d=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=d,i.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Z(o.fill)?d:o.fill,o.stroke="auto"===o.stroke||Z(o.stroke)?d:o.stroke}if(i.setVisual("style",o),i.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return i.setVisual("colorFromPalette",!1),{dataEach:function(e,i){var n=t.getDataParams(i),r=P({},o);r[s]=u(n),e.setItemVisual(i,"style",r)}}}},gg=new ld,vg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var i=t.getData(),n=t.visualStyleAccessPath||"itemStyle",r=hg(t,n),o=i.getVisual("drawType");return{dataEach:i.hasItemOption?function(t,e){var i=t.getRawDataItem(e);if(i&&i[n]){gg.option=i[n];var a=r(gg);P(t.ensureUniqueItemVisual(e,"style"),a),gg.option.decal&&(t.setItemVisual(e,"decal",gg.option.decal),gg.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},mg={performRawSeries:!0,overallReset:function(t){var e=_t();t.eachSeries((function(t){var i=t.getColorBy();if(!t.isColorBySeries()){var n=t.type+"-"+i,r=e.get(n);r||(r={},e.set(n,r)),ug(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var i=e.getRawData(),n={},r=e.getData(),o=ug(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=fg(e,a);r.each((function(t){var e=r.getRawIndex(t);n[e]=t})),i.each((function(t){var a=n[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=i.getName(t)||t+"",c=i.count();l[s]=e.getColorFromPalette(u,o,c)}}))}}))}},yg=Math.PI,_g=function(){function t(t,e,i,n){this._stageTaskMap=_t(),this.ecInstance=t,this.api=e,i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=i.concat(n)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context,r=!e&&i.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>i.blockIndex?i.step:null,o=n&&n.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData().count(),r=i.progressiveEnabled&&e.incrementalPrepareRender&&n>=i.threshold,o=t.get("large")&&n>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?n:null;t.pipelineContext=i.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,i=e._pipelineMap=_t();t.eachSeries((function(t){var n=t.getProgressive(),r=t.uid;i.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),i=this.api;V(this._allHandlers,(function(n){var r=t.get(n.uid)||t.set(n.uid,{});dt(!(n.reset&&n.overallReset),""),n.reset&&this._createSeriesStageTask(n,r,e,i),n.overallReset&&this._createOverallStageTask(n,r,e,i)}),this)},t.prototype.prepareView=function(t,e,i,n){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=i,o.api=n,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,i){this._performStageTasks(this._visualHandlers,t,e,i)},t.prototype._performStageTasks=function(t,e,i,n){n=n||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}V(t,(function(t,s){if(!n.visualType||n.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,h=c.agentStubMap;h.each((function(t){a(n,t)&&(t.dirty(),d=!0)})),d&&c.dirty(),o.updatePayload(c,i);var f=o.getPerformArgs(c,n.block);h.each((function(t){t.perform(f)})),c.perform(f)&&(r=!0)}else u&&u.each((function(s,l){a(n,s)&&s.dirty();var u=o.getPerformArgs(s,n.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,i),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,i,n){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=_t(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Gf({plan:Cg,reset:Mg,count:Ag}));l.context={model:e,ecModel:i,api:n,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?i.eachRawSeries(u):s?i.eachRawSeriesByType(s,u):l&&l(i,n).each(u)},t.prototype._createOverallStageTask=function(t,e,i,n){var r=this,o=e.overallTask=e.overallTask||Gf({reset:xg});o.context={ecModel:i,api:n,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=_t(),l=t.seriesType,u=t.getTargetSeries,c=!0,d=!1;function h(t){var e=t.uid,i=s.set(e,a&&a.get(e)||(d=!0,Gf({reset:bg,onDirty:Sg})));i.context={model:t,overallProgress:c},i.agent=o,i.__block=c,r._pipe(t,i)}dt(!t.createOnAllSeries,""),l?i.eachRawSeriesByType(l,h):u?u(i,n).each(h):(c=!1,V(i.getSeries(),h)),d&&o.dirty()},t.prototype._pipe=function(t,e){var i=t.uid,n=this._pipelineMap.get(i);!n.head&&(n.head=e),n.tail&&n.tail.pipe(e),n.tail=e,e.__idxInPipeline=n.count++,e.__pipeline=n},t.wrapStageHandler=function(t,e){return Z(t)&&(t={overallReset:t,seriesType:Dg(t)}),t.uid=cd("stageHandler"),e&&(t.visualType=e),t},t}();function xg(t){t.overallReset(t.ecModel,t.api,t.payload)}function bg(t){return t.overallProgress&&wg}function wg(){this.agent.dirty(),this.getDownstream().dirty()}function Sg(){this.agent&&this.agent.dirty()}function Cg(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Mg(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=so(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?F(e,(function(t,e){return Ig(e)})):Tg}var Tg=Ig(0);function Ig(t){return function(e,i){var n=i.data,r=i.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(n,o);else r&&r.progress&&r.progress(e,n)}}function Ag(t){return t.data.count()}function Dg(t){kg=null;try{t(Lg,Pg)}catch(t){}return kg}var kg,Lg={},Pg={};function Og(t,e){for(var i in e.prototype)t[i]=Ct}Og(Lg,zh),Og(Pg,Gh),Lg.eachSeriesByType=Lg.eachRawSeriesByType=function(t){kg=t},Lg.eachComponent=function(t){"series"===t.mainType&&t.subType&&(kg=t.subType)};var Rg=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Eg={color:Rg,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Rg]},Ng="#B9B8CE",Bg="#100C2A",zg=function(){return{axisLine:{lineStyle:{color:Ng}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Vg=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Fg={darkMode:!0,color:Vg,backgroundColor:Bg,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Ng}},textStyle:{color:Ng},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Ng}},dataZoom:{borderColor:"#71708A",textStyle:{color:Ng},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Ng}},timeline:{lineStyle:{color:Ng},label:{color:Ng},controlStyle:{color:Ng,borderColor:Ng}},calendar:{itemStyle:{color:Bg},dayLabel:{color:Ng},monthLabel:{color:Ng},yearLabel:{color:Ng}},timeAxis:zg(),logAxis:zg(),valueAxis:zg(),categoryAxis:zg(),line:{symbol:"circle"},graph:{color:Vg},gauge:{title:{color:Ng},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Ng},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Fg.categoryAxis.splitLine.show=!1;var jg=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},i={},n={};if(Q(t)){var r=Po(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};V(t,(function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var d=r.slice(0,c);"data"!==d&&(e.mainType=d,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(i[r]=t,s=!0),s||(n[r]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:n}},t.prototype.filter=function(t,e){var i=this.eventInfo;if(!i)return!0;var n=i.targetEl,r=i.packedEvent,o=i.model,a=i.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,n,r));function u(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Hg=["symbol","symbolSize","symbolRotate","symbolOffset"],Gg=Hg.concat(["symbolKeepAspect"]),Wg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData();if(t.legendIcon&&i.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var n={},r={},o=!1,a=0;a<Hg.length;a++){var s=Hg[a],l=t.get(s);Z(l)?(o=!0,r[s]=l):n[s]=l}if(n.symbol=n.symbol||t.defaultSymbol,i.setVisual(P({legendIcon:t.legendIcon||n.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},n)),!e.isSeriesFiltered(t)){var u=W(r);return{dataEach:o?function(e,i){for(var n=t.getRawValue(i),o=t.getDataParams(i),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(i,s,r[s](n,o))}}:null}}}}},$g={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var i=t.getItemModel(e),n=0;n<Gg.length;n++){var r=Gg[n],o=i.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}};function Ug(t,e,i){switch(i){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,i)}}function Yg(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function Zg(t,e,i,n){switch(i){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=n,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,i,n)}}function Qg(t,e){function i(e,i){var n=[];return e.eachComponent({mainType:"series",subType:t,query:i},(function(t){n.push(t.seriesIndex)})),n}V([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,n,r){e=P({},e),r.dispatchAction(P(e,{type:t[1],seriesIndex:i(n,e)}))}))}))}function Xg(t,e,i,n,r){var o=t+e;i.isSilent(o)||n.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,n=t.option.selectedMap,a=r.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=_o(l,r.fromActionPayload);i.trigger(o,{type:o,seriesId:t.id,name:Y(u)?l.getName(u[0]):l.getName(u),selected:Q(n)?n:P({},n)})}}))}function qg(t,e,i){for(var n;t&&(!e(t)||(n=t,!i));)t=t.__hostTarget||t.parent;return n}var Kg=Math.round(9*Math.random()),Jg="function"==typeof Object.defineProperty,tv=function(){function t(){this._id="__ec_inner_"+Kg++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var i=this._guard(t);return Jg?Object.defineProperty(i,this._id,{value:e,enumerable:!1,configurable:!0}):i[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),ev=hs.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,o=e.height/2;t.moveTo(i,n-o),t.lineTo(i+r,n+o),t.lineTo(i-r,n+o),t.closePath()}}),iv=hs.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,o=e.height/2;t.moveTo(i,n-o),t.lineTo(i+r,n),t.lineTo(i,n+o),t.lineTo(i-r,n),t.closePath()}}),nv=hs.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=n-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,d=Math.sin(u),h=Math.cos(u),f=.6*a,p=.7*a;t.moveTo(i-c,l+s),t.arc(i,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+c-d*f,l+s+h*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-c+d*f,l+s+h*f,i-c,l+s),t.closePath()}}),rv=hs.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,r=e.x,o=e.y,a=n/3*2;t.moveTo(r,o),t.lineTo(r+a,o+i),t.lineTo(r,o+i/4*3),t.lineTo(r-a,o+i),t.lineTo(r,o),t.closePath()}}),ov={line:function(t,e,i,n,r){r.x1=t,r.y1=e+n/2,r.x2=t+i,r.y2=e+n/2},rect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n},roundRect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n,r.r=Math.min(i,n)/4},square:function(t,e,i,n,r){var o=Math.min(i,n);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.r=Math.min(i,n)/2},diamond:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n},pin:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},arrow:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},triangle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n}},av={};V({line:Pu,rect:Cs,roundRect:Cs,square:Cs,circle:au,diamond:iv,pin:nv,arrow:rv,triangle:ev},(function(t,e){av[e]=new t}));var sv=hs.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var n=yr(t,e,i),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(n.y=i.y+.4*i.height),n},buildPath:function(t,e,i){var n=e.symbolType;if("none"!==n){var r=av[n];r||(r=av[n="rect"]),ov[n](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,i)}}});function lv(t,e){if("image"!==this.type){var i=this.style;this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff",i.lineWidth=2):"line"===this.shape.symbolType?i.stroke=t:i.fill=t,this.markRedraw()}}function uv(t,e,i,n,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?pc(t.slice(8),new ze(e,i,n,r),a?"center":"cover"):0===t.indexOf("path://")?fc(t.slice(7),{},new ze(e,i,n,r),a?"center":"cover"):new sv({shape:{symbolType:t,x:e,y:i,width:n,height:r}})).__isEmptyBrush=l,s.setColor=lv,o&&s.setColor(o),s}function cv(t){return Y(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function dv(t,e){if(null!=t)return Y(t)||(t=[t,t]),[Nr(t[0],e[0])||0,Nr(st(t[1],t[0]),e[1])||0]}function hv(t){return isFinite(t)}function fv(t,e,i){for(var n="radial"===e.type?function(t,e,i){var n=i.width,r=i.height,o=Math.min(n,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*n+i.x,s=s*r+i.y,l*=o),a=hv(a)?a:.5,s=hv(s)?s:.5,l=l>=0&&hv(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,i):function(t,e,i){var n=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(n=n*i.width+i.x,r=r*i.width+i.x,o=o*i.height+i.y,a=a*i.height+i.y),n=hv(n)?n:0,r=hv(r)?r:1,o=hv(o)?o:0,a=hv(a)?a:0,t.createLinearGradient(n,o,r,a)}(t,e,i),r=e.colorStops,o=0;o<r.length;o++)n.addColorStop(r[o].offset,r[o].color);return n}function pv(t){return parseInt(t,10)}function gv(t,e,i){var n=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=i[n]&&"auto"!==i[n])return parseFloat(i[n]);var s=document.defaultView.getComputedStyle(t);return(t[r]||pv(s[n])||pv(t.style[n]))-(pv(s[o])||0)-(pv(s[a])||0)|0}function vv(t){var e,i,n=t.style,r=n.lineDash&&n.lineWidth>0&&(e=n.lineDash,i=n.lineWidth,e&&"solid"!==e&&i>0?"dashed"===e?[4*i,2*i]:"dotted"===e?[i]:q(e)?[e]:Y(e)?e:null:null),o=n.lineDashOffset;if(r){var a=n.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=F(r,(function(t){return t/a})),o/=a)}return[r,o]}var mv=new Ua(!0);function yv(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function _v(t){return"string"==typeof t&&"none"!==t}function xv(t){var e=t.fill;return null!=e&&"none"!==e}function bv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var i=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=i}else t.fill()}function wv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var i=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=i}else t.stroke()}function Sv(t,e,i){var n=Wo(e.image,e.__image,i);if(Uo(n)){var r=t.createPattern(n,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*Mt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var Cv=["shadowBlur","shadowOffsetX","shadowOffsetY"],Mv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Tv(t,e,i,n,r){var o=!1;if(!n&&e===(i=i||{}))return!1;if(n||e.opacity!==i.opacity){Dv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?aa.opacity:a}(n||e.blend!==i.blend)&&(o||(Dv(t,r),o=!0),t.globalCompositeOperation=e.blend||aa.blend);for(var s=0;s<Cv.length;s++){var l=Cv[s];(n||e[l]!==i[l])&&(o||(Dv(t,r),o=!0),t[l]=t.dpr*(e[l]||0))}return(n||e.shadowColor!==i.shadowColor)&&(o||(Dv(t,r),o=!0),t.shadowColor=e.shadowColor||aa.shadowColor),o}function Iv(t,e,i,n,r){var o=kv(e,r.inHover),a=n?null:i&&kv(i,r.inHover)||{};if(o===a)return!1;var s=Tv(t,o,a,n,r);if((n||o.fill!==a.fill)&&(s||(Dv(t,r),s=!0),_v(o.fill)&&(t.fillStyle=o.fill)),(n||o.stroke!==a.stroke)&&(s||(Dv(t,r),s=!0),_v(o.stroke)&&(t.strokeStyle=o.stroke)),(n||o.opacity!==a.opacity)&&(s||(Dv(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(Dv(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<Mv.length;u++){var c=Mv[u],d=c[0];(n||o[d]!==a[d])&&(s||(Dv(t,r),s=!0),t[d]=o[d]||c[1])}return s}function Av(t,e){var i=e.transform,n=t.dpr||1;i?t.setTransform(n*i[0],n*i[1],n*i[2],n*i[3],n*i[4],n*i[5]):t.setTransform(n,0,0,n,0,0)}function Dv(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function kv(t,e){return e&&t.__hoverStyle||t.style}function Lv(t,e){Pv(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Pv(t,e,i,n){var r=e.transform;if(!e.shouldBePainted(i.viewWidth,i.viewHeight,!1,!1))return e.__dirty&=-2,void(e.__isRendered=!1);var o=e.__clipPaths,a=i.prevElClipPaths,s=!1,l=!1;if(a&&!function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!0;return!1}(o,a)||(a&&a.length&&(Dv(t,i),t.restore(),l=s=!0,i.prevElClipPaths=null,i.allClipped=!1,i.prevEl=null),o&&o.length&&(Dv(t,i),t.save(),function(t,e,i){for(var n=!1,r=0;r<t.length;r++){var o=t[r];n=n||o.isZeroArea(),Av(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}i.allClipped=n}(o,t,i),s=!0),i.prevElClipPaths=o),i.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=i.prevEl;u||(l=s=!0);var c,h,f=e instanceof hs&&e.autoBatch&&function(t){var e=xv(t),i=yv(t);return!(t.lineDash||!(+e^+i)||e&&"string"!=typeof t.fill||i&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);s||(c=r,h=u.transform,c&&h?c[0]!==h[0]||c[1]!==h[1]||c[2]!==h[2]||c[3]!==h[3]||c[4]!==h[4]||c[5]!==h[5]:c||h)?(Dv(t,i),Av(t,e)):f||Dv(t,i);var p=kv(e,i.inHover);e instanceof hs?(1!==i.lastDrawType&&(l=!0,i.lastDrawType=1),Iv(t,e,u,l,i),f&&(i.batchFill||i.batchStroke)||t.beginPath(),function(t,e,i,n){var r,o=yv(i),a=xv(i),s=i.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var c=e.path||mv,d=e.__dirty;if(!n){var h=i.fill,f=i.stroke,p=a&&!!h.colorStops,g=o&&!!f.colorStops,v=a&&!!h.image,m=o&&!!f.image,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0;(p||g)&&(w=e.getBoundingRect()),p&&(y=d?fv(t,h,w):e.__canvasFillGradient,e.__canvasFillGradient=y),g&&(_=d?fv(t,f,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),v&&(x=d||!e.__canvasFillPattern?Sv(t,h,e):e.__canvasFillPattern,e.__canvasFillPattern=x),m&&(b=d||!e.__canvasStrokePattern?Sv(t,f,e):e.__canvasStrokePattern,e.__canvasStrokePattern=x),p?t.fillStyle=y:v&&(x?t.fillStyle=x:a=!1),g?t.strokeStyle=_:m&&(b?t.strokeStyle=b:o=!1)}var S,C,M=e.getGlobalScale();c.setScale(M[0],M[1],e.segmentIgnoreThreshold),t.setLineDash&&i.lineDash&&(S=(r=vv(e))[0],C=r[1]);var T=!0;(u||4&d)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),T=!1),c.reset(),e.buildPath(c,e.shape,n),c.toStatic(),e.pathUpdated()),T&&c.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=C),n||(i.strokeFirst?(o&&wv(t,i),a&&bv(t,i)):(a&&bv(t,i),o&&wv(t,i))),S&&t.setLineDash([])}(t,e,p,f),f&&(i.batchFill=p.fill||"",i.batchStroke=p.stroke||"")):e instanceof ps?(3!==i.lastDrawType&&(l=!0,i.lastDrawType=3),Iv(t,e,u,l,i),function(t,e,i){var n,r=i.text;if(null!=r&&(r+=""),r){t.font=i.font||d,t.textAlign=i.textAlign,t.textBaseline=i.textBaseline;var o=void 0,a=void 0;t.setLineDash&&i.lineDash&&(o=(n=vv(e))[0],a=n[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),i.strokeFirst?(yv(i)&&t.strokeText(r,i.x,i.y),xv(i)&&t.fillText(r,i.x,i.y)):(xv(i)&&t.fillText(r,i.x,i.y),yv(i)&&t.strokeText(r,i.x,i.y)),o&&t.setLineDash([])}}(t,e,p)):e instanceof ms?(2!==i.lastDrawType&&(l=!0,i.lastDrawType=2),function(t,e,i,n,r){Tv(t,kv(e,r.inHover),i&&kv(i,r.inHover),n,r)}(t,e,u,l,i),function(t,e,i){var n=e.__image=Wo(i.image,e.__image,e,e.onload);if(n&&Uo(n)){var r=i.x||0,o=i.y||0,a=e.getWidth(),s=e.getHeight(),l=n.width/n.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=n.width,s=n.height),i.sWidth&&i.sHeight){var u=i.sx||0,c=i.sy||0;t.drawImage(n,u,c,i.sWidth,i.sHeight,r,o,a,s)}else if(i.sx&&i.sy){var d=a-(u=i.sx),h=s-(c=i.sy);t.drawImage(n,u,c,d,h,r,o,a,s)}else t.drawImage(n,r,o,a,s)}}(t,e,p)):e.getTemporalDisplayables&&(4!==i.lastDrawType&&(l=!0,i.lastDrawType=4),function(t,e,i){var n=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:i.viewWidth,viewHeight:i.viewHeight,inHover:i.inHover};for(o=e.getCursor(),a=n.length;o<a;o++)(c=n[o]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),Pv(t,c,s,o===a-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c;for(var l=0,u=r.length;l<u;l++){var c;(c=r[l]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),Pv(t,c,s,l===u-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,i)),f&&n&&Dv(t,i),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),i.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var Ov=new tv,Rv=new Li(100),Ev=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Nv(t,e){if("none"===t)return null;var i=e.getDevicePixelRatio(),n=e.getZr(),r="svg"===n.painter.type;t.dirty&&Ov.delete(t);var o=Ov.get(t);if(o)return o;var a=O(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return function(t){for(var e,o=[i],s=!0,u=0;u<Ev.length;++u){var c=a[Ev[u]];if(null!=c&&!Y(c)&&!Q(c)&&!q(c)&&"boolean"!=typeof c){s=!1;break}o.push(c)}if(s){e=o.join(",")+(r?"-svg":"");var d=Rv.get(e);d&&(r?t.svgElement=d:t.image=d)}var h,p,g=function t(e){if(!e||0===e.length)return[[0,0]];if(q(e))return[[o=Math.ceil(e),o]];for(var i=!0,n=0;n<e.length;++n)if(!q(e[n])){i=!1;break}if(i)return t([e]);var r=[];for(n=0;n<e.length;++n)if(q(e[n])){var o=Math.ceil(e[n]);r.push([o,o])}else(o=F(e[n],(function(t){return Math.ceil(t)}))).length%2==1?r.push(o.concat(o)):r.push(o);return r}(a.dashArrayX),v=function(t){if(!t||"object"==l(t)&&0===t.length)return[0,0];if(q(t)){var e=Math.ceil(t);return[e,e]}var i=F(t,(function(t){return Math.ceil(t)}));return t.length%2?i.concat(i):i}(a.dashArrayY),m=function t(e){if(!e||0===e.length)return[["rect"]];if(Q(e))return[[e]];for(var i=!0,n=0;n<e.length;++n)if(!Q(e[n])){i=!1;break}if(i)return t([e]);var r=[];for(n=0;n<e.length;++n)Q(e[n])?r.push([e[n]]):r.push(e[n]);return r}(a.symbol),y=(p=g,F(p,(function(t){return Bv(t)}))),_=Bv(v),x=!r&&f.createCanvas(),b=r&&{tag:"g",attrs:{},key:"dcl",children:[]},w=function(){for(var t=1,e=0,i=y.length;e<i;++e)t=no(t,y[e]);var n=1;for(e=0,i=m.length;e<i;++e)n=no(n,m[e].length);t*=n;var r=_*y.length*m.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();x&&(x.width=w.width*i,x.height=w.height*i,h=x.getContext("2d")),function(){h&&(h.clearRect(0,0,x.width,x.height),a.backgroundColor&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,x.width,x.height)));for(var t=0,e=0;e<v.length;++e)t+=v[e];if(!(t<=0))for(var o=-_,s=0,l=0,u=0;o<w.height;){if(s%2==0){for(var c=l/2%m.length,d=0,f=0,p=0;d<2*w.width;){var y=0;for(e=0;e<g[u].length;++e)y+=g[u][e];if(y<=0)break;if(f%2==0){var S=.5*(1-a.symbolSize),C=d+g[u][f]*S,M=o+v[s]*S,T=g[u][f]*a.symbolSize,I=v[s]*a.symbolSize,A=p/2%m[c].length;D(C,M,T,I,m[c][A])}d+=g[u][f],++p,++f===g[u].length&&(f=0)}++u===g.length&&(u=0)}o+=v[s],++l,++s===v.length&&(s=0)}function D(t,e,o,s,l){var u=r?1:i,c=uv(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(r){var d=n.painter.renderOneToVNode(c);d&&b.children.push(d)}else Lv(h,c)}}(),s&&Rv.put(e,x||b),t.image=x,t.svgElement=b,t.svgWidth=w.width,t.svgHeight=w.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/i,Ov.set(t,s),t.dirty=!1,s}function Bv(t){for(var e=0,i=0;i<t.length;++i)e+=t[i];return t.length%2==1?2*e:e}var zv=new qt,Vv={};function Fv(t){return Vv[t]}var jv={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},Hv=/^[a-zA-Z0-9_]+$/,Gv="__connectUpdateStatus";function Wv(t){return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];if(!this.isDisposed())return Uv(this,t,e);vm(this.id)}}function $v(t){return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return Uv(this,t,e)}}function Uv(t,e,i){return i[0]=i[0]&&i[0].toLowerCase(),qt.prototype[e].apply(t,i)}var Yv,Zv,Qv,Xv,qv,Kv,Jv,tm,em,im,nm,rm,om,am,sm,lm,um,cm,dm=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(qt),hm=dm.prototype;hm.on=$v("on"),hm.off=$v("off");var fm=function(t){function e(e,i,n){var r=t.call(this,new jg)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],n=n||{},Q(i)&&(i=wm[i]),r._dom=e;var o=r._zr=Pr(e,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:st(n.useDirtyRect,!1),useCoarsePointer:st(n.useCoarsePointer,"auto"),pointerSize:n.pointerSize});r._ssr=n.ssr,r._throttledZrFlush=ag($(o.flush,o),17),(i=D(i))&&ff(i,!0),r._theme=i,r._locale=function(t){if(Q(t)){var e=hd[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?D(e):k(D(e),D(hd.EN),!1)}return k(D(t),D(hd.EN),!1)}(n.locale||pd),r._coordSysMgr=new $h;var a=r._api=sm(r);function s(t,e){return t.__prio-e.__prio}return Ke(bm,s),Ke(_m,s),r._scheduler=new _g(r,a,_m,bm),r._messageCenter=new dm,r._initEvents(),r.resize=$(r.resize,r),o.animation.on("frame",r._onframe,r),im(o,r),nm(o,r),pt(r),r}return i(e,t),e.prototype._onframe=function(){if(!this._disposed){cm(this);var t=this._scheduler;if(this.__pendingUpdate){var e=this.__pendingUpdate.silent;this.__flagInMainProcess=!0;try{Yv(this),Xv.update.call(this,null,this.__pendingUpdate.updateParams)}catch(t){throw this.__flagInMainProcess=!1,this.__pendingUpdate=null,t}this._zr.flush(),this.__flagInMainProcess=!1,this.__pendingUpdate=null,tm.call(this,e),em.call(this,e)}else if(t.unfinished){var i=1,n=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(n),t.performDataProcessorTasks(n),Kv(this,n),t.performVisualTasks(n),am(this,this._model,r,"remain",{}),i-=+new Date-o}while(i>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,i){if(!this.__flagInMainProcess)if(this._disposed)vm(this.id);else{var n,r,o;if(K(e)&&(i=e.lazyUpdate,n=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var a=new Yh(this._api),s=this._theme,l=this._model=new zh;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},xm);var u={seriesTransition:o,optionChanged:!0};if(i)this.__pendingUpdate={silent:n,updateParams:u},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{Yv(this),Xv.update.call(this,null,u)}catch(t){throw this.__pendingUpdate=null,this.__flagInMainProcess=!1,t}this._ssr||this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,tm.call(this,n),em.call(this,n)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a.svgSupported){var t=this._zr;return V(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,i=this._model,n=[],r=this;V(e,(function(t){i.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return V(n,(function(t){t.group.ignore=!1})),o}vm(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,i=this.group,n=Math.min,r=Math.max;if(Mm[i]){var o=1/0,a=1/0,s=-1/0,l=-1/0,u=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();V(Cm,(function(c,d){if(c.group===i){var h=e?c.getZr().painter.getSvgDom().innerHTML:c.renderToCanvas(D(t)),f=c.getDom().getBoundingClientRect();o=n(f.left,o),a=n(f.top,a),s=r(f.right,s),l=r(f.bottom,l),u.push({dom:h,left:f.left,top:f.top})}}));var d=(s*=c)-(o*=c),h=(l*=c)-(a*=c),p=f.createCanvas(),g=Pr(p,{renderer:e?"svg":"canvas"});if(g.resize({width:d,height:h}),e){var v="";return V(u,(function(t){var e=t.left-o,i=t.top-a;v+='<g transform="translate('+e+","+i+')">'+t.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new Cs({shape:{x:0,y:0,width:d,height:h},style:{fill:t.connectedBackgroundColor}})),V(u,(function(t){var e=new ms({style:{x:t.left*c-o,y:t.top*c-a,image:t.dom}});g.add(e)})),g.refreshImmediately(),p.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}vm(this.id)},e.prototype.convertToPixel=function(t,e){return qv(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return qv(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var i;if(!this._disposed)return V(wo(this._model,t),(function(t,n){n.indexOf("Models")>=0&&V(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)i=i||!!r.containPoint(e);else if("seriesModels"===n){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(i=i||o.containPoint(e,t))}}),this)}),this),!!i;vm(this.id)},e.prototype.getVisual=function(t,e){var i=wo(this._model,t,{defaultMainType:"series"}),n=i.seriesModel,r=n.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=o?Ug(r,o,e):Yg(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,i,n=this;V(gm,(function(t){var e=function(e){var i,r=n.getModel(),o=e.target,a="globalout"===t;if(a?i={}:o&&qg(o,(function(t){var e=Fs(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return i=P({},e.eventData),!0}),!0),i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),c=u&&n["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=e,i.type=t,n._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:u,view:c},n.trigger(t,i)}};e.zrEventfulCallAtLast=!0,n._zr.on(t,e,n)})),V(ym,(function(t,e){n._messageCenter.on(e,(function(t){this.trigger(e,t)}),n)})),V(["selectchanged"],(function(t){n._messageCenter.on(t,(function(e){this.trigger(t,e)}),n)})),t=this._messageCenter,e=this,i=this._api,t.on("selectchanged",(function(t){var n=i.getModel();t.isFromClick?(Xg("map","selectchanged",e,n,t),Xg("pie","selectchanged",e,n,t)):"select"===t.fromAction?(Xg("map","selected",e,n,t),Xg("pie","selected",e,n,t)):"unselect"===t.fromAction&&(Xg("map","unselected",e,n,t),Xg("pie","unselected",e,n,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?vm(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)vm(this.id);else{this._disposed=!0,this.getDom()&&Io(this.getDom(),Am,"");var t=this,e=t._api,i=t._model;V(t._componentsViews,(function(t){t.dispose(i,e)})),V(t._chartsViews,(function(t){t.dispose(i,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Cm[t.id]}},e.prototype.resize=function(t){if(!this.__flagInMainProcess)if(this._disposed)vm(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),n=t&&t.silent;this.__pendingUpdate&&(null==n&&(n=this.__pendingUpdate.silent),i=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0;try{i&&Yv(this),Xv.update.call(this,{type:"resize",animation:P({duration:0},t&&t.animation)})}catch(t){throw this.__flagInMainProcess=!1,t}this.__flagInMainProcess=!1,tm.call(this,n),em.call(this,n)}}},e.prototype.showLoading=function(t,e){if(this._disposed)vm(this.id);else if(K(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Sm[t]){var i=Sm[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},e.prototype.hideLoading=function(){this._disposed?vm(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=P({},t);return e.type=ym[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)vm(this.id);else if(K(e)||(e={silent:!!e}),mm[t.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(t);else{var i=e.silent;Jv.call(this,t,i);var n=e.flush;n?this._zr.flush():!1!==n&&a.browser.weChat&&this._throttledZrFlush(),tm.call(this,i),em.call(this,i)}},e.prototype.updateLabelLayout=function(){zv.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)vm(this.id);else{var e=t.seriesIndex,i=this.getModel().getSeriesByIndex(e);i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],i=t.currentStates,n=0;n<i.length;n++){var r=i[n];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),2===t.hoverState&&t.states.emphasis?e.push("emphasis"):1===t.hoverState&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var i=t.get("z")||0,n=t.get("zlevel")||0;e.eachRendered((function(t){return function t(e,i,n,r){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(t(s[l],i,n,r),r);else e.z=i,e.zlevel=n,r=Math.max(e.z2,r);if(o&&(o.z=i,o.zlevel=n,isFinite(r)&&(o.z2=r+2)),a){var u=e.textGuideLineConfig;a.z=i,a.zlevel=n,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,i,n,-1/0),!0}))}}function r(t,e){e.eachRendered((function(t){if(!ec(t)){var e=t.getTextContent(),i=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),i&&i.stateTransition&&(i.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function o(t,i){var n=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=n.get("duration"),a=o>0?{duration:o,delay:n.get("delay"),easing:n.get("easing")}:null;i.eachRendered((function(t){if(t.states&&t.states.emphasis){if(ec(t))return;if(t instanceof hs&&function(t){var e=Ws(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var i=t.states.select||{};e.selectFill=i.style&&i.style.fill||null,e.selectStroke=i.style&&i.style.stroke||null}(t),t.__dirty){var i=t.prevStates;i&&t.useStates(i)}if(r){t.stateTransition=a;var n=t.getTextContent(),o=t.getTextGuideLine();n&&(n.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Yv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Zv(t,!0),Zv(t,!1),e.plan()},Zv=function(t,e){for(var i=t._model,n=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var d=Po(t.type),h=e?Yp.getClass(d.main,d.sub):qp.getClass(d.sub);(c=new h).init(i,s),o[u]=c,r.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&n.prepareView(c,t,i,s)}for(e?i.eachComponent((function(t,e){"series"!==t&&u(e)})):i.eachSeries(u),l=0;l<r.length;){var c=r[l];c.__alive?l++:(!e&&c.renderTask.dispose(),a.remove(c.group),c.dispose(i,s),r.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},Qv=function(t,e,i,n,r){var o=t._model;if(o.setUpdatePayload(i),n){var a={};a[n+"Id"]=i[n+"Id"],a[n+"Index"]=i[n+"Index"],a[n+"Name"]=i[n+"Name"];var s={mainType:n,query:a};r&&(s.subType=r);var l,u=i.excludeSeriesId;null!=u&&(l=_t(),V(so(u),(function(t){var e=vo(t,null);null!=e&&l.set(e,!0)}))),o&&o.eachComponent(s,(function(e){if(!l||null==l.get(e.id))if(zl(i))if(e instanceof Vp)i.type!==Zs||i.notBlur||e.get(["emphasis","disabled"])||function(t,e,i){var n=t.seriesIndex,r=t.getData(e.dataType);if(r){var o=_o(r,e);o=(Y(o)?o[0]:o)||0;var a=r.getItemGraphicEl(o);if(!a)for(var s=r.count(),l=0;!a&&l<s;)a=r.getItemGraphicEl(l++);if(a){var u=Fs(a);Cl(n,u.focus,u.blurScope,i)}else{var c=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=c&&Cl(n,c,d,i)}}}(e,i,t._api);else{var n=Tl(e.mainType,e.componentIndex,i.name,t._api),r=n.focusSelf,o=n.dispatchers;i.type===Zs&&r&&!i.notBlur&&Ml(e.mainType,e.componentIndex,t._api),o&&V(o,(function(t){i.type===Zs?vl(t):ml(t)}))}else Bl(i)&&e instanceof Vp&&(function(t,e,i){if(Bl(e)){var n=e.dataType,r=_o(t.getData(n),e);Y(r)||(r=[r]),t[e.type===Ks?"toggleSelect":e.type===Xs?"select":"unselect"](r,n)}}(e,i,t._api),Il(e),um(t))}),t),o&&o.eachComponent(s,(function(e){l&&null!=l.get(e.id)||c(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else V([].concat(t._componentsViews).concat(t._chartsViews),c);function c(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}},Xv={prepareAndUpdate:function(t){Yv(this),Xv.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,i){var n=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(n){n.setUpdatePayload(e),s.restoreData(n,e),s.performSeriesTasks(n),a.create(n,r),s.performDataProcessorTasks(n,e),Kv(this,n),a.update(n,r),t(n),s.performVisualTasks(n,e),rm(this,n,r,e,i);var l=n.get("backgroundColor")||"transparent",u=n.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),zv.trigger("afterupdate",n,r)}},updateTransform:function(e){var i=this,n=this._model,r=this._api;if(n){n.setUpdatePayload(e);var o=[];n.eachComponent((function(t,a){if("series"!==t){var s=i.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,n,r,e);l&&l.update&&o.push(s)}else o.push(s)}}));var a=_t();n.eachSeries((function(t){var o=i._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,n,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)})),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0,dirtyMap:a}),am(this,n,r,e,{},a),zv.trigger("afterupdate",n,r)}},updateView:function(e){var i=this._model;i&&(i.setUpdatePayload(e),qp.markUpdateMethod(e,"updateView"),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0}),rm(this,i,this._api,e,{}),zv.trigger("afterupdate",i,this._api))},updateVisual:function(e){var i=this,n=this._model;n&&(n.setUpdatePayload(e),n.eachSeries((function(t){t.getData().clearAllVisual()})),qp.markUpdateMethod(e,"updateVisual"),t(n),this._scheduler.performVisualTasks(n,e,{visualType:"visual",setDirty:!0}),n.eachComponent((function(t,r){if("series"!==t){var o=i.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,n,i._api,e)}})),n.eachSeries((function(t){i._chartsMap[t.__viewId].updateVisual(t,n,i._api,e)})),zv.trigger("afterupdate",n,this._api))},updateLayout:function(t){Xv.update.call(this,t)}},qv=function(t,e,i,n){if(t._disposed)vm(t.id);else for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=wo(o,i),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,n)))return r}},Kv=function(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries((function(t){n.updateStreamModes(t,i[t.__viewId])}))},Jv=function(t,e){var i=this,n=this.getModel(),r=t.type,o=t.escapeConnect,a=mm[r],s=a.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),c=null!=l[0]&&Po(l[0]);this.__flagInMainProcess=!0;var d=[t],h=!1;t.batch&&(h=!0,d=F(t.batch,(function(e){return(e=O(P({},e),t)).batch=null,e})));var f,p=[],g=Bl(t),v=zl(t);if(v&&Sl(this._api),V(d,(function(e){if((f=(f=a.action(e,i._model,i._api))||P({},e)).type=s.event||f.type,p.push(f),v){var n=So(t),r=n.queryOptionMap,o=n.mainTypeSpecified?r.keys()[0]:"series";Qv(i,u,e,o),um(i)}else g?(Qv(i,u,e,"series"),um(i)):c&&Qv(i,u,e,c.main,c.sub)})),"none"!==u&&!v&&!g&&!c)try{this.__pendingUpdate?(Yv(this),Xv.update.call(this,t),this.__pendingUpdate=null):Xv[u].call(this,t)}catch(t){throw this.__flagInMainProcess=!1,t}if(f=h?{type:s.event||r,escapeConnect:o,batch:p}:p[0],this.__flagInMainProcess=!1,!e){var m=this._messageCenter;if(m.trigger(f.type,f),g){var y={type:"selectchanged",escapeConnect:o,selected:Al(n),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};m.trigger(y.type,y)}}},tm=function(t){for(var e=this._pendingActions;e.length;){var i=e.shift();Jv.call(this,i,t)}},em=function(t){!t&&this.trigger("updated")},im=function(t,e){t.on("rendered",(function(i){e.trigger("rendered",i),!t.animation.isFinished()||e.__pendingUpdate||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},nm=function(t,e){t.on("mouseover",(function(t){var i=qg(t.target,Nl);i&&(function(t,e,i){var n=Fs(t),r=Tl(n.componentMainType,n.componentIndex,n.componentHighDownName,i),o=r.dispatchers,a=r.focusSelf;o?(a&&Ml(n.componentMainType,n.componentIndex,i),V(o,(function(t){return pl(t,e)}))):(Cl(n.seriesIndex,n.focus,n.blurScope,i),"self"===n.focus&&Ml(n.componentMainType,n.componentIndex,i),pl(t,e))}(i,t,e._api),um(e))})).on("mouseout",(function(t){var i=qg(t.target,Nl);i&&(function(t,e,i){Sl(i);var n=Fs(t),r=Tl(n.componentMainType,n.componentIndex,n.componentHighDownName,i).dispatchers;r?V(r,(function(t){return gl(t,e)})):gl(t,e)}(i,t,e._api),um(e))})).on("click",(function(t){var i=qg(t.target,(function(t){return null!=Fs(t).dataIndex}),!0);if(i){var n=i.selected?"unselect":"select",r=Fs(i);e._api.dispatchAction({type:n,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}}))},rm=function(t,e,i,n,r){!function(t){var e=[],i=[],n=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();n=n||!!s,("series"===t?i:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),n){var r,o,a=e.concat(i);Ke(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),V(a,(function(e){var i=t.getComponent(e.type,e.idx),n=e.zlevel,a=e.key;null!=r&&(n=Math.max(r,n)),a?(n===r&&a!==o&&n++,o=a):o&&(n===r&&n++,o=""),r=n,i.setZLevel(n)}))}}(e),om(t,e,i,n,r),V(t._chartsViews,(function(t){t.__alive=!1})),am(t,e,i,n,r),V(t._chartsViews,(function(t){t.__alive||t.remove(e,i)}))},om=function(t,e,i,a,s,l){V(l||t._componentsViews,(function(t){var s=t.__model;r(0,t),t.render(s,e,i,a),n(s,t),o(s,t)}))},am=function(t,e,i,s,l,u){var c=t._scheduler;l=P(l||{},{updatedSeries:e.getSeries()}),zv.trigger("series:beforeupdate",e,i,l);var d=!1;e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];i.__alive=!0;var n=i.renderTask;c.updatePayload(n,s),r(0,i),u&&u.get(e.uid)&&n.dirty(),n.perform(c.getPerformArgs(n))&&(d=!0),i.group.silent=!!e.get("silent"),function(t,e){var i=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=i)}))}(e,i),Il(e)})),c.unfinished=d||c.unfinished,zv.trigger("series:layoutlabels",e,i,l),zv.trigger("series:transition",e,i,l),e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];n(e,i),o(e,i)})),function(t,e){var i=t._zr.storage,n=0;i.traverse((function(t){t.isGroup||n++})),n>e.get("hoverLayerThreshold")&&!a.node&&!a.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),zv.trigger("series:afterupdate",e,i,l)},um=function(t){t.__needsUpdateStatus=!0,t.getZr().wakeUp()},cm=function(t){t.__needsUpdateStatus&&(t.getZr().storage.traverse((function(t){ec(t)||e(t)})),t.__needsUpdateStatus=!1)},sm=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}},n.prototype.enterEmphasis=function(e,i){vl(e,i),um(t)},n.prototype.leaveEmphasis=function(e,i){ml(e,i),um(t)},n.prototype.enterBlur=function(e){yl(e),um(t)},n.prototype.leaveBlur=function(e){_l(e),um(t)},n.prototype.enterSelect=function(e){xl(e),um(t)},n.prototype.leaveSelect=function(e){bl(e),um(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(Gh))(t)},lm=function(t){function e(t,e){for(var i=0;i<t.length;i++)t[i][Gv]=e}V(ym,(function(i,n){t._messageCenter.on(n,(function(i){if(Mm[t.group]&&0!==t[Gv]){if(i&&i.escapeConnect)return;var n=t.makeActionFromEvent(i),r=[];V(Cm,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,0),V(r,(function(t){1!==t[Gv]&&t.dispatchAction(n)})),e(r,2)}}))}))}}(),e}(qt),pm=fm.prototype;pm.on=Wv("on"),pm.off=Wv("off"),pm.one=function(t,e,i){var n=this;this.on.call(this,t,(function i(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),n.off(t,i)}),i)};var gm=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function vm(t){}var mm={},ym={},_m=[],xm=[],bm=[],wm={},Sm={},Cm={},Mm={},Tm=+new Date-0,Im=+new Date-0,Am="_echarts_instance_";function Dm(t){Mm[t]=!1}var km=Dm;function Lm(t){return Cm[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,Am)]}function Pm(t,e){wm[t]=e}function Om(t){E(xm,t)<0&&xm.push(t)}function Rm(t,e){Gm(_m,t,e,2e3)}function Em(t){Bm("afterinit",t)}function Nm(t){Bm("afterupdate",t)}function Bm(t,e){zv.on(t,e)}function zm(t,e,i){Z(e)&&(i=e,e="");var n=K(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,ym[e]||(dt(Hv.test(n)&&Hv.test(e)),mm[n]||(mm[n]={action:i,actionInfo:t}),ym[e]=n)}function Vm(t,e){$h.register(t,e)}function Fm(t,e){Gm(bm,t,e,1e3,"layout")}function jm(t,e){Gm(bm,t,e,3e3,"visual")}var Hm=[];function Gm(t,e,i,n,r){if((Z(e)||K(e))&&(i=e,e=n),!(E(Hm,i)>=0)){Hm.push(i);var o=_g.wrapStageHandler(i,r);o.__prio=e,o.__raw=i,t.push(o)}}function Wm(t,e){Sm[t]=e}function $m(t,e,i){var n=Fv("registerMap");n&&n(t,e,i)}var Um=function(t){var e=(t=D(t)).type;e||ro("");var i=e.split(":");2!==i.length&&ro("");var n=!1;"echarts"===i[0]&&(e=i[1],n=!0),t.__isBuiltIn=n,op.set(e,t)};jm(2e3,pg),jm(4500,vg),jm(4500,mg),jm(2e3,Wg),jm(4500,$g),jm(7e3,(function(t,e){t.eachRawSeries((function(i){if(!t.isSeriesFiltered(i)){var n=i.getData();n.hasItemVisual()&&n.each((function(t){var i=n.getItemVisual(t,"decal");i&&(n.ensureUniqueItemVisual(t,"style").decal=Nv(i,e))}));var r=n.getVisual("decal");r&&(n.getVisual("style").decal=Nv(r,e))}}))})),Om(ff),Rm(900,(function(t){var e=_t();t.eachSeries((function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;n.length&&r.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(o)}})),e.each(pf)})),Wm("default",(function(t,e){O(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var i=new Ar,n=new Cs({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(n);var r,o=new Is({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Cs({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return i.add(a),e.showSpinner&&((r=new zu({shape:{startAngle:-yg/2,endAngle:-yg/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*yg/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*yg/2}).delay(300).start("circularInOut"),i.add(r)),i.resize=function(){var i=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner&&i?0:5+i/2)+(e.showSpinner?0:i/2)+(i?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i})),zm({type:Zs,event:Zs,update:Zs},Ct),zm({type:Qs,event:Qs,update:Qs},Ct),zm({type:Xs,event:Xs,update:Xs},Ct),zm({type:qs,event:qs,update:qs},Ct),zm({type:Ks,event:Ks,update:Ks},Ct),Pm("light",Eg),Pm("dark",Fg);var Ym=[],Zm={registerPreprocessor:Om,registerProcessor:Rm,registerPostInit:Em,registerPostUpdate:Nm,registerUpdateLifecycle:Bm,registerAction:zm,registerCoordinateSystem:Vm,registerLayout:Fm,registerVisual:jm,registerTransform:Um,registerLoading:Wm,registerMap:$m,registerImpl:function(t,e){Vv[t]=e},PRIORITY:jv,ComponentModel:dh,ComponentView:Yp,SeriesModel:Vp,ChartView:qp,registerComponentModel:function(t){dh.registerClass(t)},registerComponentView:function(t){Yp.registerClass(t)},registerSeriesModel:function(t){Vp.registerClass(t)},registerChartView:function(t){qp.registerClass(t)},registerSubTypeDefaulter:function(t,e){dh.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Or(t,e)}};function Qm(t){Y(t)?V(t,(function(t){Qm(t)})):E(Ym,t)>=0||(Ym.push(t),Z(t)&&(t={install:t}),t.install(Zm))}function Xm(t){return null==t?0:t.length||1}function qm(t){return t}var Km=function(){function t(t,e,i,n,r,o){this._old=t,this._new=e,this._oldKeyGetter=i||qm,this._newKeyGetter=n||qm,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,i={},n=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,n,"_oldKeyGetter"),this._initIndexMap(e,i,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=n[o],s=i[a],l=Xm(s);if(l>1){var u=s.shift();1===s.length&&(i[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(i[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,i)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,i={},n={},r=[],o=[];this._initIndexMap(t,i,r,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=i[s],u=n[s],c=Xm(l),d=Xm(u);if(c>1&&1===d)this._updateManyToOne&&this._updateManyToOne(u,l),n[s]=null;else if(1===c&&d>1)this._updateOneToMany&&this._updateOneToMany(u,l),n[s]=null;else if(1===c&&1===d)this._update&&this._update(u,l),n[s]=null;else if(c>1&&d>1)this._updateManyToMany&&this._updateManyToMany(u,l),n[s]=null;else if(c>1)for(var h=0;h<c;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(o,n)},t.prototype._performRestAdd=function(t,e){for(var i=0;i<t.length;i++){var n=t[i],r=e[n],o=Xm(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[n]=null}},t.prototype._initIndexMap=function(t,e,i,n){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[n](t[o],o);if(r||(i[o]=a),e){var s=e[a],l=Xm(s);0===l?(e[a]=o,r&&i.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),Jm=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function ty(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function ey(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var iy=function(t){this.otherDims={},null!=t&&P(this,t)},ny=xo(),ry={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},oy=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=ly(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return st(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=If(this.source),i=!uy(t),n="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=e?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var d=this.getSourceDimension(o);d&&(s=e?d.name:null,l=d.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||c&&c.isCalculationCoord||(n+=i?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),n+="$",n+=ry[l]||"f",u&&(n+=u.uid),n+="$"}var h=this.source;return{dimensions:r,hash:[h.seriesLayoutBy,h.startIndex,n].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,i=0;e<this._fullDimCount;e++){var n=void 0,r=this.dimensions[i];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(n=r.name),i++;else{var o=this.getSourceDimension(e);o&&(n=o.name)}t.push(n)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function ay(t){return t instanceof oy}function sy(t){for(var e=_t(),i=0;i<(t||[]).length;i++){var n=t[i],r=K(n)?n.name:n;null!=r&&null==e.get(r)&&e.set(r,i)}return e}function ly(t){var e=ny(t);return e.dimNameMap||(e.dimNameMap=sy(t.dimensionsDefine))}function uy(t){return t>30}var cy,dy,hy,fy,py,gy,vy,my=K,yy=F,_y="undefined"==typeof Int32Array?Array:Int32Array,xy=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],by=["_approximateExtent"],wy=function(){function t(t,e){var i;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var n=!1;ay(t)?(i=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(n=!0,i=t),i=i||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<i.length;u++){var c=i[u],d=Q(c)?new iy({name:c}):c instanceof iy?c:new iy(c),h=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=h,d.coordDimIndex=0);var f=d.otherDims=d.otherDims||{};o.push(h),r[h]=d,null!=l[h]&&(s=!0),d.createInvertedIndices&&(a[h]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),n&&(d.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var p=this._dimIdxToName=_t();V(o,(function(t){p.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var i=this._dimIdxToName.get(e);if(null!=i)return i;var n=this._schema.getSourceDimension(e);return n?n.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var i=this._getDimInfo(t);return i?i.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(q(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var i=this._dimSummary;if(null==e)return i.encodeFirstDimNotExtra[t];var n=i.encode[t];return n?n[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,i){var n,r=this;if(t instanceof mp&&(n=t),!n){var o=this.dimensions,a=bf(t)||z(t)?new Af(t,o.length):t;n=new mp;var s=yy(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));n.initData(a,s,i)}this._store=n,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,n.count()),this._dimSummary=function(t,e){var i={},n=i.encode={},r=_t(),o=[],a=[],s={};V(t.dimensions,(function(e){var i,l=t.getDimensionInfo(e),u=l.coordDim;if(u){var c=l.coordDimIndex;ty(n,u)[c]=e,l.isExtraCoord||(r.set(u,1),"ordinal"!==(i=l.type)&&"time"!==i&&(o[0]=e),ty(s,u)[c]=t.getDimensionIndex(l.name)),l.defaultTooltip&&a.push(e)}gh.each((function(t,e){var i=ty(n,e),r=l.otherDims[e];null!=r&&!1!==r&&(i[r]=l.name)}))}));var l=[],u={};r.each((function(t,e){var i=n[e];u[e]=i[0],l=l.concat(i)})),i.dataDimsOnCoord=l,i.dataDimIndicesOnCoord=F(l,(function(e){return t.getDimensionInfo(e).storeDimIndex})),i.encodeFirstDimNotExtra=u;var c=n.label;c&&c.length&&(o=c.slice());var d=n.tooltip;return d&&d.length?a=d.slice():a.length||(a=o.slice()),n.defaultedLabel=o,n.defaultedTooltip=a,i.userOutput=new Jm(s,e),i}(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var i=this._store.appendValues(t,e.length),n=i.start,r=i.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=n;a<r;a++){var s=a-n;this._nameList[a]=e[s],o&&vy(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,i=0;i<e.length;i++){var n=this._dimInfos[e[i]];n.ordinalMeta&&t.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==xh&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var i=this._store.getProvider();this._updateOrdinalMeta();var n=this._nameList,r=this._idList;if(i.getSource().sourceFormat===vh&&!i.pure)for(var o=[],a=t;a<e;a++){var s=i.getItem(a,o);if(!this.hasItemOption&&ho(s)&&(this.hasItemOption=!0),s){var l=s.name;null==n[a]&&null!=l&&(n[a]=vo(l,null));var u=s.id;null==r[a]&&null!=u&&(r[a]=vo(u,null))}}if(this._shouldMakeIdFromName())for(a=t;a<e;a++)vy(this,a);cy(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){my(t)?P(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),i=this._nameList[e];return null==i&&null!=this._nameDimIdx&&(i=hy(this,this._nameDimIdx,e)),null==i&&(i=""),i},t.prototype._getCategory=function(t,e){var i=this._store.get(t,e),n=this._store.getOrdinalMeta(t);return n?n.categories[i]:i},t.prototype.getId=function(t){return dy(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var i=this._store,n=this._dimInfos[t];if(n)return i.get(n.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var i=this._store,n=this._dimInfos[t];if(n)return i.getByRawIndex(n.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var i=this,n=this._store;return Y(t)?n.getValues(yy(t,(function(t){return i._getStoreDimIndex(t)})),e):n.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,i=0,n=e.length;i<n;i++)if(isNaN(this._store.get(e[i],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,i=this._store.count();e<i;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var i=t&&this._invertedIndicesMap[t],n=i[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,i){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,i)},t.prototype.each=function(t,e,i){Z(t)&&(i=e,e=t,t=[]);var n=i||this,r=yy(fy(t),this._getStoreDimIndex,this);this._store.each(r,n?$(e,n):e)},t.prototype.filterSelf=function(t,e,i){Z(t)&&(i=e,e=t,t=[]);var n=i||this,r=yy(fy(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,n?$(e,n):e),this},t.prototype.selectRange=function(t){var e=this,i={};return V(W(t),(function(n){var r=e._getStoreDimIndex(n);i[r]=t[n]})),this._store=this._store.selectRange(i),this},t.prototype.mapArray=function(t,e,i){Z(t)&&(i=e,e=t,t=[]),i=i||this;var n=[];return this.each(t,(function(){n.push(e&&e.apply(this,arguments))}),i),n},t.prototype.map=function(t,e,i,n){var r=i||n||this,o=yy(fy(t),this._getStoreDimIndex,this),a=gy(this);return a._store=this._store.map(o,r?$(e,r):e),a},t.prototype.modify=function(t,e,i,n){var r=i||n||this,o=yy(fy(t),this._getStoreDimIndex,this);this._store.modify(o,r?$(e,r):e)},t.prototype.downSample=function(t,e,i,n){var r=gy(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,i,n),r},t.prototype.lttbDownSample=function(t,e){var i=gy(this);return i._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),i},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,i=this.getRawDataItem(t);return new ld(i,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new Km(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return dy(t,e)}),(function(t){return dy(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},my(t)?P(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var i=this._itemVisuals[t],n=i&&i[e];return null==n?this.getVisual(e):n},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var i=this._itemVisuals,n=i[t];n||(n=i[t]={});var r=n[e];return null==r&&(Y(r=this.getVisual(e))?r=r.slice():my(r)&&(r=P({},r)),n[e]=r),r},t.prototype.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{};this._itemVisuals[t]=n,my(e)?P(n,e):n[e]=i},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){my(t)?P(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?P(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var i=this.hostModel&&this.hostModel.seriesIndex;js(i,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){V(this._graphicEls,(function(i,n){i&&t&&t.call(e,i,n)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:yy(this.dimensions,this._getDimInfo,this),this.hostModel)),py(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var i=this[t];Z(i)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(ut(arguments)))})},t.internalField=(cy=function(t){var e=t._invertedIndicesMap;V(e,(function(i,n){var r=t._dimInfos[n],o=r.ordinalMeta,a=t._store;if(o){i=e[n]=new _y(o.categories.length);for(var s=0;s<i.length;s++)i[s]=-1;for(s=0;s<a.count();s++)i[a.get(r.storeDimIndex,s)]=s}}))},hy=function(t,e,i){return vo(t._getCategory(e,i),null)},dy=function(t,e){var i=t._idList[e];return null==i&&null!=t._idDimIdx&&(i=hy(t,t._idDimIdx,e)),null==i&&(i="e\0\0"+e),i},fy=function(t){return Y(t)||(t=null!=t?[t]:[]),t},gy=function(e){var i=new t(e._schema?e._schema:yy(e.dimensions,e._getDimInfo,e),e.hostModel);return py(i,e),i},py=function(t,e){V(xy.concat(e.__wrappedMethods||[]),(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t.__wrappedMethods=e.__wrappedMethods,V(by,(function(i){t[i]=D(e[i])})),t._calculationInfo=P({},e._calculationInfo)},void(vy=function(t,e){var i=t._nameList,n=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=i[e],s=n[e];if(null==a&&null!=r&&(i[e]=a=hy(t,r,e)),null==s&&null!=o&&(n[e]=s=hy(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),n[e]=s}})),t}();function Sy(t,e){bf(t)||(t=Sf(t));var i=(e=e||{}).coordDimensions||[],n=e.dimensionsDefine||t.dimensionsDefine||[],r=_t(),o=[],a=function(t,e,i,n){var r=Math.max(t.dimensionsDetectedCount||1,e.length,i.length,n||0);return V(e,(function(t){var e;K(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,i,n,e.dimensionsCount),s=e.canOmitUnusedDimensions&&uy(a),l=n===t.dimensionsDefine,u=l?ly(t):sy(n),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,a));for(var d=_t(c),h=new hp(a),f=0;f<h.length;f++)h[f]=-1;function p(t){var e=h[t];if(e<0){var i=n[t],r=K(i)?i:{name:i},a=new iy,s=r.name;null!=s&&null!=u.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=o.length;return h[t]=l,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!s)for(f=0;f<a;f++)p(f);d.each((function(t,e){var i=so(t).slice();if(1===i.length&&!Q(i[0])&&i[0]<0)d.set(e,!1);else{var n=d.set(e,[]);V(i,(function(t,i){var r=Q(t)?u.get(t):t;null!=r&&r<a&&(n[i]=r,v(p(r),e,i))}))}}));var g=0;function v(t,e,i){null!=gh.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,r.set(e,!0))}V(i,(function(t){var e,i,n,r;if(Q(t))e=t,r={};else{e=(r=t).name;var o=r.ordinalMeta;r.ordinalMeta=null,(r=P({},r)).ordinalMeta=o,i=r.dimsDef,n=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=d.get(e);if(!1!==s){if(!(s=so(s)).length)for(var u=0;u<(i&&i.length||1);u++){for(;g<a&&null!=p(g).coordDim;)g++;g<a&&s.push(g++)}V(s,(function(t,o){var a=p(t);if(l&&null!=r.type&&(a.type=r.type),v(O(a,r),e,o),null==a.name&&i){var s=i[o];!K(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}n&&O(a.otherDims,n)}))}}));var m=e.generateCoord,y=e.generateCoordCount,_=null!=y;y=m?y||1:0;var x=m||"value";function b(t){null==t.name&&(t.name=t.coordDim)}if(s)V(o,(function(t){b(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var w=0;w<a;w++){var S=p(w);null==S.coordDim&&(S.coordDim=Cy(x,r,_),S.coordDimIndex=0,(!m||y<=0)&&(S.isExtraCoord=!0),y--),b(S),null!=S.type||1!==Ih(t,w)&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return function(t){for(var e=_t(),i=0;i<t.length;i++){var n=t[i],r=n.name,o=e.get(r)||0;o>0&&(n.name=r+(o-1)),o++,e.set(r,o)}}(o),new oy({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Cy(t,e,i){if(i||e.hasKey(t)){for(var n=0;e.hasKey(t+n);)n++;t+=n}return e.set(t,!0),t}var My=function(t){this.coordSysDims=[],this.axisMap=_t(),this.categoryAxisMap=_t(),this.coordSysName=t},Ty={cartesian2d:function(t,e,i,n){var r=t.getReferringComponents("xAxis",Co).models[0],o=t.getReferringComponents("yAxis",Co).models[0];e.coordSysDims=["x","y"],i.set("x",r),i.set("y",o),Iy(r)&&(n.set("x",r),e.firstCategoryDimIndex=0),Iy(o)&&(n.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,i,n){var r=t.getReferringComponents("singleAxis",Co).models[0];e.coordSysDims=["single"],i.set("single",r),Iy(r)&&(n.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var r=t.getReferringComponents("polar",Co).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",o),i.set("angle",a),Iy(o)&&(n.set("radius",o),e.firstCategoryDimIndex=0),Iy(a)&&(n.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,n){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();V(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];i.set(l,s),Iy(s)&&(n.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Iy(t){return"category"===t.get("type")}function Ay(t,e,i){var n,r,o,a=(i=i||{}).byIndex,s=i.stackedCoordDimension;!function(t){return!ay(t.schema)}(e)?(r=e.schema,n=r.dimensions,o=e.store):n=e;var l,u,c,d,h=!(!t||!t.get("stack"));if(V(n,(function(t,e){Q(t)&&(n[e]=t={name:t}),h&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){c="__\0ecstackresult_"+t.id,d="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var f=u.coordDim,p=u.type,g=0;V(n,(function(t){t.coordDim===f&&g++}));var v={name:c,coordDim:f,coordDimIndex:g,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length},m={name:d,coordDim:d,coordDimIndex:g+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length+1};r?(o&&(v.storeDimIndex=o.ensureCalculationDimension(d,p),m.storeDimIndex=o.ensureCalculationDimension(c,p)),r.appendCalculationDimension(v),r.appendCalculationDimension(m)):(n.push(v),n.push(m))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:d,stackResultDimension:c}}function Dy(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function ky(t,e){return Dy(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Ly(t,e,i){i=i||{};var n,r=e.getSourceManager(),o=!1;t?(o=!0,n=Sf(t)):o=(n=r.getSource()).sourceFormat===vh;var a=function(t){var e=t.get("coordinateSystem"),i=new My(e),n=Ty[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}(e),s=function(t,e){var i,n=t.get("coordinateSystem"),r=$h.get(n);return e&&e.coordSysDims&&(i=F(e.coordSysDims,(function(t){var i={name:t},n=e.axisMap.get(t);if(n){var r=n.get("type");i.type=ey(r)}return i}))),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),i}(e,a),l=i.useEncodeDefaulter,u=Z(l)?l:l?U(Ch,s,e):null,c=Sy(n,{coordDimensions:s,generateCoord:i.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),d=function(t,e,i){var n,r;return i&&V(t,(function(t,o){var a=t.coordDim,s=i.categoryAxisMap.get(a);s&&(null==n&&(n=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==n||(t[n].otherDims.itemName=0),n}(c.dimensions,i.createInvertedIndices,a),h=o?null:r.getSharedDataStore(c),f=Ay(e,{schema:c,store:h}),p=new wy(c,e);p.setCalculationInfo(f);var g=null!=d&&function(t){if(t.sourceFormat===vh){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!Y(co(e))}}(n)?function(t,e,i,n){return n===d?i:this.defaultDimValueGetter(t,e,i,n)}:null;return p.hasItemOption=!1,p.initData(o?n:h,null,g),p}var Py=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();zo(Py);var Oy=0,Ry=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Oy}return t.createByAxisModel=function(e){var i=e.option,n=i.data,r=n&&F(n,Ey);return new t({categories:r,needCollect:!r,deduplication:!1!==i.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,i=this._needCollect;if(!Q(t)&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var n=this._getOrCreateMap();return null==(e=n.get(t))&&(i?(e=this.categories.length,this.categories[e]=t,n.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=_t(this.categories))},t}();function Ey(t){return K(t)&&null!=t.value?t.value:t+""}function Ny(t){return"interval"===t.type||"log"===t.type}function By(t){var e=Math.pow(10,Xr(t)),i=t/e;return i?2===i?i=3:3===i?i=5:i*=2:i=1,Br(i*e)}function zy(t){return Vr(t)+2}function Vy(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function Fy(t,e){return t>=e[0]&&t<=e[1]}function jy(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Hy(t,e){return t*(e[1]-e[0])+e[0]}var Gy=function(t){function e(e){var i=t.call(this,e)||this;i.type="ordinal";var n=i.getSetting("ordinalMeta");return n||(n=new Ry({})),Y(n)&&(n=new Ry({categories:F(n,(function(t){return K(t)?t.value:t}))})),i._ordinalMeta=n,i._extent=i.getSetting("extent")||[0,n.categories.length-1],i}return i(e,t),e.prototype.parse=function(t){return null==t?NaN:Q(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Fy(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return jy(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Hy(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,i=e[0];i<=e[1];)t.push({value:i}),i++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,i=this._ordinalNumbersByTick=[],n=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];i[r]=s,n[s]=r}for(var l=0;r<o;++r){for(;null!=n[l];)l++;i.push(l),n[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),i=this._ordinalMeta.categories[e];return null==i?"":i+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Py);Py.registerClass(Gy);var Wy=Br,$y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return i(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Fy(t,this._extent)},e.prototype.normalize=function(t){return jy(t,this._extent)},e.prototype.scale=function(t){return Hy(t,this._extent)},e.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=zy(t)},e.prototype.getTicks=function(t){var e=this._interval,i=this._extent,n=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;i[0]<n[0]&&(t?o.push({value:Wy(n[0]-e,r)}):o.push({value:i[0]}));for(var a=n[0];a<=n[1]&&(o.push({value:a}),(a=Wy(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:n[1];return i[1]>s&&(t?o.push({value:Wy(s+e,r)}):o.push({value:i[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),i=[],n=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,l=[],u=(o.value-a.value)/t;s<t-1;){var c=Wy(a.value+(s+1)*u);c>n[0]&&c<n[1]&&l.push(c),s++}i.push(l)}return i},e.prototype.getLabel=function(t,e){if(null==t)return"";var i=e&&e.precision;return null==i?i=Vr(t.value)||0:"auto"===i&&(i=this._intervalPrecision),Gd(Wy(t.value,i,!0))},e.prototype.calcNiceTicks=function(t,e,i){t=t||5;var n=this._extent,r=n[1]-n[0];if(isFinite(r)){r<0&&(r=-r,n.reverse());var o=function(t,e,i,n){var r={},o=t[1]-t[0],a=r.interval=qr(o/e,!0);null!=i&&a<i&&(a=r.interval=i),null!=n&&a>n&&(a=r.interval=n);var s=r.intervalPrecision=zy(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Vy(t,0,e),Vy(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[Br(Math.ceil(t[0]/a)*a,s),Br(Math.floor(t[1]/a)*a,s)],t),r}(n,t,e,i);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var i=Math.abs(e[0]);t.fixMax||(e[1]+=i/2),e[0]-=i/2}else e[1]=1;var n=e[1]-e[0];isFinite(n)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=Wy(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=Wy(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(Py);Py.registerClass($y);var Uy="undefined"!=typeof Float32Array,Yy=Uy?Float32Array:Array;function Zy(t){return Y(t)?Uy?new Float32Array(t):t:new Yy(t)}var Qy="__ec_stack_";function Xy(t){return t.get("stack")||Qy+t.seriesIndex}function qy(t){return t.dim+t.index}function Ky(t,e){var i=[];return e.eachSeriesByType(t,(function(t){n_(t)&&i.push(t)})),i}function Jy(t){var e=function(t){var e={};V(t,(function(t){var i=t.coordinateSystem.getBaseAxis();if("time"===i.type||"value"===i.type)for(var n=t.getData(),r=i.dim+"_"+i.index,o=n.getDimensionIndex(n.mapDimension(i.dim)),a=n.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}}));var i={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(r){r.sort((function(t,e){return t-e}));for(var o=null,a=1;a<r.length;++a){var s=r[a]-r[a-1];s>0&&(o=null===o?s:Math.min(o,s))}i[n]=o}}return i}(t),i=[];return V(t,(function(t){var n,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)n=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),c=Math.abs(u[1]-u[0]);n=s?l/c*s:l}else{var d=t.getData();n=Math.abs(o[1]-o[0])/d.count()}var h=Nr(t.get("barWidth"),n),f=Nr(t.get("barMaxWidth"),n),p=Nr(t.get("barMinWidth")||(r_(t)?.5:1),n),g=t.get("barGap"),v=t.get("barCategoryGap");i.push({bandWidth:n,barWidth:h,barMaxWidth:f,barMinWidth:p,barGap:g,barCategoryGap:v,axisKey:qy(r),stackId:Xy(t)})})),t_(i)}function t_(t){var e={};V(t,(function(t,i){var n=t.axisKey,r=t.bandWidth,o=e[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[n]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var d=t.barGap;null!=d&&(o.gap=d);var h=t.barCategoryGap;null!=h&&(o.categoryGap=h)}));var i={};return V(e,(function(t,e){i[e]={};var n=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=W(n).length;o=Math.max(35-4*a,15)+"%"}var s=Nr(o,r),l=Nr(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),V(n,(function(t){var e=t.maxWidth,i=t.minWidth;if(t.width)n=t.width,e&&(n=Math.min(n,e)),i&&(n=Math.max(n,i)),t.width=n,u-=n+l*n,c--;else{var n=d;e&&e<n&&(n=Math.min(e,u)),i&&i>n&&(n=i),n!==d&&(t.width=n,u-=n+l*n,c--)}})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var h,f=0;V(n,(function(t,e){t.width||(t.width=d),h=t,f+=t.width*(1+l)})),h&&(f-=h.width*l);var p=-f/2;V(n,(function(t,n){i[e][n]=i[e][n]||{bandWidth:r,offset:p,width:t.width},p+=t.width*(1+l)}))})),i}function e_(t,e){var i=Ky(t,e),n=Jy(i);V(i,(function(t){var e=t.getData(),i=t.coordinateSystem.getBaseAxis(),r=Xy(t),o=n[qy(i)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function i_(t){return{seriesType:t,plan:Zp(),reset:function(t){if(n_(t)){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),r=i.getOtherAxis(n),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(n.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),c=Dy(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),d=r.isHorizontal(),h=function(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}(0,r),f=r_(t),p=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),v=e.getLayout("size"),m=e.getLayout("offset");return{progress:function(t,e){for(var n,r=t.count,l=f&&Zy(3*r),u=f&&s&&Zy(3*r),y=f&&Zy(r),_=i.master.getRect(),x=d?_.width:_.height,b=e.getStore(),w=0;null!=(n=t.next());){var S=b.get(c?g:o,n),C=b.get(a,n),M=h,T=void 0;c&&(T=+S-b.get(o,n));var I=void 0,A=void 0,D=void 0,k=void 0;if(d){var L=i.dataToPoint([S,C]);c&&(M=i.dataToPoint([T,C])[0]),I=M,A=L[1]+m,D=L[0]-M,k=v,Math.abs(D)<p&&(D=(D<0?-1:1)*p)}else L=i.dataToPoint([C,S]),c&&(M=i.dataToPoint([C,T])[1]),I=L[0]+m,A=M,D=v,k=L[1]-M,Math.abs(k)<p&&(k=(k<=0?-1:1)*p);f?(l[w]=I,l[w+1]=A,l[w+2]=d?D:k,u&&(u[w]=d?_.x:I,u[w+1]=d?A:_.y,u[w+2]=x),y[n]=n):e.setItemLayout(n,{x:I,y:A,width:D,height:k}),w+=3}f&&e.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:d})}}}}}}function n_(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function r_(t){return t.pipelineContext&&t.pipelineContext.large}var o_=function(t){function e(e){var i=t.call(this,e)||this;return i.type="time",i}return i(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Td(t.value,xd[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(Cd(this._minLevelUnit))]||xd.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,i){var n=this.getSetting("useUTC");return function(t,e,i,n,r){var o=null;if(Q(i))o=i;else if(Z(i))o=i(t.value,e,{level:t.level});else{var a=P({},_d);if(t.level>0)for(var s=0;s<bd.length;++s)a[bd[s]]="{primary|"+a[bd[s]]+"}";var l=i?!1===i.inherit?i:O(i,a):a,u=Id(t.value,r);if(l[u])o=l[u];else if(l.inherit){for(s=wd.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(Y(o)){var c=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[c=Math.min(c,o.length-1)]}}return Td(new Date(t.value),o,r,n)}(t,e,i,this.getSetting("locale"),n)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,i=[];if(!t)return i;i.push({value:e[0],level:0});var n=this.getSetting("useUTC"),r=function(t,e,i,n){var r=wd,o=0;function a(t,e,i,r,o,a,s){for(var l=new Date(e),u=e,c=l[r]();u<i&&u<=n[1];)s.push({value:u}),c+=t,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function s(t,r,o){var s=[],l=!r.length;if(!function(t,e,i,n){var r=Zr(e),o=Zr(i),a=function(t){return Ad(r,t,n)===Ad(o,t,n)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},d=function(){return c()&&a("minute")},h=function(){return d()&&a("second")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return d();case"second":return h();case"millisecond":return function(){return h()&&a("millisecond")}()}}(Cd(t),n[0],n[1],i)){l&&(r=[{value:h_(new Date(n[0]),t,i)},{value:n[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,d=r[u+1].value;if(c!==d){var h=void 0,f=void 0,p=void 0;switch(t){case"year":h=Math.max(1,Math.round(e/md/365)),f=Dd(i),p=Nd(i);break;case"half-year":case"quarter":case"month":h=l_(e),f=kd(i),p=Bd(i);break;case"week":case"half-week":case"day":h=s_(e),f=Ld(i),p=zd(i),!0;break;case"half-day":case"quarter-day":case"hour":h=u_(e),f=Pd(i),p=Vd(i);break;case"minute":h=c_(e,!0),f=Od(i),p=Fd(i);break;case"second":h=c_(e,!1),f=Rd(i),p=jd(i);break;case"millisecond":h=d_(e),f=Ed(i),p=Hd(i)}a(h,c,d,f,p,0,s),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-h})}}for(u=0;u<s.length;u++)o.push(s[u]);return s}}for(var l=[],u=[],c=0,d=0,h=0;h<r.length&&o++<1e4;++h){var f=Cd(r[h]);if(Md(r[h])&&(s(r[h],l[l.length-1]||[],u),f!==(r[h+1]?Cd(r[h+1]):null))){if(u.length){d=c,u.sort((function(t,e){return t.value-e.value}));for(var p=[],g=0;g<u.length;++g){var v=u[g].value;0!==g&&u[g-1].value===v||(p.push(u[g]),v>=n[0]&&v<=n[1]&&c++)}var m=(n[1]-n[0])/e;if(c>1.5*m&&d>m/1.5)break;if(l.push(p),c>m||t===r[h])break}u=[]}}var y=H(F(l,(function(t){return H(t,(function(t){return t.value>=n[0]&&t.value<=n[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],x=y.length-1;for(h=0;h<y.length;++h)for(var b=y[h],w=0;w<b.length;++w)_.push({value:b[w].value,level:x-h});_.sort((function(t,e){return t.value-e.value}));var S=[];for(h=0;h<_.length;++h)0!==h&&_[h].value===_[h-1].value||S.push(_[h]);return S}(this._minLevelUnit,this._approxInterval,n,e);return(i=i.concat(r)).push({value:e[1],level:0}),i},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=md,e[1]+=md),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-md}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,i){t=t||10;var n=this._extent,r=n[1]-n[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=i&&this._approxInterval>i&&(this._approxInterval=i);var o=a_.length,a=Math.min(function(t,e,i,n){for(;i<n;){var r=i+n>>>1;t[r][1]<e?i=r+1:n=r}return i}(a_,this._approxInterval,0,o),o-1);this._interval=a_[a][1],this._minLevelUnit=a_[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return q(t)?t:+Zr(t)},e.prototype.contain=function(t){return Fy(this.parse(t),this._extent)},e.prototype.normalize=function(t){return jy(this.parse(t),this._extent)},e.prototype.scale=function(t){return Hy(t,this._extent)},e.type="time",e}($y),a_=[["second",1e3],["minute",6e4],["hour",36e5],["quarter-day",216e5],["half-day",432e5],["day",10368e4],["half-week",3024e5],["week",6048e5],["month",26784e5],["quarter",8208e6],["half-year",yd/2],["year",yd]];function s_(t,e){return(t/=md)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function l_(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function u_(t){return(t/=36e5)>12?12:t>6?6:t>3.5?4:t>2?2:1}function c_(t,e){return(t/=e?6e4:1e3)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function d_(t){return qr(t,!0)}function h_(t,e,i){var n=new Date(t);switch(Cd(e)){case"year":case"month":n[Bd(i)](0);case"day":n[zd(i)](1);case"hour":n[Vd(i)](0);case"minute":n[Fd(i)](0);case"second":n[jd(i)](0),n[Hd(i)](0)}return n.getTime()}Py.registerClass(o_);var f_=Py.prototype,p_=$y.prototype,g_=Br,v_=Math.floor,m_=Math.ceil,y_=Math.pow,__=Math.log,x_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new $y,e._interval=0,e}return i(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,i=this._extent,n=e.getExtent();return F(p_.getTicks.call(this,t),(function(t){var e=t.value,r=Br(y_(this.base,e));return r=e===i[0]&&this._fixMin?w_(r,n[0]):r,{value:r=e===i[1]&&this._fixMax?w_(r,n[1]):r}}),this)},e.prototype.setExtent=function(t,e){var i=__(this.base);t=__(Math.max(0,t))/i,e=__(Math.max(0,e))/i,p_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=f_.getExtent.call(this);e[0]=y_(t,e[0]),e[1]=y_(t,e[1]);var i=this._originalScale.getExtent();return this._fixMin&&(e[0]=w_(e[0],i[0])),this._fixMax&&(e[1]=w_(e[1],i[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=__(t[0])/__(e),t[1]=__(t[1])/__(e),f_.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=Qr(i);for(t/i*n<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var r=[Br(m_(e[0]/n)*n),Br(v_(e[1]/n)*n)];this._interval=n,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){p_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Fy(t=__(t)/__(this.base),this._extent)},e.prototype.normalize=function(t){return jy(t=__(t)/__(this.base),this._extent)},e.prototype.scale=function(t){return t=Hy(t,this._extent),y_(this.base,t)},e.type="log",e}(Py),b_=x_.prototype;function w_(t,e){return g_(t,Vr(e))}b_.getMinorTicks=p_.getMinorTicks,b_.getLabel=p_.getLabel,Py.registerClass(x_);var S_=function(){function t(t,e,i){this._prepareParams(t,e,i)}return t.prototype._prepareParams=function(t,e,i){i[1]<i[0]&&(i=[NaN,NaN]),this._dataMin=i[0],this._dataMax=i[1];var n=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=this._modelMinRaw=e.get("min",!0);Z(r)?this._modelMinNum=I_(t,r({min:i[0],max:i[1]})):"dataMin"!==r&&(this._modelMinNum=I_(t,r));var o=this._modelMaxRaw=e.get("max",!0);if(Z(o)?this._modelMaxNum=I_(t,o({min:i[0],max:i[1]})):"dataMax"!==o&&(this._modelMaxNum=I_(t,o)),n)this._axisDataLen=e.getCategories().length;else{var a=e.get("boundaryGap"),s=Y(a)?a:[a||0,a||0];"boolean"==typeof s[0]||"boolean"==typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[mr(s[0],1),mr(s[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,i=this._dataMax,n=this._axisDataLen,r=this._boundaryGapInner,o=t?null:i-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?i:this._modelMaxNum,l=null!=a,u=null!=s;null==a&&(a=t?n?0:NaN:e-r[0]*o),null==s&&(s=t?n?n-1:NaN:i+r[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var c=ot(a)||ot(s)||t&&!n;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var d=this._determinedMin,h=this._determinedMax;return null!=d&&(a=d,l=!0),null!=h&&(s=h,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[M_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var i=C_[t];this[i]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),C_={min:"_determinedMin",max:"_determinedMax"},M_={min:"_dataMin",max:"_dataMax"};function T_(t,e,i){var n=t.rawExtentInfo;return n||(n=new S_(t,e,i),t.rawExtentInfo=n,n)}function I_(t,e){return null==e?null:ot(e)?NaN:t.parse(e)}function A_(t,e){var i=t.type,n=T_(t,e,t.getExtent()).calculate();t.setBlank(n.isBlank);var r=n.min,o=n.max,a=e.ecModel;if(a&&"time"===i){var s=Ky("bar",a),l=!1;if(V(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=Jy(s),c=function(t,e,i,n){var r=i.axis.getExtent(),o=r[1]-r[0],a=function(t,e,i){if(t&&e){var n=t[qy(e)];return n}}(n,i.axis);if(void 0===a)return{min:t,max:e};var s=1/0;V(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;V(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=e-t,d=c/(1-(s+l)/o)-c;return{min:t-=d*(s/u),max:e+=d*(l/u)}}(r,o,e,u);r=c.min,o=c.max}}return{extent:[r,o],fixMin:n.minFixed,fixMax:n.maxFixed}}function D_(t,e){var i=e,n=A_(t,i),r=n.extent,o=i.get("splitNumber");t instanceof x_&&(t.base=i.get("logBase"));var a=t.type,s=i.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?i.get("minInterval"):null,maxInterval:l?i.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function k_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Gy({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new o_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Py.getClass(e)||$y)}}function L_(t){var e,i,n=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(i=n,function(e,n){return t.scale.getFormattedLabel(e,n,i)}):Q(n)?function(e){return function(i){var n=t.scale.getLabel(i);return e.replace("{value}",null!=n?n:"")}}(n):Z(n)?(e=n,function(i,n){return null!=r&&(n=i.value-r),e(P_(t,i),n,null!=i.level?{level:i.level}:null)}):function(e){return t.scale.getLabel(e)}}function P_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function O_(t,e){var i=e*Math.PI/180,n=t.width,r=t.height,o=n*Math.abs(Math.cos(i))+Math.abs(r*Math.sin(i)),a=n*Math.abs(Math.sin(i))+Math.abs(r*Math.cos(i));return new ze(t.x,t.y,o,a)}function R_(t){var e=t.get("interval");return null==e?"auto":e}function E_(t){return"category"===t.type&&0===R_(t.getLabelModel())}function N_(t,e){var i={};return V(t.mapDimensionsAll(e),(function(e){i[ky(t,e)]=!0})),W(i)}var B_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),z_={isDimensionStacked:Dy,enableDataStack:Ay,getStackedDimension:ky},V_=Object.freeze({__proto__:null,createList:function(t){return Ly(null,t)},getLayoutRect:rh,dataStack:z_,createScale:function(t,e){var i=e;e instanceof ld||(i=new ld(e));var n=k_(i);return n.setExtent(t[0],t[1]),D_(n,i),n},mixinAxisModelCommonMethods:function(t){B(t,B_)},getECData:Fs,createTextStyle:function(t,e){return Fc(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return Sy(t,e).dimensions},createSymbol:uv,enableHoverEmphasis:Dl});function F_(t,e){return Math.abs(t-e)<1e-8}function j_(t,e,i){var n=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];n+=ts(r[0],r[1],a[0],a[1],e,i),r=a}var s=t[0];return F_(r[0],s[0])&&F_(r[1],s[1])||(n+=ts(r[0],r[1],s[0],s[1],e,i)),0!==n}var H_=[];function G_(t,e){for(var i=0;i<t.length;i++)$t(t[i],t[i],e)}function W_(t,e,i,n){for(var r=0;r<t.length;r++){var o=t[r];n&&(o=n.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(Ut(e,e,o),Yt(i,i,o))}}var $_=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),U_=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},Y_=function(t){this.type="linestring",this.points=t},Z_=function(t){function e(e,i,n){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=i,r._center=n&&[n[0],n[1]],r}return i(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,i=0,n=0;n<e.length;n++){var r=e[n],o=r.exterior,a=o&&o.length;a>i&&(t=r,i=a)}if(t)return function(t){for(var e=0,i=0,n=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],c=o*u-l*a;e+=c,i+=(o+l)*c,n+=(a+u)*c,o=l,a=u}return e?[i/e/3,n/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var i=[1/0,1/0],n=[-1/0,-1/0];return V(this.geometries,(function(e){"polygon"===e.type?W_(e.exterior,i,n,t):V(e.points,(function(e){W_(e,i,n,t)}))})),isFinite(i[0])&&isFinite(i[1])&&isFinite(n[0])&&isFinite(n[1])||(i[0]=i[1]=n[0]=n[1]=0),e=new ze(i[0],i[1],n[0]-i[0],n[1]-i[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),i=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var n=0,r=i.length;n<r;n++){var o=i[n];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(j_(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(j_(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,i,n){var r=this.getBoundingRect(),o=r.width/r.height;i?n||(n=i/o):i=o*n;for(var a=new ze(t,e,i,n),s=r.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(G_(c.exterior,s),V(c.interiors,(function(t){G_(t,s)}))):V(c.points,(function(t){G_(t,s)}))}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var i=new e(t,this.geometries,this._center);return i._rect=this._rect,i.transformTo=null,i},e}($_),Q_=function(t){function e(e,i){var n=t.call(this,e)||this;return n.type="geoSVG",n._elOnlyForCalculate=i,n}return i(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),i=[e.x+e.width/2,e.y+e.height/2],n=xe(H_),r=t;r&&!r.isGeoSVGGraphicRoot;)we(n,r.getLocalTransform(),n),r=r.parent;return Te(n,n),$t(i,i,n),i},e}($_);function X_(t,e,i){for(var n=0;n<t.length;n++)t[n]=q_(t[n],e[n],i)}function q_(t,e,i){for(var n=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,n.push([s/i,l/i])}return n}function K_(t,e){return F(H((t=function(t){if(!t.UTF8Encoding)return t;var e=t,i=e.UTF8Scale;return null==i&&(i=1024),V(e.features,(function(t){var e=t.geometry,n=e.encodeOffsets,r=e.coordinates;if(n)switch(e.type){case"LineString":e.coordinates=q_(r,n,i);break;case"Polygon":case"MultiLineString":X_(r,n,i);break;case"MultiPolygon":V(r,(function(t,e){return X_(t,n[e],i)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var i=t.properties,n=t.geometry,r=[];switch(n.type){case"Polygon":var o=n.coordinates;r.push(new U_(o[0],o.slice(1)));break;case"MultiPolygon":V(n.coordinates,(function(t){t[0]&&r.push(new U_(t[0],t.slice(1)))}));break;case"LineString":r.push(new Y_([n.coordinates]));break;case"MultiLineString":r.push(new Y_(n.coordinates))}var a=new Z_(i[e||"name"],r,i.cp);return a.properties=i,a}))}var J_=Object.freeze({__proto__:null,linearMap:Er,round:Br,asc:zr,getPrecision:Vr,getPrecisionSafe:Fr,getPixelPrecision:jr,getPercentWithPrecision:function(t,e,i){return t[e]&&Hr(t,i)[e]||0},MAX_SAFE_INTEGER:Wr,remRadian:$r,isRadianAroundZero:Ur,parseDate:Zr,quantity:Qr,quantityExponent:Xr,nice:qr,quantile:Kr,reformIntervals:Jr,isNumeric:eo,numericToNumber:to}),tx=Object.freeze({__proto__:null,parse:Zr,format:Td}),ex=Object.freeze({__proto__:null,extendShape:uc,extendPath:cc,makePath:fc,makeImage:pc,mergePath:vc,resizePath:mc,createIcon:Ic,updateProps:Ju,initProps:tc,getTransform:xc,clipPointsByRect:Mc,clipRectByRect:Tc,registerShape:dc,getShapeClass:hc,Group:Ar,Image:ms,Text:Is,Circle:au,Ellipse:lu,Sector:wu,Ring:Cu,Polygon:Iu,Polyline:Du,Rect:Cs,Line:Pu,BezierCurve:Nu,Arc:zu,IncrementalDisplayable:Qu,CompoundPath:Vu,LinearGradient:ju,RadialGradient:Hu,BoundingRect:ze}),ix=Object.freeze({__proto__:null,addCommas:Gd,toCamelCase:Wd,normalizeCssArray:$d,encodeHTML:ae,formatTpl:Qd,getTooltipMarker:Xd,formatTime:function(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=Zr(e),r=i?"getUTC":"get",o=n[r+"FullYear"](),a=n[r+"Month"]()+1,s=n[r+"Date"](),l=n[r+"Hours"](),u=n[r+"Minutes"](),c=n[r+"Seconds"](),d=n[r+"Milliseconds"]();return t.replace("MM",Sd(a,2)).replace("M",a).replace("yyyy",o).replace("yy",Sd(o%100+"",2)).replace("dd",Sd(s,2)).replace("d",s).replace("hh",Sd(l,2)).replace("h",l).replace("mm",Sd(u,2)).replace("m",u).replace("ss",Sd(c,2)).replace("s",c).replace("SSS",Sd(d,3))},capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:Zo,getTextRect:function(t,e,i,n,r,o,a,s){return new Is({style:{text:t,font:e,align:i,verticalAlign:n,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}}),nx=Object.freeze({__proto__:null,map:F,each:V,indexOf:E,inherits:N,reduce:j,filter:H,bind:$,curry:U,isArray:Y,isString:Q,isObject:K,isFunction:Z,extend:P,defaults:O,clone:D,merge:k}),rx=xo();function ox(t,e){var i,n,r=ax(t,"labels"),o=R_(e),a=sx(r,o);return a||(Z(o)?i=cx(t,o):(n="auto"===o?function(t){var e=rx(t).autoInterval;return null!=e?e:rx(t).autoInterval=t.calculateCategoryInterval()}(t):o,i=ux(t,n)),lx(r,o,{labels:i,labelCategoryInterval:n}))}function ax(t,e){return rx(t)[e]||(rx(t)[e]=[])}function sx(t,e){for(var i=0;i<t.length;i++)if(t[i].key===e)return t[i].value}function lx(t,e,i){return t.push({key:e,value:i}),i}function ux(t,e,i){var n=L_(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],c=r.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var d=E_(t),h=a.get("showMinLabel")||d,f=a.get("showMaxLabel")||d;h&&u!==o[0]&&g(o[0]);for(var p=u;p<=o[1];p+=l)g(p);function g(t){var e={value:t};s.push(i?t:{formattedLabel:n(e),rawLabel:r.getLabel(e),tickValue:t})}return f&&p-l!==o[1]&&g(o[1]),s}function cx(t,e,i){var n=t.scale,r=L_(t),o=[];return V(n.getTicks(),(function(t){var a=n.getLabel(t),s=t.value;e(t.value,a)&&o.push(i?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var dx=[0,1],hx=function(){function t(t,e,i){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=i||[0,0]}return t.prototype.contain=function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return jr(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var i=this._extent;i[0]=t,i[1]=e},t.prototype.dataToCoord=function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&fx(i=i.slice(),n.count()),Er(t,dx,i,e)},t.prototype.coordToData=function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&fx(i=i.slice(),n.count());var r=Er(t,i,dx,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),i=F(function(t,e){return"category"===t.type?function(t,e){var i,n,r=ax(t,"ticks"),o=R_(e),a=sx(r,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(i=[]),Z(o))i=cx(t,o,!0);else if("auto"===o){var s=ox(t,t.getLabelModel());n=s.labelCategoryInterval,i=F(s.labels,(function(t){return t.tickValue}))}else i=ux(t,n=o,!0);return lx(r,o,{ticks:i,tickCategoryInterval:n})}(t,e):{ticks:F(t.scale.getTicks(),(function(t){return t.value}))}}(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,i,n){var r=e.length;if(t.onBand&&!i&&r){var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[0]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;V(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var c=s[0]>s[1];d(e[0].coord,s[0])&&(n?e[0].coord=s[0]:e.shift()),n&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]}),d(s[1],o.coord)&&(n?o.coord=s[1]:e.pop()),n&&d(o.coord,s[1])&&e.push({coord:s[1]})}function d(t,e){return t=Br(t),e=Br(e),c?t>e:t<e}}(this,i,e.get("alignWithLabel"),t.clamp),i},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),F(this.scale.getMinorTicks(t),(function(t){return F(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return function(t){return"category"===t.type?function(t){var e=t.getLabelModel(),i=ox(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}(t):function(t){var e=t.scale.getTicks(),i=L_(t);return{labels:F(e,(function(e,n){return{level:e.level,formattedLabel:i(e,n),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),i=L_(t),n=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),c=Math.abs(u*Math.cos(n)),d=Math.abs(u*Math.sin(n)),h=0,f=0;l<=o[1];l+=s){var p,g,v=fr(i({value:l}),e.font,"center","top");p=1.3*v.width,g=1.3*v.height,h=Math.max(h,p,7),f=Math.max(f,g,7)}var m=h/c,y=f/d;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(m,y))),x=rx(t.model),b=t.getExtent(),w=x.lastAutoInterval,S=x.lastTickCount;return null!=w&&null!=S&&Math.abs(w-_)<=1&&Math.abs(S-a)<=1&&w>_&&x.axisExtent0===b[0]&&x.axisExtent1===b[1]?_=w:(x.lastTickCount=a,x.lastAutoInterval=_,x.axisExtent0=b[0],x.axisExtent1=b[1]),_}(this)},t}();function fx(t,e){var i=(t[1]-t[0])/e/2;t[0]+=i,t[1]-=i}var px=2*Math.PI,gx=Ua.CMD,vx=["top","right","bottom","left"];function mx(t,e,i,n,r){var o=i.width,a=i.height;switch(t){case"top":n.set(i.x+o/2,i.y-e),r.set(0,-1);break;case"bottom":n.set(i.x+o/2,i.y+a+e),r.set(0,1);break;case"left":n.set(i.x-e,i.y+a/2),r.set(-1,0);break;case"right":n.set(i.x+o+e,i.y+a/2),r.set(1,0)}}function yx(t,e,i,n,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),c=(a/=u)*i+t,d=(s/=u)*i+e;if(Math.abs(n-r)%px<1e-4)return l[0]=c,l[1]=d,u-i;if(o){var h=n;n=qa(r),r=qa(h)}else n=qa(n),r=qa(r);n>r&&(r+=px);var f=Math.atan2(s,a);if(f<0&&(f+=px),f>=n&&f<=r||f+px>=n&&f+px<=r)return l[0]=c,l[1]=d,u-i;var p=i*Math.cos(n)+t,g=i*Math.sin(n)+e,v=i*Math.cos(r)+t,m=i*Math.sin(r)+e,y=(p-a)*(p-a)+(g-s)*(g-s),_=(v-a)*(v-a)+(m-s)*(m-s);return y<_?(l[0]=p,l[1]=g,Math.sqrt(y)):(l[0]=v,l[1]=m,Math.sqrt(_))}function _x(t,e,i,n,r,o,a,s){var l=r-t,u=o-e,c=i-t,d=n-e,h=Math.sqrt(c*c+d*d),f=(l*(c/=h)+u*(d/=h))/h;s&&(f=Math.min(Math.max(f,0),1)),f*=h;var p=a[0]=t+f*c,g=a[1]=e+f*d;return Math.sqrt((p-r)*(p-r)+(g-o)*(g-o))}function xx(t,e,i,n,r,o,a){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n);var s=t+i,l=e+n,u=a[0]=Math.min(Math.max(r,t),s),c=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(c-o)*(c-o))}var bx=[];function wx(t,e,i){var n=xx(e.x,e.y,e.width,e.height,t.x,t.y,bx);return i.set(bx[0],bx[1]),n}function Sx(t,e,i){for(var n,r,o=0,a=0,s=0,l=0,u=1/0,c=e.data,d=t.x,h=t.y,f=0;f<c.length;){var p=c[f++];1===f&&(s=o=c[f],l=a=c[f+1]);var g=u;switch(p){case gx.M:o=s=c[f++],a=l=c[f++];break;case gx.L:g=_x(o,a,c[f],c[f+1],d,h,bx,!0),o=c[f++],a=c[f++];break;case gx.C:g=yi(o,a,c[f++],c[f++],c[f++],c[f++],c[f],c[f+1],d,h,bx),o=c[f++],a=c[f++];break;case gx.Q:g=Ci(o,a,c[f++],c[f++],c[f],c[f+1],d,h,bx),o=c[f++],a=c[f++];break;case gx.A:var v=c[f++],m=c[f++],y=c[f++],_=c[f++],x=c[f++],b=c[f++];f+=1;var w=!!(1-c[f++]);n=Math.cos(x)*y+v,r=Math.sin(x)*_+m,f<=1&&(s=n,l=r),g=yx(v,m,_,x,x+b,w,(d-v)*_/y+v,h,bx),o=Math.cos(x+b)*y+v,a=Math.sin(x+b)*_+m;break;case gx.R:g=xx(s=o=c[f++],l=a=c[f++],c[f++],c[f++],d,h,bx);break;case gx.Z:g=_x(o,a,s,l,d,h,bx,!0),o=s,a=l}g<u&&(u=g,i.set(bx[0],bx[1]))}return u}var Cx=new De,Mx=new De,Tx=new De,Ix=new De,Ax=new De;function Dx(t,e){if(t){var i=t.getTextGuideLine(),n=t.getTextContent();if(n&&i){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||vx,s=n.getBoundingRect().clone();s.applyTransform(n.getComputedTransform());var l=1/0,u=r.anchor,c=t.getComputedTransform(),d=c&&Te([],c),h=e.get("length2")||0;u&&Tx.copy(u);for(var f=0;f<a.length;f++){mx(a[f],0,s,Cx,Ix),De.scaleAndAdd(Mx,Cx,Ix,h),Mx.transform(d);var p=t.getBoundingRect(),g=u?u.distance(Mx):t instanceof hs?Sx(Mx,t.path,Tx):wx(Mx,p,Tx);g<l&&(l=g,Mx.transform(c),Tx.transform(c),Tx.toArray(o[0]),Mx.toArray(o[1]),Cx.toArray(o[2]))}Px(o,e.get("minTurnAngle")),i.setShape({points:o})}}}var kx=[],Lx=new De;function Px(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Cx.fromArray(t[0]),Mx.fromArray(t[1]),Tx.fromArray(t[2]),De.sub(Ix,Cx,Mx),De.sub(Ax,Tx,Mx);var i=Ix.len(),n=Ax.len();if(!(i<.001||n<.001)){Ix.scale(1/i),Ax.scale(1/n);var r=Ix.dot(Ax);if(Math.cos(e)<r){var o=_x(Mx.x,Mx.y,Tx.x,Tx.y,Cx.x,Cx.y,kx,!1);Lx.fromArray(kx),Lx.scaleAndAdd(Ax,o/Math.tan(Math.PI-e));var a=Tx.x!==Mx.x?(Lx.x-Mx.x)/(Tx.x-Mx.x):(Lx.y-Mx.y)/(Tx.y-Mx.y);if(isNaN(a))return;a<0?De.copy(Lx,Mx):a>1&&De.copy(Lx,Tx),Lx.toArray(t[1])}}}}function Ox(t,e,i){if(i<=180&&i>0){i=i/180*Math.PI,Cx.fromArray(t[0]),Mx.fromArray(t[1]),Tx.fromArray(t[2]),De.sub(Ix,Mx,Cx),De.sub(Ax,Tx,Mx);var n=Ix.len(),r=Ax.len();if(!(n<.001||r<.001)&&(Ix.scale(1/n),Ax.scale(1/r),Ix.dot(e)<Math.cos(i))){var o=_x(Mx.x,Mx.y,Tx.x,Tx.y,Cx.x,Cx.y,kx,!1);Lx.fromArray(kx);var a=Math.PI/2,s=a+Math.acos(Ax.dot(e))-i;if(s>=a)De.copy(Lx,Tx);else{Lx.scaleAndAdd(Ax,o/Math.tan(Math.PI/2-s));var l=Tx.x!==Mx.x?(Lx.x-Mx.x)/(Tx.x-Mx.x):(Lx.y-Mx.y)/(Tx.y-Mx.y);if(isNaN(l))return;l<0?De.copy(Lx,Mx):l>1&&De.copy(Lx,Tx)}Lx.toArray(t[1])}}}function Rx(t,e,i,n){var r="normal"===i,o=r?t:t.ensureState(i);o.ignore=e;var a=n.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=n.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Ex(t,e){var i=e.smooth,n=e.points;if(n)if(t.moveTo(n[0][0],n[0][1]),i>0&&n.length>=3){var r=jt(n[0],n[1]),o=jt(n[1],n[2]);if(!r||!o)return t.lineTo(n[1][0],n[1][1]),void t.lineTo(n[2][0],n[2][1]);var a=Math.min(r,o)*i,s=Wt([],n[1],n[0],a/r),l=Wt([],n[1],n[2],a/o),u=Wt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)t.lineTo(n[c][0],n[c][1])}function Nx(t,e,i){var n=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),s=r.ignore,l=0;l<Ys.length;l++){var u=Ys[l],c=e[u],d="normal"===u;if(c){var h=c.get("show");if((d?s:st(r.states[u]&&r.states[u].ignore,s))||!st(h,a)){var f=d?n:n&&n.states[u];f&&(f.ignore=!0);continue}n||(n=new Du,t.setTextGuideLine(n),d||!s&&a||Rx(n,!0,"normal",e.normal),t.stateProxy&&(n.stateProxy=t.stateProxy)),Rx(n,!1,u,c)}}if(n){O(n.style,i),n.style.fill=null;var p=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=p||!1,n.buildPath=Ex}}else n&&t.removeTextGuideLine()}function Bx(t,e){e=e||"labelLine";for(var i={normal:t.getModel(e)},n=0;n<Us.length;n++){var r=Us[n];i[r]=t.getModel([r,e])}return i}function zx(t){for(var e=[],i=0;i<t.length;i++){var n=t[i];if(!n.defaultAttr.ignore){var r=n.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new Yu(a,o):null;e.push({label:r,labelLine:n.labelLine,rect:u,localRect:a,obb:c,priority:n.priority,defaultAttr:n.defaultAttr,layoutOption:n.computedLayoutOption,axisAligned:s,transform:o})}}return e}function Vx(t,e,i,n,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,i){return t.rect[e]-i.rect[e]}));for(var s,l=0,u=!1,c=0,d=0;d<a;d++){var h=t[d],f=h.rect;(s=f[e]-l)<0&&(f[e]-=s,h.label[e]-=s,u=!0),c+=Math.max(-s,0),l=f[e]+f[i]}c>0&&o&&x(-c/a,0,a);var p,g,v=t[0],m=t[a-1];return y(),p<0&&b(-p,.8),g<0&&b(g,.8),y(),_(p,g,1),_(g,p,-1),y(),p<0&&w(-p),g<0&&w(g),u}function y(){p=v.rect[e]-n,g=r-m.rect[e]-m.rect[i]}function _(t,e,i){if(t<0){var n=Math.min(e,-t);if(n>0){x(n*i,0,a);var r=n+t;r<0&&b(-r*i,1)}else b(-t*i,1)}}function x(i,n,r){0!==i&&(u=!0);for(var o=n;o<r;o++){var a=t[o];a.rect[e]+=i,a.label[e]+=i}}function b(n,r){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,c=Math.max(t[l].rect[e]-u[e]-u[i],0);o.push(c),s+=c}if(s){var d=Math.min(Math.abs(n)/s,r);if(n>0)for(l=0;l<a-1;l++)x(o[l]*d,0,l+1);else for(l=a-1;l>0;l--)x(-o[l-1]*d,l,a)}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var i=Math.ceil(t/(a-1)),n=0;n<a-1;n++)if(e>0?x(i,0,n+1):x(-i,a-n-1,a),(t-=i)<=0)return}}function Fx(t,e,i,n){return Vx(t,"y","height",e,i,n)}function jx(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var i=new ze(0,0,0,0);function n(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;i.copy(o.rect),i.width-=.1,i.height-=.1,i.x+=.05,i.y+=.05;for(var d=o.obb,h=!1,f=0;f<e.length;f++){var p=e[f];if(i.intersect(p.rect)){if(a&&p.axisAligned){h=!0;break}if(p.obb||(p.obb=new Yu(p.localRect,p.transform)),d||(d=new Yu(s,l)),d.intersect(p.obb)){h=!0;break}}}h?(n(u),c&&n(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}function Hx(t){if(t){for(var e=[],i=0;i<t.length;i++)e.push(t[i].slice());return e}}function Gx(t,e){var i=t.label,n=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:i.style.align,verticalAlign:i.style.verticalAlign,labelLinePoints:Hx(n&&n.shape.points)}}var Wx=["align","verticalAlign","width","height","fontSize"],$x=new sr,Ux=xo(),Yx=xo();function Zx(t,e,i){for(var n=0;n<i.length;n++){var r=i[n];null!=e[r]&&(t[r]=e[r])}}var Qx=["x","y","rotation"],Xx=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,i,n,r){var o=n.style,a=n.__hostTarget.textConfig||{},s=n.getComputedTransform(),l=n.getBoundingRect().plain();ze.applyTransform(l,l,s),s?$x.setLocalTransform(s):($x.x=$x.y=$x.rotation=$x.originX=$x.originY=0,$x.scaleX=$x.scaleY=1);var u,c=n.__hostTarget;if(c){u=c.getBoundingRect().plain();var d=c.getComputedTransform();ze.applyTransform(u,u,d)}var h=u&&c.getTextGuideLine();this._labelList.push({label:n,labelLine:h,seriesModel:i,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:h&&h.ignore,x:$x.x,y:$x.y,scaleX:$x.scaleX,scaleY:$x.scaleY,rotation:$x.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:n.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var i=t.__model,n=i.get("labelLayout");(Z(n)||W(n).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=Fs(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,i,r,n)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),i=t.getHeight();function n(t,e){return function(){Dx(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,s=a.__hostTarget,l=o.defaultAttr,u=void 0;u=(u=Z(o.layoutOption)?o.layoutOption(Gx(o,s)):o.layoutOption)||{},o.computedLayoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*c:l.attachedRot,offset:[u.dx||0,u.dy||0]});var d=!1;if(null!=u.x?(a.x=Nr(u.x,e),a.setStyle("x",0),d=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=u.y?(a.y=Nr(u.y,i),a.setStyle("y",0),d=!0):(a.y=l.y,a.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),d=!1)}Ux(a).needsUpdateLabelLine=d,a.rotation=null!=u.rotate?u.rotate*c:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var f=0;f<Wx.length;f++){var p=Wx[f];a.setStyle(p,null!=u[p]?u[p]:l.style[p])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=o.seriesModel;null!=o.dataIndex&&(g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex)),a.on("drag",n(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),i=t.getHeight(),n=zx(this._labelList),r=H(n,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),o=H(n,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));Vx(r,"x","width",0,e,void 0),Fx(o,0,i),jx(H(n,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;V(this._chartViewList,(function(e){var i=e.__model,n=e.ignoreLabelLineUpdate,r=i.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!n,a=e.getTextContent();!o&&a&&(o=Ux(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,i),r&&t._animateLabels(e,i)}))}))},t.prototype._updateLabelLine=function(t,e){var i=t.getTextContent(),n=Fs(t),r=n.dataIndex;if(i&&null!=r){var o=e.getData(n.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style"),u=o.getVisual("drawType");s.stroke=l[u];var c=a.getModel("labelLine");Nx(t,Bx(a),s),Dx(t,c)}},t.prototype._animateLabels=function(t,e){var i=t.getTextContent(),n=t.getTextGuideLine();if(i&&(t.forceLabelAnimation||!i.ignore&&!i.invisible&&!t.disableLabelAnimation&&!ec(t))){var r=(f=Ux(i)).oldLayout,o=Fs(t),a=o.dataIndex,s={x:i.x,y:i.y,rotation:i.rotation},l=e.getData(o.dataType);if(r){i.attr(r);var u=t.prevStates;u&&(E(u,"select")>=0&&i.attr(f.oldLayoutSelect),E(u,"emphasis")>=0&&i.attr(f.oldLayoutEmphasis)),Ju(i,s,e,a)}else if(i.attr(s),!Yc(i).valueAnimation){var c=st(i.style.opacity,1);i.style.opacity=0,tc(i,{style:{opacity:c}},e,a)}if(f.oldLayout=s,i.states.select){var d=f.oldLayoutSelect={};Zx(d,s,Qx),Zx(d,i.states.select,Qx)}if(i.states.emphasis){var h=f.oldLayoutEmphasis={};Zx(h,s,Qx),Zx(h,i.states.emphasis,Qx)}Qc(i,a,l,e,e)}if(n&&!n.ignore&&!n.invisible){r=(f=Yx(n)).oldLayout;var f,p={points:n.shape.points};r?(n.attr({shape:r}),Ju(n,{shape:p},e)):(n.setShape(p),n.style.strokePercent=0,tc(n,{style:{strokePercent:1}},e)),f.oldLayout=p}},t}(),qx=xo(),Kx=Math.sin,Jx=Math.cos,tb=Math.PI,eb=2*Math.PI,ib=180/tb,nb=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,i,n,r,o){this._add("C",t,e,i,n,r,o)},t.prototype.quadraticCurveTo=function(t,e,i,n){this._add("Q",t,e,i,n)},t.prototype.arc=function(t,e,i,n,r,o){this.ellipse(t,e,i,i,0,n,r,o)},t.prototype.ellipse=function(t,e,i,n,r,o,a,s){var l,u=a-o,c=!s,d=Math.abs(u),h=on(d-eb)||(c?u>=eb:-u>=eb),f=u>0?u%eb:u%eb+eb;l=!!h||!on(d)&&f>=tb==!!c;var p=t+i*Jx(o),g=e+n*Kx(o);this._start&&this._add("M",p,g);var v=Math.round(r*ib);if(h){var m=1/this._p,y=(c?1:-1)*(eb-m);this._add("A",i,n,v,1,+c,t+i*Jx(o+y),e+n*Kx(o+y)),m>.01&&this._add("A",i,n,v,0,+c,p,g)}else{var _=t+i*Jx(a),x=e+n*Kx(a);this._add("A",i,n,v,+l,+c,_,x)}},t.prototype.rect=function(t,e,i,n){this._add("M",t,e),this._add("l",i,0),this._add("l",0,n),this._add("l",-i,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,i,n,r,o,a,s,l){for(var u=[],c=this._p,d=1;d<arguments.length;d++){var h=arguments[d];if(isNaN(h))return void(this._invalid=!0);u.push(Math.round(h*c)/c)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),rb="none",ob=Math.round,ab=["lineCap","miterLimit","lineJoin"],sb=F(ab,(function(t){return"stroke-"+t.toLowerCase()}));var lb="http://www.w3.org/2000/svg",ub="http://www.w3.org/1999/xlink";function cb(t){return document.createElementNS(lb,t)}function db(t,e,i,n,r){return{tag:t,attrs:i||{},children:n,text:r,key:e}}function hb(t,e){var i=(e=e||{}).newline?"\n":"";return function t(e){var n=e.children,r=e.tag;return function(t,e){var i=[];if(e)for(var n in e){var r=e[n],o=n;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),i.push(o))}return"<"+t+" "+i.join(" ")+">"}(r,e.attrs)+ae(e.text)+(n?""+i+F(n,(function(e){return t(e)})).join(i)+i:"")+"</"+r+">"}(t)}function fb(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function pb(t,e,i,n){return db("svg","root",{width:t,height:e,xmlns:lb,"xmlns:xlink":ub,version:"1.1",baseProfile:"full",viewBox:!!n&&"0 0 "+t+" "+e},i)}var gb={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},vb="transform-origin";function mb(t,e,i){var n=P({},t.shape);P(n,e),t.buildPath(i,n);var r=new nb;return r.reset(gn(t)),i.rebuildPath(r,1),r.generateStr(),r.getStr()}function yb(t,e){var i=e.originX,n=e.originY;(i||n)&&(t[vb]=i+"px "+n+"px")}var _b={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function xb(t,e){var i=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[i]=t,i}function bb(t){return Q(t)?gb[t]?"cubic-bezier("+gb[t]+")":Ii(t)?t:"":""}function wb(t,e,i,n){var r=t.animators,o=r.length,a=[];if(t instanceof Vu){var s=function(t,e,i){var n,r,o=t.shape.paths,a={};if(V(o,(function(t){var e=fb(i.zrId);e.animation=!0,wb(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=W(o),u=l.length;if(u){var c=o[r=l[u-1]];for(var d in c){var h=c[d];a[d]=a[d]||{d:""},a[d].d+=h.d||""}for(var f in s){var p=s[f].animation;p.indexOf(r)>=0&&(n=p)}}})),n){e.d=!1;var s=xb(a,i);return n.replace(r,s)}}(t,e,i);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u<o;u++){var c=r[u],d=[c.getMaxTime()/1e3+"s"],h=bb(c.getClip().easing),f=c.getDelay();h?d.push(h):d.push("linear"),f&&d.push(f/1e3+"s"),c.getLoop()&&d.push("infinite");var p=d.join(" ");l[p]=l[p]||[p,[]],l[p][1].push(c)}function g(r){var o,a=r[1],s=a.length,l={},u={},c={};function d(t,e,i){for(var n=t.getTracks(),r=t.getMaxTime(),o=0;o<n.length;o++){var a=n[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(i&&(l=i(l)),l)for(var u=0;u<s.length;u++){var c=s[u],d=Math.round(c.time/r*100)+"%",h=bb(c.easing),f=c.rawValue;(Q(f)||q(f))&&(e[d]=e[d]||{},e[d][l]=c.rawValue,h&&(e[d]["animation-timing-function"]=h))}}}}for(var h=0;h<s;h++)(w=(b=a[h]).targetName)?"shape"===w&&d(b,u):!n&&d(b,l);for(var f in l){var p={};ur(p,t),P(p,l[f]);var g=vn(p),v=l[f]["animation-timing-function"];c[f]=g?{transform:g}:{},yb(c[f],p),v&&(c[f]["animation-timing-function"]=v)}var m=!0;for(var f in u){c[f]=c[f]||{};var y=!o;v=u[f]["animation-timing-function"],y&&(o=new Ua);var _=o.len();o.reset(),c[f].d=mb(t,u[f],o);var x=o.len();if(!y&&_!==x){m=!1;break}v&&(c[f]["animation-timing-function"]=v)}if(!m)for(var f in c)delete c[f].d;if(!n)for(h=0;h<s;h++){var b,w;"style"===(w=(b=a[h]).targetName)&&d(b,c,(function(t){return _b[t]}))}var S,C=W(c),M=!0;for(h=1;h<C.length;h++){var T=C[h-1],I=C[h];if(c[T][vb]!==c[I][vb]){M=!1;break}S=c[T][vb]}if(M&&S){for(var f in c)c[f][vb]&&delete c[f][vb];e[vb]=S}if(H(C,(function(t){return W(c[t]).length>0})).length)return xb(c,i)+" "+r[0]+" both"}for(var v in l)(s=g(l[v]))&&a.push(s);if(a.length){var m=i.zrId+"-cls-"+i.cssClassIdx++;i.cssNodes["."+m]={animation:a.join(",")},e.class=m}}var Sb=Math.round;function Cb(t){return t&&Q(t.src)}function Mb(t){return t&&Z(t.toDataURL)}function Tb(t,e,i,n){(function(t,e,i,n){var r=null==e.opacity?1:e.opacity;if(i instanceof ms)t("opacity",r);else{if(function(t){var e=t.fill;return null!=e&&e!==rb}(e)){var o=rn(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*r:o.opacity*r;(n||a<1)&&t("fill-opacity",a)}else t("fill",rb);if(function(t){var e=t.stroke;return null!=e&&e!==rb}(e)){var s=rn(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?i.getLineScale():1,u=l?(e.lineWidth||0)/l:0,c=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,d=e.strokeFirst;if((n||1!==u)&&t("stroke-width",u),(n||d)&&t("paint-order",d?"stroke":"fill"),(n||c<1)&&t("stroke-opacity",c),e.lineDash){var h=vv(i),f=h[0],p=h[1];f&&(p=ob(p||0),t("stroke-dasharray",f.join(",")),(p||n)&&t("stroke-dashoffset",p))}else n&&t("stroke-dasharray",rb);for(var g=0;g<ab.length;g++){var v=ab[g];if(n||e[v]!==us[v]){var m=e[v]||us[v];m&&t(sb[g],m)}}}else n&&t("stroke",rb)}})((function(r,o){var a="fill"===r||"stroke"===r;a&&fn(o)?Nb(e,t,r,n):a&&cn(o)?Bb(i,t,r,n):t[r]=o}),e,i,!1),function(t,e,i){var n=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(n)){var r=function(t){var e=t.style,i=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),i[0],i[1]].join(",")}(t),o=i.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=n.shadowOffsetX||0,d=n.shadowOffsetY||0,h=n.shadowBlur,f=rn(n.shadowColor),p=f.opacity,g=f.color,v=h/2/l+" "+h/2/u;a=i.zrId+"-s"+i.shadowIdx++,i.defs[a]=db("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[db("feDropShadow","",{dx:c/l,dy:d/u,stdDeviation:v,"flood-color":g,"flood-opacity":p})]),o[r]=a}e.filter=pn(a)}}(i,t,n)}function Ib(t){return on(t[0]-1)&&on(t[1])&&on(t[2])&&on(t[3]-1)}function Ab(t,e,i){if(e&&(!function(t){return on(t[4])&&on(t[5])}(e)||!Ib(e))){var n=i?10:1e4;t.transform=Ib(e)?"translate("+Sb(e[4]*n)/n+" "+Sb(e[5]*n)/n+")":function(t){return"matrix("+an(t[0])+","+an(t[1])+","+an(t[2])+","+an(t[3])+","+sn(t[4])+","+sn(t[5])+")"}(e)}}function Db(t,e,i){for(var n=t.points,r=[],o=0;o<n.length;o++)r.push(Sb(n[o][0]*i)/i),r.push(Sb(n[o][1]*i)/i);e.points=r.join(" ")}function kb(t){return!t.smooth}var Lb,Pb,Ob={circle:[(Lb=["cx","cy","r"],Pb=F(Lb,(function(t){return"string"==typeof t?[t,t]:t})),function(t,e,i){for(var n=0;n<Pb.length;n++){var r=Pb[n],o=t[r[0]];null!=o&&(e[r[1]]=Sb(o*i)/i)}})],polyline:[Db,kb],polygon:[Db,kb]};function Rb(t,e){var i=t.style,n=t.shape,r=Ob[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&gn(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](n)||a&&function(t){for(var e=t.animators,i=0;i<e.length;i++)if("shape"===e[i].targetName)return!0;return!1}(t)||l<1){var c=!t.path||t.shapeChanged();t.path||t.createPathProxy();var d=t.path;c&&(d.beginPath(),t.buildPath(d,t.shape),t.pathUpdated());var h=d.getVersion(),f=t,p=f.__svgPathBuilder;f.__svgPathVersion===h&&p&&l===f.__svgPathStrokePercent||(p||(p=f.__svgPathBuilder=new nb),p.reset(u),d.rebuildPath(p,l),p.generateStr(),f.__svgPathVersion=h,f.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=t.type;var g=Math.pow(10,u);r[0](n,o,g)}return Ab(o,t.transform),Tb(o,i,t,e),e.animation&&wb(t,o,e),db(s,t.id+"",o)}function Eb(t,e){return t instanceof hs?Rb(t,e):t instanceof ms?function(t,e){var i=t.style,n=i.image;if(n&&!Q(n)&&(Cb(n)?n=n.src:Mb(n)&&(n=n.toDataURL())),n){var r=i.x||0,o=i.y||0,a={href:n,width:i.width,height:i.height};return r&&(a.x=r),o&&(a.y=o),Ab(a,t.transform),Tb(a,i,t,e),e.animation&&wb(t,a,e),db("image",t.id+"",a)}}(t,e):t instanceof ps?function(t,e){var i=t.style,n=i.text;if(null!=n&&(n+=""),n&&!isNaN(i.x)&&!isNaN(i.y)){var r=i.font||d,o=i.x||0,a=function(t,e,i){return"top"===i?t+=e/2:"bottom"===i&&(t-=e/2),t}(i.y||0,vr(r),i.textBaseline),s={"dominant-baseline":"central","text-anchor":ln[i.textAlign]||i.textAlign};if(Os(i)){var l="",u=i.fontStyle,c=Ls(i.fontSize);if(!parseFloat(c))return;var h=i.fontFamily||"sans-serif",f=i.fontWeight;l+="font-size:"+c+";font-family:"+h+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),f&&"normal"!==f&&(l+="font-weight:"+f+";"),s.style=l}else s.style="font: "+r;return n.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),Ab(s,t.transform),Tb(s,i,t,e),e.animation&&wb(t,s,e),db("text",t.id+"",s,void 0,n)}}(t,e):void 0}function Nb(t,e,i,n){var r,o=t[i],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(dn(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!hn(o))return;r="radialGradient",a.cx=st(o.x,.5),a.cy=st(o.y,.5),a.r=st(o.r,.5)}for(var s=o.colorStops,l=[],u=0,c=s.length;u<c;++u){var d=100*sn(s[u].offset)+"%",h=rn(s[u].color),f=h.color,p=h.opacity,g={offset:d};g["stop-color"]=f,p<1&&(g["stop-opacity"]=p),l.push(db("stop",u+"",g))}var v=hb(db(r,"",a,l)),m=n.gradientCache,y=m[v];y||(y=n.zrId+"-g"+n.gradientIdx++,m[v]=y,a.id=y,n.defs[y]=db(r,y,a,l)),e[i]=pn(y)}function Bb(t,e,i,n){var r,o=t.style[i],a=t.getBoundingRect(),s={},l=o.repeat,u="no-repeat"===l,c="repeat-x"===l,d="repeat-y"===l;if(un(o)){var h=o.imageWidth,f=o.imageHeight,p=void 0,g=o.image;if(Q(g)?p=g:Cb(g)?p=g.src:Mb(g)&&(p=g.toDataURL()),"undefined"==typeof Image){var v="Image width/height must been given explictly in svg-ssr renderer.";dt(h,v),dt(f,v)}else if(null==h||null==f){var m=function(t,e){if(t){var i=t.elm,n=h||e.width,r=f||e.height;"pattern"===t.tag&&(c?(r=1,n/=a.width):d&&(n=1,r/=a.height)),t.attrs.width=n,t.attrs.height=r,i&&(i.setAttribute("width",n),i.setAttribute("height",r))}},y=Wo(p,null,t,(function(t){u||m(w,t),m(r,t)}));y&&y.width&&y.height&&(h=h||y.width,f=f||y.height)}r=db("image","img",{href:p,width:h,height:f}),s.width=h,s.height=f}else o.svgElement&&(r=D(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(r){var _,x;u?_=x=1:c?(x=1,_=s.width/a.width):d?(_=1,x=s.height/a.height):s.patternUnits="userSpaceOnUse",null==_||isNaN(_)||(s.width=_),null==x||isNaN(x)||(s.height=x);var b=vn(o);b&&(s.patternTransform=b);var w=db("pattern","",s,[r]),S=hb(w),C=n.patternCache,M=C[S];M||(M=n.zrId+"-p"+n.patternIdx++,C[S]=M,s.id=M,w=n.defs[M]=db("pattern",M,s,[r])),e[i]=pn(M)}}function zb(t,e,i){var n=i.clipPathCache,r=i.defs,o=n[t.id];if(!o){var a={id:o=i.zrId+"-c"+i.clipPathIdx++};n[t.id]=o,r[o]=db("clipPath",o,a,[Rb(t,i)])}e["clip-path"]=pn(o)}function Vb(t){return document.createTextNode(t)}function Fb(t,e,i){t.insertBefore(e,i)}function jb(t,e){t.removeChild(e)}function Hb(t,e){t.appendChild(e)}function Gb(t){return t.parentNode}function Wb(t){return t.nextSibling}function $b(t,e){t.textContent=e}var Ub=db("","");function Yb(t){return void 0===t}function Zb(t){return void 0!==t}function Qb(t,e,i){for(var n={},r=e;r<=i;++r){var o=t[r].key;void 0!==o&&(n[o]=r)}return n}function Xb(t,e){var i=t.key===e.key;return t.tag===e.tag&&i}function qb(t){var e,i=t.children,n=t.tag;if(Zb(n)){var r=t.elm=cb(n);if(tw(Ub,t),Y(i))for(e=0;e<i.length;++e){var o=i[e];null!=o&&Hb(r,qb(o))}else Zb(t.text)&&!K(t.text)&&Hb(r,Vb(t.text))}else t.elm=Vb(t.text);return t.elm}function Kb(t,e,i,n,r){for(;n<=r;++n){var o=i[n];null!=o&&Fb(t,qb(o),e)}}function Jb(t,e,i,n){for(;i<=n;++i){var r=e[i];null!=r&&(Zb(r.tag)?jb(Gb(r.elm),r.elm):jb(t,r.elm))}}function tw(t,e){var i,n=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(i in o){var a=o[i];r[i]!==a&&(!0===a?n.setAttribute(i,""):!1===a?n.removeAttribute(i):120!==i.charCodeAt(0)?n.setAttribute(i,a):"xmlns:xlink"===i||"xmlns"===i?n.setAttributeNS("http://www.w3.org/2000/xmlns/",i,a):58===i.charCodeAt(3)?n.setAttributeNS("http://www.w3.org/XML/1998/namespace",i,a):58===i.charCodeAt(5)?n.setAttributeNS(ub,i,a):n.setAttribute(i,a))}for(i in r)i in o||n.removeAttribute(i)}}var ew=0,iw=function(){function t(t,e,i){if(this.type="svg",this.refreshHover=nw("refreshHover"),this.configLayer=nw("configLayer"),this.storage=e,this._opts=i=P({},i),this.root=t,this._id="zr"+ew++,this._oldVNode=pb(i.width,i.height),t&&!i.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=cb("svg");tw(null,this._oldVNode),n.appendChild(r),t.appendChild(n)}this.resize(i.width,i.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(Xb(t,e))(function t(e,i){var n=i.elm=e.elm,r=e.children,o=i.children;e!==i&&(tw(e,i),Yb(i.text)?Zb(r)&&Zb(o)?r!==o&&function(e,i,n){for(var r,o,a,s=0,l=0,u=i.length-1,c=i[0],d=i[u],h=n.length-1,f=n[0],p=n[h];s<=u&&l<=h;)null==c?c=i[++s]:null==d?d=i[--u]:null==f?f=n[++l]:null==p?p=n[--h]:Xb(c,f)?(t(c,f),c=i[++s],f=n[++l]):Xb(d,p)?(t(d,p),d=i[--u],p=n[--h]):Xb(c,p)?(t(c,p),Fb(e,c.elm,Wb(d.elm)),c=i[++s],p=n[--h]):Xb(d,f)?(t(d,f),Fb(e,d.elm,c.elm),d=i[--u],f=n[++l]):(Yb(r)&&(r=Qb(i,s,u)),Yb(o=r[f.key])||(a=i[o]).tag!==f.tag?Fb(e,qb(f),c.elm):(t(a,f),i[o]=void 0,Fb(e,a.elm,c.elm)),f=n[++l]);(s<=u||l<=h)&&(s>u?Kb(e,null==n[h+1]?null:n[h+1].elm,n,l,h):Jb(e,i,s,u))}(n,r,o):Zb(o)?(Zb(e.text)&&$b(n,""),Kb(n,null,o,0,o.length-1)):Zb(r)?Jb(n,r,0,r.length-1):Zb(e.text)&&$b(n,""):e.text!==i.text&&(Zb(r)&&Jb(n,r,0,r.length-1),$b(n,i.text)))})(t,e);else{var i=t.elm,n=Gb(i);qb(e),null!==n&&(Fb(n,e.elm,Wb(i)),Jb(n,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Eb(t,fb(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),i=this._width,n=this._height,r=fb(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress;var o=[],a=this._bgVNode=function(t,e,i,n){var r;if(i&&"none"!==i)if(r=db("rect","bg",{width:t,height:e,x:"0",y:"0",id:"0"}),fn(i))Nb({fill:i},r.attrs,"fill",n);else if(cn(i))Bb({style:{fill:i},dirty:Ct,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",n);else{var o=rn(i),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(i,n,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=db("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=F(W(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(db("defs","defs",{},l)),t.animation){var u=function(t,e,i){var n=(i=i||{}).newline?"\n":"",r=" {"+n,o=n+"}",a=F(W(t),(function(e){return e+r+F(W(t[e]),(function(i){return i+":"+t[e][i]+";"})).join(n)+o})).join(n),s=F(W(e),(function(t){return"@keyframes "+t+r+F(W(e[t]),(function(i){return i+r+F(W(e[t][i]),(function(n){var r=e[t][i][n];return"d"===n&&(r='path("'+r+'")'),n+":"+r+";"})).join(n)+o})).join(n)+o})).join(n);return a||s?["<![CDATA[",a,s,"]]>"].join(n):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var c=db("style","stl",{},[],u);o.push(c)}}return pb(i,n,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},hb(this.renderToVNode({animation:st(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:st(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,i){for(var n,r,o=t.length,a=[],s=0,l=0,u=0;u<o;u++){var c=t[u];if(!c.invisible){var d=c.__clipPaths,h=d&&d.length||0,f=r&&r.length||0,p=void 0;for(p=Math.max(h-1,f-1);p>=0&&(!d||!r||d[p]!==r[p]);p--);for(var g=f-1;g>p;g--)n=a[--s-1];for(var v=p+1;v<h;v++){var m={};zb(d[v],m,e);var y=db("g","clip-g-"+l++,m,[]);(n?n.children:i).push(y),a[s++]=y,n=y}r=d;var _=Eb(c,e);_&&(n?n.children:i).push(_)}}},t.prototype.resize=function(t,e){var i=this._opts,n=this.root,r=this._viewport;if(null!=t&&(i.width=t),null!=e&&(i.height=e),n&&r&&(r.style.display="none",t=gv(n,0,i),e=gv(n,1,i),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var o=r.style;o.width=t+"px",o.height=e+"px"}if(cn(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),i="data:image/svg+xml;";return t?(e=mn(e))&&i+"base64,"+e:i+"charset=UTF-8,"+encodeURIComponent(e)},t}();function nw(t){return function(){}}function rw(t,e,i){var n=f.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=n.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",n.setAttribute("data-zr-dom-id",t)),n.width=r*i,n.height=o*i,n}var ow=function(t){function e(e,i,n){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,n=n||Kn,"string"==typeof e?r=rw(e,i,n):K(e)&&(e=(r=e).id),o.id=e,o.dom=r;var a=r.style;return a&&(wt(r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=i,o.dpr=n,o}return i(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=rw("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,i,n){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new ze(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length)(e=new ze(0,0,0,0)).copy(t),o.push(e);else{for(var e,i=!1,n=1/0,r=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(t)){var d=new ze(0,0,0,0);d.copy(c),d.union(t),o[u]=d,i=!0;break}if(s){l.copy(t),l.union(c);var h=t.width*t.height,f=c.width*c.height,p=l.width*l.height-h-f;p<n&&(n=p,r=u)}}s&&(o[r].union(t),i=!0),i||((e=new ze(0,0,0,0)).copy(t),o.push(e)),s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c)if(f=t[c]){var d=f.shouldBePainted(i,n,!0,!0);(p=f.__isRendered&&(1&f.__dirty||!d)?f.getPrevPaintRect():null)&&u(p);var h=d&&(1&f.__dirty||!f.__isRendered)?f.getPaintRect():null;h&&u(h)}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var f,p;d=(f=e[c]).shouldBePainted(i,n,!0,!0),!f||d&&f.__zr||!f.__isRendered||(p=f.getPrevPaintRect())&&u(p)}do{for(r=!1,c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var g=c+1;g<o.length;)o[c].intersect(o[g])?(r=!0,o[c].union(o[g]),o.splice(g,1)):g++;c++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var i=this.dpr,n=this.dom,r=n.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),n.width=t*i,n.height=e*i,o&&(o.width=t*i,o.height=e*i,1!==i&&this.ctxBack.scale(i,i))},e.prototype.clear=function(t,e,i){var n=this.dom,r=this.ctx,o=n.width,a=n.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,u=this.dpr,c=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,o/u,a/u));var d=this.domBack;function h(t,i,n,o){if(r.clearRect(t,i,n,o),e&&"transparent"!==e){var a=void 0;it(e)?(a=(e.global||e.__width===n&&e.__height===o)&&e.__canvasGradient||fv(r,e,{x:0,y:0,width:n,height:o}),e.__canvasGradient=a,e.__width=n,e.__height=o):nt(e)&&(e.scaleX=e.scaleX||u,e.scaleY=e.scaleY||u,a=Sv(r,e,{dirty:function(){c.setUnpainted(),c.__painter.refresh()}})),r.save(),r.fillStyle=a||e,r.fillRect(t,i,n,o),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(d,t,i,n,o),r.restore())}!i||s?h(0,0,o,a):i.length&&V(i,(function(t){h(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}(qt),aw=314159,sw=function(){function t(t,e,i,n){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=P({},i||{}),this.dpr=i.devicePixelRatio||Kn,this._singleCanvas=r,this.root=t,t.style&&(wt(t),t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(r){var s=t,l=s.width,u=s.height;null!=i.width&&(l=i.width),null!=i.height&&(u=i.height),this.dpr=i.devicePixelRatio||1,s.width=l*this.dpr,s.height=u*this.dpr,this._width=l,this._height=u;var c=new ow(s,this,this.dpr);c.__builtin__=!0,c.initContext(),a[314159]=c,c.zlevel=aw,o.push(aw),this._domRoot=t}else{this._width=gv(t,0,i),this._height=gv(t,1,i);var d=this._domRoot=function(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}(this._width,this._height);t.appendChild(d)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),i=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,i,t,this._redrawId);for(var r=0;r<n.length;r++){var o=n[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,i=this._hoverlayer;if(i&&i.clear(),e){for(var n,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(i||(i=this._hoverlayer=this.getLayer(1e5)),n||(n=i.ctx).save(),Pv(n,a,r,o===e-1))}n&&n.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){Lv(t,e)},t.prototype._paintList=function(t,e,i,n){if(this._redrawId===n){i=i||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,i),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;ni((function(){s._paintList(t,e,i,n)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(aw).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer((function(n){n.virtual&&t.drawImage(n.dom,0,0,e,i)}))},t.prototype._doPaintList=function(t,e,i){for(var r=this,o=[],s=this._opts.useDirtyRect,l=0;l<this._zlevelList.length;l++){var u=this._zlevelList[l],c=this._layers[u];c.__builtin__&&c!==this._hoverlayer&&(c.__dirty||i)&&o.push(c)}for(var d=!0,h=!1,f=function(a){var l,u=o[a],c=u.ctx,f=s&&u.createRepaintRects(t,e,p._width,p._height),g=i?u.__startIndex:u.__drawIndex,v=!i&&u.incremental&&Date.now,m=v&&Date.now(),y=u.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(u.__startIndex===u.__endIndex)u.clear(!1,y,f);else if(g===u.__startIndex){var _=t[g];_.incremental&&_.notClear&&!i||u.clear(!1,y,f)}-1===g&&(n("error","For some unknown reason. drawIndex is -1"," at uni_modules/lime-echart/static/echarts.min.js:47"),g=u.__startIndex);var x=function(e){var i={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(l=g;l<u.__endIndex;l++){var n=t[l];if(n.__inHover&&(h=!0),r._doPaintEl(n,u,s,e,i,l===u.__endIndex-1),v&&Date.now()-m>15)break}i.prevElClipPaths&&c.restore()};if(f)if(0===f.length)l=u.__endIndex;else for(var b=p.dpr,w=0;w<f.length;++w){var S=f[w];c.save(),c.beginPath(),c.rect(S.x*b,S.y*b,S.width*b,S.height*b),c.clip(),x(S),c.restore()}else c.save(),x(),c.restore();u.__drawIndex=l,u.__drawIndex<u.__endIndex&&(d=!1)},p=this,g=0;g<o.length;g++)f(g);return a.wxa&&V(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:d,needsRefreshHover:h}},t.prototype._doPaintEl=function(t,e,i,n,r,o){var a=e.ctx;if(i){var s=t.getPaintRect();(!n||s&&s.intersect(n))&&(Pv(a,t,r,o),t.setPrevPaintRect(s))}else Pv(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=aw);var i=this._layers[t];return i||((i=new ow("zr_"+t,this,this.dpr)).zlevel=t,i.__builtin__=!0,this._layerConfig[t]?k(i,this._layerConfig[t],!0):this._layerConfig[t-.01]&&k(i,this._layerConfig[t-.01],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},t.prototype.insertLayer=function(t,e){var i=this._layers,n=this._zlevelList,r=n.length,o=this._domRoot,a=null,s=-1;if(!i[t]&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>n[0]){for(s=0;s<r-1&&!(n[s]<t&&n[s+1]>t);s++);a=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var i=this._zlevelList,n=0;n<i.length;n++){var r=i[n];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var i=this._zlevelList,n=0;n<i.length;n++){var r=i[n],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var i=this._zlevelList,n=0;n<i.length;n++){var r=i[n],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var i=1;i<t.length;i++)if((s=t[i]).zlevel!==t[i-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}var n,r,o=null,a=0;for(r=0;r<t.length;r++){var s,l=(s=t[r]).zlevel,u=void 0;n!==l&&(n=l,a=0),s.incremental?((u=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):u=this.getLayer(l+(a>0?.01:0),this._needsManuallyCompositing),u.__builtin__||A("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,V(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var i=this._layerConfig;i[t]?k(i[t],e,!0):i[t]=e;for(var n=0;n<this._zlevelList.length;n++){var r=this._zlevelList[n];r!==t&&r!==t+.01||k(this._layers[r],i[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],i.splice(E(i,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var i=this._domRoot;i.style.display="none";var n=this._opts,r=this.root;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=gv(r,0,n),e=gv(r,1,n),i.style.display="",this._width!==t||e!==this._height){for(var o in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(aw).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new ow("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var i=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?i.drawImage(t.dom,0,0,n,r):t.renderToCanvas&&(i.save(),t.renderToCanvas(i),i.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];Pv(i,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}(),lw=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return i(e,t),e.prototype.getInitialData=function(t){return Ly(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new Ar,i=uv("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(i),i.setStyle(t.lineStyle);var n=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===n?"circle":n,a=.8*t.itemHeight,s=uv(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Vp);function uw(t,e){var i=t.mapDimensionsAll("defaultedLabel"),n=i.length;if(1===n){var r=Vf(t,e,i[0]);return null!=r?r+"":null}if(n){for(var o=[],a=0;a<i.length;a++)o.push(Vf(t,e,i[a]));return o.join(" ")}}function cw(t,e){var i=t.mapDimensionsAll("defaultedLabel");if(!Y(e))return e+"";for(var n=[],r=0;r<i.length;r++){var o=t.getDimensionIndex(i[r]);o>=0&&n.push(e[o])}return n.join(" ")}var dw=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.updateData(e,i,n,r),o}return i(e,t),e.prototype._createSymbol=function(t,e,i,n,r){this.removeAll();var o=uv(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:n[0]/2,scaleY:n[1]/2}),o.drift=hw,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){vl(this.childAt(0))},e.prototype.downplay=function(){ml(this.childAt(0))},e.prototype.setZ=function(t,e){var i=this.childAt(0);i.zlevel=t,i.z=e},e.prototype.setDraggable=function(t,e){var i=this.childAt(0);i.draggable=t,i.cursor=!e&&t?"move":i.cursor},e.prototype.updateData=function(t,i,n,r){this.silent=!1;var o=t.getItemVisual(i,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,i),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var c=t.getItemVisual(i,"symbolKeepAspect");this._createSymbol(o,t,i,s,c)}else{(h=this.childAt(0)).silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};u?h.attr(d):Ju(h,d,a,i),oc(h)}if(this._updateCommon(t,i,s,n,r),l){var h=this.childAt(0);u||(d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}},h.scaleX=h.scaleY=0,h.style.opacity=0,tc(h,d,a,i))}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,i,n,r){var o,a,s,l,u,c,d,h,f,p=this.childAt(0),g=t.hostModel;if(n&&(o=n.emphasisItemStyle,a=n.blurItemStyle,s=n.selectItemStyle,l=n.focus,u=n.blurScope,d=n.labelStatesModels,h=n.hoverScale,f=n.cursorStyle,c=n.emphasisDisabled),!n||t.hasItemOption){var v=n&&n.itemModel?n.itemModel:t.getItemModel(e),m=v.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),l=m.get("focus"),u=m.get("blurScope"),c=m.get("disabled"),d=Vc(v),h=m.getShallow("scale"),f=v.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");p.attr("rotation",(y||0)*Math.PI/180||0);var _=dv(t.getItemVisual(e,"symbolOffset"),i);_&&(p.x=_[0],p.y=_[1]),f&&p.attr("cursor",f);var x=t.getItemVisual(e,"style"),b=x.fill;if(p instanceof ms){var w=p.style;p.useStyle(P({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},x))}else p.__isEmptyBrush?p.useStyle(P({},x)):p.useStyle(x),p.style.decal=null,p.setColor(b,r&&r.symbolInnerColor),p.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),C=this._z2;null!=S?null==C&&(this._z2=p.z2,p.z2+=S):null!=C&&(p.z2=C,this._z2=null);var M=r&&r.useNameLabel;zc(p,d,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return M?t.getName(e):uw(t,e)},inheritColor:b,defaultOpacity:x.opacity}),this._sizeX=i[0]/2,this._sizeY=i[1]/2;var T=p.ensureState("emphasis");T.style=o,p.ensureState("select").style=s,p.ensureState("blur").style=a;var I=null==h||!0===h?Math.max(1.1,3/this._sizeY):isFinite(h)&&h>0?+h:1;T.scaleX=this._sizeX*I,T.scaleY=this._sizeY*I,this.setSymbolScale(1),kl(this,l,u,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,i){var n=this.childAt(0),r=Fs(this).dataIndex,o=i&&i.animation;if(this.silent=n.silent=!0,i&&i.fadeLabel){var a=n.getTextContent();a&&ic(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){n.removeTextContent()}})}else n.removeTextContent();ic(n,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return cv(t.getItemVisual(e,"symbolSize"))},e}(Ar);function hw(t,e){this.parent.drift(t,e)}function fw(t,e,i,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(i))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function pw(t){return null==t||K(t)||(t={isIgnore:t}),t||{}}function gw(t){var e=t.hostModel,i=e.getModel("emphasis");return{emphasisItemStyle:i.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:i.get("focus"),blurScope:i.get("blurScope"),emphasisDisabled:i.get("disabled"),hoverScale:i.get("scale"),labelStatesModels:Vc(e),cursorStyle:e.get("cursor")}}var vw=function(){function t(t){this.group=new Ar,this._SymbolCtor=t||dw}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=pw(e);var i=this.group,n=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=gw(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||i.removeAll(),t.diff(r).add((function(n){var r=u(n);if(fw(t,r,n,e)){var a=new o(t,n,s,l);a.setPosition(r),t.setItemGraphicEl(n,a),i.add(a)}})).update((function(c,d){var h=r.getItemGraphicEl(d),f=u(c);if(fw(t,f,c,e)){var p=t.getItemVisual(c,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==p)i.remove(h),(h=new o(t,c,s,l)).setPosition(f);else{h.updateData(t,c,s,l);var v={x:f[0],y:f[1]};a?h.attr(v):Ju(h,v,n)}i.add(h),t.setItemGraphicEl(c,h)}else i.remove(h)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){i.remove(e)}),n)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,i){var n=t._getSymbolPoint(i);e.setPosition(n),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=gw(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,i){function n(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],i=pw(i);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(fw(e,o,r,i)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(n),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){Oc(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,i=this._data;i&&t?i.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),i.hostModel)})):e.removeAll()},t}();function mw(t,e,i){var n=t.getBaseAxis(),r=t.getOtherAxis(n),o=function(t,e){var i=0,n=t.scale.getExtent();return"start"===e?i=n[0]:"end"===e?i=n[1]:q(e)&&!isNaN(e)?i=e:n[0]>0?i=n[0]:n[1]<0&&(i=n[1]),i}(r,i),a=n.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),c="x"===s||"radius"===s?1:0,d=F(t.dimensions,(function(t){return e.mapDimension(t)})),h=!1,f=e.getCalculationInfo("stackResultDimension");return Dy(e,d[0])&&(h=!0,d[0]=f),Dy(e,d[1])&&(h=!0,d[1]=f),{dataDimsForPoint:d,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function yw(t,e,i,n){var r=NaN;t.stacked&&(r=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=i.get(t.baseDim,n),a[1-o]=r,e.dataToPoint(a)}var _w=Math.min,xw=Math.max;function bw(t,e){return isNaN(t)||isNaN(e)}function ww(t,e,i,n,r,o,a,s,l){for(var u,c,d,h,f,p,g=i,v=0;v<n;v++){var m=e[2*g],y=e[2*g+1];if(g>=r||g<0)break;if(bw(m,y)){if(l){g+=o;continue}break}if(g===i)t[o>0?"moveTo":"lineTo"](m,y),d=m,h=y;else{var _=m-u,x=y-c;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===m&&S===y&&v<n;)v++,g+=o,w=e[2*(b+=o)],S=e[2*b+1],_=(m=e[2*g])-u,x=(y=e[2*g+1])-c;var C=v+1;if(l)for(;bw(w,S)&&C<n;)C++,w=e[2*(b+=o)],S=e[2*b+1];var M=.5,T=0,I=0,A=void 0,D=void 0;if(C>=n||bw(w,S))f=m,p=y;else{T=w-u,I=S-c;var k=m-u,L=w-m,P=y-c,O=S-y,R=void 0,E=void 0;if("x"===s){var N=T>0?1:-1;f=m-N*(R=Math.abs(k))*a,p=y,A=m+N*(E=Math.abs(L))*a,D=y}else if("y"===s){var B=I>0?1:-1;f=m,p=y-B*(R=Math.abs(P))*a,A=m,D=y+B*(E=Math.abs(O))*a}else R=Math.sqrt(k*k+P*P),f=m-T*a*(1-(M=(E=Math.sqrt(L*L+O*O))/(E+R))),p=y-I*a*(1-M),D=y+I*a*M,A=_w(A=m+T*a*M,xw(w,m)),D=_w(D,xw(S,y)),A=xw(A,_w(w,m)),p=y-(I=(D=xw(D,_w(S,y)))-y)*R/E,f=_w(f=m-(T=A-m)*R/E,xw(u,m)),p=_w(p,xw(c,y)),A=m+(T=m-(f=xw(f,_w(u,m))))*E/R,D=y+(I=y-(p=xw(p,_w(c,y))))*E/R}t.bezierCurveTo(d,h,f,p,m,y),d=A,h=D}else t.lineTo(m,y)}u=m,c=y,g+=o}return v}var Sw=function(){this.smooth=0,this.smoothConstraint=!0},Cw=function(t){function e(e){var i=t.call(this,e)||this;return i.type="ec-polyline",i}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Sw},e.prototype.buildPath=function(t,e){var i=e.points,n=0,r=i.length/2;if(e.connectNulls){for(;r>0&&bw(i[2*r-2],i[2*r-1]);r--);for(;n<r&&bw(i[2*n],i[2*n+1]);n++);}for(;n<r;)n+=ww(t,i,n,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var i,n,r=this.path.data,o=Ua.CMD,a="x"===e,s=[],l=0;l<r.length;){var u=void 0,c=void 0,d=void 0,h=void 0,f=void 0,p=void 0,g=void 0;switch(r[l++]){case o.M:i=r[l++],n=r[l++];break;case o.L:if(u=r[l++],c=r[l++],(g=a?(t-i)/(u-i):(t-n)/(c-n))<=1&&g>=0){var v=a?(c-n)*g+n:(u-i)*g+i;return a?[t,v]:[v,t]}i=u,n=c;break;case o.C:u=r[l++],c=r[l++],d=r[l++],h=r[l++],f=r[l++],p=r[l++];var m=a?gi(i,u,d,f,t,s):gi(n,c,h,p,t,s);if(m>0)for(var y=0;y<m;y++){var _=s[y];if(_<=1&&_>=0)return v=a?fi(n,c,h,p,_):fi(i,u,d,f,_),a?[t,v]:[v,t]}i=f,n=p}}},e}(hs),Mw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Sw),Tw=function(t){function e(e){var i=t.call(this,e)||this;return i.type="ec-polygon",i}return i(e,t),e.prototype.getDefaultShape=function(){return new Mw},e.prototype.buildPath=function(t,e){var i=e.points,n=e.stackedOnPoints,r=0,o=i.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&bw(i[2*o-2],i[2*o-1]);o--);for(;r<o&&bw(i[2*r],i[2*r+1]);r++);}for(;r<o;){var s=ww(t,i,r,o,o,1,e.smooth,a,e.connectNulls);ww(t,n,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(hs);function Iw(t,e,i,n,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=i.get(["lineStyle","width"])||2;a-=c/2,s-=c/2,l+=c,u+=c,a=Math.floor(a),l=Math.round(l);var d=new Cs({shape:{x:a,y:s,width:l,height:u}});if(e){var h=t.getBaseAxis(),f=h.isHorizontal(),p=h.inverse;f?(p&&(d.shape.x+=l),d.shape.width=0):(p||(d.shape.y+=u),d.shape.height=0);var g=Z(r)?function(t){r(t,d)}:null;tc(d,{shape:{width:l,height:u,x:a,y:s}},i,null,n,g)}return d}function Aw(t,e,i){var n=t.getArea(),r=Br(n.r0,1),o=Br(n.r,1),a=new wu({shape:{cx:Br(t.cx,1),cy:Br(t.cy,1),r0:r,r:o,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});return e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=n.startAngle:a.shape.r=r,tc(a,{shape:{endAngle:n.endAngle,r:o}},i)),a}function Dw(t,e,i,n,r){return t?"polar"===t.type?Aw(t,e,i):"cartesian2d"===t.type?Iw(t,e,i,n,r):null:null}function kw(t,e){return t.type===e}function Lw(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++)if(t[i]!==e[i])return;return!0}}function Pw(t){for(var e=1/0,i=1/0,n=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),n=Math.max(a,n)),isNaN(s)||(i=Math.min(s,i),r=Math.max(s,r))}return[[e,i],[n,r]]}function Ow(t,e){var i=Pw(t),n=i[0],r=i[1],o=Pw(e),a=o[0],s=o[1];return Math.max(Math.abs(n[0]-a[0]),Math.abs(n[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function Rw(t){return q(t)?t:t?.5:0}function Ew(t,e,i,n){var r=e.getBaseAxis(),o="x"===r.dim||"radius"===r.dim?0:1,a=[],s=0,l=[],u=[],c=[],d=[];if(n){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||d.push(t[s],t[s+1]);t=d}for(s=0;s<t.length-2;s+=2)switch(c[0]=t[s+2],c[1]=t[s+3],u[0]=t[s],u[1]=t[s+1],a.push(u[0],u[1]),i){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var h=(u[o]+c[o])/2,f=[];l[o]=f[o]=h,l[1-o]=u[1-o],f[1-o]=c[1-o],a.push(l[0],l[1]),a.push(f[0],f[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(t[s++],t[s++]),a}function Nw(t,e,i){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=n.length-1;a>=0;a--){var s=t.getDimensionInfo(n[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=n[a];break}}if(o){var l=e.getAxis(r),u=F(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),c=u.length,d=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),d.reverse());var h=function(t,e){var i,n,r=[],o=t.length;function a(t,e,i){var n=t.coord;return{coord:i,color:Qi((i-n)/(e.coord-n),[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)i=l;else{if(u>e){n?r.push(a(n,l,e)):i&&r.push(a(i,l,0),a(i,l,e));break}i&&(r.push(a(i,l,0)),i=null),r.push(l),n=l}}return r}(u,"x"===r?i.getWidth():i.getHeight()),f=h.length;if(!f&&c)return u[0].coord<0?d[1]?d[1]:u[c-1].color:d[0]?d[0]:u[0].color;var p=h[0].coord-10,g=h[f-1].coord+10,v=g-p;if(v<.001)return"transparent";V(h,(function(t){t.offset=(t.coord-p)/v})),h.push({offset:f?h[f-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:f?h[0].offset:.5,color:d[0]||"transparent"});var m=new ju(0,0,0,0,h,!0);return m[r]=p,m[r+"2"]=g,m}}}function Bw(t,e,i){var n=t.get("showAllSymbol"),r="auto"===n;if(!n||r){var o=i.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var i=t.getExtent(),n=Math.abs(i[1]-i[0])/t.scale.count();isNaN(n)&&(n=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*dw.getSymbolSize(e,a)[t.isHorizontal()?1:0]>n)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return V(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function zw(t,e){return[t[2*e],t[2*e+1]]}function Vw(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<Us.length;e++)if(t.get([Us[e],"endLabel","show"]))return!0;return!1}function Fw(t,e,i,n){if(kw(e,"cartesian2d")){var r=n.getModel("endLabel"),o=r.get("valueAnimation"),a=n.getData(),s={lastFrameIndex:0},l=Vw(n)?function(i,n){t._endLabelOnDuring(i,n,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=Iw(e,i,n,(function(){var e=t._endLabel;e&&i&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),l);if(!n.get("clip",!0)){var d=c.shape,h=Math.max(d.width,d.height);u?(d.y-=h,d.height+=2*h):(d.x-=h,d.width+=2*h)}return l&&l(1,c),c}return Aw(e,i,n)}var jw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(){var t=new Ar,e=new vw;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,i){var n=this,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.getLayout("points")||[],c="polar"===r.type,d=this._coordSys,h=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,v=t.get("animation"),m=!l.isEmpty(),y=l.get("origin"),_=mw(r,a,y),x=m&&function(t,e,i){if(!i.valueDim)return[];for(var n=e.count(),r=Zy(2*n),o=0;o<n;o++){var a=yw(i,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,_),b=t.get("showSymbol"),w=t.get("connectNulls"),S=b&&!c&&Bw(t,a,r),C=this._data;C&&C.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),C.setItemGraphicEl(e,null))})),b||h.remove(),o.add(g);var M,T=!c&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(M=r.getArea()).width?(M.x-=.1,M.y-=.1,M.width+=.2,M.height+=.2):M.r0&&(M.r0-=.5,M.r+=.5)),this._clipShapeForSymbol=M;var I=Nw(a,r,i)||a.getVisual("style")[a.getVisual("drawType")];if(f&&d.type===r.type&&T===this._step){m&&!p?p=this._newPolygon(u,x):p&&!m&&(g.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,qd(I));var A=g.getClipPath();A?tc(A,{shape:Fw(this,r,!1,t).shape},t):g.setClipPath(Fw(this,r,!0,t)),b&&h.updateData(a,{isIgnore:S,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),Lw(this._stackedOnPoints,x)&&Lw(this._points,u)||(v?this._doUpdateAnimation(a,x,r,i,T,y,w):(T&&(u=Ew(u,r,T,w),x&&(x=Ew(x,r,T,w))),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:x})))}else b&&h.updateData(a,{isIgnore:S,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),v&&this._initSymbolLabelAnimation(a,r,M),T&&(u=Ew(u,r,T,w),x&&(x=Ew(x,r,T,w))),f=this._newPolyline(u),m?p=this._newPolygon(u,x):p&&(g.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,qd(I)),g.setClipPath(Fw(this,r,!0,t));var D=t.getModel("emphasis"),k=D.get("focus"),L=D.get("blurScope"),P=D.get("disabled");f.useStyle(O(s.getLineStyle(),{fill:"none",stroke:I,lineJoin:"bevel"})),Rl(f,t,"lineStyle"),f.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(f.getState("emphasis").style.lineWidth=+f.style.lineWidth+1),Fs(f).seriesIndex=t.seriesIndex,kl(f,k,L,P);var R=Rw(t.get("smooth")),E=t.get("smoothMonotone");if(f.setShape({smooth:R,smoothMonotone:E,connectNulls:w}),p){var N=a.getCalculationInfo("stackedOnSeries"),B=0;p.useStyle(O(l.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),N&&(B=Rw(N.get("smooth"))),p.setShape({smooth:R,stackedOnSmooth:B,smoothMonotone:E,connectNulls:w}),Rl(p,t,"areaStyle"),Fs(p).seriesIndex=t.seriesIndex,kl(p,k,L,P)}var z=function(t){n._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=a,this._coordSys=r,this._stackedOnPoints=x,this._points=u,this._step=T,this._valueOrigin=y,t.get("triggerLineEvent")&&(this.packEventData(t,f),p&&this.packEventData(t,p))},e.prototype.packEventData=function(t,e){Fs(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,i,n){var r=t.getData(),o=_o(r,n);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel")||0,d=t.get("z")||0;(s=new dw(r,o)).x=l,s.y=u,s.setZ(c,d);var h=s.getSymbolPath().getTextContent();h&&(h.zlevel=c,h.z=d,h.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else qp.prototype.highlight.call(this,t,e,i,n)},e.prototype.downplay=function(t,e,i,n){var r=t.getData(),o=_o(r,n);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else qp.prototype.downplay.call(this,t,e,i,n)},e.prototype._changePolyState=function(t){var e=this._polygon;dl(this._polyline,t),e&&dl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Cw({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new Tw({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},e.prototype._initSymbolLabelAnimation=function(t,e,i){var n,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(n=o.isHorizontal(),r=!1):"polar"===e.type&&(n="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");Z(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=Z(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var d=[t.x,t.y],h=void 0,f=void 0,p=void 0;if(i)if(r){var g=i,v=e.pointToCoord(d);n?(h=g.startAngle,f=g.endAngle,p=-v[1]/180*Math.PI):(h=g.r0,f=g.r,p=v[0])}else{var m=i;n?(h=m.x,f=m.x+m.width,p=t.x):(h=m.y+m.height,f=m.y,p=t.y)}var y=f===h?0:(p-h)/(f-h);a&&(y=1-y);var _=Z(u)?u(o):l*y+c,x=s.getSymbolPath(),b=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,i){var n=t.getModel("endLabel");if(Vw(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Is({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,i,n=t.length/2;n>0&&(e=t[2*n-2],i=t[2*n-1],isNaN(e)||isNaN(i));n--);return n-1}(a);l>=0&&(zc(o,Vc(t,"endLabel"),{inheritColor:i,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,i){return null!=i?cw(r,i):uw(r,t)},enableTextSetter:!0},function(t,e){var i=e.getBaseAxis(),n=i.isHorizontal(),r=i.inverse,o=n?r?"right":"left":"center",a=n?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(n,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,i,n,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==n.originalX&&(n.originalX=s.x,n.originalY=s.y);var u=i.getLayout("points"),c=i.hostModel,d=c.get("connectNulls"),h=o.get("precision"),f=o.get("distance")||0,p=a.getBaseAxis(),g=p.isHorizontal(),v=p.inverse,m=e.shape,y=v?g?m.x:m.y+m.height:g?m.x+m.width:m.y,_=(g?f:0)*(v?-1:1),x=(g?0:-f)*(v?-1:1),b=g?"x":"y",w=function(t,e,i){for(var n,r,o=t.length/2,a="x"===i?0:1,s=0,l=-1,u=0;u<o;u++)if(r=t[2*u+a],!isNaN(r)&&!isNaN(t[2*u+1-a]))if(0!==u){if(n<=e&&r>=e||n>=e&&r<=e){l=u;break}s=u,n=r}else n=r;return{range:[s,l],t:(e-n)/(r-n)}}(u,y,b),S=w.range,C=S[1]-S[0],M=void 0;if(C>=1){if(C>1&&!d){var T=zw(u,S[0]);s.attr({x:T[0]+_,y:T[1]+x}),r&&(M=c.getRawValue(S[0]))}else{(T=l.getPointOn(y,b))&&s.attr({x:T[0]+_,y:T[1]+x});var I=c.getRawValue(S[0]),A=c.getRawValue(S[1]);r&&(M=Do(i,h,I,A,w.t))}n.lastFrameIndex=S[0]}else{var D=1===t||n.lastFrameIndex>0?S[0]:0;T=zw(u,D),r&&(M=c.getRawValue(D)),s.attr({x:T[0]+_,y:T[1]+x})}r&&Yc(s).setLabelText(M)}},e.prototype._doUpdateAnimation=function(t,e,i,n,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,i,n,r,o,a,s){for(var l=function(t,e){var i=[];return e.diff(t).add((function(t){i.push({cmd:"+",idx:t})})).update((function(t,e){i.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){i.push({cmd:"-",idx:t})})).execute(),i}(t,e),u=[],c=[],d=[],h=[],f=[],p=[],g=[],v=mw(r,e,a),m=t.getLayout("points")||[],y=e.getLayout("points")||[],_=0;_<l.length;_++){var x=l[_],b=!0,w=void 0,S=void 0;switch(x.cmd){case"=":w=2*x.idx,S=2*x.idx1;var C=m[w],M=m[w+1],T=y[S],I=y[S+1];(isNaN(C)||isNaN(M))&&(C=T,M=I),u.push(C,M),c.push(T,I),d.push(i[w],i[w+1]),h.push(n[S],n[S+1]),g.push(e.getRawIndex(x.idx1));break;case"+":var A=x.idx,D=v.dataDimsForPoint,k=r.dataToPoint([e.get(D[0],A),e.get(D[1],A)]);S=2*A,u.push(k[0],k[1]),c.push(y[S],y[S+1]);var L=yw(v,r,e,A);d.push(L[0],L[1]),h.push(n[S],n[S+1]),g.push(e.getRawIndex(A));break;case"-":b=!1}b&&(f.push(x),p.push(p.length))}p.sort((function(t,e){return g[t]-g[e]}));var P=u.length,O=Zy(P),R=Zy(P),E=Zy(P),N=Zy(P),B=[];for(_=0;_<p.length;_++){var z=p[_],V=2*_,F=2*z;O[V]=u[F],O[V+1]=u[F+1],R[V]=c[F],R[V+1]=c[F+1],E[V]=d[F],E[V+1]=d[F+1],N[V]=h[F],N[V+1]=h[F+1],B[_]=f[z]}return{current:O,next:R,stackedOnCurrent:E,stackedOnNext:N,status:B}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),d=c.current,h=c.stackedOnCurrent,f=c.next,p=c.stackedOnNext;if(r&&(d=Ew(c.current,i,r,a),h=Ew(c.stackedOnCurrent,i,r,a),f=Ew(c.next,i,r,a),p=Ew(c.stackedOnNext,i,r,a)),Ow(d,f)>3e3||l&&Ow(h,p)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:p})));s.shape.__points=c.current,s.shape.points=d;var g={shape:{points:f}};c.current!==d&&(g.shape.__points=c.next),s.stopAnimation(),Ju(s,g,u),l&&(l.setShape({points:d,stackedOnPoints:h}),l.stopAnimation(),Ju(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],m=c.status,y=0;y<m.length;y++)if("="===m[y].cmd){var _=t.getItemGraphicEl(m[y].idx1);_&&v.push({el:_,ptIdx:y})}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<v.length;e++){var i=v[e].el,n=2*v[e].ptIdx;i.x=t[n],i.y=t[n+1],i.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl((function(t,n){t.__temp&&(e.remove(t),i.setItemGraphicEl(n,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(qp);function Hw(t,e){return{seriesType:t,plan:Zp(),reset:function(t){var i=t.getData(),n=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(n){var a=F(n.dimensions,(function(t){return i.mapDimension(t)})).slice(0,2),s=a.length,l=i.getCalculationInfo("stackResultDimension");Dy(i,a[0])&&(a[0]=l),Dy(i,a[1])&&(a[1]=l);var u=i.getStore(),c=i.getDimensionIndex(a[0]),d=i.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var i=t.end-t.start,r=o&&Zy(i*s),a=[],l=[],h=t.start,f=0;h<t.end;h++){var p=void 0;if(1===s){var g=u.get(c,h);p=n.dataToPoint(g,null,l)}else a[0]=u.get(c,h),a[1]=u.get(d,h),p=n.dataToPoint(a,null,l);o?(r[f++]=p[0],r[f++]=p[1]):e.setItemLayout(h,p.slice())}o&&e.setLayout("points",r)}}}}}}var Gw={average:function(t){for(var e=0,i=0,n=0;n<t.length;n++)isNaN(t[n])||(e+=t[n],i++);return 0===i?NaN:e/i},sum:function(t){for(var e=0,i=0;i<t.length;i++)e+=t[i]||0;return e},max:function(t){for(var e=-1/0,i=0;i<t.length;i++)t[i]>e&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i<t.length;i++)t[i]<e&&(e=t[i]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},Ww=function(t){return Math.round(t.length/2)};function $w(t){return{seriesType:t,reset:function(t,e,i){var n=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=n.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=i.getDevicePixelRatio(),d=Math.abs(u[1]-u[0])*(c||1),h=Math.round(a/d);if(isFinite(h)&&h>1){"lttb"===r&&t.setData(n.lttbDownSample(n.mapDimension(l.dim),1/h));var f=void 0;Q(r)?f=Gw[r]:Z(r)&&(f=r),f&&t.setData(n.downSample(n.mapDimension(l.dim),1/h,f,Ww))}}}}}var Uw=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.getInitialData=function(t,e){return Ly(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,i){var n=this.coordinateSystem;if(n&&n.clampData){var r=n.dataToPoint(n.clampData(t));if(i)V(n.getAxes(),(function(i,o){if("category"===i.type){var a=i.getTicksCoords(),s=n.clampData(t)[o];!e||"x1"!==e[o]&&"y1"!==e[o]||(s+=1),s>a.length-1&&(s=a.length-1),s<0&&(s=0),a[s]&&(r[o]=i.toGlobalCoord(a[s].coord))}}));else{var o=this.getData(),a=o.getLayout("offset"),s=o.getLayout("size"),l=n.getBaseAxis().isHorizontal()?0:1;r[l]+=a+s/2}return r}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Vp);Vp.registerClass(Uw);var Yw=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.getInitialData=function(){return Ly(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,i){return i.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=dd(Uw.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(Uw),Zw=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Qw=function(t){function e(e){var i=t.call(this,e)||this;return i.type="sausage",i}return i(e,t),e.prototype.getDefaultShape=function(){return new Zw},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,d=2*Math.PI,h=c?u-l<d:l-u<d;h||(l=u-(c?d:-d));var f=Math.cos(l),p=Math.sin(l),g=Math.cos(u),v=Math.sin(u);h?(t.moveTo(f*r+i,p*r+n),t.arc(f*s+i,p*s+n,a,-Math.PI+l,l,!c)):t.moveTo(f*o+i,p*o+n),t.arc(i,n,o,l,u,!c),t.arc(g*s+i,v*s+n,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(i,n,r,u,l,c)},e}(hs);function Xw(t,e,i){return e*Math.sin(t)*(i?-1:1)}function qw(t,e,i){return e*Math.cos(t)*(i?1:-1)}var Kw=Math.max,Jw=Math.min,tS=function(t){function e(){var i=t.call(this)||this;return i.type=e.type,i._isFirstFrame=!0,i}return i(e,t),e.prototype.render=function(t,e,i,n){this._model=t,this._removeOnRenderedListener(i),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,i):this._renderNormal(t,e,i,n))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){Oc(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,i,n){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,d=function(t,e){var i=t.get("realtimeSort",!0),n=e.getBaseAxis();if(i&&"category"===n.type&&"cartesian2d"===e.type)return{baseAxis:n,otherAxis:e.getOtherAxis(n)}}(t,l);d&&this._enableRealtimeSort(d,a,i);var h=t.get("clip",!0)||d,f=function(t,e){var i=t.getArea&&t.getArea();if(kw(t,"cartesian2d")){var n=t.getBaseAxis();if("category"!==n.type||!n.onBand){var r=e.getLayout("bandWidth");n.isHorizontal()?(i.x-=r,i.width+=2*r):(i.y-=r,i.height+=2*r)}}return i}(l,a);o.removeClipPath();var p=t.get("roundCap",!0),g=t.get("showBackground",!0),v=t.getModel("backgroundStyle"),m=v.get("borderRadius")||0,y=[],_=this._backgroundEls,x=n&&n.isInitSort,b=n&&"changeAxisOrder"===n.type;function w(t){var e=lS[l.type](a,t),i=function(t,e,i){return new("polar"===t.type?wu:Cs)({shape:gS(e,i,t),silent:!0,z2:0})}(l,r,e);return i.useStyle(v.getItemStyle()),"cartesian2d"===l.type&&i.setShape("r",m),y[t]=i,i}a.diff(s).add((function(e){var i=a.getItemModel(e),n=lS[l.type](a,e,i);if(g&&w(e),a.hasValue(e)&&sS[l.type](n)){var s=!1;h&&(s=eS[l.type](f,n));var v=iS[l.type](t,a,e,n,r,c,u.model,!1,p);d&&(v.forceLabelAnimation=!0),cS(v,a,e,i,n,t,r,"polar"===l.type),x?v.attr({shape:n}):d?nS(d,c,v,n,e,r,!1,!1):tc(v,{shape:n},t,e),a.setItemGraphicEl(e,v),o.add(v),v.ignore=s}})).update((function(e,i){var n=a.getItemModel(e),S=lS[l.type](a,e,n);if(g){var C=void 0;0===_.length?C=w(i):((C=_[i]).useStyle(v.getItemStyle()),"cartesian2d"===l.type&&C.setShape("r",m),y[e]=C);var M=lS[l.type](a,e);Ju(C,{shape:gS(r,M,l)},c,e)}var T=s.getItemGraphicEl(i);if(a.hasValue(e)&&sS[l.type](S)){var I=!1;if(h&&(I=eS[l.type](f,S))&&o.remove(T),T?oc(T):T=iS[l.type](t,a,e,S,r,c,u.model,!!T,p),d&&(T.forceLabelAnimation=!0),b){var A=T.getTextContent();if(A){var D=Yc(A);null!=D.prevValue&&(D.prevValue=D.value)}}else cS(T,a,e,n,S,t,r,"polar"===l.type);x?T.attr({shape:S}):d?nS(d,c,T,S,e,r,!0,b):Ju(T,{shape:S},t,e,null),a.setItemGraphicEl(e,T),T.ignore=I,o.add(T)}else o.remove(T)})).remove((function(e){var i=s.getItemGraphicEl(e);i&&rc(i,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new Ar);S.removeAll();for(var C=0;C<y.length;++C)S.add(y[C]);o.add(S),this._backgroundEls=y,this._data=a},e.prototype._renderLarge=function(t,e,i){this._clear(),fS(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),fS(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&Dw(t.coordinateSystem,!1,t),i=this.group;e?i.setClipPath(e):i.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,i){var n=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,i),this._isFirstFrame=!1;else{var o=function(t){var i=e.getItemGraphicEl(t),n=i&&i.shape;return n&&Math.abs(r.isHorizontal()?n.height:n.width)||0};this._onRendered=function(){n._updateSortWithinSameData(e,o,r,i)},i.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,i){var n=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=i(e);r=null==r?NaN:r,n.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),n.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:F(n,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,i){for(var n=i.scale,r=t.mapDimension(i.dim),o=Number.MAX_VALUE,a=0,s=n.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,n.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var i=e.scale,n=i.getExtent(),r=Math.max(0,n[0]),o=Math.min(n[1],i.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==i.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,i,n){if(this._isOrderChangedWithinSameData(t,e,i)){var r=this._dataSort(t,i,e);this._isOrderDifferentInView(r,i)&&(this._removeOnRenderedListener(n),n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,i){var n=e.baseAxis,r=this._dataSort(t,n,(function(i){return t.get(t.mapDimension(e.otherAxis.dim),i)}));i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",isInitSort:!0,axisId:n.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,i=this._data;t&&t.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl((function(e){rc(e,t,Fs(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(qp),eS={cartesian2d:function(t,e){var i=e.width<0?-1:1,n=e.height<0?-1:1;i<0&&(e.x+=e.width,e.width=-e.width),n<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=Kw(e.x,t.x),s=Jw(e.x+e.width,r),l=Kw(e.y,t.y),u=Jw(e.y+e.height,o),c=s<a,d=u<l;return e.x=c&&a>r?s:a,e.y=d&&l>o?u:l,e.width=c?0:s-a,e.height=d?0:u-l,i<0&&(e.x+=e.width,e.width=-e.width),n<0&&(e.y+=e.height,e.height=-e.height),c||d},polar:function(t,e){var i=e.r0<=e.r?1:-1;if(i<0){var n=e.r;e.r=e.r0,e.r0=n}var r=Jw(e.r,t.r),o=Kw(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;return i<0&&(n=e.r,e.r=e.r0,e.r0=n),a}},iS={cartesian2d:function(t,e,i,n,r,o,a,s,l){var u=new Cs({shape:P({},n),z2:1});return u.__dataIndex=i,u.name="item",o&&(u.shape[r?"height":"width"]=0),u},polar:function(t,e,i,n,r,o,a,s,l){var u=!r&&l?Qw:wu,c=new u({shape:n,z2:1});c.name="item";var d,h,f=uS(r);if(c.calculateTextPosition=(d=f,h=({isRoundCap:u===Qw}||{}).isRoundCap,function(t,e,i){var n=e.position;if(!n||n instanceof Array)return yr(t,e,i);var r=d(n),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,c=a.r0,f=(u+c)/2,p=a.startAngle,g=a.endAngle,v=(p+g)/2,m=h?Math.abs(u-c)/2:0,y=Math.cos,_=Math.sin,x=s+u*y(p),b=l+u*_(p),w="left",S="top";switch(r){case"startArc":x=s+(c-o)*y(v),b=l+(c-o)*_(v),w="center",S="top";break;case"insideStartArc":x=s+(c+o)*y(v),b=l+(c+o)*_(v),w="center",S="bottom";break;case"startAngle":x=s+f*y(p)+Xw(p,o+m,!1),b=l+f*_(p)+qw(p,o+m,!1),w="right",S="middle";break;case"insideStartAngle":x=s+f*y(p)+Xw(p,-o+m,!1),b=l+f*_(p)+qw(p,-o+m,!1),w="left",S="middle";break;case"middle":x=s+f*y(v),b=l+f*_(v),w="center",S="middle";break;case"endArc":x=s+(u+o)*y(v),b=l+(u+o)*_(v),w="center",S="bottom";break;case"insideEndArc":x=s+(u-o)*y(v),b=l+(u-o)*_(v),w="center",S="top";break;case"endAngle":x=s+f*y(g)+Xw(g,o+m,!0),b=l+f*_(g)+qw(g,o+m,!0),w="left",S="middle";break;case"insideEndAngle":x=s+f*y(g)+Xw(g,-o+m,!0),b=l+f*_(g)+qw(g,-o+m,!0),w="right",S="middle";break;default:return yr(t,e,i)}return(t=t||{}).x=x,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var p=r?"r":"endAngle",g={};c.shape[p]=r?0:n.startAngle,g[p]=n[p],(s?Ju:tc)(c,{shape:g},o)}return c}};function nS(t,e,i,n,r,o,a,s){var l,u;o?(u={x:n.x,width:n.width},l={y:n.y,height:n.height}):(u={y:n.y,height:n.height},l={x:n.x,width:n.width}),s||(a?Ju:tc)(i,{shape:l},e,r,null),(a?Ju:tc)(i,{shape:u},e?t.baseAxis.model:null,r)}function rS(t,e){for(var i=0;i<e.length;i++)if(!isFinite(t[e[i]]))return!0;return!1}var oS=["x","y","width","height"],aS=["cx","cy","r","startAngle","endAngle"],sS={cartesian2d:function(t){return!rS(t,oS)},polar:function(t){return!rS(t,aS)}},lS={cartesian2d:function(t,e,i){var n=t.getItemLayout(e),r=i?function(t,e){var i=t.get(["itemStyle","borderColor"]);if(!i||"none"===i)return 0;var n=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,r,o)}(i,n):0,o=n.width>0?1:-1,a=n.height>0?1:-1;return{x:n.x+o*r/2,y:n.y+a*r/2,width:n.width-o*r,height:n.height-a*r}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function uS(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function cS(t,e,i,n,r,o,a,s){var l=e.getItemVisual(i,"style");s||t.setShape("r",n.get(["itemStyle","borderRadius"])||0),t.useStyle(l);var u=n.getShallow("cursor");u&&t.attr("cursor",u);var c=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=Vc(n);zc(t,d,{labelFetcher:o,labelDataIndex:i,defaultText:uw(o.getData(),i),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var h=t.getTextContent();if(s&&h){var f=n.get(["label","position"]);t.textConfig.inside="middle"===f||null,function(t,e,i,n){if(q(n))t.setTextConfig({rotation:n});else if(Y(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=i(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-r;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}}(t,"outside"===f?c:f,uS(a),n.get(["label","rotate"]))}Zc(h,d,o.getRawValue(i),(function(t){return cw(e,t)}));var p=n.getModel(["emphasis"]);kl(t,p.get("focus"),p.get("blurScope"),p.get("disabled")),Rl(t,n),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",V(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var dS=function(){},hS=function(t){function e(e){var i=t.call(this,e)||this;return i.type="largeBar",i}return i(e,t),e.prototype.getDefaultShape=function(){return new dS},e.prototype.buildPath=function(t,e){for(var i=e.points,n=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<i.length;l+=3)a[n]=s,a[r]=i[l+2],o[n]=i[l+n],o[r]=i[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(hs);function fS(t,e,i,n){var r=t.getData(),o=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new hS({shape:{points:u},incremental:!!n,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),i&&i.push(c)}var d=new hS({shape:{points:r.getLayout("largePoints")},incremental:!!n,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=o,d.largeDataIndices=a,d.barWidth=s,e.add(d),d.useStyle(r.getVisual("style")),Fs(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",pS),d.on("mousemove",pS)),i&&i.push(d)}var pS=ag((function(t){var e=function(t,e,i){for(var n=t.baseDimIdx,r=1-n,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,d=o.length/3;c<d;c++){var h=3*c;if(l[n]=u,l[r]=o[h+2],s[n]=o[h+n],s[r]=o[h+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&i>=s[1]&&i<=s[1]+l[1])return a[c]}return-1}(this,t.offsetX,t.offsetY);Fs(this).dataIndex=e>=0?e:null}),30,!1);function gS(t,e,i){if(kw(i,"cartesian2d")){var n=e,r=i.getArea();return{x:t?n.x:r.x,y:t?r.y:n.y,width:t?n.width:r.width,height:t?r.height:n.height}}var o=e;return{cx:(r=i.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var vS=2*Math.PI,mS=Math.PI/180;function yS(t,e){return rh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function _S(t,e){var i=yS(t,e),n=t.get("center"),r=t.get("radius");Y(r)||(r=[0,r]);var o,a,s=Nr(i.width,e.getWidth()),l=Nr(i.height,e.getHeight()),u=Math.min(s,l),c=Nr(r[0],u/2),d=Nr(r[1],u/2),h=t.coordinateSystem;if(h){var f=h.dataToPoint(n);o=f[0]||0,a=f[1]||0}else Y(n)||(n=[n,n]),o=Nr(n[0],s)+i.x,a=Nr(n[1],l)+i.y;return{cx:o,cy:a,r0:c,r:d}}function xS(t,e,i){e.eachSeriesByType(t,(function(t){var e=t.getData(),n=e.mapDimension("value"),r=yS(t,i),o=_S(t,i),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-t.get("startAngle")*mS,d=t.get("minAngle")*mS,h=0;e.each(n,(function(t){!isNaN(t)&&h++}));var f=e.getSum(n),p=Math.PI/(f||h)*2,g=t.get("clockwise"),v=t.get("roseType"),m=t.get("stillShowZeroSum"),y=e.getDataExtent(n);y[0]=0;var _=vS,x=0,b=c,w=g?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(n,(function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:u,r:v?NaN:l});else{(n="area"!==v?0===f&&m?p:t*p:vS/h)<d?(n=d,_-=d):x+=t;var r=b+w*n;e.setItemLayout(i,{angle:n,startAngle:b,endAngle:r,clockwise:g,cx:a,cy:s,r0:u,r:v?Er(t,y,[u,l]):l}),b=r}})),_<vS&&h)if(_<=.001){var S=vS/h;e.each(n,(function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i);n.angle=S,n.startAngle=c+w*i*S,n.endAngle=c+w*(i+1)*S}}))}else p=_/x,b=c,e.each(n,(function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i),r=n.angle===d?d:t*p;n.startAngle=b,n.endAngle=b+w*r,b+=w*r}}))}))}function bS(t){return{seriesType:t,reset:function(t,e){var i=e.findComponents({mainType:"legend"});if(i&&i.length){var n=t.getData();n.filterSelf((function(t){for(var e=n.getName(t),r=0;r<i.length;r++)if(!i[r].isSelected(e))return!1;return!0}))}}}}var wS=Math.PI/180;function SS(t,e,i,n,r,o,a,s,l,u){if(!(t.length<2)){for(var c=t.length,d=0;d<c;d++)if("outer"===t[d].position&&"labelLine"===t[d].labelAlignTo){var h=t[d].label.x-u;t[d].linePoints[1][0]+=h,t[d].label.x=u}Fx(t,l,l+a)&&function(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>i?a:o,c=Math.abs(l.label.y-i);if(c>=u.maxY){var d=l.label.x-e-l.len2*r,h=n+l.len,p=Math.abs(d)<h?Math.sqrt(c*c/(1-d*d/h/h)):h;u.rB=p,u.maxY=c}u.list.push(l)}f(o),f(a)}(t)}function f(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-i),c=n+l.len,d=c*c,h=Math.sqrt((1-Math.abs(u*u/a))*d),f=e+(h+l.len2)*r,p=f-l.label.x;CS(l,l.targetTextWidth-p*r,!0),l.label.x=f}}}function CS(t,e,i){if(void 0===i&&(i=!1),null==t.labelStyleWidth){var n=t.label,r=n.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=o.width+(a?0:l);if(e<c||i){var d=o.height;if(u&&u.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",e-l);var h=n.getBoundingRect();n.setStyle("width",Math.ceil(h.width)),n.setStyle("backgroundColor",a)}else{var f=e-l,p=e<c?f:i?f>t.unconstrainedWidth?null:f:null;n.setStyle("width",p)}var g=n.getBoundingRect();o.width=g.width;var v=(n.style.margin||0)+2.1;o.height=g.height+v,o.y-=(o.height-d)/2}}}function MS(t){return"center"===t.position}function TS(t,e,i){var n=t.get("borderRadius");if(null==n)return i?{cornerRadius:0}:null;Y(n)||(n=[n,n,n,n]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:F(n,(function(t){return mr(t,r)}))}}var IS=function(t){function e(e,i,n){var r=t.call(this)||this;r.z2=2;var o=new Is;return r.setTextContent(o),r.updateData(e,i,n,!0),r}return i(e,t),e.prototype.updateData=function(t,e,i,n){var r=this,o=t.hostModel,a=t.getItemModel(e),s=a.getModel("emphasis"),l=t.getItemLayout(e),u=P(TS(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))r.setShape(u);else{if(n){r.setShape(u);var c=o.getShallow("animationType");o.ecModel.ssr?(tc(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=u.cx,r.originY=u.cy):"scale"===c?(r.shape.r=l.r0,tc(r,{shape:{r:l.r}},o,e)):null!=i?(r.setShape({startAngle:i,endAngle:i}),tc(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,e)):(r.shape.endAngle=l.startAngle,Ju(r,{shape:{endAngle:l.endAngle}},o,e))}else oc(r),Ju(r,{shape:u},o,e);r.useStyle(t.getItemVisual(e,"style")),Rl(r,a);var d=(l.startAngle+l.endAngle)/2,h=o.get("selectedOffset"),f=Math.cos(d)*h,p=Math.sin(d)*h,g=a.getShallow("cursor");g&&r.attr("cursor",g),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=P({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},TS(s.getModel("itemStyle"),l)),P(r.ensureState("select"),{x:f,y:p,shape:TS(a.getModel(["select","itemStyle"]),l)}),P(r.ensureState("blur"),{shape:TS(a.getModel(["blur","itemStyle"]),l)});var v=r.getTextGuideLine(),m=r.getTextContent();v&&P(v.ensureState("select"),{x:f,y:p}),P(m.ensureState("select"),{x:f,y:p}),kl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,i){var n=this,r=e.getItemModel(i),o=r.getModel("labelLine"),a=e.getItemVisual(i,"style"),s=a&&a.fill,l=a&&a.opacity;zc(n,Vc(r),{labelFetcher:e.hostModel,labelDataIndex:i,inheritColor:s,defaultOpacity:l,defaultText:t.getFormattedLabel(i,"normal")||e.getName(i)});var u=n.getTextContent();n.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)n.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new Du,this.setTextGuideLine(d)),Nx(this,Bx(r),{stroke:s,opacity:lt(o.get(["lineStyle","opacity"]),l,1)})}},e}(wu),AS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return i(e,t),e.prototype.render=function(t,e,i,n){var r,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var c=new wu({shape:_S(t,i)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}o.diff(a).add((function(t){var e=new IS(o,t,r);o.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var i=a.getItemGraphicEl(e);i.updateData(o,t,r),i.off("click"),s.add(i),o.setItemGraphicEl(t,i)})).remove((function(e){rc(a.getItemGraphicEl(e),t,e)})).execute(),function(t){var e,i,n=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*wS,s=n.getLayout("viewRect"),l=n.getLayout("r"),u=s.width,c=s.x,d=s.y,h=s.height;function f(t){t.ignore=!0}n.each((function(t){var s=n.getItemGraphicEl(t),d=s.shape,h=s.getTextContent(),p=s.getTextGuideLine(),g=n.getItemModel(t),v=g.getModel("label"),m=v.get("position")||g.get(["emphasis","label","position"]),y=v.get("distanceToLabelLine"),_=v.get("alignTo"),x=Nr(v.get("edgeDistance"),u),b=v.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=Nr(S,u);var C=w.get("length2");if(C=Nr(C,u),Math.abs(d.endAngle-d.startAngle)<a)return V(h.states,f),h.ignore=!0,void(p&&(V(p.states,f),p.ignore=!0));if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(h)){var M,T,I,A,D=(d.startAngle+d.endAngle)/2,k=Math.cos(D),L=Math.sin(D);e=d.cx,i=d.cy;var P="inside"===m||"inner"===m;if("center"===m)M=d.cx,T=d.cy,A="center";else{var O=(P?(d.r+d.r0)/2*k:d.r*k)+e,R=(P?(d.r+d.r0)/2*L:d.r*L)+i;if(M=O+3*k,T=R+3*L,!P){var E=O+k*(S+l-d.r),N=R+L*(S+l-d.r),B=E+(k<0?-1:1)*C;M="edge"===_?k<0?c+x:c+u-x:B+(k<0?-y:y),T=N,I=[[O,R],[E,N],[B,N]]}A=P?"center":"edge"===_?k>0?"right":"left":k>0?"left":"right"}var z=Math.PI,F=0,j=v.get("rotate");if(q(j))F=j*(z/180);else if("center"===m)F=0;else if("radial"===j||!0===j)F=k<0?-D+z:-D;else if("tangential"===j&&"outside"!==m&&"outer"!==m){var H=Math.atan2(k,L);H<0&&(H=2*z+H),L>0&&(H=z+H),F=H-z}if(o=!!F,h.x=M,h.y=T,h.rotation=F,h.setStyle({verticalAlign:"middle"}),P){h.setStyle({align:A});var G=h.states.select;G&&(G.x+=h.x,G.y+=h.y)}else{var W=h.getBoundingRect().clone();W.applyTransform(h.getComputedTransform());var $=(h.style.margin||0)+2.1;W.y-=$/2,W.height+=$,r.push({label:h,labelLine:p,position:m,len:S,len2:C,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new De(k,L),linePoints:I,textAlign:A,labelDistance:y,labelAlignTo:_,edgeDistance:x,bleedMargin:b,rect:W,unconstrainedWidth:W.width,labelStyleWidth:h.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,i,n,r,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,d=-Number.MAX_VALUE,h=0;h<t.length;h++){var f=t[h].label;MS(t[h])||(f.x<e?(c=Math.min(c,f.x),l.push(t[h])):(d=Math.max(d,f.x),u.push(t[h])))}for(h=0;h<t.length;h++)if(!MS(v=t[h])&&v.linePoints){if(null!=v.labelStyleWidth)continue;f=v.label;var p,g=v.linePoints;p="edge"===v.labelAlignTo?f.x<e?g[2][0]-v.labelDistance-a-v.edgeDistance:a+r-v.edgeDistance-g[2][0]-v.labelDistance:"labelLine"===v.labelAlignTo?f.x<e?c-a-v.bleedMargin:a+r-d-v.bleedMargin:f.x<e?f.x-a-v.bleedMargin:a+r-f.x-v.bleedMargin,v.targetTextWidth=p,CS(v,p)}for(SS(u,e,i,n,1,0,o,0,s,d),SS(l,e,i,n,-1,0,o,0,s,c),h=0;h<t.length;h++){var v;if(!MS(v=t[h])&&v.linePoints){f=v.label,g=v.linePoints;var m="edge"===v.labelAlignTo,y=f.style.padding,_=y?y[1]+y[3]:0,x=f.style.backgroundColor?0:_,b=v.rect.width+x,w=g[1][0]-g[2][0];m?f.x<e?g[2][0]=a+v.edgeDistance+b+v.labelDistance:g[2][0]=a+r-v.edgeDistance-b-v.labelDistance:(f.x<e?g[2][0]=f.x+v.labelDistance:g[2][0]=f.x-v.labelDistance,g[1][0]=g[2][0]+w),g[1][1]=g[2][1]=f.y}}}(r,e,i,l,u,h,c,d);for(var p=0;p<r.length;p++){var g=r[p],v=g.label,m=g.labelLine,y=isNaN(v.x)||isNaN(v.y);if(v){v.setStyle({align:g.textAlign}),y&&(V(v.states,f),v.ignore=!0);var _=v.states.select;_&&(_.x+=v.x,_.y+=v.y)}if(m){var x=g.linePoints;y||!x?(V(m.states,f),m.ignore=!0):(Px(x,g.minTurnAngle),Ox(x,g.surfaceNormal,g.maxSurfaceAngle),m.setShape({points:x}),v.__hostTarget.textGuideLineConfig={anchor:new De(x[0][0],x[0][1])})}}}(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,r=t[1]-i.cy,o=Math.sqrt(n*n+r*r);return o<=i.r&&o>=i.r0}},e.type="pie",e}(qp);function DS(t,e,i){e=Y(e)&&{coordDimensions:e}||P({encodeDefine:t.getEncode()},e);var n=t.getSource(),r=Sy(n,e).dimensions,o=new wy(r,t);return o.initData(n,i),o}var kS=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),LS=xo(),PS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new kS($(this.getData,this),$(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return DS(this,{coordDimensions:["value"],encodeDefaulter:U(Mh,this)})},e.prototype.getDataParams=function(e){var i=this.getData(),n=LS(i),r=n.seats;if(!r){var o=[];i.each(i.mapDimension("value"),(function(t){o.push(t)})),r=n.seats=Hr(o,i.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){lo(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Vp),OS=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return i(e,t),e.prototype.getInitialData=function(t,e){return Ly(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,i){return i.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Vp),RS=function(){},ES=function(t){function e(e){var i=t.call(this,e)||this;return i._off=0,i.hoverDataIdx=-1,i}return i(e,t),e.prototype.getDefaultShape=function(){return new RS},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var i,n=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,i=this._off;i<n.length;){var c=n[i++],d=n[i++];isNaN(c)||isNaN(d)||u&&!u.contain(c,d)||(a.x=c-r[0]/2,a.y=d-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0))}this.incremental&&(this._off=i,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,i=e.points,n=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<i.length;){var a=i[t++],s=i[t++];isNaN(a)||isNaN(s)||o&&!o.contain(a,s)||r.fillRect(a-n[0]/2,s-n[1]/2,n[0],n[1])}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var i=this.shape,n=i.points,r=i.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=n.length/2-1;s>=0;s--){var l=2*s,u=n[l]-o/2,c=n[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();return t=i[0],e=i[1],n.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,i=e.points,n=e.size,r=n[0],o=n[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<i.length;){var d=i[c++],h=i[c++];a=Math.min(d,a),l=Math.max(d,l),s=Math.min(h,s),u=Math.max(h,u)}t=this._rect=new ze(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(hs),NS=function(){function t(){this.group=new Ar}return t.prototype.updateData=function(t,e){this._clear();var i=this._create();i.setShape({points:t.getLayout("points")}),this._setCommon(i,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var i=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;e=new Float32Array(e.buffer,n,i)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,i){var n=this._newAdded[0],r=e.getLayout("points"),o=n&&n.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),n.endIndex=t.end,n.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,i)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new ES({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,i){var n=e.hostModel;i=i||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=i.clipShape||null,t.symbolProxy=uv(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(n.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=Fs(t);l.seriesIndex=n.seriesIndex,t.on("mousemove",(function(e){l.dataIndex=null;var i=t.hoverDataIdx;i>=0&&(l.dataIndex=i+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),BS=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).updateData(n,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).incrementalPrepareUpdate(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,i){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,i){var n=t.getData();if(this.group.dirty(),!this._finished||n.count()>1e4)return{update:!0};var r=Hw("").reset(t,e,i);r.progress&&r.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout(n)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,i=e&&e.getArea&&e.getArea();return t.get("clip",!0)?i:null},e.prototype._updateSymbolDraw=function(t,e){var i=this._symbolDraw,n=e.pipelineContext.large;return i&&n===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=n?new NS:new vw,this._isLargeDraw=n,this.group.removeAll()),this.group.add(i.group),i},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(qp),zS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(dh),VS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Co).models[0]},e.type="cartesian2dAxis",e}(dh);B(VS,B_);var FS={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},jS=k({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},FS),HS=k({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},FS),GS={category:jS,value:HS,time:k({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},HS),log:O({logBase:10},HS)},WS={value:1,category:1,time:1,log:1};function $S(t,e,n,r){V(WS,(function(o,a){var s=k(k({},GS[a],!0),r,!0),l=function(t){function n(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e+"Axis."+a,i}return i(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var i=ah(this),n=i?lh(t):{};k(t,e.getTheme().get(a+"Axis")),k(t,this.getDefaultOption()),t.type=US(t),i&&sh(t,n,i)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Ry.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",US)}function US(t){return t.type||(t.data?"category":"value")}var YS=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return F(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),H(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),ZS=["x","y"];function QS(t){return"interval"===t.type||"time"===t.type}var XS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=ZS,e}return i(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(QS(t)&&QS(e)){var i=t.getExtent(),n=e.getExtent(),r=this.dataToPoint([i[0],n[0]]),o=this.dataToPoint([i[1],n[1]]),a=i[1]-i[0],s=n[1]-n[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-i[0]*l,d=r[1]-n[0]*u,h=this._transform=[l,0,0,u,c,d];this._invTransform=Te([],h)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var i=this.dataToPoint(t),n=this.dataToPoint(e),r=this.getArea(),o=new ze(i[0],i[1],n[0]-i[0],n[1]-i[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,i){i=i||[];var n=t[0],r=t[1];if(this._transform&&null!=n&&isFinite(n)&&null!=r&&isFinite(r))return $t(i,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return i[0]=o.toGlobalCoord(o.dataToCoord(n,e)),i[1]=a.toGlobalCoord(a.dataToCoord(r,e)),i},e.prototype.clampData=function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,r=i.getExtent(),o=n.getExtent(),a=i.parse(t[0]),s=n.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var i=[];if(this._invTransform)return $t(i,t,this._invTransform);var n=this.getAxis("x"),r=this.getAxis("y");return i[0]=n.coordToData(n.toLocalCoord(t[0]),e),i[1]=r.coordToData(r.toLocalCoord(t[1]),e),i},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),i=Math.min(t[0],t[1]),n=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-i,o=Math.max(e[0],e[1])-n;return new ze(i,n,r,o)},e}(YS),qS=function(t){function e(e,i,n,r,o){var a=t.call(this,e,i,n)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return i(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(hx);function KS(t,e,i){i=i||{};var n=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,c=n.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],h={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,p="x"===u?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));p[h.onZero]=Math.max(Math.min(g,p[1]),p[0])}o.position=["y"===u?p[h[l]]:d[0],"x"===u?p[h[l]]:d[3]],o.rotation=Math.PI/2*("x"===u?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?p[h[s]]-p[h.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),at(i.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var v=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-v:v,o.z2=1,o}function JS(t){return"cartesian2d"===t.get("coordinateSystem")}function tC(t){var e={xAxisModel:null,yAxisModel:null};return V(e,(function(i,n){var r=n.replace(/Model$/,""),o=t.getReferringComponents(r,Co).models[0];e[n]=o})),e}var eC=Math.log;function iC(t,e,i){var n=$y.prototype,r=n.getTicks.call(i),o=n.getTicks.call(i,!0),a=r.length-1,s=n.getInterval.call(i),l=A_(t,e),u=l.extent,c=l.fixMin,d=l.fixMax;if("log"===t.type){var h=eC(t.base);u=[eC(u[0])/h,eC(u[1])/h]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:d});var f=n.getExtent.call(t);c&&(u[0]=f[0]),d&&(u[1]=f[1]);var p=n.getInterval.call(t),g=u[0],v=u[1];if(c&&d)p=(v-g)/a;else if(c)for(v=u[0]+p*a;v<u[1]&&isFinite(v)&&isFinite(u[1]);)p=By(p),v=u[0]+p*a;else if(d)for(g=u[1]-p*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)p=By(p),g=u[1]-p*a;else{t.getTicks().length-1>a&&(p=By(p));var m=p*a;(g=Br((v=Math.ceil(u[1]/p)*p)-m))<0&&u[0]>=0?(g=0,v=Br(m)):v>0&&u[1]<=0&&(v=0,g=-Br(m))}var y=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;n.setExtent.call(t,g+p*y,v+p*_),n.setInterval.call(t,p),(y||_)&&n.setNiceExtent.call(t,g+p,v-p)}var nC=function(){function t(t,e,i){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=ZS,this._initCartesian(t,e,i),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var i=this._axesMap;function n(t){var e,i=W(t),n=i.length;if(n){for(var r=[],o=n-1;o>=0;o--){var a=t[+i[o]],s=a.model,l=a.scale;Ny(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(D_(l,s),Ny(l)&&(e=a))}r.length&&(e||D_((e=r.pop()).scale,e.model),V(r,(function(t){iC(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),n(i.x),n(i.y);var r={};V(i.x,(function(t){oC(i,"y",t,r)})),V(i.y,(function(t){oC(i,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,i){var n=t.getBoxLayoutParams(),r=!i&&t.get("containLabel"),o=rh(n,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){V(a,(function(t){var e=t.isHorizontal(),i=e?[0,o.width]:[0,o.height],n=t.inverse?1:0;t.setExtent(i[n],i[1-n]),function(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}(t,e?o.x:o.y)}))}s(),r&&(V(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,i=t.scale;if(e.get(["axisLabel","show"])&&!i.isBlank()){var n,r,o=i.getExtent();r=i instanceof Gy?i.count():(n=i.getTicks()).length;var a,s=t.getLabelModel(),l=L_(t),u=1;r>40&&(u=Math.ceil(r/40));for(var c=0;c<r;c+=u){var d=l(n?n[c]:{value:o[0]+c},c),h=O_(s.getTextRect(d),s.get("rotate")||0);a?a.union(h):a=h}return a}}(t);if(e){var i=t.isHorizontal()?"height":"width",n=t.model.get(["axisLabel","margin"]);o[i]-=e[i]+n,"top"===t.position?o.y+=e.height+n:"left"===t.position&&(o.x+=e.width+n)}}})),s()),V(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i)return i[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}K(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,r=this._coordsList;n<r.length;n++)if(r[n].getAxis("x").index===t||r[n].getAxis("y").index===e)return r[n]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,i){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.dataToPoint(i):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(i)):null},t.prototype.convertFromPixel=function(t,e,i){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.pointToData(i):n.axis?n.axis.coordToData(n.axis.toLocalCoord(i)):null},t.prototype._findConvertTarget=function(t){var e,i,n=t.seriesModel,r=t.xAxisModel||n&&n.getReferringComponents("xAxis",Co).models[0],o=t.yAxisModel||n&&n.getReferringComponents("yAxis",Co).models[0],a=t.gridModel,s=this._coordsList;return n?E(s,e=n.coordinateSystem)<0&&(e=null):r&&o?e=this.getCartesian(r.componentIndex,o.componentIndex):r?i=this.getAxis("x",r.componentIndex):o?i=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:i}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,i){var n=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(i,n){if(rC(i,t)){var l=i.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new qS(e,k_(i),[0,0],i.get("type"),l),c="category"===u.type;u.onBand=c&&i.get("boundaryGap"),u.inverse=i.get("inverse"),i.axis=u,u.model=i,u.grid=r,u.index=n,r._axesList.push(u),a[e][n]=u,s[e]++}}}this._axesMap=a,V(a.x,(function(e,i){V(a.y,(function(r,o){var a="x"+i+"y"+o,s=new XS(a);s.master=n,s.model=t,n._coordsMap[a]=s,n._coordsList.push(s),s.addAxis(e),s.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function i(t,e){V(N_(t,e.dim),(function(i){e.scale.unionExtentFromData(t,i)}))}V(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(JS(t)){var n=tC(t),r=n.xAxisModel,o=n.yAxisModel;if(!rC(r,e)||!rC(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");i(s,l),i(s,u)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],i=[];return V(this.getCartesians(),(function(n){var r=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),o=n.getOtherAxis(r);E(e,r)<0&&e.push(r),E(i,o)<0&&i.push(o)})),{baseAxes:e,otherAxes:i}},t.create=function(e,i){var n=[];return e.eachComponent("grid",(function(r,o){var a=new t(r,e,i);a.name="grid_"+o,a.resize(r,i,!0),r.coordinateSystem=a,n.push(a)})),e.eachSeries((function(t){if(JS(t)){var e=tC(t),i=e.xAxisModel,n=e.yAxisModel,r=i.getCoordSysModel(),o=r.coordinateSystem;t.coordinateSystem=o.getCartesian(i.componentIndex,n.componentIndex)}})),n},t.dimensions=ZS,t}();function rC(t,e){return t.getCoordSysModel()===e}function oC(t,e,i,n){i.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=i.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)aC(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&aC(o[u])&&!n[c(o[u])]){r=o[u];break}r&&(n[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function aC(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}(t)}var sC=Math.PI,lC=function(){function t(t,e){this.group=new Ar,this.opt=e,this.axisModel=t,O(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var i=new Ar({x:e.position[0],y:e.position[1],rotation:e.rotation});i.updateTransform(),this._transformGroup=i}return t.prototype.hasBuilder=function(t){return!!uC[t]},t.prototype.add=function(t){uC[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,i){var n,r,o=$r(e-t);return Ur(o)?(r=i>0?"top":"bottom",n="center"):Ur(o-sC)?(r=i>0?"bottom":"top",n="center"):(r="middle",n=o>0&&o<sC?i>0?"right":"left":i>0?"left":"right"),{rotation:o,textAlign:n,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),uC={axisLine:function(t,e,i,n){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=n.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&($t(s,s,a),$t(l,l,a));var c=P({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new Pu({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});yc(d.shape,d.style.lineWidth),d.anid="line",i.add(d);var h=e.get(["axisLine","symbol"]);if(null!=h){var f=e.get(["axisLine","symbolSize"]);Q(h)&&(h=[h,h]),(Q(f)||q(f))&&(f=[f,f]);var p=dv(e.get(["axisLine","symbolOffset"])||0,f),g=f[0],v=f[1];V([{rotate:t.rotation+Math.PI/2,offset:p[0],r:0},{rotate:t.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,n){if("none"!==h[n]&&null!=h[n]){var r=uv(h[n],-g/2,-v/2,g,v,c.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),i.add(r)}}))}}},axisTickLabel:function(t,e,i,n){var r=function(t,e,i,n){var r=i.axis,o=i.getModel("axisTick"),a=o.get("show");if("auto"===a&&n.handleAutoShown&&(a=n.handleAutoShown("axisTick")),a&&!r.scale.isBlank()){for(var s=o.getModel("lineStyle"),l=n.tickDirection*o.get("length"),u=fC(r.getTicksCoords(),e.transform,l,O(s.getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<u.length;c++)t.add(u[c]);return u}}(i,n,e,t),o=function(t,e,i,n){var r=i.axis;if(at(n.axisLabelShow,i.get(["axisLabel","show"]))&&!r.scale.isBlank()){var o=i.getModel("axisLabel"),a=o.get("margin"),s=r.getViewLabels(),l=(at(n.labelRotate,o.get("rotate"))||0)*sC/180,u=lC.innerTextLayout(n.rotation,l,n.labelDirection),c=i.getCategories&&i.getCategories(!0),d=[],h=lC.isLabelSilent(i),f=i.get("triggerEvent");return V(s,(function(s,l){var p="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(s.tickValue):s.tickValue,g=s.formattedLabel,v=s.rawLabel,m=o;if(c&&c[p]){var y=c[p];K(y)&&y.textStyle&&(m=new ld(y.textStyle,o,i.ecModel))}var _=m.getTextColor()||i.get(["axisLine","lineStyle","color"]),x=r.dataToCoord(p),b=new Is({x:x,y:n.labelOffset+n.labelDirection*a,rotation:u.rotation,silent:h,z2:10+(s.level||0),style:Fc(m,{text:g,align:m.getShallow("align",!0)||u.textAlign,verticalAlign:m.getShallow("verticalAlign",!0)||m.getShallow("baseline",!0)||u.textVerticalAlign,fill:Z(_)?_("category"===r.type?v:"value"===r.type?p+"":p,l):_})});if(b.anid="label_"+p,f){var w=lC.makeAxisEventDataBase(i);w.targetType="axisLabel",w.value=v,w.tickIndex=l,"category"===r.type&&(w.dataIndex=p),Fs(b).eventData=w}e.add(b),b.updateTransform(),d.push(b),t.add(b),b.decomposeTransform()})),d}}(i,n,e,t);(function(t,e,i){if(!E_(t.axis)){var n=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);i=i||[];var o=(e=e||[])[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=i[0],c=i[1],d=i[i.length-1],h=i[i.length-2];!1===n?(cC(o),cC(u)):dC(o,a)&&(n?(cC(a),cC(c)):(cC(o),cC(u))),!1===r?(cC(s),cC(d)):dC(l,s)&&(r?(cC(l),cC(h)):(cC(s),cC(d)))}})(e,o,r),function(t,e,i,n){var r=i.axis,o=i.getModel("minorTick");if(o.get("show")&&!r.scale.isBlank()){var a=r.getMinorTicksCoords();if(a.length)for(var s=o.getModel("lineStyle"),l=n*o.get("length"),u=O(s.getLineStyle(),O(i.getModel("axisTick").getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])})),c=0;c<a.length;c++)for(var d=fC(a[c],e.transform,l,u,"minorticks_"+c),h=0;h<d.length;h++)t.add(d[h])}}(i,n,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])&&jx(zx(F(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,i,n){var r=at(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,d=e.axis.getExtent(),h=d[0]>d[1]?-1:1,f=["start"===s?d[0]-h*c:"end"===s?d[1]+h*c:(d[0]+d[1])/2,hC(s)?t.labelOffset+l*c:0],p=e.get("nameRotate");null!=p&&(p=p*sC/180),hC(s)?o=lC.innerTextLayout(t.rotation,null!=p?p:t.rotation,l):(o=function(t,e,i,n){var r,o,a=$r(i-t),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return Ur(a-sC/2)?(o=l?"bottom":"top",r="center"):Ur(a-1.5*sC)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*sC&&a>sC/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,p||0,d),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),v=e.get("nameTruncate",!0)||{},m=v.ellipsis,y=at(t.nameTruncateMaxWidth,v.maxWidth,a),_=new Is({x:f[0],y:f[1],rotation:o.rotation,silent:lC.isLabelSilent(e),style:Fc(u,{text:r,font:g,overflow:"truncate",width:y,ellipsis:m,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Lc({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=lC.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,Fs(_).eventData=x}n.add(_),_.updateTransform(),i.add(_),_.decomposeTransform()}}};function cC(t){t&&(t.ignore=!0)}function dC(t,e){var i=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(i&&n){var r=xe([]);return Ce(r,r,-t.rotation),i.applyTransform(we([],r,t.getLocalTransform())),n.applyTransform(we([],r,e.getLocalTransform())),i.intersect(n)}}function hC(t){return"middle"===t||"center"===t}function fC(t,e,i,n,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=i,e&&($t(a,a,e),$t(s,s,e));var c=new Pu({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:n,z2:2,autoBatch:!0,silent:!0});yc(c.shape,c.style.lineWidth),c.anid=r+"_"+t[l].tickValue,o.push(c)}return o}function pC(t,e){return"all"===t||Y(t)&&E(t,e)>=0||t===e}function gC(t){var e=vC(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,r=i.option,o=i.get("status"),a=i.get("value");null!=a&&(a=n.parse(a));var s=mC(i);null==o&&(r.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function vC(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[yC(t)]}function mC(t){return!!t.get(["handle","show"])}function yC(t){return t.type+"||"+t.id}var _C={},xC=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(e,i,n,r){this.axisPointerClass&&gC(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,n,!0)},e.prototype.updateAxisPointer=function(t,e,i,n){this._doUpdateAxisPointerClass(t,i,!1)},e.prototype.remove=function(t,e){var i=this._axisPointer;i&&i.remove(e)},e.prototype.dispose=function(e,i){this._disposeAxisPointer(i),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,i,n){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=function(t){var e=vC(t);return e&&e.axisPointerModel}(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,i,n):this._disposeAxisPointer(i)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){_C[t]=e},e.getAxisPointerClass=function(t){return t&&_C[t]},e.type="axis",e}(Yp),bC=xo();function wC(t,e,i,n){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=n.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var c=s.length,d=bC(t).splitAreaColors,h=_t(),f=0;if(d)for(var p=0;p<u.length;p++){var g=d.get(u[p].tickValue);if(null!=g){f=(g+(c-1)*p)%c;break}}var v=r.toGlobalCoord(u[0].coord),m=a.getAreaStyle();for(s=Y(s)?s:[s],p=1;p<u.length;p++){var y=r.toGlobalCoord(u[p].coord),_=void 0,x=void 0,b=void 0,w=void 0;r.isHorizontal()?(_=v,x=l.y,b=y-_,w=l.height,v=_+b):(_=l.x,x=v,b=l.width,v=x+(w=y-x));var S=u[p-1].tickValue;null!=S&&h.set(S,f),e.add(new Cs({anid:null!=S?"area_"+S:null,shape:{x:_,y:x,width:b,height:w},style:O({fill:s[f]},m),autoBatch:!0,silent:!0})),f=(f+1)%c}bC(t).splitAreaColors=h}}}function SC(t){bC(t).splitAreaColors=null}var CC=["axisLine","axisTickLabel","axisName"],MC=["splitArea","splitLine","minorSplitLine"],TC=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="CartesianAxisPointer",i}return i(e,t),e.prototype.render=function(e,i,n,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Ar,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=KS(a,e),l=new lC(e,P({handleAutoShown:function(t){for(var i=a.coordinateSystem.getCartesians(),n=0;n<i.length;n++)if(Ny(i[n].getOtherAxis(e.axis).scale))return!0;return!1}},s));V(CC,l.add,l),this._axisGroup.add(l.getGroup()),V(MC,(function(t){e.get([t,"show"])&&IC[t](this,this._axisGroup,e,a)}),this),r&&"changeAxisOrder"===r.type&&r.isInitSort||Cc(o,this._axisGroup,e),t.prototype.render.call(this,e,i,n,r)}},e.prototype.remove=function(){SC(this)},e.type="cartesianAxis",e}(xC),IC={splitLine:function(t,e,i,n){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=Y(s)?s:[s];for(var l=n.coordinateSystem.getRect(),u=r.isHorizontal(),c=0,d=r.getTicksCoords({tickModel:o}),h=[],f=[],p=a.getLineStyle(),g=0;g<d.length;g++){var v=r.toGlobalCoord(d[g].coord);u?(h[0]=v,h[1]=l.y,f[0]=v,f[1]=l.y+l.height):(h[0]=l.x,h[1]=v,f[0]=l.x+l.width,f[1]=v);var m=c++%s.length,y=d[g].tickValue,_=new Pu({anid:null!=y?"line_"+d[g].tickValue:null,autoBatch:!0,shape:{x1:h[0],y1:h[1],x2:f[0],y2:f[1]},style:O({stroke:s[m]},p),silent:!0});yc(_.shape,p.lineWidth),e.add(_)}}},minorSplitLine:function(t,e,i,n){var r=i.axis,o=i.getModel("minorSplitLine").getModel("lineStyle"),a=n.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],c=[],d=o.getLineStyle(),h=0;h<l.length;h++)for(var f=0;f<l[h].length;f++){var p=r.toGlobalCoord(l[h][f].coord);s?(u[0]=p,u[1]=a.y,c[0]=p,c[1]=a.y+a.height):(u[0]=a.x,u[1]=p,c[0]=a.x+a.width,c[1]=p);var g=new Pu({anid:"minor_line_"+l[h][f].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:d,silent:!0});yc(g.shape,d.lineWidth),e.add(g)}},splitArea:function(t,e,i,n){wC(t,e,i,n)}},AC=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="xAxis",e}(TC),DC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=AC.type,e}return i(e,t),e.type="yAxis",e}(TC),kC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return i(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new Cs({shape:t.coordinateSystem.getRect(),style:O({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(Yp),LC={offset:0};function PC(t){t.registerComponentView(kC),t.registerComponentModel(zS),t.registerCoordinateSystem("cartesian2d",nC),$S(t,"x",VS,LC),$S(t,"y",VS,LC),t.registerComponentView(AC),t.registerComponentView(DC),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function OC(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),i=[],n=t.coordinateSystem;if(n){var r=n.getIndicatorAxes();V(r,(function(t,o){e.each(e.mapDimension(r[o].dim),(function(t,e){i[e]=i[e]||[];var r=n.dataToPoint(t,o);i[e][o]=RC(r)?r:EC(n)}))})),e.each((function(t){var r=G(i[t],(function(t){return RC(t)}))||EC(n);i[t].push(r.slice()),e.setItemLayout(t,i[t])}))}}))}function RC(t){return!isNaN(t[0])&&!isNaN(t[1])}function EC(t){return[t.cx,t.cy]}function NC(t){var e=t.polar;if(e){Y(e)||(e=[e]);var i=[];V(e,(function(e,n){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],Y(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):i.push(e)})),t.polar=i}V(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var BC=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){var n=t.coordinateSystem,r=this.group,o=t.getData(),a=this._data;function s(t,e){var i=t.getItemVisual(e,"symbol")||"circle";if("none"!==i){var n=cv(t.getItemVisual(e,"symbolSize")),r=uv(i,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:n[0]/2,scaleY:n[1]/2,rotation:o*Math.PI/180||0}),r}}function l(e,i,n,r,o,a){n.removeAll();for(var l=0;l<i.length-1;l++){var u=s(r,o);u&&(u.__dimIdx=l,e[l]?(u.setPosition(e[l]),Rc[a?"initProps":"updateProps"](u,{x:i[l][0],y:i[l][1]},t,o)):u.setPosition(i[l]),n.add(u))}}function u(t){return F(t,(function(t){return[n.cx,n.cy]}))}o.diff(a).add((function(e){var i=o.getItemLayout(e);if(i){var n=new Iu,r=new Du,a={shape:{points:i}};n.shape.points=u(i),r.shape.points=u(i),tc(n,a,t,e),tc(r,a,t,e);var s=new Ar,c=new Ar;s.add(r),s.add(n),s.add(c),l(r.shape.points,i,c,o,e,!0),o.setItemGraphicEl(e,s)}})).update((function(e,i){var n=a.getItemGraphicEl(i),r=n.childAt(0),s=n.childAt(1),u=n.childAt(2),c={shape:{points:o.getItemLayout(e)}};c.shape.points&&(l(r.shape.points,c.shape.points,u,o,e,!1),oc(s),oc(r),Ju(r,c,t),Ju(s,c,t),o.setItemGraphicEl(e,n))})).remove((function(t){r.remove(a.getItemGraphicEl(t))})).execute(),o.eachItemGraphicEl((function(t,e){var i=o.getItemModel(e),n=t.childAt(0),a=t.childAt(1),s=t.childAt(2),l=o.getItemVisual(e,"style"),u=l.fill;r.add(t),n.useStyle(O(i.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),Rl(n,i,"lineStyle"),Rl(a,i,"areaStyle");var c=i.getModel("areaStyle"),d=c.isEmpty()&&c.parentModel.isEmpty();a.ignore=d,V(["emphasis","select","blur"],(function(t){var e=i.getModel([t,"areaStyle"]),n=e.isEmpty()&&e.parentModel.isEmpty();a.ensureState(t).ignore=n&&d})),a.useStyle(O(c.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var h=i.getModel("emphasis"),f=h.getModel("itemStyle").getItemStyle();s.eachChild((function(t){if(t instanceof ms){var n=t.style;t.useStyle(P({image:n.image,x:n.x,y:n.y,width:n.width,height:n.height},l))}else t.useStyle(l),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=D(f);var r=o.getStore().get(o.getDimensionIndex(t.__dimIdx),e);(null==r||isNaN(r))&&(r=""),zc(t,Vc(i),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:r,inheritColor:u,defaultOpacity:l.opacity})})),kl(t,h.get("focus"),h.get("blurScope"),h.get("disabled"))})),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(qp),zC=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new kS($(this.getData,this),$(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return DS(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,i){var n=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(t),a=""===o?this.name:o,s=Op(this,t);return Mp("section",{header:a,sortBlocks:!0,blocks:F(r,(function(e){var i=n.get(n.mapDimension(e.dim),t);return Mp("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:i,sortParam:i})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),i=this.coordinateSystem,n=e.getValues(F(i.dimensions,(function(t){return e.mapDimension(t)})),t),r=0,o=n.length;r<o;r++)if(!isNaN(n[r])){var a=i.getIndicatorAxes();return i.coordToPoint(a[r].dataToCoord(n[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(Vp),VC=GS.value;function FC(t,e){return O({show:e},t)}var jC=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),d=F(this.get("indicator")||[],(function(d){null!=d.max&&d.max>0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var h=a;null!=d.color&&(h=O({color:d.color},a));var f=k(D(d),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:r,axisLabel:o,name:d.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:h,triggerEvent:c},!1);if(Q(l)){var p=f.name;f.name=l.replace("{value}",null!=p?p:"")}else Z(l)&&(f.name=l(f.name,f));var g=new ld(f,null,this.ecModel);return B(g,B_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=d},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:k({lineStyle:{color:"#bbb"}},VC.axisLine),axisLabel:FC(VC.axisLabel,!1),axisTick:FC(VC.axisTick,!1),splitLine:FC(VC.splitLine,!0),splitArea:FC(VC.splitArea,!0),indicator:[]},e}(dh),HC=["axisLine","axisTickLabel","axisName"],GC=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;V(F(e.getIndicatorAxes(),(function(t){var i=t.model.get("showName")?t.name:"";return new lC(t.model,{axisName:i,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){V(HC,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes();if(i.length){var n=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),c=a.get("color"),d=s.get("color"),h=Y(c)?c:[c],f=Y(d)?d:[d],p=[],g=[];if("circle"===n)for(var v=i[0].getTicksCoords(),m=e.cx,y=e.cy,_=0;_<v.length;_++)l&&p[I(p,h,_)].push(new au({shape:{cx:m,cy:y,r:v[_].coord}})),u&&_<v.length-1&&g[I(g,f,_)].push(new Cu({shape:{cx:m,cy:y,r0:v[_].coord,r:v[_+1].coord}}));else{var x,b=F(i,(function(t,i){var n=t.getTicksCoords();return x=null==x?n.length-1:Math.min(n.length-1,x),F(n,(function(t){return e.coordToPoint(t.coord,i)}))})),w=[];for(_=0;_<=x;_++){for(var S=[],C=0;C<i.length;C++)S.push(b[C][_]);S[0]&&S.push(S[0].slice()),l&&p[I(p,h,_)].push(new Du({shape:{points:S}})),u&&w&&g[I(g,f,_-1)].push(new Iu({shape:{points:S.concat(w)}})),w=S.slice().reverse()}}var M=a.getLineStyle(),T=s.getAreaStyle();V(g,(function(t,e){this.group.add(vc(t,{style:O({stroke:"none",fill:f[e%f.length]},T),silent:!0}))}),this),V(p,(function(t,e){this.group.add(vc(t,{style:O({fill:"none",stroke:h[e%h.length]},M),silent:!0}))}),this)}function I(t,e,i){var n=i%e.length;return t[n]=t[n]||[],n}},e.type="radar",e}(Yp),WC=function(t){function e(e,i,n){var r=t.call(this,e,i,n)||this;return r.type="value",r.angle=0,r.name="",r}return i(e,t),e}(hx),$C=function(){function t(t,e,i){this.dimensions=[],this._model=t,this._indicatorAxes=F(t.getIndicatorModels(),(function(t,e){var i="indicator_"+e,n=new WC(i,new $y);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n}),this),this.resize(t,i)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(i),this.cy-t*Math.sin(i)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var r,o=Math.atan2(-i,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(r=u,s=l,a=c)}return[s,+(r&&r.coordToData(n))]},t.prototype.resize=function(t,e){var i=t.get("center"),n=e.getWidth(),r=e.getHeight(),o=Math.min(n,r)/2;this.cx=Nr(i[0],n),this.cy=Nr(i[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(Q(a)||q(a))&&(a=[0,a]),this.r0=Nr(a[0],o),this.r=Nr(a[1],o),V(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var i=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;i=Math.atan2(Math.sin(i),Math.cos(i)),t.angle=i}),this)},t.prototype.update=function(t,e){var i=this._indicatorAxes,n=this._model;V(i,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===n){var o=e.getData();V(i,(function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))}))}}),this);var r=n.get("splitNumber"),o=new $y;o.setExtent(0,r),o.setInterval(1),V(i,(function(t,e){iC(t.scale,t.model,o)}))},t.prototype.convertToPixel=function(t,e,i){return n("warn","Not implemented."," at uni_modules/lime-echart/static/echarts.min.js:47"),null},t.prototype.convertFromPixel=function(t,e,i){return n("warn","Not implemented."," at uni_modules/lime-echart/static/echarts.min.js:47"),null},t.prototype.containPoint=function(t){return n("warn","Not implemented."," at uni_modules/lime-echart/static/echarts.min.js:47"),!1},t.create=function(e,i){var n=[];return e.eachComponent("radar",(function(r){var o=new t(r,e,i);n.push(o),r.coordinateSystem=o})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},t.dimensions=[],t}();function UC(t){t.registerCoordinateSystem("radar",$C),t.registerComponentModel(jC),t.registerComponentView(GC),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}var YC="\0_ec_interaction_mutex";function ZC(t,e){return!!QC(t)[e]}function QC(t){return t[YC]||(t[YC]={})}zm({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},Ct);var XC=function(t){function e(e){var i=t.call(this)||this;i._zr=e;var n=$(i._mousedownHandler,i),r=$(i._mousemoveHandler,i),o=$(i._mouseupHandler,i),a=$(i._mousewheelHandler,i),s=$(i._pinchHandler,i);return i.enable=function(t,i){this.disable(),this._opt=O(D(i)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",s))},i.disable=function(){e.off("mousedown",n),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},i}return i(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!ve(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var i=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,i,n)&&(this._x=i,this._y=n,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&JC("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!ZC(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,r=this._y,o=e-n,a=i-r;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&ge(t.event),KC(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:n,oldY:r,newX:e,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){ve(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=JC("zoomOnMouseWheel",t,this._opt),i=JC("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,r=Math.abs(n),o=t.offsetX,a=t.offsetY;if(0!==n&&(e||i)){if(e){var s=r>3?1.4:r>1?1.2:1.1;qC(this,"zoom","zoomOnMouseWheel",t,{scale:n>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(i){var l=Math.abs(n);qC(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(n>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){ZC(this._zr,"globalPan")||qC(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(qt);function qC(t,e,i,n,r){t.pointerChecker&&t.pointerChecker(n,r.originX,r.originY)&&(ge(n.event),KC(t,e,i,n,r))}function KC(t,e,i,n,r){r.isAvailableBehavior=$(JC,null,i,n),t.trigger(e,r)}function JC(t,e,i){var n=i[t];return!t||n&&(!Q(n)||e.event[n+"Key"])}function tM(t,e,i){var n=t.target;n.x+=e,n.y+=i,n.dirty()}function eM(t,e,i,n){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(i-r.x)*(u-1),r.y-=(n-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var iM,nM={axisPointer:1,tooltip:1,brush:1};function rM(t,e,i){var n=e.getComponentByElement(t.topTarget),r=n&&n.coordinateSystem;return n&&n!==i&&!nM.hasOwnProperty(n.mainType)&&r&&r.model!==i}function oM(t){Q(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var aM={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},sM=W(aM),lM={"alignment-baseline":"textBaseline","stop-color":"stopColor"},uM=W(lM),cM=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var i=oM(t);this._defsUsePending=[];var n=new Ar;this._root=n;var r=[],o=i.getAttribute("viewBox")||"",a=parseFloat(i.getAttribute("width")||e.width),s=parseFloat(i.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),vM(i,n,null,!0,!1);for(var l,u,c=i.firstChild;c;)this._parseNode(c,n,r,null,!1,!1),c=c.nextSibling;if(function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n[0].style[n[1]]=t[n[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var d=xM(o);d.length>=4&&(l={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(l&&null!=a&&null!=s&&(u=MM(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var h=n;(n=new Ar).add(h),h.scaleX=h.scaleY=u.scale,h.x=u.x,h.y=u.y}return e.ignoreRootClip||null==a||null==s||n.setClipPath(new Cs({shape:{x:0,y:0,width:a,height:s}})),{root:n,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,i,n,r,o){var a,s=t.nodeName.toLowerCase(),l=n;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=iM[s];if(u&&St(iM,s)){a=u.call(this,t,e);var c=t.getAttribute("name");if(c){var d={name:c,namedFrom:null,svgNodeTagLower:s,el:a};i.push(d),"g"===s&&(l=d)}else n&&i.push({name:n.name,namedFrom:n,svgNodeTagLower:s,el:a});e.add(a)}}var h=dM[s];if(h&&St(dM,s)){var f=h.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=f)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,i,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var i=new ps({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});pM(e,i),vM(t,i,this._defsUsePending,!1,!1),function(t,e){var i=e.__selfStyle;if(i){var n=i.textBaseline,r=n;n&&"auto"!==n?"baseline"===n?r="alphabetic":"before-edge"===n||"text-before-edge"===n?r="top":"after-edge"===n||"text-after-edge"===n?r="bottom":"central"!==n&&"mathematical"!==n||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(i,e);var n=i.style,r=n.fontSize;r&&r<9&&(n.fontSize=9,i.scaleX*=r/9,i.scaleY*=r/9);var o=(n.fontSize||n.fontFamily)&&[n.fontStyle,n.fontWeight,(n.fontSize||12)+"px",n.fontFamily||"sans-serif"].join(" ");n.font=o;var a=i.getBoundingRect();return this._textX+=a.width,e.add(i),i},t.internalField=void(iM={g:function(t,e){var i=new Ar;return pM(e,i),vM(t,i,this._defsUsePending,!1,!1),i},rect:function(t,e){var i=new Cs;return pM(e,i),vM(t,i,this._defsUsePending,!1,!1),i.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),i.silent=!0,i},circle:function(t,e){var i=new au;return pM(e,i),vM(t,i,this._defsUsePending,!1,!1),i.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),i.silent=!0,i},line:function(t,e){var i=new Pu;return pM(e,i),vM(t,i,this._defsUsePending,!1,!1),i.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),i.silent=!0,i},ellipse:function(t,e){var i=new lu;return pM(e,i),vM(t,i,this._defsUsePending,!1,!1),i.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),i.silent=!0,i},polygon:function(t,e){var i,n=t.getAttribute("points");n&&(i=gM(n));var r=new Iu({shape:{points:i||[]},silent:!0});return pM(e,r),vM(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var i,n=t.getAttribute("points");n&&(i=gM(n));var r=new Du({shape:{points:i||[]},silent:!0});return pM(e,r),vM(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var i=new ms;return pM(e,i),vM(t,i,this._defsUsePending,!1,!1),i.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),i.silent=!0,i},text:function(t,e){var i=t.getAttribute("x")||"0",n=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(n)+parseFloat(o);var a=new Ar;return pM(e,a),vM(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var i=t.getAttribute("x"),n=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=n&&(this._textY=parseFloat(n));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Ar;return pM(e,a),vM(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var i=nu(t.getAttribute("d")||"");return pM(e,i),vM(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}),t}(),dM={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),i=parseInt(t.getAttribute("y1")||"0",10),n=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new ju(e,i,n,r);return hM(t,o),fM(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),i=parseInt(t.getAttribute("cy")||"0",10),n=parseInt(t.getAttribute("r")||"0",10),r=new Hu(e,i,n);return hM(t,r),fM(t,r),r}};function hM(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function fM(t,e){for(var i=t.firstChild;i;){if(1===i.nodeType&&"stop"===i.nodeName.toLocaleLowerCase()){var n,r=i.getAttribute("offset");n=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var o={};CM(i,o,o);var a=o.stopColor||i.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:n,color:a})}i=i.nextSibling}}function pM(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),O(e.__inheritedStyle,t.__inheritedStyle))}function gM(t){for(var e=xM(t),i=[],n=0;n<e.length;n+=2){var r=parseFloat(e[n]),o=parseFloat(e[n+1]);i.push([r,o])}return i}function vM(t,e,i,n,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var i=t.getAttribute("transform");if(i){i=i.replace(/,/g," ");var n=[],r=null;i.replace(bM,(function(t,e,i){return n.push(e,i),""}));for(var o=n.length-1;o>0;o-=2){var a=n[o],s=n[o-1],l=xM(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":Se(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Me(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Ce(r,r,-parseFloat(l[0])*wM);break;case"skewX":we(r,[1,0,Math.tan(parseFloat(l[0])*wM),1,0,0],r);break;case"skewY":we(r,[1,Math.tan(parseFloat(l[0])*wM),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),CM(t,a,s),n||function(t,e,i){for(var n=0;n<sM.length;n++){var r=sM[n];null!=(o=t.getAttribute(r))&&(e[aM[r]]=o)}for(n=0;n<uM.length;n++){var o;r=uM[n],null!=(o=t.getAttribute(r))&&(i[lM[r]]=o)}}(t,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=yM(o,"fill",a.fill,i)),null!=a.stroke&&(o.style.stroke=yM(o,"stroke",a.stroke,i)),V(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))})),V(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=a[t]&&(o.style[t]=a[t])})),r&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=F(xM(a.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}var mM=/^url\(\s*#(.*?)\)/;function yM(t,e,i,n){var r=i&&i.match(mM);if(!r)return"none"===i&&(i=null),i;var o=ht(r[1]);n.push([t,e,o])}var _M=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function xM(t){return t.match(_M)||[]}var bM=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,wM=Math.PI/180,SM=/([^\s:;]+)\s*:\s*([^:;]+)/g;function CM(t,e,i){var n,r=t.getAttribute("style");if(r)for(SM.lastIndex=0;null!=(n=SM.exec(r));){var o=n[1],a=St(aM,o)?aM[o]:null;a&&(e[a]=n[2]);var s=St(lM,o)?lM[o]:null;s&&(i[s]=n[2])}}function MM(t,e){var i=e.width/t.width,n=e.height/t.height,r=Math.min(i,n);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}for(var TM=_t(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),IM=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=_t(),this._freedGraphics=[],this._mapName=t,this._parsedXML=oM(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],i=_t();return V(t,(function(t){if(null==t.namedFrom){var n=new Q_(t.name,t.el);e.push(n),i.set(t.name,n)}})),{regions:e,regionsMap:i}}(t.named),i=e.regions,n=e.regionsMap;this._regions=i,this._regionsMap=n}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,i,n,r;try{dt(null!=(i=(e=t&&(n=t,r={ignoreViewBox:!0,ignoreRootClip:!0},(new cM).parse(n,r))||{}).root))}catch(t){throw new Error("Invalid svg format\n"+t.message)}var o=new Ar;o.add(i),o.isGeoSVGGraphicRoot=!0;var a=e.width,s=e.height,l=e.viewBoxRect,u=this._boundingRect;if(!u){var c=void 0,d=void 0,h=void 0,f=void 0;if(null!=a?(c=0,h=a):l&&(c=l.x,h=l.width),null!=s?(d=0,f=s):l&&(d=l.y,f=l.height),null==c||null==d){var p=i.getBoundingRect();null==c&&(c=p.x,h=p.width),null==d&&(d=p.y,f=p.height)}u=this._boundingRect=new ze(c,d,h,f)}if(l){var g=MM(l,u);i.scaleX=i.scaleY=g.scale,i.x=g.x,i.y=g.y}o.setClipPath(new Cs({shape:u.plain()}));var v=[];return V(e.named,(function(t){var e;null!=TM.get(t.svgNodeTagLower)&&(v.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse((function(t){t.silent=!1})))})),{root:o,boundingRect:u,named:v}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,i=e.get(t);return i||(i=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,i),i)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,i=e.get(t);i&&(e.removeKey(t),this._freedGraphics.push(i))},t}(),AM=[126,25],DM=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],kM=0;kM<DM.length;kM++)for(var LM=0;LM<DM[kM].length;LM++)DM[kM][LM][0]/=10.5,DM[kM][LM][1]/=-14,DM[kM][LM][0]+=AM[0],DM[kM][LM][1]+=AM[1];var PM={"\u5357\u6d77\u8bf8\u5c9b":[32,80],"\u5e7f\u4e1c":[0,-10],"\u9999\u6e2f":[10,5],"\u6fb3\u95e8":[-10,10],"\u5929\u6d25":[5,5]},OM=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]],RM=function(){function t(t,e,i){var n;this.type="geoJSON",this._parsedMap=_t(),this._mapName=t,this._specialAreas=i,this._geoJSON=Q(n=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(n):new Function("return ("+n+");")():n}return t.prototype.load=function(t,e){e=e||"name";var i=this._parsedMap.get(e);if(!i){var n=this._parseToRegions(e);i=this._parsedMap.set(e,{regions:n,boundingRect:EM(n)})}var r=_t(),o=[];return V(i.regions,(function(e){var i=e.name;t&&St(t,i)&&(e=e.cloneShallow(i=t[i])),o.push(e),r.set(i,e)})),{regions:o,boundingRect:i.boundingRect||new ze(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,i=this._mapName,n=this._geoJSON;try{e=n?K_(n,t):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return function(t,e){if("china"===t){for(var i=0;i<e.length;i++)if("\u5357\u6d77\u8bf8\u5c9b"===e[i].name)return;e.push(new Z_("\u5357\u6d77\u8bf8\u5c9b",F(DM,(function(t){return{type:"polygon",exterior:t}})),AM))}}(i,e),V(e,(function(t){var e=t.name;!function(t,e){if("china"===t){var i=PM[e.name];if(i){var n=e.getCenter();n[0]+=i[0]/10.5,n[1]+=-i[1]/14,e.setCenter(n)}}}(i,t),function(t,e){"china"===t&&"\u53f0\u6e7e"===e.name&&e.geometries.push({type:"polygon",exterior:OM[0]})}(i,t);var n=this._specialAreas&&this._specialAreas[e];n&&t.transformTo(n.left,n.top,n.width,n.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function EM(t){for(var e,i=0;i<t.length;i++){var n=t[i].getBoundingRect();(e=e||n.clone()).union(n)}return e}var NM=_t(),BM=function(t){return NM.get(t)},zM=function(t,e,i){var n=NM.get(t);if(n)return n.load(e,i)},VM=["rect","circle","line","ellipse","polygon","polyline","path"],FM=_t(VM),jM=_t(VM.concat(["g"])),HM=_t(VM.concat(["g"])),GM=xo();function WM(t){var e=t.getItemStyle(),i=t.get("areaColor");return null!=i&&(e.fill=i),e}function $M(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var UM=function(){function t(t){var e=new Ar;this.uid=cd("ec_map_draw"),this._controller=new XC(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new Ar),e.add(this._svgGroup=new Ar)}return t.prototype.draw=function(t,e,i,n,r){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){a||e.getHostGeoModel()!==t||(a=e.getData())}));var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),d=c.raw,h=c.roam;!l.childAt(0)||r?(u.x=h.x,u.y=h.y,u.scaleX=h.scaleX,u.scaleY=h.scaleY,u.dirty()):Ju(u,h,t);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,p={api:i,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:d};"geoJSON"===s.resourceType?this._buildGeoJSON(p):"geoSVG"===s.resourceType&&this._buildSVG(p),this._updateController(t,e,i),this._updateMapSelectHandler(t,l,i,n)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=_t(),i=_t(),n=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function c(t){for(var e=[],i=!l&&s&&s.project,n=0;n<t.length;++n){var r=u(t[n],i);r&&e.push(r)}return e}function d(t){return{shape:{points:c(t)}}}n.removeAll(),V(t.geo.regions,(function(r){var c=r.name,h=e.get(c),f=i.get(c)||{},p=f.dataIdx,g=f.regionModel;h||(h=e.set(c,new Ar),n.add(h),p=a?a.indexOfName(c):null,g=t.isGeo?o.getRegionModel(c):a?a.getItemModel(p):null,i.set(c,{dataIdx:p,regionModel:g}));var v=[],m=[];V(r.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=KM(e,l)),V(e,(function(t){v.push(new Iu(d(t)))}))}else{var i=t.points;l&&(i=KM(i,l,!0)),V(i,(function(t){m.push(new Du(d(t)))}))}}));var y=u(r.getCenter(),s&&s.project);function _(e,i){if(e.length){var n=new Vu({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});h.add(n),YM(t,n,p,g),ZM(t,n,c,g,o,p,y),i&&($M(n),V(n.states,$M))}}_(v),_(m,!0)})),e.each((function(e,n){var r=i.get(n),a=r.dataIdx,s=r.regionModel;QM(t,e,n,s,o,a),XM(t,e,n,s,o),qM(t,e,n,s,o)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,i=t.transformInfoRaw;this._svgGroup.x=i.x,this._svgGroup.y=i.y,this._svgGroup.scaleX=i.scaleX,this._svgGroup.scaleY=i.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var n=this._svgDispatcherMap=_t(),r=!1;V(this._svgGraphicRecord.named,(function(e){var i=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,u=a?a.indexOfName(i):null,c=o.getRegionModel(i);null!=FM.get(s)&&l instanceof ca&&YM(t,l,u,c),l instanceof ca&&(l.culling=!0),l.z2EmphasisLift=0,e.namedFrom||(null!=HM.get(s)&&ZM(t,l,i,c,o,u,null),QM(t,l,i,c,o,u),XM(t,l,i,c,o),null!=jM.get(s)&&("self"===qM(t,l,i,c,o)&&(r=!0),(n.get(i)||n.set(i,[])).push(l)))}),this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var i=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){fl(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=i&&(e.opacity=i),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var i=e.coordinateSystem;if("geoJSON"===i.resourceType){var n=this._regionsGroupByName;if(n){var r=n.get(t);return r?[r]:[]}}else if("geoSVG"===i.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=BM(t);if(e&&"geoSVG"===e.type){var i=e.useGraphic(this.uid);this._svgGroup.add(i.root),this._svgGraphicRecord=i,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=BM(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,i){var n=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=n.getZoom(),r.enable(t.get("roam")||!1);var a=t.mainType;function s(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}r.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,tM(o,t.dx,t.dy),i.dispatchAction(P(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,eM(o,t.scale,t.originX,t.originY),i.dispatchAction(P(s(),{zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(e,r,o){return n.containPoint([r,o])&&!rM(e,i,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=GM(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,i,n){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}();function YM(t,e,i,n){var r=n.getModel("itemStyle"),o=n.getModel(["emphasis","itemStyle"]),a=n.getModel(["blur","itemStyle"]),s=n.getModel(["select","itemStyle"]),l=WM(r),u=WM(o),c=WM(s),d=WM(a),h=t.data;if(h){var f=h.getItemVisual(i,"style"),p=h.getItemVisual(i,"decal");t.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),p&&(l.decal=Nv(p,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=d,fl(e)}function ZM(t,e,i,n,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var d=l?i:o,h=void 0;(!s||o>=0)&&(h=r);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;zc(e,Vc(n),{labelFetcher:h,labelDataIndex:d,defaultText:i},f);var p=e.getTextContent();if(p&&(GM(p).ignore=p.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function QM(t,e,i,n,r,o){t.data?t.data.setItemGraphicEl(o,e):Fs(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:i,region:n&&n.option||{}}}function XM(t,e,i,n,r){t.data||Lc({el:e,componentModel:r,itemName:i,itemTooltipOption:n.get("tooltip")})}function qM(t,e,i,n,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=n.getModel("emphasis"),a=o.get("focus");return kl(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,i){var n=Fs(t);n.componentMainType=e.mainType,n.componentIndex=e.componentIndex,n.componentHighDownName=i}(e,r,i),a}function KM(t,e,i){var n,r=[];function o(){n=[]}function a(){n.length&&(r.push(n),n=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&n.push([t,e])},sphere:function(){}});return!i&&s.polygonStart(),V(t,(function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()})),!i&&s.polygonEnd(),r}var JM=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&n&&"geoRoam"===n.type&&this._mapDraw.resetForLabelLayout(),n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id)(o=this._mapDraw)&&r.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new UM(i);r.add(o.group),o.draw(t,e,i,this,n),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,i){var n=t.originalData,r=this.group;n.each(n.mapDimension("value"),(function(e,i){if(!isNaN(e)){var o=n.getItemLayout(i);if(o&&o.point){var a=o.point,s=o.offset,l=new au({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:11)});if(!s){var u=t.mainSeries.getData(),c=n.getName(i),d=u.indexOfName(c),h=n.getItemModel(i),f=h.getModel("label"),p=u.getItemGraphicEl(d);zc(l,Vc(h),{labelFetcher:{getFormattedLabel:function(e,i){return t.getFormattedLabel(d,i)}},defaultText:c}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(t){dl(l,t)}}r.add(l)}}}))},e.type="map",e}(qp),tT=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.needsDrawMap=!1,i.seriesGroup=[],i.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.getCenter())}},i}return i(e,t),e.prototype.getInitialData=function(t){for(var e=DS(this,{coordDimensions:["value"],encodeDefaulter:U(Mh,this)}),i=_t(),n=[],r=0,o=e.count();r<o;r++){var a=e.getName(r);i.set(a,!0)}return V(zM(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var e=t.name;i.get(e)||n.push(e)})),e.appendValues([],n),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,i){for(var n=this.getData(),r=this.getRawValue(t),o=n.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=n.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return Mp("section",{header:s.join(", "),noHeader:!s.length,blocks:[Mp("nameValue",{name:o,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",i=uv(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return i.setStyle(t.itemStyle),i.style.stroke="none",e.indexOf("empty")>-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Vp);function eT(t){var e={};t.eachSeriesByType("map",(function(t){var i=t.getHostGeoModel(),n=i?"o"+i.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)})),V(e,(function(t,e){for(var i,n,r,o=(i=F(t,(function(t){return t.getData()})),n=t[0].get("mapValueCalculation"),r={},V(i,(function(t){t.each(t.mapDimension("value"),(function(e,i){var n="ec-"+t.getName(i);r[n]=r[n]||[],isNaN(e)||r[n].push(e)}))})),i[0].map(i[0].mapDimension("value"),(function(t,e){for(var o="ec-"+i[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,c=0;c<u;c++)s=Math.min(s,r[o][c]),l=Math.max(l,r[o][c]),a+=r[o][c];return 0===u?NaN:"min"===n?s:"max"===n?l:"average"===n?a/u:a}))),a=0;a<t.length;a++)t[a].originalData=t[a].getData();for(a=0;a<t.length;a++)t[a].seriesGroup=t,t[a].needsDrawMap=0===a&&!t[a].getHostGeoModel(),t[a].setData(o.cloneShallow()),t[a].mainSeries=t[0]}))}function iT(t){var e={};t.eachSeriesByType("map",(function(i){var n=i.getMapType();if(!i.getHostGeoModel()&&!e[n]){var r={};V(i.seriesGroup,(function(e){var i=e.coordinateSystem,n=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&n.each(n.mapDimension("value"),(function(t,e){var o=n.getName(e),a=i.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=i.dataToPoint(a.getCenter());r[o]=s+1,n.setItemLayout(e,{point:l,offset:s})}}))}));var o=i.getData();o.each((function(t){var e=o.getName(t),i=o.getItemLayout(t)||{};i.showLabel=!r[e],o.setItemLayout(t,i)})),e[n]=!0}}))}var nT=$t,rT=function(t){function e(e){var i=t.call(this)||this;return i.type="view",i.dimensions=["x","y"],i._roamTransformable=new sr,i._rawTransformable=new sr,i.name=e,i}return i(e,t),e.prototype.setBoundingRect=function(t,e,i,n){return this._rect=new ze(t,e,i,n),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,i,n){this._transformTo(t,e,i,n),this._viewRect=new ze(t,e,i,n)},e.prototype._transformTo=function(t,e,i,n){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new ze(t,e,i,n));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[Nr(t[0],e.getWidth()),Nr(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),r=this.getZoom();n=$t([],n,t),i=$t([],i,t),e.originX=n[0],e.originY=n[1],e.x=i[0]-n[0],e.y=i[1]-n[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),be(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],Te(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,i=new sr;return i.transform=e.transform,i.decomposeTransform(),{roam:{x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,i){var n=e?this._rawTransform:this.transform;return i=i||[],n?nT(i,t,n):At(i,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?nT([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,i){var n=oT(e);return n===this?n.dataToPoint(i):null},e.prototype.convertFromPixel=function(t,e,i){var n=oT(e);return n===this?n.pointToData(i):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(sr);function oT(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var aT={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},sT=["lng","lat"],lT=function(t){function e(e,i,n){var r=t.call(this,e)||this;r.dimensions=sT,r.type="geo",r._nameCoordMap=_t(),r.map=i;var o,a=n.projection,s=zM(i,n.nameMap,n.nameProperty),l=BM(i),u=(r.resourceType=l?l.type:null,r.regions=s.regions),c=aT[l.type];if(r._regionsMap=s.regionsMap,r.regions=s.regions,r.projection=a,a)for(var d=0;d<u.length;d++){var h=u[d].getBoundingRect(a);(o=o||h.clone()).union(h)}else o=s.boundingRect;return r.setBoundingRect(o.x,o.y,o.width,o.height),r.aspectScale=a?1:st(n.aspectScale,c.aspectScale),r._invertLongitute=!a&&c.invertLongitute,r}return i(e,t),e.prototype._transformTo=function(t,e,i,n){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new ze(t,e,i,n));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,i=0;i<e.length;i++){var n=e[i];if("geoJSON"===n.type&&n.contain(t))return e[i]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,i){if(Q(t)&&(t=this.getGeoCoord(t)),t){var n=this.projection;return n&&(t=n.project(t)),t&&this.projectedToPoint(t,e,i)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,i,n){return t.prototype.dataToPoint.call(this,e,i,n)},e.prototype.convertToPixel=function(t,e,i){var n=uT(e);return n===this?n.dataToPoint(i):null},e.prototype.convertFromPixel=function(t,e,i){var n=uT(e);return n===this?n.pointToData(i):null},e}(rT);function uT(t){var e=t.geoModel,i=t.seriesModel;return e?e.coordinateSystem:i?i.coordinateSystem||(i.getReferringComponents("geo",Co).models[0]||{}).coordinateSystem:null}function cT(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],r=i[1];if(isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=n[0],s=n[1],l=r[0],u=r[1];n=[1/0,1/0],r=[-1/0,-1/0];var c=function(t,e,i,a){for(var s=i-t,l=a-e,u=0;u<=100;u++){var c=u/100,d=o.project([t+s*c,e+l*c]);Ut(n,n,d),Yt(r,r,d)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(n[0],n[1],r[0]-n[0],r[1]-n[1])}}var d,h,f,p=this.getBoundingRect(),g=t.get("layoutCenter"),v=t.get("layoutSize"),m=e.getWidth(),y=e.getHeight(),_=p.width/p.height*this.aspectScale,x=!1;if(g&&v&&(d=[Nr(g[0],m),Nr(g[1],y)],h=Nr(v,Math.min(m,y)),isNaN(d[0])||isNaN(d[1])||isNaN(h)||(x=!0)),x)f={},_>1?(f.width=h,f.height=h/_):(f.height=h,f.width=h*_),f.y=d[1]-f.height/2,f.x=d[0]-f.width/2;else{var b=t.getBoxLayoutParams();b.aspect=_,f=rh(b,{width:m,height:y})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}B(lT,rT);var dT=function(){function t(){this.dimensions=sT}return t.prototype.create=function(t,e){var i=[];function n(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new lT(o+r,o,P({nameMap:t.get("nameMap")},n(t)));a.zoomLimit=t.get("scaleLimit"),i.push(a),t.coordinateSystem=a,a.model=t,a.resize=cT,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=i[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),V(r,(function(t,r){var o=F(t,(function(t){return t.get("nameMap")})),a=new lT(r,r,P({nameMap:L(o)},n(t[0])));a.zoomLimit=at.apply(null,F(t,(function(t){return t.get("scaleLimit")}))),i.push(a),a.resize=cT,a.resize(t[0],e),V(t,(function(t){t.coordinateSystem=a,function(t,e){V(e.get("geoCoord"),(function(e,i){t.addGeoCoord(i,e)}))}(a,t)}))})),i},t.prototype.getFilledRegions=function(t,e,i,n){for(var r=(t||[]).slice(),o=_t(),a=0;a<r.length;a++)o.set(r[a].name,r[a]);return V(zM(e,i,n).regions,(function(t){var e=t.name;!o.get(e)&&r.push({name:e})})),r},t}(),hT=new dT,fT=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(t,e,i){var n=BM(t.map);if(n&&"geoJSON"===n.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,i),lo(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=hT.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var i={};this._optionModelMap=j(e.regions||[],(function(e,n){var r=n.name;return r&&(e.set(r,new ld(n,t,t.ecModel)),n.selected&&(i[r]=!0)),e}),_t()),e.selectedMap||(e.selectedMap=i)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new ld(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var i=this.getRegionModel(t),n="normal"===e?i.get(["label","formatter"]):i.get(["emphasis","label","formatter"]),r={name:t};return Z(n)?(r.status=e,n(r)):Q(n)?n.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,i=e.selectedMode;i&&("multiple"!==i&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(dh);function pT(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function gT(t,e,i,n){var r=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(pT(t,s),n)),null!=a){if(i){var l=i.min||0,u=i.max||1/0;a=Math.max(Math.min(r*a,u),l)/r}t.scaleX*=a,t.scaleY*=a;var c=(e.originX-t.x)*(a-1),d=(e.originY-t.y)*(a-1);t.x-=c,t.y-=d,t.updateTransform(),t.setCenter(pT(t,s),n),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var vT=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.focusBlurEnabled=!0,i}return i(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,i,n){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new UM(i));var r=this._mapDraw;r.draw(t,e,i,this,n),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,i)},e.prototype._handleRegionClick=function(t){var e;qg(t.target,(function(t){return null!=(e=Fs(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,i){var n=this;this._mapDraw.group.traverse((function(t){var e=Fs(t).eventData;if(e)return n._model.isSelected(e.name)?i.enterSelect(t):i.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(Yp);function mT(t,e,i){(function(t,e,i){if(e.svg){var n=new IM(t,e.svg);NM.set(t,n)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?i=e.specialAreas:r=e,n=new RM(t,r,i),NM.set(t,n)}})(t,e,i)}function yT(t){function e(e,i){i.update="geo:updateSelectStatus",t.registerAction(i,(function(t,i){var n={},r=[];return i.eachComponent({mainType:"geo",query:t},(function(i){i[e](t.name),V(i.coordinateSystem.regions,(function(t){n[t.name]=i.isSelected(t.name)||!1}));var o=[];V(n,(function(t,e){n[e]&&o.push(e)})),r.push({geoIndex:i.componentIndex,name:o})})),{selected:n,allSelected:r,name:t.name}}))}t.registerCoordinateSystem("geo",hT),t.registerComponentModel(fT),t.registerComponentView(vT),t.registerImpl("registerMap",mT),t.registerImpl("getMap",(function(t){return function(t){var e=NM.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()}(t)})),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e,i){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=gT(r,t,e.get("scaleLimit"),i);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===n&&V(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))}function _T(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,r=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){!function(t){for(var e=t.children,i=e.length,n=0,r=0;--i>=0;){var o=e[i];o.hierNode.prelim+=n,o.hierNode.modifier+=n,r+=o.hierNode.change,n+=o.hierNode.shift+r}}(t);var o=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,i,n){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,d=s.hierNode.modifier;s=ST(s),o=CT(o),s&&o;){r=ST(r),a=CT(a),r.hierNode.ancestor=t;var h=s.hierNode.prelim+d-o.hierNode.prelim-u+n(s,o);h>0&&(TT(MT(s,t,i),t,h),u+=h,l+=h),d+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!ST(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=d-l),o&&!CT(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,i=t)}return i}(t,r,t.parentNode.hierNode.defaultAncestor||n[0],e)}function xT(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function bT(t){return arguments.length?t:IT}function wT(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function ST(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function CT(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function MT(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function TT(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function IT(t,e){return t.parentNode===e.parentNode?1:2}var AT=function(){this.parentPoint=[],this.childPoints=[]},DT=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new AT},e.prototype.buildPath=function(t,e){var i=e.childPoints,n=i.length,r=e.parentPoint,o=i[0],a=i[n-1];if(1===n)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=Nr(e.forkPosition,1),d=[];d[l]=r[l],d[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(d[0],d[1]),t.moveTo(o[0],o[1]),d[l]=o[l],t.lineTo(d[0],d[1]),d[l]=a[l],t.lineTo(d[0],d[1]),t.lineTo(a[0],a[1]);for(var h=1;h<n-1;h++){var f=i[h];t.moveTo(f[0],f[1]),d[l]=f[l],t.lineTo(d[0],d[1])}},e}(hs),kT=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._mainGroup=new Ar,i}return i(e,t),e.prototype.init=function(t,e){this._controller=new XC(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,i){var n=t.getData(),r=t.layoutInfo,o=this._mainGroup;"radial"===t.get("layout")?(o.x=r.x+r.width/2,o.y=r.y+r.height/2):(o.x=r.x,o.y=r.y),this._updateViewCoordSys(t,i),this._updateController(t,e,i);var a=this._data;n.diff(a).add((function(e){LT(n,e)&&PT(n,e,null,o,t)})).update((function(e,i){var r=a.getItemGraphicEl(i);LT(n,e)?PT(n,e,r,o,t):r&&ET(a,i,r,o,t)})).remove((function(e){var i=a.getItemGraphicEl(e);i&&ET(a,e,i,o,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&n.eachItemGraphicEl((function(e,n){e.off("click").on("click",(function(){i.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:n})}))})),this._data=n},e.prototype._updateViewCoordSys=function(t,e){var i=t.getData(),n=[];i.each((function(t){var e=i.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||n.push([+e.x,+e.y])}));var r=[],o=[];ba(n,r,o);var a=this._min,s=this._max;o[0]-r[0]==0&&(r[0]=a?a[0]:r[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-r[1]==0&&(r[1]=a?a[1]:r[1]-1,o[1]=s?s[1]:o[1]+1);var l=t.coordinateSystem=new rT;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=r,this._max=o},e.prototype._updateController=function(t,e,i){var n=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,n,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(n,r)&&!rM(e,i,t)})),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){tM(o,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){eM(o,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),n._updateNodeAndLinkScale(t),i.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),i=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(i)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=this._nodeScaleRatio,n=e.scaleX||1;return((e.getZoom()-1)*i+1)/n},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(qp);function LT(t,e){var i=t.getItemLayout(e);return i&&!isNaN(i.x)&&!isNaN(i.y)}function PT(t,e,i,n,r){var o=!i,a=t.tree.getNodeByDataIndex(e),s=a.getModel(),l=a.getVisual("style").fill,u=!1===a.isExpand&&0!==a.children.length?l:"#fff",c=t.tree.root,d=a.parentNode===c?a:a.parentNode||a,h=t.getItemGraphicEl(d.dataIndex),f=d.getLayout(),p=h?{x:h.__oldX,y:h.__oldY,rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:f,g=a.getLayout();o?((i=new dw(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=p.x,i.y=p.y):i.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),i.__radialOldRawX=i.__radialRawX,i.__radialOldRawY=i.__radialRawY,i.__radialRawX=g.rawX,i.__radialRawY=g.rawY,n.add(i),t.setItemGraphicEl(e,i),i.__oldX=i.x,i.__oldY=i.y,Ju(i,{x:g.x,y:g.y},r);var v=i.getSymbolPath();if("radial"===r.get("layout")){var m=c.children[0],y=m.getLayout(),_=m.children.length,x=void 0,b=void 0;if(g.x===y.x&&!0===a.isExpand&&m.children.length){var w={x:(m.children[0].getLayout().x+m.children[_-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[_-1].getLayout().y)/2};(x=Math.atan2(w.y-y.y,w.x-y.x))<0&&(x=2*Math.PI+x),(b=w.x<y.x)&&(x-=Math.PI)}else(x=Math.atan2(g.y-y.y,g.x-y.x))<0&&(x=2*Math.PI+x),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(b=g.x<y.x)&&(x-=Math.PI):(b=g.x>y.x)||(x-=Math.PI);var S=b?"left":"right",C=s.getModel("label"),M=C.get("rotate"),T=M*(Math.PI/180),I=v.getTextContent();I&&(v.setTextConfig({position:C.get("position")||S,rotation:null==M?-x:T,origin:"center"}),I.setStyle("verticalAlign","middle"))}var A=s.get(["emphasis","focus"]),D="relative"===A?xt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===A?a.getAncestorsIndices():"descendant"===A?a.getDescendantIndices():null;D&&(Fs(i).focus=D),function(t,e,i,n,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),d=t.getOrient(),h=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),g=n.__edge;if("curve"===u)e.parentNode&&e.parentNode!==i&&(g||(g=n.__edge=new Nu({shape:NT(c,d,h,r,r)})),Ju(g,{shape:NT(c,d,h,o,a)},t));else if("polyline"===u&&"orthogonal"===c&&e!==i&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var v=e.children,m=[],y=0;y<v.length;y++){var _=v[y].getLayout();m.push([_.x,_.y])}g||(g=n.__edge=new DT({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:d,forkPosition:f}})),Ju(g,{shape:{parentPoint:[a.x,a.y],childPoints:m}},t)}g&&("polyline"!==u||e.isExpand)&&(g.useStyle(O({strokeNoScale:!0,fill:null},p)),Rl(g,l,"lineStyle"),fl(g),s.add(g))}(r,a,c,i,p,f,g,n),i.__edge&&(i.onHoverStateChange=function(e){if("blur"!==e){var n=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);n&&1===n.hoverState||dl(i.__edge,e)}})}function OT(t,e,i,n,r){var o=RT(e.tree.root,t),a=o.source,s=o.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var u=e.getItemGraphicEl(a.dataIndex).__edge,c=l.__edge||(!1===a.isExpand||1===a.children.length?u:void 0),d=n.get("edgeShape"),h=n.get("layout"),f=n.get("orient"),p=n.get(["lineStyle","curveness"]);c&&("curve"===d?ic(c,{shape:NT(h,f,p,s,s),style:{opacity:0}},n,{cb:function(){i.remove(c)},removeOpt:r}):"polyline"===d&&"orthogonal"===n.get("layout")&&ic(c,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},n,{cb:function(){i.remove(c)},removeOpt:r}))}}function RT(t,e){for(var i,n=e.parentNode===t?e:e.parentNode||e;null==(i=n.getLayout());)n=n.parentNode===t?n:n.parentNode||n;return{source:n,sourceLayout:i}}function ET(t,e,i,n,r){var o=t.tree.getNodeByDataIndex(e),a=RT(t.tree.root,o).sourceLayout,s={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};ic(i,{x:a.x+1,y:a.y+1},r,{cb:function(){n.remove(i),t.setItemGraphicEl(e,null)},removeOpt:s}),i.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach((function(e){OT(e,t,n,r,s)})),OT(o,t,n,r,s)}function NT(t,e,i,n,r){var o,a,s,l,u,c,d,h;if("radial"===t){u=n.rawX,d=n.rawY,c=r.rawX,h=r.rawY;var f=wT(u,d),p=wT(u,d+(h-d)*i),g=wT(c,h+(d-h)*i),v=wT(c,h);return{x1:f.x||0,y1:f.y||0,x2:v.x||0,y2:v.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=n.x,d=n.y,c=r.x,h=r.y,"LR"!==e&&"RL"!==e||(o=u+(c-u)*i,a=d,s=c+(u-c)*i,l=h),"TB"!==e&&"BT"!==e||(o=u,a=d+(h-d)*i,s=c,l=h+(d-h)*i),{x1:u,y1:d,x2:c,y2:h,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var BT=xo();function zT(t){var e=t.mainData,i=t.datas;i||(i={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,WT(e,i,t),V(i,(function(i){V(e.TRANSFERABLE_METHODS,(function(e){i.wrapMethod(e,U(VT,t))}))})),e.wrapMethod("cloneShallow",U(jT,t)),V(e.CHANGABLE_METHODS,(function(i){e.wrapMethod(i,U(FT,t))})),dt(i[e.dataType]===e)}function VT(t,e){if(BT(this).mainData===this){var i=P({},BT(this).datas);i[this.dataType]=e,WT(e,i,t)}else $T(e,this.dataType,BT(this).mainData,t);return e}function FT(t,e){return t.struct&&t.struct.update(),e}function jT(t,e){return V(BT(e).datas,(function(i,n){i!==e&&$T(i.cloneShallow(),n,e,t)})),e}function HT(t){var e=BT(this).mainData;return null==t||null==e?e:BT(e).datas[t]}function GT(){var t=BT(this).mainData;return null==t?[{data:t}]:F(W(BT(t).datas),(function(e){return{type:e,data:BT(t).datas[e]}}))}function WT(t,e,i){BT(t).datas={},V(e,(function(e,n){$T(e,n,t,i)}))}function $T(t,e,i,n){BT(i).datas[e]=t,BT(t).mainData=i,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=HT,t.getLinkedDataAll=GT}var UT=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,i){Z(t)&&(i=e,e=t,t=null),Q(t=t||{})&&(t={order:t});var n,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(n=e.call(i,this));for(var a=0;!n&&a<o.length;a++)o[a].eachNode(t,e,i);"postorder"===r&&e.call(i,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(t+1),n.height>e&&(e=n.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e<n;e++){var r=i[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,i=this.children,n=i.length;e<n;e++){var r=i[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],i=t?this:this.parentNode;i;)e.push(i),i=i.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),YT=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,i){this.root.eachNode(t,e,i)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,i=0,n=e.length;i<n;i++)e[i].dataIndex=-1;for(i=0,n=t.count();i<n;i++)e[t.getRawIndex(i)].dataIndex=i},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,i,n){var r=new t(i),o=[],a=1;!function t(e,i){var n=e.value;a=Math.max(a,Y(n)?n.length:1),o.push(e);var s=new UT(vo(e.name,""),r);i?function(t,e){var i=e.children;t.parentNode!==e&&(i.push(t),t.parentNode=e)}(s,i):r.root=s,r._nodes.push(s);var l=e.children;if(l)for(var u=0;u<l.length;u++)t(l[u],s)}(e),r.root.updateDepthAndHeight(0);var s=Sy(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new wy(s,i);return l.initData(o),n&&n(l),zT({mainData:l,struct:r,structAttr:"tree"}),r.update(),r},t}();function ZT(t,e,i){if(t&&E(e,t.type)>=0){var n=i.getData().tree.root,r=t.targetNode;if(Q(r)&&(r=n.getNodeById(r)),r&&n.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=n.getNodeById(o)))return{node:r}}}function QT(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function XT(t,e){return E(QT(t),e)>=0}function qT(t,e){for(var i=[];t;){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}var KT=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return i(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},i=t.leaves||{},n=new ld(i,this,this.ecModel),r=YT.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var i=r.getNodeByDataIndex(e);return i&&i.children.length&&i.isExpand||(t.parentModel=n),t}))})),o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,i){for(var n=this.getData().tree,r=n.root.children[0],o=n.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return Mp("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var i=t.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return i.treeAncestors=qT(n,this),i.collapsed=!n.isExpand,i},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Vp);function JT(t,e){for(var i,n=[t];i=n.pop();)if(e(i),i.isExpand){var r=i.children;if(r.length)for(var o=r.length-1;o>=0;o--)n.push(r[o])}}function tI(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var i=function(t,e){return rh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=i;var n=t.get("layout"),r=0,o=0,a=null;"radial"===n?(r=2*Math.PI,o=Math.min(i.height,i.width)/2,a=bT((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=i.width,o=i.height,a=bT());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var i,n,r=[e];i=r.pop();)if(n=i.children,i.isExpand&&n.length)for(var o=n.length-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,i){for(var n,r=[t],o=[];n=r.pop();)if(o.push(n),n.isExpand){var a=n.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}for(;n=o.pop();)e(n,i)}(l,_T,a),s.hierNode.modifier=-l.hierNode.prelim,JT(l,xT);var u=l,c=l,d=l;JT(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>d.depth&&(d=t)}));var h=u===c?1:a(u,c)/2,f=h-u.getLayout().x,p=0,g=0,v=0,m=0;if("radial"===n)p=r/(c.getLayout().x+h+f),g=o/(d.depth-1||1),JT(l,(function(t){v=(t.getLayout().x+f)*p,m=(t.depth-1)*g;var e=wT(v,m);t.setLayout({x:e.x,y:e.y,rawX:v,rawY:m},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(c.getLayout().x+h+f),p=r/(d.depth-1||1),JT(l,(function(t){m=(t.getLayout().x+f)*g,v="LR"===y?(t.depth-1)*p:r-(t.depth-1)*p,t.setLayout({x:v,y:m},!0)}))):"TB"!==y&&"BT"!==y||(p=r/(c.getLayout().x+h+f),g=o/(d.depth-1||1),JT(l,(function(t){v=(t.getLayout().x+f)*p,m="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:v,y:m},!0)})))}}}(t,e)}))}function eI(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var i=t.getModel().getModel("itemStyle").getItemStyle();P(e.ensureUniqueItemVisual(t.dataIndex,"style"),i)}))}))}var iI=["treemapZoomToNode","treemapRender","treemapMove"];function nI(t){var e=t.getData().tree,i={};e.eachNode((function(e){for(var n=e;n&&n.depth>1;)n=n.parentNode;var r=Nh(t.ecModel,n.name||n.dataIndex+"",i);e.setVisual("decal",r)}))}var rI=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.preventUsingHoverLayer=!0,i}return i(e,t),e.prototype.getInitialData=function(t,e){var i={name:t.name,children:t.data};(function t(e){var i=0;V(e.children,(function(e){t(e);var n=e.value;Y(n)&&(n=n[0]),i+=n}));var n=e.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=i),n<0&&(n=0),Y(e.value)?e.value[0]=n:e.value=n})(i);var n=t.levels||[],r=this.designatedVisualItemStyle={},o=new ld({itemStyle:r},this,e);n=t.levels=function(t,e){var i,n,r=so(e.get("color")),o=so(e.get(["aria","decal","decals"]));if(r){V(t=t||[],(function(t){var e=new ld(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(i=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(n=!0)}));var a=t[0]||(t[0]={});return i||(a.color=r.slice()),!n&&o&&(a.decal=o.slice()),t}}(n,e);var a=F(n||[],(function(t){return new ld(t,o,e)}),this),s=YT.createTree(i,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var i=s.getNodeByDataIndex(e),n=i?a[i.depth]:null;return t.parentModel=n||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,i){var n=this.getData(),r=this.getRawValue(t);return Mp("nameValue",{name:n.getName(t),value:r})},e.prototype.getDataParams=function(e){var i=t.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return i.treeAncestors=qT(n,this),i.treePathInfo=i.treeAncestors,i},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},P(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=_t(),this._idIndexMapCount=0);var i=e.get(t);return null==i&&e.set(t,i=this._idIndexMapCount++),i},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){nI(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25b6",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Vp);var oI=function(){function t(t){this.group=new Ar,t.add(this.group)}return t.prototype.render=function(t,e,i,n){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&i){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,c,l),this._renderContent(t,c,a,s,l,u,n),oh(o,c.pos,c.box)}},t.prototype._prepare=function(t,e,i){for(var n=t;n;n=n.parentNode){var r=vo(n.getModel().get("name"),""),o=i.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:n,text:r,width:a})}},t.prototype._renderContent=function(t,e,i,n,r,o,a){for(var s,l,u,c,d,h,f,p,g,v=0,m=e.emptyItemWidth,y=t.get(["breadcrumb","height"]),_=(s=e.pos,l=e.box,c=l.width,d=l.height,h=Nr(s.left,c),f=Nr(s.top,d),p=Nr(s.right,c),g=Nr(s.bottom,d),(isNaN(h)||isNaN(parseFloat(s.left)))&&(h=0),(isNaN(p)||isNaN(parseFloat(s.right)))&&(p=c),(isNaN(f)||isNaN(parseFloat(s.top)))&&(f=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=d),u=$d(u||0),{width:Math.max(p-h-u[1]-u[3],0),height:Math.max(g-f-u[0]-u[2],0)}),x=e.totalWidth,b=e.renderList,w=n.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var C=b[S],M=C.node,T=C.width,I=C.text;x>_.width&&(x-=T-m,T=m,I=null);var A=new Iu({shape:{points:aI(v,0,T,y,S===b.length-1,0===S)},style:O(i.getItemStyle(),{lineJoin:"bevel"}),textContent:new Is({style:Fc(r,{text:I})}),textConfig:{position:"inside"},z2:1e5,onclick:U(a,M)});A.disableLabelAnimation=!0,A.getTextContent().ensureState("emphasis").style=Fc(o,{text:I}),A.ensureState("emphasis").style=w,kl(A,n.get("focus"),n.get("blurScope"),n.get("disabled")),this.group.add(A),sI(A,t,M),v+=T+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function aI(t,e,i,n,r,o){var a=[[r?t:t-5,e],[t+i,e],[t+i,e+n],[r?t:t-5,e+n]];return!o&&a.splice(2,0,[t+i+5,e+n/2]),!r&&a.push([t,e+n/2]),a}function sI(t,e,i){Fs(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&qT(i,e)}}var lI=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,i,n,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:i,delay:n,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,i=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},n=0,r=this._storage.length;n<r;n++){var o=this._storage[n];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:i,aborted:i})}return this},t}(),uI=Ar,cI=Cs,dI="upperLabel",hI=Vo([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),fI=function(t){var e=hI(t);return e.stroke=e.fill=e.lineWidth=null,e},pI=xo(),gI=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._state="ready",i._storage={nodeGroup:[],background:[],content:[]},i}return i(e,t),e.prototype.render=function(t,e,i,n){if(!(E(e.findComponents({mainType:"series",subType:"treemap",query:n}),t)<0)){this.seriesModel=t,this.api=i,this.ecModel=e;var r=ZT(n,["treemapZoomToNode","treemapRootToNode"],t),o=n&&n.type,a=t.layoutInfo,s=!this._oldTree,l=this._storage,u="treemapRootToNode"===o&&r&&l?{rootNodeGroup:l.nodeGroup[r.node.getRawIndex()],direction:n.direction}:null,c=this._giveContainerGroup(a),d=t.get("animation"),h=this._doRender(c,t,u);!d||s||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?h.renderFinally():this._doAnimation(c,h,t,u),this._resetController(i),this._renderBreadcrumb(t,i,r)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new uI,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,i){var n=e.getData().tree,r=this._oldTree,o={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function u(t,n,r,u){return function(t,e,i,n,r,o,a,s,l,u){if(a){var c=a.getLayout(),d=t.getData(),h=a.getModel();if(d.setItemGraphicEl(a.dataIndex,null),c&&c.isInView){var f=c.width,p=c.height,g=c.borderWidth,v=c.invisible,m=a.getRawIndex(),y=s&&s.getRawIndex(),_=a.viewChildren,x=c.upperHeight,b=_&&_.length,w=h.getModel("itemStyle"),S=h.getModel(["emphasis","itemStyle"]),C=h.getModel(["blur","itemStyle"]),M=h.getModel(["select","itemStyle"]),T=w.get("borderRadius")||0,I=V("nodeGroup",uI);if(I){if(l.add(I),I.x=c.x||0,I.y=c.y||0,I.markRedraw(),pI(I).nodeWidth=f,pI(I).nodeHeight=p,c.isAboveViewRoot)return I;var A=V("background",cI,u,20);A&&function(e,i,n){var r=Fs(i);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:f,height:p,r:T}),v)N(i);else{i.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=fI(w);l.fill=s;var u=hI(S);u.fill=S.get("borderColor");var c=hI(C);c.fill=C.get("borderColor");var d=hI(M);if(d.fill=M.get("borderColor"),n){var h=f-2*g;B(i,s,o.opacity,{x:g,y:0,width:h,height:x})}else i.removeTextContent();i.setStyle(l),i.ensureState("emphasis").style=u,i.ensureState("blur").style=c,i.ensureState("select").style=d,fl(i)}e.add(i)}(I,A,b&&c.upperLabelHeight);var D=h.getModel("emphasis"),k=D.get("focus"),L=D.get("blurScope"),O=D.get("disabled"),R="ancestor"===k?a.getAncestorsIndices():"descendant"===k?a.getDescendantIndices():k;if(b)Nl(I)&&El(I,!1),A&&(El(A,!O),d.setItemGraphicEl(a.dataIndex,A),Ll(A,R,L));else{var E=V("content",cI,u,30);E&&function(e,i){var n=Fs(i);n.dataIndex=a.dataIndex,n.seriesIndex=t.seriesIndex;var r=Math.max(f-2*g,0),o=Math.max(p-2*g,0);if(i.culling=!0,i.setShape({x:g,y:g,width:r,height:o,r:T}),v)N(i);else{i.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=fI(w);u.fill=l,u.decal=s.decal;var c=hI(S),d=hI(C),h=hI(M);B(i,l,s.opacity,null),i.setStyle(u),i.ensureState("emphasis").style=c,i.ensureState("blur").style=d,i.ensureState("select").style=h,fl(i)}e.add(i)}(I,E),A.disableMorphing=!0,A&&Nl(A)&&El(A,!1),El(I,!O),d.setItemGraphicEl(a.dataIndex,I),Ll(I,R,L)}return I}}}function N(t){!t.invisible&&o.push(t)}function B(e,i,n,r){var o=h.getModel(r?dI:"label"),s=vo(h.get("name"),null),l=o.getShallow("show");zc(e,Vc(h,r?dI:"label"),{defaultText:l?s:null,inheritColor:i,defaultOpacity:n,labelFetcher:t,labelDataIndex:a.dataIndex});var u=e.getTextContent();if(u){var d=u.style,f=ct(d.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-f[1]-f[3],0),i=Math.max((r?r.height:e.shape.height)-f[0]-f[2],0);d.width===t&&d.height===i||u.setStyle({width:t,height:i})},d.truncateMinChar=2,d.lineOverflow="truncate",z(d,r,c);var p=u.getState("emphasis");z(p?p.style:null,r,c)}}function z(e,i,n){var r=e?e.text:null;if(!i&&n.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function V(t,n,o,a){var s=null!=y&&i[t][y],l=r[t];return s?(i[t][y]=null,function(t,e){var i=t[m]={};e instanceof uI?(i.oldX=e.x,i.oldY=e.y):i.oldShape=P({},e.shape)}(l,s)):v||((s=new n)instanceof ca&&(s.z2=function(t,e){return 100*t+e}(o,a)),F(l,s)),e[t][m]=s}function F(t,e){var i=t[m]={},o=a.parentNode,s=e instanceof Ar;if(o&&(!n||"drillDown"===n.direction)){var l=0,u=0,c=r.background[o.getRawIndex()];!n&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(i.oldX=0,i.oldY=u):i.oldShape={x:l,y:u,width:0,height:0}}i.fadein=!s}}(e,a,s,i,o,l,t,n,r,u)}!function t(e,i,n,r,o){function a(t){return t.getId()}function s(a,s){var l=null!=a?e[a]:null,c=null!=s?i[s]:null,d=u(l,c,n,o);d&&t(l&&l.viewChildren||[],c&&c.viewChildren||[],d,r,o+1)}r?(i=e,V(e,(function(t,e){!t.isRemoved()&&s(e,e)}))):new Km(i,e,a,a).add(s).update(s).remove(U(s,null)).execute()}(n.root?[n.root]:[],r&&r.root?[r.root]:[],t,n===r||!r,0);var c=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&V(t,(function(t,i){var n=e[i];V(t,(function(t){t&&(n.push(t),pI(t).willDelete=!0)}))})),e}(s);return this._oldTree=n,this._storage=a,{lastsForAnimation:o,willDeleteEls:c,renderFinally:function(){V(c,(function(t){V(t,(function(t){t.parent&&t.parent.remove(t)}))})),V(l,(function(t){t.invisible=!0,t.dirty()}))}}},e.prototype._doAnimation=function(t,e,i,n){var r=i.get("animationDurationUpdate"),o=i.get("animationEasing"),a=(Z(r)?0:r)||0,s=(Z(o)?null:o)||"cubicOut",l=new lI;V(e.willDeleteEls,(function(t,e){V(t,(function(t,i){if(!t.invisible){var r,o=t.parent,u=pI(o);if(n&&"drillDown"===n.direction)r=o===n.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,d=0;u.willDelete||(c=u.nodeWidth/2,d=u.nodeHeight/2),r="nodeGroup"===e?{x:c,y:d,style:{opacity:0}}:{shape:{x:c,y:d,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,a,0,s)}}))})),V(this._storage,(function(t,i){V(t,(function(t,n){var r=e.lastsForAnimation[i][n],o={};r&&(t instanceof Ar?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=P({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),l.add(t,o,a,0,s))}))}),this),this._state="animating",l.finished($((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||((e=this._controller=new XC(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",$(this._onPan,this)),e.on("zoom",$(this._onZoom,this)));var i=new ze(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,n){return i.contain(e,n)}))},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var i=e.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},e.prototype._onZoom=function(t){var e=t.originX,i=t.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var r=n.getLayout();if(!r)return;var o=new ze(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];Se(s,s,[-(e-=a.x),-(i-=a.y)]),Me(s,s,[t.scale,t.scale]),Se(s,s,[e,i]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var i=e.seriesModel.get("nodeClick",!0);if(i){var n=e.findTarget(t.offsetX,t.offsetY);if(n){var r=n.node;if(r.getLayout().isLeafRoot)e._rootToNode(n);else if("zoomToNode"===i)e._zoomToNode(n);else if("link"===i){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Kd(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,i){var n=this;i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(i={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new oI(this.group))).render(t,e,i.node,(function(e){"animating"!==n._state&&(XT(t.getViewRoot(),e)?n._rootToNode({node:e}):n._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var i;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(n){var r=this._storage.background[n.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;i={node:n,offsetX:o[0],offsetY:o[1]}}}),this),i},e.type="treemap",e}(qp),vI=V,mI=K,yI=function(){function t(e){var i=e.mappingMethod,n=e.type,r=this.option=D(e);this.type=n,this.mappingMethod=i,this._normalizeData=AI[i];var o=t.visualHandlers[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[i],"piecewise"===i?(_I(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,V(e,(function(e,i){e.originIndex=i,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===i?r.categories?function(t){var e=t.categories,i=t.categoryMap={},n=t.visual;if(vI(e,(function(t,e){i[t]=e})),!Y(n)){var r=[];K(n)?vI(n,(function(t,e){var n=i[e];r[null!=n?n:-1]=t})):r[-1]=n,n=II(t,r)}for(var o=e.length-1;o>=0;o--)null==n[o]&&(delete i[e[o]],e.pop())}(r):_I(r,!0):(dt("linear"!==i||r.dataExtent),_I(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return $(this._normalizeData,this)},t.listVisualTypes=function(){return W(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,i){K(t)?V(t,e,i):e.call(i,t)},t.mapVisual=function(e,i,n){var r,o=Y(e)?[]:K(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=i.call(n,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var i,n={};return e&&vI(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(n[r]=e[r],i=!0)})),i?n:null},t.prepareVisualTypes=function(t){if(Y(t))t=t.slice();else{if(!mI(t))return[];var e=[];vI(t,(function(t,i){e.push(i)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,i){for(var n,r=1/0,o=0,a=e.length;o<a;o++){var s=e[o].value;if(null!=s){if(s===t||Q(s)&&s===t+"")return o;i&&d(s,o)}}for(o=0,a=e.length;o<a;o++){var l=e[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(DI(c[1],t,u[1]))return o}else if(u[1]===1/0){if(DI(c[0],u[0],t))return o}else if(DI(c[0],u[0],t)&&DI(c[1],t,u[1]))return o;i&&d(u[0],o),i&&d(u[1],o)}}if(i)return t===1/0?e.length-1:t===-1/0?0:n;function d(e,i){var o=Math.abs(e-t);o<r&&(r=o,n=i)}},t.visualHandlers={color:{applyVisual:wI("color"),getColorMapper:function(){var t=this.option;return $("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),SI.call(this,t)}:function(e,i,n){var r=!!n;return!i&&(e=this._normalizeData(e)),n=Yi(e,t.parsedVisual,n),r?n:Ji(n,"rgba")},this)},_normalizedToVisual:{linear:function(t){return Ji(Yi(t,this.option.parsedVisual),"rgba")},category:SI,piecewise:function(t,e){var i=TI.call(this,e);return null==i&&(i=Ji(Yi(t,this.option.parsedVisual),"rgba")),i},fixed:CI}},colorHue:xI((function(t,e){return qi(t,e)})),colorSaturation:xI((function(t,e){return qi(t,null,e)})),colorLightness:xI((function(t,e){return qi(t,null,null,e)})),colorAlpha:xI((function(t,e){return Ki(t,e)})),decal:{applyVisual:wI("decal"),_normalizedToVisual:{linear:null,category:SI,piecewise:null,fixed:null}},opacity:{applyVisual:wI("opacity"),_normalizedToVisual:MI([0,1])},liftZ:{applyVisual:wI("liftZ"),_normalizedToVisual:{linear:CI,category:CI,piecewise:CI,fixed:CI}},symbol:{applyVisual:function(t,e,i){i("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:bI,category:SI,piecewise:function(t,e){var i=TI.call(this,e);return null==i&&(i=bI.call(this,t)),i},fixed:CI}},symbolSize:{applyVisual:wI("symbolSize"),_normalizedToVisual:MI([0,1])}},t}();function _I(t,e){var i=t.visual,n=[];K(i)?vI(i,(function(t){n.push(t)})):null!=i&&n.push(i),e||1!==n.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(n[1]=n[0]),II(t,n)}function xI(t){return{applyVisual:function(e,i,n){var r=this.mapValueToVisual(e);n("color",t(i("color"),r))},_normalizedToVisual:MI([0,1])}}function bI(t){var e=this.option.visual;return e[Math.round(Er(t,[0,1],[0,e.length-1],!0))]||{}}function wI(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function SI(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function CI(){return this.option.visual[0]}function MI(t){return{linear:function(e){return Er(e,t,this.option.visual,!0)},category:SI,piecewise:function(e,i){var n=TI.call(this,i);return null==n&&(n=Er(e,t,this.option.visual,!0)),n},fixed:CI}}function TI(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=i[yI.findPieceIndex(t,i)];if(n&&n.visual)return n.visual[this.type]}}function II(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=F(e,(function(t){var e=Wi(t);return e||[0,0,0,1]}))),e}var AI={linear:function(t){return Er(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=yI.findPieceIndex(t,e,!0);if(null!=i)return Er(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?-1:e},fixed:Ct};function DI(t,e,i){return t?e<=i:e<i}var kI=xo(),LI={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||function t(e,i,n,r){var o=e.getModel(),a=e.getLayout(),s=e.hostTree.data;if(a&&!a.invisible&&a.isInView){var l,u=o.getModel("itemStyle"),c=function(t,e,i){var n=P({},e),r=i.designatedVisualItemStyle;return V(["color","colorAlpha","colorSaturation"],(function(i){r[i]=e[i];var o=t.get(i);r[i]=null,null!=o&&(n[i]=o)})),n}(u,i,r),d=s.ensureUniqueItemVisual(e.dataIndex,"style"),h=u.get("borderColor"),f=u.get("borderColorSaturation");null!=f&&(h=function(t,e){return null!=e?qi(e,null,null,t):null}(f,l=PI(c))),d.stroke=h;var p=e.viewChildren;if(p&&p.length){var g=function(t,e,i,n,r,o){if(o&&o.length){var a=RI(e,"color")||null!=r.color&&"none"!==r.color&&(RI(e,"colorAlpha")||RI(e,"colorSaturation"));if(a){var s=e.get("visualMin"),l=e.get("visualMax"),u=i.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),d={type:a.name,dataExtent:u,visual:a.range};"color"!==d.type||"index"!==c&&"id"!==c?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var h=new yI(d);return kI(h).drColorMappingBy=c,h}}}(0,o,a,0,c,p);V(p,(function(e,i){if(e.depth>=n.length||e===n[e.depth]){var a=function(t,e,i,n,r,o){var a=P({},e);if(r){var s=r.type,l="color"===s&&kI(r).drColorMappingBy,u="index"===l?n:"id"===l?o.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(o,c,e,i,g,r);t(e,a,n,r)}}))}else l=PI(c),d.fill=l}}(e,{},t.getViewRoot().getAncestors(),t)}};function PI(t){var e=OI(t,"color");if(e){var i=OI(t,"colorAlpha"),n=OI(t,"colorSaturation");return n&&(e=qi(e,null,null,n)),i&&(e=Ki(e,i)),e}}function OI(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function RI(t,e){var i=t.get(e);return Y(i)&&i.length?{name:e,range:i}:null}var EI=Math.max,NI=Math.min,BI=at,zI=V,VI=["itemStyle","borderWidth"],FI=["itemStyle","gapWidth"],jI=["upperLabel","show"],HI=["upperLabel","height"],GI={seriesType:"treemap",reset:function(t,e,i,n){var r=i.getWidth(),o=i.getHeight(),a=t.option,s=rh(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()}),l=a.size||[],u=Nr(BI(s.width,l[0]),r),c=Nr(BI(s.height,l[1]),o),d=n&&n.type,h=ZT(n,["treemapZoomToNode","treemapRootToNode"],t),f="treemapRender"===d||"treemapMove"===d?n.rootRect:null,p=t.getViewRoot(),g=QT(p);if("treemapMove"!==d){var v="treemapZoomToNode"===d?function(t,e,i,n,r){var o,a=(e||{}).node,s=[n,r];if(!a||a===i)return s;for(var l=n*r,u=l*t.option.zoomToNodeRatio;o=a.parentNode;){for(var c=0,d=o.children,h=0,f=d.length;h<f;h++)c+=d[h].getValue();var p=a.getValue();if(0===p)return s;u*=c/p;var g=o.getModel(),v=g.get(VI);(u+=4*v*v+(3*v+Math.max(v,UI(g)))*Math.pow(u,.5))>Wr&&(u=Wr),a=o}u<l&&(u=l);var m=Math.pow(u/l,.5);return[n*m,r*m]}(t,h,p,u,c):f?[f.width,f.height]:[u,c],m=a.sort;m&&"asc"!==m&&"desc"!==m&&(m="desc");var y={squareRatio:a.squareRatio,sort:m,leafDepth:a.leafDepth};p.hostTree.clearLayouts();var _={x:0,y:0,width:v[0],height:v[1],area:v[0]*v[1]};p.setLayout(_),function t(e,i,n,r){var o,a;if(!e.isRemoved()){var s=e.getLayout();o=s.width,a=s.height;var l=e.getModel(),u=l.get(VI),c=l.get(FI)/2,d=UI(l),h=Math.max(u,d),f=u-c,p=h-c;e.setLayout({borderWidth:u,upperHeight:h,upperLabelHeight:d},!0);var g=(o=EI(o-2*f,0))*(a=EI(a-f-p,0)),v=function(t,e,i,n,r,o){var a=t.children||[],s=n.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=n.leafDepth&&n.leafDepth<=o;if(r&&!l)return t.viewChildren=[];a=H(a,(function(t){return!t.isRemoved()})),function(t,e){e&&t.sort((function(t,i){var n="asc"===e?t.getValue()-i.getValue():i.getValue()-t.getValue();return 0===n?"asc"===e?t.dataIndex-i.dataIndex:i.dataIndex-t.dataIndex:n}))}(a,s);var u=function(t,e,i){for(var n=0,r=0,o=e.length;r<o;r++)n+=e[r].getValue();var a,s=t.get("visualDimension");return e&&e.length?"value"===s&&i?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===i&&a.reverse()):(a=[1/0,-1/0],zI(e,(function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:n,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,i,n,r){if(!n)return i;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===n?a-l-1:l].getValue();u/i*e<o&&(s=l,i-=u)}return"asc"===n?r.splice(0,a-s):r.splice(s,a-s),i}(e,i,u.sum,s,a),0===u.sum)return t.viewChildren=[];for(var c=0,d=a.length;c<d;c++){var h=a[c].getValue()/u.sum*i;a[c].setLayout({area:h})}return l&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0),t.viewChildren=a,t.setLayout({dataExtent:u.dataExtent},!0),a}(e,l,g,i,n,r);if(v.length){var m={x:f,y:p,width:o,height:a},y=NI(o,a),_=1/0,x=[];x.area=0;for(var b=0,w=v.length;b<w;){var S=v[b];x.push(S),x.area+=S.getLayout().area;var C=WI(x,y,i.squareRatio);C<=_?(b++,_=C):(x.area-=x.pop().getLayout().area,$I(x,y,m,c,!1),y=NI(m.width,m.height),x.length=x.area=0,_=1/0)}if(x.length&&$I(x,y,m,c,!0),!n){var M=l.get("childrenVisibleMin");null!=M&&g<M&&(n=!0)}for(b=0,w=v.length;b<w;b++)t(v[b],i,n,r+1)}}}(p,y,!1,0),_=p.getLayout(),zI(g,(function(t,e){var i=(g[e+1]||p).getValue();t.setLayout(P({dataExtent:[i,i],borderWidth:0,upperHeight:0},_))}))}var x=t.getData().tree.root;x.setLayout(function(t,e,i){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!i)return n;var r=i.node,o=r.getLayout();if(!o)return n;for(var a=[o.width/2,o.height/2],s=r;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}(s,f,h),!0),t.setLayoutInfo(s),function t(e,i,n,r,o){var a=e.getLayout(),s=n[o],l=s&&s===e;if(!(s&&!l||o===n.length&&e!==r)){e.setLayout({isInView:!0,invisible:!l&&!i.intersect(a),isAboveViewRoot:l},!0);var u=new ze(i.x-a.x,i.y-a.y,i.width,i.height);zI(e.viewChildren||[],(function(e){t(e,u,n,r,o+1)}))}}(x,new ze(-s.x,-s.y,r,o),g,p,0)}};function WI(t,e,i){for(var n=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<r&&(r=a),a>n&&(n=a));var l=t.area*t.area,u=e*e*i;return l?EI(u*n/l,l/(u*r)):1/0}function $I(t,e,i,n,r){var o=e===i.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=i[s[o]],c=e?t.area/e:0;(r||c>i[l[a]])&&(c=i[l[a]]);for(var d=0,h=t.length;d<h;d++){var f=t[d],p={},g=c?f.getLayout().area/c:0,v=p[l[a]]=EI(c-2*n,0),m=i[s[o]]+i[l[o]]-u,y=d===h-1||m<g?m:g,_=p[l[o]]=EI(y-2*n,0);p[s[a]]=i[s[a]]+NI(n,v/2),p[s[o]]=u+NI(n,_/2),u+=y,f.setLayout(p,!0)}i[s[a]]+=c,i[l[a]]-=c}function UI(t){return t.get(jI)?t.get(HI):0}function YI(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var i=t.getCategoriesData(),n=t.getGraph().data,r=i.mapArray(i.getName);n.filterSelf((function(t){var i=n.getItemModel(t).getShallow("category");if(null!=i){q(i)&&(i=r[i]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(i))return!1}return!0}))}))}function ZI(t){var e={};t.eachSeriesByType("graph",(function(t){var i=t.getCategoriesData(),n=t.getData(),r={};i.each((function(n){var o=i.getName(n);r["ec-"+o]=n;var a=i.getItemModel(n),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),i.setItemVisual(n,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&i.setItemVisual(n,l[u],c)}})),i.count()&&n.each((function(t){var e=n.getItemModel(t).getShallow("category");if(null!=e){Q(e)&&(e=r["ec-"+e]);var o=i.getItemVisual(e,"style");P(n.ensureUniqueItemVisual(t,"style"),o);for(var a=["symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)n.setItemVisual(t,a[s],i.getItemVisual(e,a[s]))}}))}))}function QI(t){return t instanceof Array||(t=[t,t]),t}function XI(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),i=t.getEdgeData(),n=QI(t.get("edgeSymbol")),r=QI(t.get("edgeSymbolSize"));i.setVisual("fromSymbol",n&&n[0]),i.setVisual("toSymbol",n&&n[1]),i.setVisual("fromSymbolSize",r&&r[0]),i.setVisual("toSymbolSize",r&&r[1]),i.setVisual("style",t.getModel("lineStyle").getLineStyle()),i.each((function(t){var n=i.getItemModel(t),r=e.getEdgeByIndex(t),o=QI(n.getShallow("symbol",!0)),a=QI(n.getShallow("symbolSize",!0)),s=n.getModel("lineStyle").getLineStyle(),l=i.ensureUniqueItemVisual(t,"style");switch(P(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style"),l.stroke=u&&u.fill}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])}))}))}var qI=function(t){return t.get("autoCurveness")||null},KI=function(t,e){var i=qI(t),n=20,r=[];if(q(i))n=i;else if(Y(i))return void(t.__curvenessList=i);e>n&&(n=e);var o=n%2?n+2:n+3;r=[];for(var a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r},JI=function(t,e,i){var n=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[i.uid,n,r].join("--\x3e")},tA=function(t){var e=t.split("--\x3e");return[e[0],e[2],e[1]].join("--\x3e")},eA=function(t,e){var i=e.__edgeMap;return i[t]?i[t].length:0};function iA(t,e,i,n){var r=qI(e),o=Y(r);if(!r)return null;var a=function(t,e){var i=JI(t.node1,t.node2,e);return e.__edgeMap[i]}(t,e);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===i){s=l;break}var u=function(t,e){return eA(JI(t.node1,t.node2,e),e)+eA(JI(t.node2,t.node1,e),e)}(t,e);KI(e,u),t.lineStyle=t.lineStyle||{};var c=JI(t.node1,t.node2,e),d=e.__curvenessList,h=o||u%2?0:1;if(a.isForward)return d[h+s];var f=tA(c),p=eA(f,e),g=d[s+p+h];return n?o?r&&0===r[0]?(p+h)%2?g:-g:((p%2?0:1)+h)%2?g:-g:(p+h)%2?g:-g:d[s+p+h]}function nA(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t.getGraph();i.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),rA(i,t)}}function rA(t,e){t.eachEdge((function(t,i){var n=lt(t.getModel().get(["lineStyle","curveness"]),-iA(t,e,i,!0),0),r=Dt(t.node1.getLayout()),o=Dt(t.node2.getLayout()),a=[r,o];+n&&a.push([(r[0]+o[0])/2-(r[1]-o[1])*n,(r[1]+o[1])/2-(o[0]-r[0])*n]),t.setLayout(a)}))}function oA(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),i=t.coordinateSystem;if(i&&"view"!==i.type){var n=t.getData(),r=[];V(i.dimensions,(function(t){r=r.concat(n.mapDimensionsAll(t))}));for(var o=0;o<n.count();o++){for(var a=[],s=!1,l=0;l<r.length;l++){var u=n.get(r[l],o);isNaN(u)||(s=!0),a.push(u)}s?n.setItemLayout(o,i.dataToPoint(a)):n.setItemLayout(o,[NaN,NaN])}rA(n.graph,t)}else e&&"none"!==e||nA(t)}))}function aA(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=t.option.nodeScaleRatio,n=e.scaleX;return((e.getZoom()-1)*i+1)/n}function sA(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var lA=Math.PI,uA=[];function cA(t,e,i,n){var r=t.coordinateSystem;if(!r||"view"===r.type){var o=r.getBoundingRect(),a=t.getData(),s=a.graph,l=o.width/2+o.x,u=o.height/2+o.y,c=Math.min(o.width,o.height)/2,d=a.count();if(a.setLayout({cx:l,cy:u}),d){if(i){var h=r.pointToData(n),f=h[0],p=h[1],g=[f-l,p-u];Vt(g,g),zt(g,g,c),i.setLayout([l+g[0],u+g[1]],!0),hA(i,t.get(["circular","rotateLabel"]),l,u)}dA[e](t,s,a,c,l,u,d),s.eachEdge((function(e,i){var n,r=lt(e.getModel().get(["lineStyle","curveness"]),iA(e,t,i),0),o=Dt(e.node1.getLayout()),a=Dt(e.node2.getLayout()),s=(o[0]+a[0])/2,c=(o[1]+a[1])/2;+r&&(n=[l*(r*=3)+s*(1-r),u*r+c*(1-r)]),e.setLayout([o,a,n])}))}}}var dA={value:function(t,e,i,n,r,o,a){var s=0,l=i.getSum("value"),u=2*Math.PI/(l||a);e.eachNode((function(t){var e=t.getValue("value"),i=u*(l?e:1)/2;s+=i,t.setLayout([n*Math.cos(s)+r,n*Math.sin(s)+o]),s+=i}))},symbolSize:function(t,e,i,n,r,o,a){var s=0;uA.length=a;var l=aA(t);e.eachNode((function(t){var e=sA(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var i=Math.asin(e/2/n);isNaN(i)&&(i=lA/2),uA[t.dataIndex]=i,s+=2*i}));var u=(2*lA-s)/a/2,c=0;e.eachNode((function(t){var e=u+uA[t.dataIndex];c+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([n*Math.cos(c)+r,n*Math.sin(c)+o]),c+=e}))}};function hA(t,e,i,n){var r=t.getGraphicEl();if(r){var o=t.getModel().get(["label","rotate"])||0,a=r.getSymbolPath();if(e){var s=t.getLayout(),l=Math.atan2(s[1]-n,s[0]-i);l<0&&(l=2*Math.PI+l);var u=s[0]<i;u&&(l-=Math.PI);var c=u?"left":"right";a.setTextConfig({rotation:-l,position:c,origin:"center"});var d=a.ensureState("emphasis");P(d.textConfig||(d.textConfig={}),{position:c})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function fA(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&cA(t,"symbolSize")}))}var pA=Pt;function gA(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var i=t.preservedPoints||{},n=t.getGraph(),r=n.data,o=n.edgeData,a=t.getModel("force"),s=a.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,i[e]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&cA(t,"value"):nA(t);var l=r.getDataExtent("value"),u=o.getDataExtent("value"),c=a.get("repulsion"),d=a.get("edgeLength"),h=Y(c)?c:[c,c],f=Y(d)?d:[d,d];f=[f[1],f[0]];var p=r.mapArray("value",(function(t,e){var i=r.getItemLayout(e),n=Er(t,l,h);return isNaN(n)&&(n=(h[0]+h[1])/2),{w:n,rep:n,fixed:r.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}})),g=o.mapArray("value",(function(e,i){var r=n.getEdgeByIndex(i),o=Er(e,u,f);isNaN(o)&&(o=(f[0]+f[1])/2);var a=r.getModel(),s=lt(r.getModel().get(["lineStyle","curveness"]),-iA(r,t,i,!0),0);return{n1:p[r.node1.dataIndex],n2:p[r.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),v=e.getBoundingRect(),m=function(t,e,i){for(var n=t,r=e,o=i.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==i.gravity?.1:i.gravity,c=0;c<n.length;c++){var d=n[c];d.p||(d.p=It(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),d.pp=Dt(d.p),d.edges=null}var h,f,p=null==i.friction?.6:i.friction,g=p;return{warmUp:function(){g=.8*p},setFixed:function(t){n[t].fixed=!0},setUnfixed:function(t){n[t].fixed=!1},beforeStep:function(t){h=t},afterStep:function(t){f=t},step:function(t){h&&h(n,r);for(var e=[],i=n.length,o=0;o<r.length;o++){var a=r[o];if(!a.ignoreForceLayout){var s=a.n1;Ot(e,(v=a.n2).p,s.p);var c=Rt(e)-a.d,d=v.w/(s.w+v.w);isNaN(d)&&(d=0),Vt(e,e),!s.fixed&&pA(s.p,s.p,e,d*c*g),!v.fixed&&pA(v.p,v.p,e,-(1-d)*c*g)}}for(o=0;o<i;o++)(_=n[o]).fixed||(Ot(e,l,_.p),pA(_.p,_.p,e,u*g));for(o=0;o<i;o++){s=n[o];for(var p=o+1;p<i;p++){var v;Ot(e,(v=n[p]).p,s.p),0===(c=Rt(e))&&(kt(e,Math.random()-.5,Math.random()-.5),c=1);var m=(s.rep+v.rep)/c/c;!s.fixed&&pA(s.pp,s.pp,e,m),!v.fixed&&pA(v.pp,v.pp,e,-m)}}var y=[];for(o=0;o<i;o++){var _;(_=n[o]).fixed||(Ot(y,_.p,_.pp),pA(_.p,_.p,y,g),At(_.pp,_.p))}var x=(g*=.992)<.01;f&&f(n,r,x),t&&t(x)}}}(p,g,{rect:v,gravity:a.get("gravity"),friction:a.get("friction")});m.beforeStep((function(t,e){for(var i=0,r=t.length;i<r;i++)t[i].fixed&&At(t[i].p,n.getNodeByIndex(i).getLayout())})),m.afterStep((function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||n.getNodeByIndex(a).setLayout(t[a].p),i[r.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],u=n.getEdgeByIndex(a),c=l.n1.p,d=l.n2.p,h=u.getLayout();(h=h?h.slice():[])[0]=h[0]||[],h[1]=h[1]||[],At(h[0],c),At(h[1],d),+l.curveness&&(h[2]=[(c[0]+d[0])/2-(c[1]-d[1])*l.curveness,(c[1]+d[1])/2-(d[0]-c[0])*l.curveness]),u.setLayout(h)}})),t.forceLayout=m,t.preservedPoints=i,m.step()}else t.forceLayout=null}))}function vA(t,e){var i=[];return t.eachSeriesByType("graph",(function(t){var n=t.get("coordinateSystem");if(!n||"view"===n){var r=t.getData(),o=[],a=[];ba(r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),o,a),a[0]-o[0]==0&&(a[0]+=1,o[0]-=1),a[1]-o[1]==0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=function(t,e,i){return rh(P(t.getBoxLayoutParams(),{aspect:i}),{width:e.getWidth(),height:e.getHeight()})}(t,e,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var u=a[0]-o[0],c=a[1]-o[1],d=l.width,h=l.height,f=t.coordinateSystem=new rT;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(o[0],o[1],u,c),f.setViewRect(l.x,l.y,d,h),f.setCenter(t.get("center"),e),f.setZoom(t.get("zoom")),i.push(f)}})),i}var mA=Pu.prototype,yA=Nu.prototype,_A=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function xA(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}!function(t){i((function(){return null!==t&&t.apply(this,arguments)||this}),t)}(_A);var bA=function(t){function e(e){var i=t.call(this,e)||this;return i.type="ec-line",i}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new _A},e.prototype.buildPath=function(t,e){xA(e)?mA.buildPath.call(this,t,e):yA.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return xA(this.shape)?mA.pointAt.call(this,t):yA.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,i=xA(e)?[e.x2-e.x1,e.y2-e.y1]:yA.tangentAt.call(this,t);return Vt(i,i)},e}(hs),wA=["fromSymbol","toSymbol"];function SA(t){return"_"+t+"Type"}function CA(t,e,i){var n=e.getItemVisual(i,t);if(n&&"none"!==n){var r=e.getItemVisual(i,t+"Size"),o=e.getItemVisual(i,t+"Rotate"),a=e.getItemVisual(i,t+"Offset"),s=e.getItemVisual(i,t+"KeepAspect"),l=cv(r),u=dv(a||0,l),c=uv(n,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=t,c}}function MA(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var i=e[2];i?(t.cpx1=i[0],t.cpy1=i[1]):(t.cpx1=NaN,t.cpy1=NaN)}var TA=function(t){function e(e,i,n){var r=t.call(this)||this;return r._createLine(e,i,n),r}return i(e,t),e.prototype._createLine=function(t,e,i){var n=t.hostModel,r=function(t){var e=new bA({name:"line",subPixelOptimize:!0});return MA(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,tc(r,{shape:{percent:1}},n,e),this.add(r),V(wA,(function(i){var n=CA(i,t,e);this.add(n),this[SA(i)]=t.getItemVisual(e,i)}),this),this._updateCommonStl(t,e,i)},e.prototype.updateData=function(t,e,i){var n=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};MA(a.shape,o),Ju(r,a,n,e),V(wA,(function(i){var n=t.getItemVisual(e,i),r=SA(i);if(this[r]!==n){this.remove(this.childOfName(i));var o=CA(i,t,e);this.add(o)}this[r]=n}),this),this._updateCommonStl(t,e,i)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,i){var n=t.hostModel,r=this.childOfName("line"),o=i&&i.emphasisLineStyle,a=i&&i.blurLineStyle,s=i&&i.selectLineStyle,l=i&&i.labelStatesModels,u=i&&i.emphasisDisabled,c=i&&i.focus,d=i&&i.blurScope;if(!i||t.hasItemOption){var h=t.getItemModel(e),f=h.getModel("emphasis");o=f.getModel("lineStyle").getLineStyle(),a=h.getModel(["blur","lineStyle"]).getLineStyle(),s=h.getModel(["select","lineStyle"]).getLineStyle(),u=f.get("disabled"),c=f.get("focus"),d=f.get("blurScope"),l=Vc(h)}var p=t.getItemVisual(e,"style"),g=p.stroke;r.useStyle(p),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,V(wA,(function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=p.opacity;for(var i=0;i<Us.length;i++){var n=Us[i],o=r.getState(n);if(o){var a=o.style||{},s=e.ensureState(n),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}}),this);var v=n.getRawValue(e);zc(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,i){return n.getFormattedLabel(e,i,t.dataType)}},inheritColor:g||"#000",defaultOpacity:p.opacity,defaultText:(null==v?t.getName(e):isFinite(v)?Br(v):v)+""});var m=this.getTextContent();if(m){var y=l.normal;m.__align=m.style.align,m.__verticalAlign=m.style.verticalAlign,m.__position=y.get("position")||"middle";var _=y.get("distance");Y(_)||(_=[_,_]),m.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),kl(this,c,d,u)},e.prototype.highlight=function(){vl(this)},e.prototype.downplay=function(){ml(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");MA(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),i=t.childOfName("toSymbol"),n=t.getTextContent();if(e||i||n&&!n.ignore){for(var r=1,o=this.parent;o;)o.scaleX&&(r/=o.scaleX),o=o.parent;var a=t.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=Ot([],u,l);if(Vt(c,c),e&&(e.setPosition(l),S(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),i&&(i.setPosition(u),S(i,1),i.scaleX=i.scaleY=r*s,i.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var d=void 0,h=void 0,f=n.__labelDistance,p=f[0]*r,g=f[1]*r,v=s/2,m=a.tangentAt(v),y=[m[1],-m[0]],_=a.pointAt(v);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]);var x=m[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var b=-Math.atan2(m[1],m[0]);u[0]<l[0]&&(b=Math.PI+b),n.rotation=b}var w=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,h="top";break;default:w=0,h="middle"}switch(n.__position){case"end":n.x=c[0]*p+u[0],n.y=c[1]*g+u[1],d=c[0]>.8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":n.x=-c[0]*p+l[0],n.y=-c[1]*g+l[1],d=c[0]>.8?"right":c[0]<-.8?"left":"center",h=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=p*x+l[0],n.y=l[1]+w,d=m[0]<0?"right":"left",n.originX=-p*x,n.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=_[0],n.y=_[1]+w,d="center",n.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-p*x+u[0],n.y=u[1]+w,d=m[0]>=0?"right":"left",n.originX=p*x,n.originY=-w}n.scaleX=n.scaleY=r,n.setStyle({verticalAlign:n.__verticalAlign||h,align:n.__align||d})}}}function S(t,e){var i=t.__specifiedRotation;if(null==i){var n=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(n[1],n[0]))}else t.attr("rotation",i)}},e}(Ar),IA=function(){function t(t){this.group=new Ar,this._LineCtor=t||TA}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var i=this,n=i.group,r=i._lineData;i._lineData=t,r||n.removeAll();var o=AA(t);t.diff(r).add((function(i){e._doAdd(t,i,o)})).update((function(i,n){e._doUpdate(r,t,n,i,o)})).remove((function(t){n.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,i){e.updateLayout(t,i)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=AA(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function i(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var n=t.start;n<t.end;n++)if(kA(e.getItemLayout(n))){var r=new this._LineCtor(e,n,this._seriesScope);r.traverse(i),this.group.add(r),e.setItemGraphicEl(n,r),this._progressiveEls.push(r)}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){Oc(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,i){if(kA(t.getItemLayout(e))){var n=new this._LineCtor(t,e,i);t.setItemGraphicEl(e,n),this.group.add(n)}},t.prototype._doUpdate=function(t,e,i,n,r){var o=t.getItemGraphicEl(i);kA(e.getItemLayout(n))?(o?o.updateData(e,n,r):o=new this._LineCtor(e,n,r),e.setItemGraphicEl(n,o),this.group.add(o)):this.group.remove(o)},t}();function AA(t){var e=t.hostModel,i=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:i.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:i.get("disabled"),blurScope:i.get("blurScope"),focus:i.get("focus"),labelStatesModels:Vc(e)}}function DA(t){return isNaN(t[0])||isNaN(t[1])}function kA(t){return t&&!DA(t[0])&&!DA(t[1])}var LA=[],PA=[],OA=[],RA=xi,EA=Gt,NA=Math.abs;function BA(t,e,i){for(var n,r=t[0],o=t[1],a=t[2],s=1/0,l=i*i,u=.1,c=.1;c<=.9;c+=.1)LA[0]=RA(r[0],o[0],a[0],c),LA[1]=RA(r[1],o[1],a[1],c),(f=NA(EA(LA,e)-l))<s&&(s=f,n=c);for(var d=0;d<32;d++){var h=n+u;PA[0]=RA(r[0],o[0],a[0],n),PA[1]=RA(r[1],o[1],a[1],n),OA[0]=RA(r[0],o[0],a[0],h),OA[1]=RA(r[1],o[1],a[1],h);var f=EA(PA,e)-l;if(NA(f)<.01)break;var p=EA(OA,e)-l;u/=2,f<0?p>=0?n+=u:n-=u:p>=0?n-=u:n+=u}return n}function zA(t,e){var i=[],n=Si,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[Dt(l[0]),Dt(l[1])],l[2]&&l.__original.push(Dt(l[2])));var d=l.__original;if(null!=l[2]){if(At(r[0],d[0]),At(r[1],d[2]),At(r[2],d[1]),u&&"none"!==u){var h=sA(t.node1),f=BA(r,d[0],h*e);n(r[0][0],r[1][0],r[2][0],f,i),r[0][0]=i[3],r[1][0]=i[4],n(r[0][1],r[1][1],r[2][1],f,i),r[0][1]=i[3],r[1][1]=i[4]}c&&"none"!==c&&(h=sA(t.node2),f=BA(r,d[1],h*e),n(r[0][0],r[1][0],r[2][0],f,i),r[1][0]=i[1],r[2][0]=i[2],n(r[0][1],r[1][1],r[2][1],f,i),r[1][1]=i[1],r[2][1]=i[2]),At(l[0],r[0]),At(l[1],r[2]),At(l[2],r[1])}else At(o[0],d[0]),At(o[1],d[1]),Ot(a,o[1],o[0]),Vt(a,a),u&&"none"!==u&&(h=sA(t.node1),Pt(o[0],o[0],a,h*e)),c&&"none"!==c&&(h=sA(t.node2),Pt(o[1],o[1],a,-h*e)),At(l[0],o[0]),At(l[1],o[1])}))}function VA(t){return"view"===t.type}var FA=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(t,e){var i=new vw,n=new IA,r=this.group;this._controller=new XC(e.getZr()),this._controllerHost={target:r},r.add(i.group),r.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},e.prototype.render=function(t,e,i){var n=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(VA(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):Ju(s,l,t)}zA(t.getGraph(),aA(t));var u=t.getData();o.updateData(u);var c=t.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,i),clearTimeout(this._layoutTimeout);var d=t.forceLayout,h=t.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,h);var f=t.get("layout");u.graph.eachNode((function(e){var i=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(f){case"force":d.warmUp(),!n._layouting&&n._startForceLayoutIteration(d,h),d.setFixed(i),u.setItemLayout(i,[r.x,r.y]);break;case"circular":u.setItemLayout(i,[r.x,r.y]),e.setLayout({fixed:!0},!0),cA(t,"symbolSize",e,[o.offsetX,o.offsetY]),n.updateLayout(t);break;default:u.setItemLayout(i,[r.x,r.y]),rA(t.getGraph(),t),n.updateLayout(t)}})).on("dragend",(function(){d&&d.setUnfixed(i)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(Fs(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),i=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===i&&(Fs(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var p="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),v=u.getLayout("cy");u.graph.eachNode((function(t){hA(t,p,g,v)})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var i=this;!function n(){t.step((function(t){i.updateLayout(i._model),(i._layouting=!t)&&(e?i._layoutTimeout=setTimeout(n,16):n())}))}()},e.prototype._updateController=function(t,e,i){var n=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,n,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(n,r)&&!rM(e,i,t)})),VA(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){tM(o,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){eM(o,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),n._updateNodeAndLinkScale(),zA(t.getGraph(),aA(t)),n._lineDraw.updateLayout(),i.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),i=aA(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(i)}))},e.prototype.updateLayout=function(t){zA(t.getGraph(),aA(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(qp);function jA(t){return"_EC_"+t}var HA=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var i=this._nodesMap;if(!i[jA(t)]){var n=new GA(t,e);return n.hostGraph=this,this.nodes.push(n),i[jA(t)]=n,n}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[jA(t)]},t.prototype.addEdge=function(t,e,i){var n=this._nodesMap,r=this._edgesMap;if(q(t)&&(t=this.nodes[t]),q(e)&&(e=this.nodes[e]),t instanceof GA||(t=n[jA(t)]),e instanceof GA||(e=n[jA(e)]),t&&e){var o=t.id+"-"+e.id,a=new WA(t,e,i);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof GA&&(t=t.id),e instanceof GA&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var i=this.nodes,n=i.length,r=0;r<n;r++)i[r].dataIndex>=0&&t.call(e,i[r],r)},t.prototype.eachEdge=function(t,e){for(var i=this.edges,n=i.length,r=0;r<n;r++)i[r].dataIndex>=0&&i[r].node1.dataIndex>=0&&i[r].node2.dataIndex>=0&&t.call(e,i[r],r)},t.prototype.breadthFirstTraverse=function(t,e,i,n){if(e instanceof GA||(e=this._nodesMap[jA(e)]),e){for(var r="out"===i?"outEdges":"in"===i?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(n,e,null))for(var a=[e];a.length;){var s=a.shift(),l=s[r];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(n,c,s))return;a.push(c),c.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,i=this.nodes,n=this.edges,r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)i[t.getRawIndex(r)].dataIndex=r;for(e.filterSelf((function(t){var i=n[e.getRawIndex(t)];return i.node1.dataIndex>=0&&i.node2.dataIndex>=0})),r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)n[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),i=this.nodes,n=this.edges,r=0;r<i.length;r++)e.addNode(i[r].id,i[r].dataIndex);for(r=0;r<n.length;r++){var o=n[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),GA=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var i=this.edges[e];i.dataIndex<0||(t.edge.push(i.dataIndex),t.node.push(i.node1.dataIndex,i.node2.dataIndex))}return t},t}(),WA=function(){function t(t,e,i){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t}();function $A(t,e){return{getValue:function(i){var n=this[t][e];return n.getStore().get(n.getDimensionIndex(i||"value"),this.dataIndex)},setVisual:function(i,n){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i){return this[t][e].getItemVisual(this.dataIndex,i)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function UA(t,e,i,n,r){for(var o=new HA(n),a=0;a<t.length;a++)o.addNode(at(t[a].id,t[a].name,a),a);var s=[],l=[],u=0;for(a=0;a<e.length;a++){var c=e[a],d=c.source,h=c.target;o.addEdge(d,h,u)&&(l.push(c),s.push(at(vo(c.id,null),d+" > "+h)),u++)}var f,p=i.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)f=Ly(t,i);else{var g=$h.get(p),v=g&&g.dimensions||[];E(v,"value")<0&&v.concat(["value"]);var m=Sy(t,{coordDimensions:v,encodeDefine:i.getEncode()}).dimensions;(f=new wy(m,i)).initData(t)}var y=new wy(["value"],i);return y.initData(l,s),r&&r(f,y),zT({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}B(GA,$A("hostGraph","data")),B(WA,$A("hostGraph","edgeData"));var YA=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var i=this;function n(){return i._categoriesData}this.legendVisualProvider=new kS(n,n),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),lo(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var i,n=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&n){qI(i=this)&&(i.__curvenessList=[],i.__edgeMap={},KI(i));var a=UA(r,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var i=ld.prototype.getModel;function n(t,e){var n=i.call(this,t,e);return n.resolveParentPath=r,n}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=n,t}))}));return V(a.edges,(function(t){!function(t,e,i,n){if(qI(i)){var r=JI(t,e,i),o=i.__edgeMap,a=o[tA(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(n)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,i){if("edge"===i){var n=this.getData(),r=this.getDataParams(t,i),o=n.graph.getEdgeByIndex(t),a=n.getName(o.node1.dataIndex),s=n.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Mp("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return Np({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=F(this.option.categories||[],(function(t){return null!=t.value?t:P({value:0},t)})),e=new wy(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Vp),ZA={type:"graphRoam",event:"graphRoam",update:"none"},QA=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},XA=function(t){function e(e){var i=t.call(this,e)||this;return i.type="pointer",i}return i(e,t),e.prototype.getDefaultShape=function(){return new QA},e.prototype.buildPath=function(t,e){var i=Math.cos,n=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-i(a)*o*(o>=r/3?1:2),l=e.y-n(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(a)*o,e.y+n(a)*o),t.lineTo(e.x+i(e.angle)*r,e.y+n(e.angle)*r),t.lineTo(e.x-i(a)*o,e.y-n(a)*o),t.lineTo(s,l)},e}(hs);function qA(t,e){var i=null==t?"":t+"";return e&&(Q(e)?i=e.replace("{value}",i):Z(e)&&(i=e(t))),i}var KA=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){this.group.removeAll();var n=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var i=t.get("center"),n=e.getWidth(),r=e.getHeight(),o=Math.min(n,r);return{cx:Nr(i[0],e.getWidth()),cy:Nr(i[1],e.getHeight()),r:Nr(t.get("radius"),o/2)}}(t,i);this._renderMain(t,e,i,n,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,i,n,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?Qw:wu,d=u.get("show"),h=u.getModel("lineStyle"),f=h.get("width"),p=[s,l];$a(p,!a);for(var g=(l=p[1])-(s=p[0]),v=s,m=[],y=0;d&&y<n.length;y++){var _=new c({shape:{startAngle:v,endAngle:l=s+g*Math.min(Math.max(n[y][0],0),1),cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-f,r:r.r},silent:!0});_.setStyle({fill:n[y][1]}),_.setStyle(h.getLineStyle(["color","width"])),m.push(_),v=l}m.reverse(),V(m,(function(t){return o.add(t)}));var x=function(t){if(t<=0)return n[0][1];var e;for(e=0;e<n.length;e++)if(n[e][0]>=t&&(0===e?0:n[e-1][0])<t)return n[e][1];return n[e-1][1]};this._renderTicks(t,e,i,x,r,s,l,a,f),this._renderTitleAndDetail(t,e,i,x,r),this._renderAnchor(t,r),this._renderPointer(t,e,i,x,r,s,l,a,f)},e.prototype._renderTicks=function(t,e,i,n,r,o,a,s,l){for(var u,c,d=this.group,h=r.cx,f=r.cy,p=r.r,g=+t.get("min"),v=+t.get("max"),m=t.getModel("splitLine"),y=t.getModel("axisTick"),_=t.getModel("axisLabel"),x=t.get("splitNumber"),b=y.get("splitNumber"),w=Nr(m.get("length"),p),S=Nr(y.get("length"),p),C=o,M=(a-o)/x,T=M/b,I=m.getModel("lineStyle").getLineStyle(),A=y.getModel("lineStyle").getLineStyle(),D=m.get("distance"),k=0;k<=x;k++){if(u=Math.cos(C),c=Math.sin(C),m.get("show")){var L=new Pu({shape:{x1:u*(p-(P=D?D+l:l))+h,y1:c*(p-P)+f,x2:u*(p-w-P)+h,y2:c*(p-w-P)+f},style:I,silent:!0});"auto"===I.stroke&&L.setStyle({stroke:n(k/x)}),d.add(L)}if(_.get("show")){var P=_.get("distance")+D,O=qA(Br(k/x*(v-g)+g),_.get("formatter")),R=n(k/x),E=u*(p-w-P)+h,N=c*(p-w-P)+f,B=_.get("rotate"),z=0;"radial"===B?(z=-C+2*Math.PI)>Math.PI/2&&(z+=Math.PI):"tangential"===B?z=-C-Math.PI/2:q(B)&&(z=B*Math.PI/180),0===z?d.add(new Is({style:Fc(_,{text:O,x:E,y:N,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):d.add(new Is({style:Fc(_,{text:O,x:E,y:N,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:E,originY:N,rotation:z}))}if(y.get("show")&&k!==x){P=(P=y.get("distance"))?P+l:l;for(var V=0;V<=b;V++){u=Math.cos(C),c=Math.sin(C);var F=new Pu({shape:{x1:u*(p-P)+h,y1:c*(p-P)+f,x2:u*(p-S-P)+h,y2:c*(p-S-P)+f},silent:!0,style:A});"auto"===A.stroke&&F.setStyle({stroke:n((k+V/b)/x)}),d.add(F),C+=T}C-=T}else C+=M}},e.prototype._renderPointer=function(t,e,i,n,r,o,a,s,l){var u=this.group,c=this._data,d=this._progressEls,h=[],f=t.get(["pointer","show"]),p=t.getModel("progress"),g=p.get("show"),v=t.getData(),m=v.mapDimension("value"),y=+t.get("min"),_=+t.get("max"),x=[y,_],b=[o,a];function w(e,i){var n,o=v.getItemModel(e).getModel("pointer"),a=Nr(o.get("width"),r.r),s=Nr(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),c=Nr(u[0],r.r),d=Nr(u[1],r.r),h=o.get("keepAspect");return(n=l?uv(l,c-a/2,d-s,a,s,null,h):new XA({shape:{angle:-Math.PI/2,width:a,r:s,x:c,y:d}})).rotation=-(i+Math.PI/2),n.x=r.cx,n.y=r.cy,n}function S(t,e){var i=p.get("roundCap")?Qw:wu,n=p.get("overlap"),a=n?p.get("width"):l/v.count(),u=n?r.r-a:r.r-(t+1)*a,c=n?r.r:r.r-t*a,d=new i({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:c}});return n&&(d.z2=_-v.get(m,t)%_),d}(g||f)&&(v.diff(c).add((function(e){var i=v.get(m,e);if(f){var n=w(e,o);tc(n,{rotation:-((isNaN(+i)?b[0]:Er(i,x,b,!0))+Math.PI/2)},t),u.add(n),v.setItemGraphicEl(e,n)}if(g){var r=S(e,o),a=p.get("clip");tc(r,{shape:{endAngle:Er(i,x,b,a)}},t),u.add(r),js(t.seriesIndex,v.dataType,e,r),h[e]=r}})).update((function(e,i){var n=v.get(m,e);if(f){var r=c.getItemGraphicEl(i),a=r?r.rotation:o,s=w(e,a);s.rotation=a,Ju(s,{rotation:-((isNaN(+n)?b[0]:Er(n,x,b,!0))+Math.PI/2)},t),u.add(s),v.setItemGraphicEl(e,s)}if(g){var l=d[i],y=S(e,l?l.shape.endAngle:o),_=p.get("clip");Ju(y,{shape:{endAngle:Er(n,x,b,_)}},t),u.add(y),js(t.seriesIndex,v.dataType,e,y),h[e]=y}})).execute(),v.each((function(t){var e=v.getItemModel(t),i=e.getModel("emphasis"),r=i.get("focus"),o=i.get("blurScope"),a=i.get("disabled");if(f){var s=v.getItemGraphicEl(t),l=v.getItemVisual(t,"style"),u=l.fill;if(s instanceof ms){var c=s.style;s.useStyle(P({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",n(Er(v.get(m,t),x,[0,1],!0))),s.z2EmphasisLift=0,Rl(s,e),kl(s,r,o,a)}if(g){var d=h[t];d.useStyle(v.getItemVisual(t,"style")),d.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,Rl(d,e),kl(d,r,o,a)}})),this._progressEls=h)},e.prototype._renderAnchor=function(t,e){var i=t.getModel("anchor");if(i.get("show")){var n=i.get("size"),r=i.get("icon"),o=i.get("offsetCenter"),a=i.get("keepAspect"),s=uv(r,e.cx-n/2+Nr(o[0],e.r),e.cy-n/2+Nr(o[1],e.r),n,n,null,a);s.z2=i.get("showAbove")?1:0,s.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,i,n,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new Ar,d=[],h=[],f=t.isAnimationEnabled(),p=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){d[t]=new Is({silent:!0}),h[t]=new Is({silent:!0})})).update((function(t,e){d[t]=o._titleEls[e],h[t]=o._detailEls[e]})).execute(),a.each((function(e){var i=a.getItemModel(e),o=a.get(s,e),g=new Ar,v=n(Er(o,[l,u],[0,1],!0)),m=i.getModel("title");if(m.get("show")){var y=m.get("offsetCenter"),_=r.cx+Nr(y[0],r.r),x=r.cy+Nr(y[1],r.r);(A=d[e]).attr({z2:p?0:2,style:Fc(m,{x:_,y:x,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:v})}),g.add(A)}var b=i.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+Nr(w[0],r.r),C=r.cy+Nr(w[1],r.r),M=Nr(b.get("width"),r.r),T=Nr(b.get("height"),r.r),I=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:v,A=h[e],D=b.get("formatter");A.attr({z2:p?0:2,style:Fc(b,{x:S,y:C,text:qA(o,D),width:isNaN(M)?null:M,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:I})}),Zc(A,{normal:b},o,(function(t){return qA(t,D)})),f&&Qc(A,e,a,t,{getFormattedLabel:function(t,e,i,n,r,a){return qA(a?a.interpolatedValue:o,D)}}),g.add(A)}c.add(g)})),this.group.add(c),this._titleEls=d,this._detailEls=h},e.type="gauge",e}(qp),JA=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.visualStyleAccessPath="itemStyle",i}return i(e,t),e.prototype.getInitialData=function(t,e){return DS(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Vp),tD=["itemStyle","opacity"],eD=function(t){function e(e,i){var n=t.call(this)||this,r=n,o=new Du,a=new Is;return r.setTextContent(a),n.setTextGuideLine(o),n.updateData(e,i,!0),n}return i(e,t),e.prototype.updateData=function(t,e,i){var n=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(tD);l=null==l?1:l,i||oc(n),n.useStyle(t.getItemVisual(e,"style")),n.style.lineJoin="round",i?(n.setShape({points:a.points}),n.style.opacity=0,tc(n,{style:{opacity:l}},r,e)):Ju(n,{style:{opacity:l},shape:{points:a.points}},r,e),Rl(n,o),this._updateLabel(t,e),kl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var i=this,n=this.getTextGuideLine(),r=i.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;zc(r,Vc(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),i.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var c=s.linePoints;n.setShape({points:c}),i.textGuideLineConfig={anchor:c?new De(c[0][0],c[0][1]):null},Ju(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),Nx(i,Bx(a),{stroke:u})},e}(Iu),iD=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.ignoreLabelLineUpdate=!0,i}return i(e,t),e.prototype.render=function(t,e,i){var n=t.getData(),r=this._data,o=this.group;n.diff(r).add((function(t){var e=new eD(n,t);n.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var i=r.getItemGraphicEl(e);i.updateData(n,t),o.add(i),n.setItemGraphicEl(t,i)})).remove((function(e){rc(r.getItemGraphicEl(e),t,e)})).execute(),this._data=n},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(qp),nD=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new kS($(this.getData,this),$(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return DS(this,{coordDimensions:["value"],encodeDefaulter:U(Mh,this)})},e.prototype._defaultLabelLine=function(t){lo(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var i=this.getData(),n=t.prototype.getDataParams.call(this,e),r=i.mapDimension("value"),o=i.getSum(r);return n.percent=o?+(i.get(r,e)/o*100).toFixed(2):0,n.$vars.push("percent"),n},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Vp);function rD(t,e){t.eachSeriesByType("funnel",(function(t){var i=t.getData(),n=i.mapDimension("value"),r=t.get("sort"),o=function(t,e){return rh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a<s;a++)r[a]=a;return Z(e)?r.sort(e):"none"!==e&&r.sort((function(t,e){return o?n[t]-n[e]:n[e]-n[t]})),r}(i,r),c=o.x,d=o.y,h="horizontal"===a?[Nr(t.get("minSize"),l),Nr(t.get("maxSize"),l)]:[Nr(t.get("minSize"),s),Nr(t.get("maxSize"),s)],f=i.getDataExtent(n),p=t.get("min"),g=t.get("max");null==p&&(p=Math.min(f[0],0)),null==g&&(g=f[1]);var v=t.get("funnelAlign"),m=t.get("gap"),y=(("horizontal"===a?s:l)-m*(i.count()-1))/i.count(),_=function(t,e){if("horizontal"===a){var r=Er(i.get(n,t)||0,[p,g],h,!0),o=void 0;switch(v){case"top":o=d;break;case"center":o=d+(l-r)/2;break;case"bottom":o=d+(l-r)}return[[e,o],[e,o+r]]}var u,f=Er(i.get(n,t)||0,[p,g],h,!0);switch(v){case"left":u=c;break;case"center":u=c+(s-f)/2;break;case"right":u=c+s-f}return[[u,e],[u+f,e]]};"ascending"===r&&(y=-y,m=-m,"horizontal"===a?c+=s:d+=l,u=u.reverse());for(var x=0;x<u.length;x++){var b=u[x],w=u[x+1],S=i.getItemModel(b);if("horizontal"===a){var C=S.get(["itemStyle","width"]);null==C?C=y:(C=Nr(C,s),"ascending"===r&&(C=-C));var M=_(b,c),T=_(w,c+C);c+=C+m,i.setItemLayout(b,{points:M.concat(T.slice().reverse())})}else{var I=S.get(["itemStyle","height"]);null==I?I=y:(I=Nr(I,l),"ascending"===r&&(I=-I)),M=_(b,d),T=_(w,d+I),d+=I+m,i.setItemLayout(b,{points:M.concat(T.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each((function(i){var n,r,o,a,s=t.getItemModel(i),l=s.getModel("label").get("position"),u=s.getModel("labelLine"),c=t.getItemLayout(i),d=c.points,h="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(h)"insideLeft"===l?(r=(d[0][0]+d[3][0])/2+5,o=(d[0][1]+d[3][1])/2,n="left"):"insideRight"===l?(r=(d[1][0]+d[2][0])/2-5,o=(d[1][1]+d[2][1])/2,n="right"):(r=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,o=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,n="center"),a=[[r,o],[r,o]];else{var f=void 0,p=void 0,g=void 0,v=void 0,m=u.get("length");"left"===l?(f=(d[3][0]+d[0][0])/2,p=(d[3][1]+d[0][1])/2,r=(g=f-m)-5,n="right"):"right"===l?(f=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,r=(g=f+m)+5,n="left"):"top"===l?(f=(d[3][0]+d[0][0])/2,o=(v=(p=(d[3][1]+d[0][1])/2)-m)-5,n="center"):"bottom"===l?(f=(d[1][0]+d[2][0])/2,o=(v=(p=(d[1][1]+d[2][1])/2)+m)+5,n="center"):"rightTop"===l?(f="horizontal"===e?d[3][0]:d[1][0],p="horizontal"===e?d[3][1]:d[1][1],"horizontal"===e?(o=(v=p-m)-5,n="center"):(r=(g=f+m)+5,n="top")):"rightBottom"===l?(f=d[2][0],p=d[2][1],"horizontal"===e?(o=(v=p+m)+5,n="center"):(r=(g=f+m)+5,n="bottom")):"leftTop"===l?(f=d[0][0],p="horizontal"===e?d[0][1]:d[1][1],"horizontal"===e?(o=(v=p-m)-5,n="center"):(r=(g=f-m)-5,n="right")):"leftBottom"===l?(f="horizontal"===e?d[1][0]:d[3][0],p="horizontal"===e?d[1][1]:d[2][1],"horizontal"===e?(o=(v=p+m)+5,n="center"):(r=(g=f-m)-5,n="right")):(f=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,"horizontal"===e?(o=(v=p+m)+5,n="center"):(r=(g=f+m)+5,n="left")),"horizontal"===e?r=g=f:o=v=p,a=[[f,p],[g,v]]}c.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:n,inside:h}}))}(i)}))}var oD=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._dataGroup=new Ar,i._initialized=!1,i}return i(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,i,n){this._progressiveEls=null;var r=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=lD(t);if(o.diff(a).add((function(t){uD(sD(o,r,t,l,s),o,t,u)})).update((function(e,i){var n=a.getItemGraphicEl(i),r=aD(o,e,l,s);o.setItemGraphicEl(e,n),Ju(n,{shape:{points:r}},t,e),oc(n),uD(n,o,e,u)})).remove((function(t){var e=a.getItemGraphicEl(t);r.remove(e)})).execute(),!this._initialized){this._initialized=!0;var c=function(t,e,i){var n=t.model,r=t.getRect(),o=new Cs({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===n.get("layout")?"width":"height";return o.setShape(a,0),tc(o,{shape:{width:r.width,height:r.height}},e,i),o}(s,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(c)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,i){for(var n=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=lD(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=sD(n,this._dataGroup,l,o,r);u.incremental=!0,uD(u,n,l,a),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(qp);function aD(t,e,i,n){for(var r,o=[],a=0;a<i.length;a++){var s=i[a],l=t.get(t.mapDimension(s),e);r=l,("category"===n.getAxis(s).type?null==r:null==r||isNaN(r))||o.push(n.dataToPoint(l,s))}return o}function sD(t,e,i,n,r){var o=aD(t,i,n,r),a=new Du({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(i,a),a}function lD(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),ot(e=to(e))&&(e=0),{smooth:e}}function uD(t,e,i,n){t.useStyle(e.getItemVisual(i,"style")),t.style.fill=null,t.setShape("smooth",n.smooth);var r=e.getItemModel(i),o=r.getModel("emphasis");Rl(t,r,"lineStyle"),kl(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}var cD=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.visualStyleAccessPath="lineStyle",i.visualDrawType="stroke",i}return i(e,t),e.prototype.getInitialData=function(t,e){return Ly(null,this,{useEncodeDefaulter:$(dD,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,i=this.getData(),n=[];return e.eachActiveState(i,(function(e,r){t===e&&n.push(i.getRawIndex(r))})),n},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(Vp);function dD(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var i={};return V(e.dimensions,(function(t){var e=+t.replace("dim","");i[t]=e})),i}}var hD=["lineStyle","opacity"],fD={seriesType:"parallel",reset:function(t,e){var i=t.coordinateSystem,n={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){i.eachActiveState(e,(function(t,i){var r=n[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(i).get(hD,!0);null!=o&&(r=o)}e.ensureUniqueItemVisual(i,"style").opacity=r}),t.start,t.end)}}}};function pD(t){!function(t){if(!t.parallel){var e=!1;V(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}(t),function(t){V(so(t.parallelAxis),(function(e){if(K(e)){var i=e.parallelIndex||0,n=so(t.parallel)[i];n&&n.parallelAxisDefault&&k(e,n.parallelAxisDefault,!1)}}))}(t)}var gD=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){this._model=t,this._api=i,this._handlers||(this._handlers={},V(vD,(function(t,e){i.getZr().on(e,this._handlers[e]=$(t,this))}),this)),sg(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){lg(this,"_throttledDispatchExpand"),V(this._handlers,(function(t,i){e.getZr().off(i,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(P({type:"parallelAxisExpand"},t))},e.type="parallel",e}(Yp),vD={mousedown:function(t){mD(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(mD(this,"click")&&e){var i=[t.offsetX,t.offsetY];if(Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2)>5)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==n.behavior&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&mD(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n?null:{duration:0}})}}};function mD(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}var yD=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&k(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},e.prototype.setAxisExpand=function(t){V(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];V(H(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(dh),_D=function(t){function e(e,i,n,r,o){var a=t.call(this,e,i,n)||this;return a.type=r||"value",a.axisIndex=o,a}return i(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(hx);function xD(t,e,i,n,r,o){t=t||0;var a=i[1]-i[0];if(null!=r&&(r=wD(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===n){var s=Math.abs(e[1]-e[0]);s=wD(s,[0,a]),r=o=wD(s,[r,o]),n=0}e[0]=wD(e[0],i),e[1]=wD(e[1],i);var l=bD(e,n);e[n]+=t;var u,c=r||0,d=i.slice();return l.sign<0?d[0]+=c:d[1]-=c,e[n]=wD(e[n],d),u=bD(e,n),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-n]=e[n]+l.sign*r),u=bD(e,n),null!=o&&u.span>o&&(e[1-n]=e[n]+u.sign*o),e}function bD(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function wD(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var SD=V,CD=Math.min,MD=Math.max,TD=Math.floor,ID=Math.ceil,AD=Br,DD=Math.PI,kD=function(){function t(t,e,i){this.type="parallel",this._axesMap=_t(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,i)}return t.prototype._init=function(t,e,i){var n=t.dimensions,r=t.parallelAxisIndex;SD(n,(function(t,i){var n=r[i],o=e.getComponent("parallelAxis",n),a=this._axesMap.set(t,new _D(t,k_(o),[0,0],o.get("type"),n)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),i=e.axisBase,n=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=i&&o<=i+e.axisLength&&a>=n&&a<=n+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(i){if(t.contains(i,e)){var n=i.getData();SD(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),D_(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=rh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,i=this._rect,n=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=i[r[a]],l=[0,s],u=this.dimensions.length,c=LD(e.get("axisExpandWidth"),l),d=LD(e.get("axisExpandCount")||0,[0,u]),h=e.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,f=e.get("axisExpandWindow");f?(t=LD(f[1]-f[0],l),f[1]=f[0]+t):(t=LD(c*(d-1),l),(f=[c*(e.get("axisExpandCenter")||TD(u/2))-t/2])[1]=f[0]+t);var p=(s-t)/(u-d);p<3&&(p=0);var g=[TD(AD(f[0]/c,1))+1,ID(AD(f[1]/c,1))-1],v=p/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:i[n[a]],layoutLength:s,axisBase:i[n[1-a]],axisLength:i[r[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:p,axisExpandWindow:f,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),r=n.layout;e.each((function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])})),SD(i,(function(e,i){var o=(n.axisExpandable?OD:PD)(i,n),a={horizontal:{x:o.position,y:n.axisLength},vertical:{x:0,y:o.position}},s={horizontal:DD/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],c=[1,0,0,1,0,0];Ce(c,c,u),Se(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,i,n){null==i&&(i=0),null==n&&(n=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];V(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=i;u<n;u++){var c=void 0;if(l){c="active";for(var d=t.getValues(a,u),h=0,f=o.length;h<f;h++)if("inactive"===s[h].getActiveState(d[h])){c="inactive";break}}else c="normal";e(c,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,i=!1,n=0,r=t.length;n<r;n++)"normal"!==e.get(t[n]).model.getActiveState()&&(i=!0);return i},t.prototype.axisCoordToPoint=function(t,e){return bc([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return D(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),i=e.pixelDimIndex,n=e.axisExpandWindow.slice(),r=n[1]-n[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:n};var a,s=t[i]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),d=null!=c[0];if(u)d&&u&&s<r*c[0]?(l="jump",a=s-r*c[2]):d&&u&&s>r*(1-c[0])?(l="jump",a=s-r*(1-c[2])):(a=s-r*c[1])>=0&&(a=s-r*(1-c[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?xD(a,n,o,"all"):l="none";else{var h=n[1]-n[0];(n=[MD(0,o[1]*s/h-h/2)])[1]=CD(o[1],n[0]+h),n[0]=n[1]-h}return{axisExpandWindow:n,behavior:l}},t}();function LD(t,e){return CD(MD(t,e[0]),e[1])}function PD(t,e){var i=e.layoutLength/(e.axisCount-1);return{position:i*t,axisNameAvailableWidth:i,axisLabelShow:!0}}function OD(t,e){var i,n,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(i=t*s,n=s):t<=l[1]?(i=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(i=r-(a-1-t)*s,n=s),{position:i,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:n}}var RD={create:function(t,e){var i=[];return t.eachComponent("parallel",(function(n,r){var o=new kD(n,t,e);o.name="parallel_"+r,o.resize(n,e),n.coordinateSystem=o,o.model=n,i.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",Co).models[0];t.coordinateSystem=e.coordinateSystem}})),i}},ED=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.activeIntervals=[],i}return i(e,t),e.prototype.getAreaSelectStyle=function(){return Vo([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=D(t);if(e)for(var i=e.length-1;i>=0;i--)zr(e[i])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var i=e[0];if(i[0]<=t&&t<=i[1])return"active"}else for(var n=0,r=e.length;n<r;n++)if(e[n][0]<=t&&t<=e[n][1])return"active";return"inactive"},e}(dh);B(ED,B_);var ND=Math.min,BD=Math.max,zD=Math.pow,VD="globalPan",FD={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},jD={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},HD={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},GD=0,WD=function(t){function e(e){var i=t.call(this)||this;return i._track=[],i._covers=[],i._handlers={},i._zr=e,i.group=new Ar,i._uid="brushController_"+GD++,V(mk,(function(t,e){this._handlers[e]=$(t,this)}),i),i}return i(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,i){QC(t)["globalPan"]=i}(e,0,this._uid),V(this._handlers,(function(t,i){e.on(i,t)})),this._brushType=t.brushType,this._brushOption=k(D(HD),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,i){var n=QC(t);n[e]===i&&(n[e]=null)}(t,VD,this._uid),V(this._handlers,(function(e,i){t.off(i,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};V(t,(function(t){e[t.panelId]=D(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=F(t,(function(t){return k(D(HD),t,!0)}));var e=this._covers,i=this._covers=[],n=this,r=this._creatingCover;return new Km(e,t,(function(t,e){return o(t.__brushOption,e)}),o).add(a).update(a).remove((function(t){e[t]!==r&&n.group.remove(e[t])})).execute(),this;function o(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function a(o,a){var s=t[o];if(null!=a&&e[a]===r)i[o]=e[a];else{var l=i[o]=null!=a?(e[a].__brushOption=s,e[a]):UD(n,$D(n,s));QD(n,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),JD(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(qt);function $D(t,e){var i=_k[e.brushType].createCover(t,e);return i.__brushOption=e,ZD(i,e),t.group.add(i),i}function UD(t,e){var i=XD(e);return i.endCreating&&(i.endCreating(t,e),ZD(e,e.__brushOption)),e}function YD(t,e){var i=e.__brushOption;XD(e).updateCoverShape(t,e,i.range,i)}function ZD(t,e){var i=e.z;null==i&&(i=1e4),t.traverse((function(t){t.z=i,t.z2=i}))}function QD(t,e){XD(e).updateCommon(t,e),YD(t,e)}function XD(t){return _k[t.__brushOption.brushType]}function qD(t,e,i){var n,r=t._panels;if(!r)return!0;var o=t._transform;return V(r,(function(t){t.isTargetByCursor(e,i,o)&&(n=t)})),n}function KD(t,e){var i=t._panels;if(!i)return!0;var n=e.__brushOption.panelId;return null==n||i[n]}function JD(t){var e=t._covers,i=e.length;return V(e,(function(e){t.group.remove(e)}),t),e.length=0,!!i}function tk(t,e){var i=F(t._covers,(function(t){var e=t.__brushOption,i=D(e.range);return{brushType:e.brushType,panelId:e.panelId,range:i}}));t.trigger("brush",{areas:i,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function ek(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function ik(t,e,i,n){var r=new Ar;return r.add(new Cs({name:"main",style:ak(i),silent:!0,draggable:!0,cursor:"move",drift:U(uk,t,e,r,["n","s","w","e"]),ondragend:U(tk,e,{isEnd:!0})})),V(n,(function(i){r.add(new Cs({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:U(uk,t,e,r,i),ondragend:U(tk,e,{isEnd:!0})}))})),r}function nk(t,e,i,n){var r=n.brushStyle.lineWidth||0,o=BD(r,6),a=i[0][0],s=i[1][0],l=a-r/2,u=s-r/2,c=i[0][1],d=i[1][1],h=c-o+r/2,f=d-o+r/2,p=c-a,g=d-s,v=p+r,m=g+r;ok(t,e,"main",a,s,p,g),n.transformable&&(ok(t,e,"w",l,u,o,m),ok(t,e,"e",h,u,o,m),ok(t,e,"n",l,u,v,o),ok(t,e,"s",l,f,v,o),ok(t,e,"nw",l,u,o,o),ok(t,e,"ne",h,u,o,o),ok(t,e,"sw",l,f,o,o),ok(t,e,"se",h,f,o,o))}function rk(t,e){var i=e.__brushOption,n=i.transformable,r=e.childAt(0);r.useStyle(ak(i)),r.attr({silent:!n,cursor:n?"move":"default"}),V([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(i){var r=e.childOfName(i.join("")),o=1===i.length?lk(t,i[0]):function(t,e){var i=[lk(t,e[0]),lk(t,e[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}(t,i);r&&r.attr({silent:!n,invisible:!n,cursor:n?jD[o]+"-resize":null})}))}function ok(t,e,i,n,r,o,a){var s=e.childOfName(i);s&&s.setShape(function(t){var e=ND(t[0][0],t[1][0]),i=ND(t[0][1],t[1][1]),n=BD(t[0][0],t[1][0]),r=BD(t[0][1],t[1][1]);return{x:e,y:i,width:n-e,height:r-i}}(hk(t,e,[[n,r],[n+o,r+a]])))}function ak(t){return O({strokeNoScale:!0},t.brushStyle)}function sk(t,e,i,n){var r=[ND(t,i),ND(e,n)],o=[BD(t,i),BD(e,n)];return[[r[0],o[0]],[r[1],o[1]]]}function lk(t,e){var i=wc({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return xc(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[i]}function uk(t,e,i,n,r,o){var a=i.__brushOption,s=t.toRectRange(a.range),l=dk(e,r,o);V(n,(function(t){var e=FD[t];s[e[0]][e[1]]+=l[e[0]]})),a.range=t.fromRectRange(sk(s[0][0],s[1][0],s[0][1],s[1][1])),QD(e,i),tk(e,{isEnd:!1})}function ck(t,e,i,n){var r=e.__brushOption.range,o=dk(t,i,n);V(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),QD(t,e),tk(t,{isEnd:!1})}function dk(t,e,i){var n=t.group,r=n.transformCoordToLocal(e,i),o=n.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function hk(t,e,i){var n=KD(t,e);return n&&!0!==n?n.clipPath(i,t._transform):D(i)}function fk(t){var e=t.event;e.preventDefault&&e.preventDefault()}function pk(t,e,i){return t.childOfName("main").contain(e,i)}function gk(t,e,i,n){var r,o=t._creatingCover,a=t._creatingPanel,s=t._brushOption;if(t._track.push(i.slice()),function(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],n=e[0],r=i[0]-n[0],o=i[1]-n[1];return zD(r*r+o*o,.5)>6}(t)||o){if(a&&!o){"single"===s.brushMode&&JD(t);var l=D(s);l.brushType=vk(l.brushType,a),l.panelId=!0===a?null:a.panelId,o=t._creatingCover=$D(t,l),t._covers.push(o)}if(o){var u=_k[vk(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(hk(t,o,t._track)),n&&(UD(t,o),u.updateCommon(t,o)),YD(t,o),r={isEnd:n}}}else n&&"single"===s.brushMode&&s.removeOnClick&&qD(t,e,i)&&JD(t)&&(r={isEnd:n,removeOnClick:!0});return r}function vk(t,e){return"auto"===t?e.defaultBrushType:t}var mk={mousedown:function(t){if(this._dragging)yk(this,t);else if(!t.target||!t.target.draggable){fk(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=qD(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,i=t.offsetY,n=this.group.transformCoordToLocal(e,i);if(function(t,e,i){if(t._brushType&&!function(t,e,i){var n=t._zr;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}(t,e.offsetX,e.offsetY)){var n=t._zr,r=t._covers,o=qD(t,e,i);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(!0===o||s.panelId===o.panelId)&&_k[s.brushType].contain(r[a],i[0],i[1]))return}o&&n.setCursorStyle("crosshair")}}(this,t,n),this._dragging){fk(t);var r=gk(this,t,n,!1);r&&tk(this,r)}},mouseup:function(t){yk(this,t)}};function yk(t,e){if(t._dragging){fk(e);var i=e.offsetX,n=e.offsetY,r=t.group.transformCoordToLocal(i,n),o=gk(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&tk(t,o)}}var _k={lineX:xk(0),lineY:xk(1),rect:{createCover:function(t,e){function i(t){return t}return ik({toRectRange:i,fromRectRange:i},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=ek(t);return sk(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,i,n){nk(t,e,i,n)},updateCommon:rk,contain:pk},polygon:{createCover:function(t,e){var i=new Ar;return i.add(new Du({name:"main",style:ak(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new Iu({name:"main",draggable:!0,drift:U(ck,t,e),ondragend:U(tk,t,{isEnd:!0})}))},updateCoverShape:function(t,e,i,n){e.childAt(0).setShape({points:hk(t,e,i)})},updateCommon:rk,contain:pk}};function xk(t){return{createCover:function(e,i){return ik({toRectRange:function(e){var i=[e,[0,100]];return t&&i.reverse(),i},fromRectRange:function(e){return e[t]}},e,i,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var i=ek(e);return[ND(i[0][t],i[1][t]),BD(i[0][t],i[1][t])]},updateCoverShape:function(e,i,n,r){var o,a=KD(e,i);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[n,o];t&&l.reverse(),nk(e,i,l,r)},updateCommon:rk,contain:pk}}function bk(t){return t=Ck(t),function(e){return Mc(e,t)}}function wk(t,e){return t=Ck(t),function(i){var n=null!=e?e:i,r=n?t.width:t.height,o=n?t.x:t.y;return[o,o+(r||0)]}}function Sk(t,e,i){var n=Ck(t);return function(t,r){return n.contain(r[0],r[1])&&!rM(t,e,i)}}function Ck(t){return ze.create(t)}var Mk=["axisLine","axisTickLabel","axisName"],Tk=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(e,i){t.prototype.init.apply(this,arguments),(this._brushController=new WD(i.getZr())).on("brush",$(this._onBrush,this))},e.prototype.render=function(t,e,i,n){if(!function(t,e,i){return i&&"axisAreaSelect"===i.type&&e.findComponents({mainType:"parallelAxis",query:i})[0]===t}(t,e,n)){this.axisModel=t,this.api=i,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new Ar,this.group.add(this._axisGroup),t.get("show")){var o=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,c=P({strokeContainThreshold:l},a.getAxisLayout(u)),d=new lC(t,c);V(Mk,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(c,s,t,o,l,i),Cc(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,i,n,r,o){var a=i.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=ze.create({x:a[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:bk(u),isTargetByCursor:Sk(u,o,n),getLinearBrushOtherExtent:wk(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return F(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}(i))},e.prototype._onBrush=function(t){var e=t.areas,i=this.axisModel,n=i.axis,r=F(e,(function(t){return[n.coordToData(t.range[0],!0),n.coordToData(t.range[1],!0)]}));(!i.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Yp),Ik={type:"axisAreaSelect",event:"axisAreaSelected"},Ak={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function Dk(t){t.registerComponentView(gD),t.registerComponentModel(yD),t.registerCoordinateSystem("parallel",RD),t.registerPreprocessor(pD),t.registerComponentModel(ED),t.registerComponentView(Tk),$S(t,"parallel",ED,Ak),function(t){t.registerAction(Ik,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}(t)}var kk=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},Lk=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new kk},e.prototype.buildPath=function(t,e){var i=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+i,e.y2),t.bezierCurveTo(e.cpx2+i,e.cpy2,e.cpx1+i,e.cpy1,e.x1+i,e.y1)):(t.lineTo(e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i)),t.closePath()},e.prototype.highlight=function(){vl(this)},e.prototype.downplay=function(){ml(this)},e}(hs),Pk=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._focusAdjacencyDisabled=!1,i}return i(e,t),e.prototype.render=function(t,e,i){var n=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,u=t.getData(),c=t.getData("edge"),d=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge((function(e){var i=new Lk,n=Fs(i);n.dataIndex=e.dataIndex,n.seriesIndex=t.seriesIndex,n.dataType="edge";var r,a,u,h,f,p,g,v,m=e.getModel(),y=m.getModel("lineStyle"),_=y.get("curveness"),x=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),C=e.node2.getLayout(),M=e.node2.getModel(),T=M.get("localX"),I=M.get("localY"),A=e.getLayout();switch(i.shape.extent=Math.max(1,A.dy),i.shape.orient=d,"vertical"===d?(r=(null!=w?w*s:x.x)+A.sy,a=(null!=S?S*l:x.y)+x.dy,u=(null!=T?T*s:C.x)+A.ty,f=r,p=a*(1-_)+(h=null!=I?I*l:C.y)*_,g=u,v=a*_+h*(1-_)):(r=(null!=w?w*s:x.x)+x.dx,a=(null!=S?S*l:x.y)+A.sy,f=r*(1-_)+(u=null!=T?T*s:C.x)*_,p=a,g=r*_+u*(1-_),v=h=(null!=I?I*l:C.y)+A.ty),i.setShape({x1:r,y1:a,x2:u,y2:h,cpx1:f,cpy1:p,cpx2:g,cpy2:v}),i.useStyle(y.getItemStyle()),i.style.fill){case"source":i.style.fill=e.node1.getVisual("color"),i.style.decal=e.node1.getVisual("style").decal;break;case"target":i.style.fill=e.node2.getVisual("color"),i.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var D=e.node1.getVisual("color"),k=e.node2.getVisual("color");Q(D)&&Q(k)&&(i.style.fill=new ju(0,0,+("horizontal"===d),+("vertical"===d),[{color:D,offset:0},{color:k,offset:1}]))}zc(i,Vc(m,"edgeLabel"),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:""+m.get("value")}),i.setTextConfig({position:"inside"});var L=m.getModel("emphasis");Rl(i,m,"lineStyle",(function(t){return t.getItemStyle()})),o.add(i),c.setItemGraphicEl(e.dataIndex,i);var P=L.get("focus");kl(i,"adjacency"===P?e.getAdjacentDataIndices():P,L.get("blurScope"),L.get("disabled")),Fs(i).dataType="edge"})),r.eachNode((function(e){var i=e.getLayout(),n=e.getModel(),r=n.get("localX"),a=n.get("localY"),c=n.getModel("emphasis"),d=new Cs({shape:{x:null!=r?r*s:i.x,y:null!=a?a*l:i.y,width:i.dx,height:i.dy},style:n.getModel("itemStyle").getItemStyle(),z2:10});zc(d,Vc(n),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),d.disableLabelAnimation=!0,d.setStyle("fill",e.getVisual("color")),d.setStyle("decal",e.getVisual("style").decal),Rl(d,n),o.add(d),u.setItemGraphicEl(e.dataIndex,d),Fs(d).dataType="node";var h=c.get("focus");kl(d,"adjacency"===h?e.getAdjacentDataIndices():h,c.get("blurScope"),c.get("disabled"))})),u.eachItemGraphicEl((function(e,r){u.getItemModel(r).get("draggable")&&(e.drift=function(e,o){n._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){n._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(function(t,e,i){var n=new Cs({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return tc(n,{shape:{width:t.width+20}},e,(function(){o.removeClipPath()})),n}(o.getBoundingRect(),t)),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(qp),Ok=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.getInitialData=function(t,e){var i=t.edges||t.links,n=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<r.length;a++)null!=r[a].depth&&r[a].depth>=0&&(o[r[a].depth]=new ld(r[a],this,e));if(n&&i){var s=UA(n,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var i=t.parentModel,n=i.getData().getItemLayout(e);if(n){var r=n.depth,o=i.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var i=t.parentModel,n=i.getGraph().getEdgeByIndex(e).node1.getLayout();if(n){var r=n.depth,o=i.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data}},e.prototype.setNodePosition=function(t,e){var i=(this.option.data||this.option.nodes)[t];i.localX=e[0],i.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,i){function n(t){return isNaN(t)||null==t}if("edge"===i){var r=this.getDataParams(t,i),o=r.data,a=r.value;return Mp("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:n(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,i).data.name;return Mp("nameValue",{name:null!=l?l+"":null,value:s,noValue:n(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,i){var n=t.prototype.getDataParams.call(this,e,i);if(null==n.value&&"node"===i){var r=this.getGraph().getNodeByIndex(e).getLayout().value;n.value=r}return n},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Vp);function Rk(t,e){t.eachSeriesByType("sankey",(function(t){var i=t.get("nodeWidth"),n=t.get("nodeGap"),r=function(t,e){return rh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){V(t,(function(t){var e=Wk(t.outEdges,Gk),i=Wk(t.inEdges,Gk),n=t.getValue()||0,r=Math.max(e,i,n);t.setLayout({value:r},!0)}))}(l),function(t,e,i,n,r,o,a,s,l){(function(t,e,i,n,r,o,a){for(var s=[],l=[],u=[],c=[],d=0,h=0;h<e.length;h++)s[h]=1;for(h=0;h<t.length;h++)l[h]=t[h].inEdges.length,0===l[h]&&u.push(t[h]);for(var f=-1;u.length;){for(var p=0;p<u.length;p++){var g=u[p],v=g.hostGraph.data.getRawDataItem(g.dataIndex),m=null!=v.depth&&v.depth>=0;m&&v.depth>f&&(f=v.depth),g.setLayout({depth:m?v.depth:d},!0),"vertical"===o?g.setLayout({dy:i},!0):g.setLayout({dx:i},!0);for(var y=0;y<g.outEdges.length;y++){var _=g.outEdges[y];s[e.indexOf(_)]=0;var x=_.node2;0==--l[t.indexOf(x)]&&c.indexOf(x)<0&&c.push(x)}}++d,u=c,c=[]}for(h=0;h<s.length;h++)if(1===s[h])throw new Error("Sankey is a DAG, the original data has cycle!");var b=f>d-1?f:d-1;a&&"left"!==a&&function(t,e,i,n){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];r.indexOf(c.node1)<0&&r.push(c.node1)}}o=r,r=[],++a}V(t,(function(t){Ek(t)||t.setLayout({depth:Math.max(0,n-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&function(t,e){V(t,(function(t){Ek(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}(t,n)}(t,a,0,b),function(t,e,i){V(t,(function(t){var n=t.getLayout().depth*e;"vertical"===i?t.setLayout({y:n},!0):t.setLayout({x:n},!0)}))}(t,"vertical"===o?(r-i)/b:(n-i)/b,o)})(t,e,i,r,o,s,l),function(t,e,i,n,r,o,a){var s=function(t,e){var i=[],n="vertical"===e?"y":"x",r=Ao(t,(function(t){return t.getLayout()[n]}));return r.keys.sort((function(t,e){return t-e})),V(r.keys,(function(t){i.push(r.buckets.get(t))})),i}(t,a);(function(t,e,i,n,r,o){var a=1/0;V(t,(function(t){var e=t.length,s=0;V(t,(function(t){s+=t.getLayout().value}));var l="vertical"===o?(n-(e-1)*r)/s:(i-(e-1)*r)/s;l<a&&(a=l)})),V(t,(function(t){V(t,(function(t,e){var i=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:i},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:i},!0))}))})),V(e,(function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)}))})(s,e,i,n,r,a),Nk(s,r,i,n,a);for(var l=1;o>0;o--)Bk(s,l*=.99,a),Nk(s,r,i,n,a),$k(s,l,a),Nk(s,r,i,n,a)}(t,e,o,r,n,a,s),function(t,e){var i="vertical"===e?"x":"y";V(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[i]-e.node2.getLayout()[i]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[i]-e.node1.getLayout()[i]}))})),V(t,(function(t){var e=0,i=0;V(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),V(t.inEdges,(function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy}))}))}(t,s)}(l,u,i,n,o,a,0!==H(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function Ek(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function Nk(t,e,i,n,r){var o="vertical"===r?"x":"y";V(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,c=t.length,d="vertical"===r?"dx":"dy",h=0;h<c;h++)(l=u-(s=t[h]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[d]+e;if((l=u-e-("vertical"===r?n:i))>0)for(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,h=c-2;h>=0;--h)(l=(s=t[h]).getLayout()[o]+s.getLayout()[d]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}))}function Bk(t,e,i){V(t.slice().reverse(),(function(t){V(t,(function(t){if(t.outEdges.length){var n=Wk(t.outEdges,zk,i)/Wk(t.outEdges,Gk);if(isNaN(n)){var r=t.outEdges.length;n=r?Wk(t.outEdges,Vk,i)/r:0}if("vertical"===i){var o=t.getLayout().x+(n-Hk(t,i))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(n-Hk(t,i))*e;t.setLayout({y:a},!0)}}}))}))}function zk(t,e){return Hk(t.node2,e)*t.getValue()}function Vk(t,e){return Hk(t.node2,e)}function Fk(t,e){return Hk(t.node1,e)*t.getValue()}function jk(t,e){return Hk(t.node1,e)}function Hk(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function Gk(t){return t.getValue()}function Wk(t,e,i){for(var n=0,r=t.length,o=-1;++o<r;){var a=+e(t[o],i);isNaN(a)||(n+=a)}return n}function $k(t,e,i){V(t,(function(t){V(t,(function(t){if(t.inEdges.length){var n=Wk(t.inEdges,Fk,i)/Wk(t.inEdges,Gk);if(isNaN(n)){var r=t.inEdges.length;n=r?Wk(t.inEdges,jk,i)/r:0}if("vertical"===i){var o=t.getLayout().x+(n-Hk(t,i))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(n-Hk(t,i))*e;t.setLayout({y:a},!0)}}}))}))}function Uk(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),i=e.nodes,n=e.edges;if(i.length){var r=1/0,o=-1/0;V(i,(function(t){var e=t.getLayout().value;e<r&&(r=e),e>o&&(o=e)})),V(i,(function(e){var i=new yI({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),n=e.getModel().get(["itemStyle","color"]);null!=n?(e.setVisual("color",n),e.setVisual("style",{fill:n})):(e.setVisual("color",i),e.setVisual("style",{fill:i}))}))}n.length&&V(n,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var Yk=function(){function t(){}return t.prototype.getInitialData=function(t,e){var i,n,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",i=r.getOrdinalMeta(),n=!0):"category"===s?(t.layout="vertical",i=o.getOrdinalMeta(),n=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=l[u],d=l[1-u],h=[r,o],f=h[u].get("type"),p=h[1-u].get("type"),g=t.data;if(g&&n){var v=[];V(g,(function(t,e){var i;Y(t)?(i=t.slice(),t.unshift(e)):Y(t.value)?((i=P({},t)).value=i.value.slice(),t.value.unshift(e)):i=t,v.push(i)})),t.data=v}var m=this.defaultValueDimensions,y=[{name:c,type:ey(f),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:ey(p),dimsDef:m.slice()}];return DS(this,{coordDimensions:y,dimensionsCount:m.length+1,encodeDefaulter:U(Ch,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),Zk=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],i.visualDrawType="stroke",i}return i(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Vp);B(Zk,Yk,!0);var Qk=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){var n=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;n.diff(o).add((function(t){if(n.hasValue(t)){var e=Kk(n.getItemLayout(t),n,t,a,!0);n.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var i=o.getItemGraphicEl(e);if(n.hasValue(t)){var s=n.getItemLayout(t);i?(oc(i),Jk(s,i,n,t)):i=Kk(s,n,t,a),r.add(i),n.setItemGraphicEl(t,i)}else r.remove(i)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=n},e.prototype.remove=function(t){var e=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(qp),Xk=function(){},qk=function(t){function e(e){var i=t.call(this,e)||this;return i.type="boxplotBoxPath",i}return i(e,t),e.prototype.getDefaultShape=function(){return new Xk},e.prototype.buildPath=function(t,e){var i=e.points,n=0;for(t.moveTo(i[n][0],i[n][1]),n++;n<4;n++)t.lineTo(i[n][0],i[n][1]);for(t.closePath();n<i.length;n++)t.moveTo(i[n][0],i[n][1]),n++,t.lineTo(i[n][0],i[n][1])},e}(hs);function Kk(t,e,i,n,r){var o=t.ends,a=new qk({shape:{points:r?tL(o,n,t):o}});return Jk(t,a,e,i,r),a}function Jk(t,e,i,n,r){var o=i.hostModel;(0,Rc[r?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,n),e.useStyle(i.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.z2=100;var a=i.getItemModel(n),s=a.getModel("emphasis");Rl(e,a),kl(e,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function tL(t,e,i){return F(t,(function(t){return(t=t.slice())[e]=i.initBaseline,t}))}var eL=V;function iL(t){var e=function(t){var e=[],i=[];return t.eachSeriesByType("boxplot",(function(t){var n=t.getBaseAxis(),r=E(i,n);r<0&&(r=i.length,i[r]=n,e[r]={axis:n,seriesModels:[]}),e[r].seriesModels.push(t)})),e}(t);eL(e,(function(t){var e=t.seriesModels;e.length&&(function(t){var e,i=t.axis,n=t.seriesModels,r=n.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],s=[];if("category"===i.type)e=i.getBandWidth();else{var l=0;eL(n,(function(t){l=Math.max(l,t.getData().count())}));var u=i.getExtent();e=Math.abs(u[1]-u[0])/l}eL(n,(function(t){var i=t.get("boxWidth");Y(i)||(i=[i,i]),s.push([Nr(i[0],e)||0,Nr(i[1],e)||0])}));var c=.8*e-2,d=c/r*.3,h=(c-d*(r-1))/r,f=h/2-c/2;eL(n,(function(t,e){a.push(f),f+=d+h,o.push(Math.min(Math.max(h,s[e][0]),s[e][1]))}))}(t),eL(e,(function(e,i){!function(t,e,i){var n=t.coordinateSystem,r=t.getData(),o=i/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),c=r.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var d=0;d<r.count();d++){var h=r.get(u,d),f=_(h,c[2],d),p=_(h,c[0],d),g=_(h,c[1],d),v=_(h,c[3],d),m=_(h,c[4],d),y=[];x(y,g,!1),x(y,v,!0),y.push(p,g,m,v),b(y,p),b(y,m),b(y,f),r.setItemLayout(d,{initBaseline:f[s],ends:y})}function _(t,i,o){var l,u=r.get(i,o),c=[];return c[a]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=n.dataToPoint(c))[a]+=e,l}function x(t,e,i){var n=e.slice(),r=e.slice();n[a]+=o,r[a]-=o,i?t.push(n,r):t.push(r,n)}function b(t,e){var i=e.slice(),n=e.slice();i[a]-=o,n[a]+=o,t.push(i,n)}}(e,t.boxOffsetList[i],t.boxWidthList[i])})))}))}var nL={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==mh){ro("")}var i=function(t,e){for(var i=[],n=[],r=(e=e||{}).boundIQR,o="none"===r||0===r,a=0;a<t.length;a++){var s=zr(t[a].slice()),l=Kr(s,.25),u=Kr(s,.5),c=Kr(s,.75),d=s[0],h=s[s.length-1],f=(null==r?1.5:r)*(c-l),p=o?d:Math.max(d,l-f),g=o?h:Math.min(h,c+f),v=e.itemNameFormatter,m=Z(v)?v({value:a}):Q(v)?v.replace("{value}",a+""):a+"";i.push([m,p,l,u,c,g]);for(var y=0;y<s.length;y++){var _=s[y];if(_<p||_>g){var x=[m,_];n.push(x)}}}return{boxData:i,outliers:n}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}},rL=["color","borderColor"],oL=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,i){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,i,n){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){Oc(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),i=this._data,n=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||n.removeAll(),e.diff(i).add((function(i){if(e.hasValue(i)){var a=e.getItemLayout(i);if(o&&uL(s,a))return;var l=lL(a,i,!0);tc(l,{shape:{points:a.ends}},t,i),cL(l,e,i,r),n.add(l),e.setItemGraphicEl(i,l)}})).update((function(a,l){var u=i.getItemGraphicEl(l);if(e.hasValue(a)){var c=e.getItemLayout(a);o&&uL(s,c)?n.remove(u):(u?(Ju(u,{shape:{points:c.ends}},t,a),oc(u)):u=lL(c),cL(u,e,a,r),n.add(u),e.setItemGraphicEl(a,u))}else n.remove(u)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&n.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),pL(t,this.group);var e=t.get("clip",!0)?Dw(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var i,n=e.getData(),r=n.getLayout("isSimpleBox");null!=(i=t.next());){var o=lL(n.getItemLayout(i));cL(o,n,i,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){pL(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(qp),aL=function(){},sL=function(t){function e(e){var i=t.call(this,e)||this;return i.type="normalCandlestickBox",i}return i(e,t),e.prototype.getDefaultShape=function(){return new aL},e.prototype.buildPath=function(t,e){var i=e.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))},e}(hs);function lL(t,e,i){var n=t.ends;return new sL({shape:{points:i?dL(n,t):n},z2:100})}function uL(t,e){for(var i=!0,n=0;n<e.ends.length;n++)if(t.contain(e.ends[n][0],e.ends[n][1])){i=!1;break}return i}function cL(t,e,i,n){var r=e.getItemModel(i);t.useStyle(e.getItemVisual(i,"style")),t.style.strokeNoScale=!0,t.__simpleBox=n,Rl(t,r)}function dL(t,e){return F(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var hL=function(){},fL=function(t){function e(e){var i=t.call(this,e)||this;return i.type="largeCandlestickBox",i}return i(e,t),e.prototype.getDefaultShape=function(){return new hL},e.prototype.buildPath=function(t,e){for(var i=e.points,n=0;n<i.length;)if(this.__sign===i[n++]){var r=i[n++];t.moveTo(r,i[n++]),t.lineTo(r,i[n++])}else n+=3},e}(hs);function pL(t,e,i,n){var r=t.getData().getLayout("largePoints"),o=new fL({shape:{points:r},__sign:1,ignoreCoarsePointer:!0});e.add(o);var a=new fL({shape:{points:r},__sign:-1,ignoreCoarsePointer:!0});e.add(a);var s=new fL({shape:{points:r},__sign:0,ignoreCoarsePointer:!0});e.add(s),gL(1,o,t),gL(-1,a,t),gL(0,s,t),n&&(o.incremental=!0,a.incremental=!0),i&&i.push(o,a)}function gL(t,e,i,n){var r=i.get(["itemStyle",t>0?"borderColor":"borderColor0"])||i.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=i.get(["itemStyle","borderColorDoji"]));var o=i.getModel("itemStyle").getItemStyle(rL);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var vL=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],i}return i(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,i){var n=e.getItemLayout(t);return n&&i.rect(n.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Vp);function mL(t){t&&Y(t.series)&&V(t.series,(function(t){K(t)&&"k"===t.type&&(t.type="candlestick")}))}B(vL,Yk,!0);var yL=["itemStyle","borderColor"],_L=["itemStyle","borderColor0"],xL=["itemStyle","borderColorDoji"],bL=["itemStyle","color"],wL=["itemStyle","color0"],SL={seriesType:"candlestick",plan:Zp(),performRawSeries:!0,reset:function(t,e){function i(t,e){return e.get(t>0?bL:wL)}function n(t,e){return e.get(0===t?xL:t>0?yL:_L)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=i(a,o),s.stroke=n(a,o)||s.fill,P(e.ensureUniqueItemVisual(r,"style"),s)}}}}},CL={seriesType:"candlestick",plan:Zp(),reset:function(t){var e=t.coordinateSystem,i=t.getData(),n=function(t,e){var i,n=t.getBaseAxis(),r="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),o=Nr(st(t.get("barMaxWidth"),r),r),a=Nr(st(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?Nr(s,r):Math.max(Math.min(r/2,o),a)}(t,i),r=["x","y"],o=i.getDimensionIndex(i.mapDimension(r[0])),a=F(i.mapDimensionsAll(r[1]),i.getDimensionIndex,i),s=a[0],l=a[1],u=a[2],c=a[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(i,n){for(var r,a,d=Zy(4*i.count),h=0,f=[],p=[],g=n.getStore(),v=!!t.get(["itemStyle","borderColorDoji"]);null!=(a=i.next());){var m=g.get(o,a),y=g.get(s,a),_=g.get(l,a),x=g.get(u,a),b=g.get(c,a);isNaN(m)||isNaN(x)||isNaN(b)?(d[h++]=NaN,h+=3):(d[h++]=ML(g,a,y,_,l,v),f[0]=m,f[1]=x,r=e.dataToPoint(f,null,p),d[h++]=r?r[0]:NaN,d[h++]=r?r[1]:NaN,f[1]=b,r=e.dataToPoint(f,null,p),d[h++]=r?r[1]:NaN)}n.setLayout("largePoints",d)}:function(t,i){for(var r,a=i.getStore();null!=(r=t.next());){var d=a.get(o,r),h=a.get(s,r),f=a.get(l,r),p=a.get(u,r),g=a.get(c,r),v=Math.min(h,f),m=Math.max(h,f),y=C(v,d),_=C(m,d),x=C(p,d),b=C(g,d),w=[];M(w,_,0),M(w,y,1),w.push(I(b),I(_),I(x),I(y));var S=!!i.getItemModel(r).get(["itemStyle","borderColorDoji"]);i.setItemLayout(r,{sign:ML(a,r,h,f,l,S),initBaseline:h>f?_[1]:y[1],ends:w,brushRect:T(p,g,d)})}function C(t,i){var n=[];return n[0]=i,n[1]=t,isNaN(i)||isNaN(t)?[NaN,NaN]:e.dataToPoint(n)}function M(t,e,i){var r=e.slice(),o=e.slice();r[0]=_c(r[0]+n/2,1,!1),o[0]=_c(o[0]-n/2,1,!0),i?t.push(r,o):t.push(o,r)}function T(t,e,i){var r=C(t,i),o=C(e,i);return r[0]-=n/2,o[0]-=n/2,{x:r[0],y:r[1],width:n,height:o[1]-r[1]}}function I(t){return t[0]=_c(t[0],1),t}}}}};function ML(t,e,i,n,r,o){return i>n?-1:i<n?1:o?0:e>0?t.get(r,e-1)<=n?1:-1:1}function TL(t,e){var i=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?i:null,fill:"fill"===e.brushType?i:null}})}))}var IL=function(t){function e(e,i){var n=t.call(this)||this,r=new dw(e,i),o=new Ar;return n.add(r),n.add(o),n.updateData(e,i),n}return i(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,i=t.color,n=t.rippleNumber,r=this.childAt(1),o=0;o<n;o++){var a=uv(e,-1,-1,2,2,i);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/n*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(a)}TL(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,i=this.childAt(1),n=["symbolType","period","rippleScale","rippleNumber"],r=0;r<n.length;r++){var o=n[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}TL(i,t)},e.prototype.highlight=function(){vl(this)},e.prototype.downplay=function(){ml(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var i=this,n=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=cv(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,c=o.getModel("emphasis");r.setScale(s),r.traverse((function(t){t.setStyle("fill",u)}));var d=dv(t.getItemVisual(e,"symbolOffset"),s);d&&(r.x=d[0],r.y=d[1]);var h=t.getItemVisual(e,"symbolRotate");r.rotation=(h||0)*Math.PI/180||0;var f={};f.showEffectOn=n.get("showEffectOn"),f.rippleScale=o.get(["rippleEffect","scale"]),f.brushType=o.get(["rippleEffect","brushType"]),f.period=1e3*o.get(["rippleEffect","period"]),f.effectOffset=e/t.count(),f.z=n.getShallow("z")||0,f.zlevel=n.getShallow("zlevel")||0,f.symbolType=a,f.color=u,f.rippleEffectColor=o.get(["rippleEffect","color"]),f.rippleNumber=o.get(["rippleEffect","number"]),"render"===f.showEffectOn?(this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==f.showEffectOn&&i.startEffectAnimation(f):"normal"===t&&"render"!==f.showEffectOn&&i.stopEffectAnimation()}),this._effectCfg=f,kl(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(Ar),AL=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(){this._symbolDraw=new vw(IL)},e.prototype.render=function(t,e,i){var n=t.getData(),r=this._symbolDraw;r.updateData(n,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,i=e&&e.getArea&&e.getArea();return t.get("clip",!0)?i:null},e.prototype.updateTransform=function(t,e,i){var n=t.getData();this.group.dirty();var r=Hw("").reset(t,e,i);r.progress&&r.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=Ie(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(qp),DL=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return i(e,t),e.prototype.getInitialData=function(t,e){return Ly(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,i){return i.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(Vp),kL=function(t){function e(e,i,n){var r=t.call(this)||this;return r.add(r.createLine(e,i,n)),r._updateEffectSymbol(e,i),r}return i(e,t),e.prototype.createLine=function(t,e,i){return new TA(t,e,i)},e.prototype._updateEffectSymbol=function(t,e){var i=t.getItemModel(e).getModel("effect"),n=i.get("symbolSize"),r=i.get("symbol");Y(n)||(n=[n,n]);var o=t.getItemVisual(e,"style"),a=i.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==r&&(this.remove(s),(s=uv(r,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(i.getItemStyle(["color"])),s.scaleX=n[0],s.scaleY=n[1],s.setColor(a),this._symbolType=r,this._symbolScale=n,this._updateEffectAnimation(t,i,e))},e.prototype._updateEffectAnimation=function(t,e,i){var n=this.childAt(1);if(n){var r=t.getItemLayout(i),o=1e3*e.get("period"),a=e.get("loop"),s=e.get("roundTrip"),l=e.get("constantSpeed"),u=at(e.get("delay"),(function(e){return e/t.count()*o/3}));if(n.ignore=!0,this._updateAnimationPoints(n,r),l>0&&(o=this._getLineLength(n)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){n.stopAnimation();var c=void 0;c=Z(u)?u(i):u,n.__t>0&&(c=-o*n.__t),this._animateSymbol(n,o,c,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,i,n,r){if(e>0){t.__t=0;var o=this,a=t.animate("",n).when(r?2*e:e,{__t:r?2:1}).delay(i).during((function(){o._updateSymbolPosition(t)}));n||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return jt(t.__p1,t.__cp1)+jt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=xi,l=bi;o[0]=s(e[0],n[0],i[0],r),o[1]=s(e[1],n[1],i[1],r);var u=t.__t<1?l(e[0],n[0],i[0],r):l(i[0],n[0],e[0],1-r),c=t.__t<1?l(e[1],n[1],i[1],r):l(i[1],n[1],e[1],1-r);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*jt(a,o),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?t.scaleY=2*jt(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var i=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,i,e)},e}(Ar),LL=function(t){function e(e,i,n){var r=t.call(this)||this;return r._createPolyline(e,i,n),r}return i(e,t),e.prototype._createPolyline=function(t,e,i){var n=t.getItemLayout(e),r=new Du({shape:{points:n}});this.add(r),this._updateCommonStl(t,e,i)},e.prototype.updateData=function(t,e,i){var n=t.hostModel;Ju(this.childAt(0),{shape:{points:t.getItemLayout(e)}},n,e),this._updateCommonStl(t,e,i)},e.prototype._updateCommonStl=function(t,e,i){var n=this.childAt(0),r=t.getItemModel(e),o=i&&i.emphasisLineStyle,a=i&&i.focus,s=i&&i.blurScope,l=i&&i.emphasisDisabled;if(!i||t.hasItemOption){var u=r.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}n.useStyle(t.getItemVisual(e,"style")),n.style.fill=null,n.style.strokeNoScale=!0,n.ensureState("emphasis").style=o,kl(this,a,s,l)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(Ar),PL=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return i(e,t),e.prototype.createLine=function(t,e,i){return new LL(t,e,i)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var i=[0],n=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];n+=jt(o,a),i.push(n)}if(0!==n){for(r=0;r<i.length;r++)i[r]/=n;this._offsets=i,this._length=n}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t<1?t.__t:2-t.__t,i=this._points,n=this._offsets,r=i.length;if(n){var o,a=this._lastFrame;if(e<this._lastFramePercent){for(o=Math.min(a+1,r-1);o>=0&&!(n[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;o<r&&!(n[o]>e);o++);o=Math.min(o-1,r-2)}var s=(e-n[o])/(n[o+1]-n[o]),l=i[o],u=i[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var c=t.__t<1?u[0]-l[0]:l[0]-u[0],d=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(d,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(kL),OL=function(){this.polyline=!1,this.curveness=0,this.segs=[]},RL=function(t){function e(e){var i=t.call(this,e)||this;return i._off=0,i.hoverDataIdx=-1,i}return i(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new OL},e.prototype.buildPath=function(t,e){var i,n=e.segs,r=e.curveness;if(e.polyline)for(i=this._off;i<n.length;){var o=n[i++];if(o>0){t.moveTo(n[i++],n[i++]);for(var a=1;a<o;a++)t.lineTo(n[i++],n[i++])}}else for(i=this._off;i<n.length;){var s=n[i++],l=n[i++],u=n[i++],c=n[i++];if(t.moveTo(s,l),r>0){var d=(s+u)/2-(l-c)*r,h=(l+c)/2-(u-s)*r;t.quadraticCurveTo(d,h,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=i,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var i=this.shape,n=i.segs,r=i.curveness,o=this.style.lineWidth;if(i.polyline)for(var a=0,s=0;s<n.length;){var l=n[s++];if(l>0)for(var u=n[s++],c=n[s++],d=1;d<l;d++)if(Ya(u,c,h=n[s++],f=n[s++],o,t,e))return a;a++}else for(a=0,s=0;s<n.length;){u=n[s++],c=n[s++];var h=n[s++],f=n[s++];if(r>0){if(Qa(u,c,(u+h)/2-(c-f)*r,(c+f)/2-(h-u)*r,h,f,o,t,e))return a}else if(Ya(u,c,h,f,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();return t=i[0],e=i[1],n.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,i=1/0,n=1/0,r=-1/0,o=-1/0,a=0;a<e.length;){var s=e[a++],l=e[a++];i=Math.min(s,i),r=Math.max(s,r),n=Math.min(l,n),o=Math.max(l,o)}t=this._rect=new ze(i,n,r,o)}return t},e}(hs),EL=function(){function t(){this.group=new Ar}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var i=this._newAdded[0],n=e.getLayout("linesPoints"),r=i&&i.shape.segs;if(r&&r.length<2e4){var o=r.length,a=new Float32Array(o+n.length);a.set(r),a.set(n,o),i.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:n}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new RL({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,i){var n=e.hostModel;t.setShape({polyline:n.get("polyline"),curveness:n.get(["lineStyle","curveness"])}),t.useStyle(n.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var o=Fs(t);o.seriesIndex=n.seriesIndex,t.on("mousemove",(function(e){o.dataIndex=null;var i=t.hoverDataIdx;i>0&&(o.dataIndex=i+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),NL={seriesType:"lines",plan:Zp(),reset:function(t){var e=t.coordinateSystem;if(e){var i=t.get("polyline"),n=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(n){var s=void 0,l=r.end-r.start;if(i){for(var u=0,c=r.start;c<r.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var d=0,h=[];for(c=r.start;c<r.end;c++){var f=t.getLineCoords(c,a);i&&(s[d++]=f);for(var p=0;p<f;p++)h=e.dataToPoint(a[p],!1,h),s[d++]=h[0],s[d++]=h[1]}o.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var g=o.getItemModel(c),v=(f=t.getLineCoords(c,a),[]);if(i)for(var m=0;m<f;m++)v.push(e.dataToPoint(a[m]));else{v[0]=e.dataToPoint(a[0]),v[1]=e.dataToPoint(a[1]);var y=g.get(["lineStyle","curveness"]);+y&&(v[2]=[(v[0][0]+v[1][0])/2-(v[0][1]-v[1][1])*y,(v[0][1]+v[1][1])/2-(v[1][0]-v[0][0])*y])}o.setItemLayout(c,v)}}}}}},BL=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){var n=t.getData(),r=this._updateLineDraw(n,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=i.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(n);var u=t.get("clip",!0)&&Dw(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,i){var n=t.getData();this._updateLineDraw(n,t).incrementalPrepareUpdate(n),this._clearLayer(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,i){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,i){var n=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=NL.reset(t,e,i);o.progress&&o.progress({start:0,end:n.count(),count:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(i)},e.prototype._updateLineDraw=function(t,e){var i=this._lineDraw,n=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return i&&n===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(i&&i.remove(),i=this._lineDraw=o?new EL:new IA(r?n?PL:LL:n?kL:TA),this._hasEffet=n,this._isPolyline=r,this._isLargeDraw=o),this.group.add(i.group),i},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(qp),zL="undefined"==typeof Uint32Array?Array:Uint32Array,VL="undefined"==typeof Float64Array?Array:Float64Array;function FL(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=F(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),L([e,t[0],t[1]])})))}var jL=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.visualStyleAccessPath="lineStyle",i.visualDrawType="stroke",i}return i(e,t),e.prototype.init=function(e){e.data=e.data||[],FL(e);var i=this._processFlatCoordsArray(e.data);this._flatCoords=i.flatCoords,this._flatCoordsOffset=i.flatCoordsOffset,i.flatCoords&&(e.data=new Float32Array(i.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(FL(e),e.data){var i=this._processFlatCoordsArray(e.data);this._flatCoords=i.flatCoords,this._flatCoordsOffset=i.flatCoordsOffset,i.flatCoords&&(e.data=new Float32Array(i.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=xt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=xt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),i=e.option instanceof Array?e.option:e.getShallow("coords");return i},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[2*t],n=this._flatCoordsOffset[2*t+1],r=0;r<n;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[i+2*r],e[r][1]=this._flatCoords[i+2*r+1];return n}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),q(t[0])){for(var i=t.length,n=new zL(i),r=new VL(i),o=0,a=0,s=0,l=0;l<i;){s++;var u=t[l++];n[a++]=o+e,n[a++]=u;for(var c=0;c<u;c++){var d=t[l++],h=t[l++];r[o++]=d,r[o++]=h}}return{flatCoordsOffset:new Uint32Array(n.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var i=new wy(["value"],this);return i.hasItemOption=!1,i.initData(t.data,[],(function(t,e,n,r){if(t instanceof Array)return NaN;i.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),i},e.prototype.formatTooltip=function(t,e,i){var n=this.getData().getItemModel(t),r=n.get("name");if(r)return r;var o=n.get("fromName"),a=n.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),Mp("nameValue",{name:s.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Vp);function HL(t){return t instanceof Array||(t=[t,t]),t}var GL={seriesType:"lines",reset:function(t){var e=HL(t.get("symbol")),i=HL(t.get("symbolSize")),n=t.getData();return n.setVisual("fromSymbol",e&&e[0]),n.setVisual("toSymbol",e&&e[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),{dataEach:n.hasItemOption?function(t,e){var i=t.getItemModel(e),n=HL(i.getShallow("symbol",!0)),r=HL(i.getShallow("symbolSize",!0));n[0]&&t.setItemVisual(e,"fromSymbol",n[0]),n[1]&&t.setItemVisual(e,"toSymbol",n[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}},WL=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=f.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,i,n,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,d=c.getContext("2d"),h=t.length;c.width=e,c.height=i;for(var f=0;f<h;++f){var p=t[f],g=p[0],v=p[1],m=n(p[2]);d.globalAlpha=m,d.drawImage(a,g-u,v-u)}if(!c.width||!c.height)return c;for(var y=d.getImageData(0,0,c.width,c.height),_=y.data,x=0,b=_.length,w=this.minOpacity,S=this.maxOpacity-w;x<b;){m=_[x+3]/256;var C=4*Math.floor(255*m);if(m>0){var M=o(m)?s:l;m>0&&(m=m*S+w),_[x++]=M[C],_[x++]=M[C+1],_[x++]=M[C+2],_[x++]=M[C+3]*m*256}else x+=4}return d.putImageData(y,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=f.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var n=t.getContext("2d");return n.clearRect(0,0,i,i),n.shadowOffsetX=i,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-e,e,this.pointSize,0,2*Math.PI,!0),n.closePath(),n.fill(),t},t.prototype._getGradient=function(t,e){for(var i=this._gradientPixels,n=i[e]||(i[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),n[o++]=r[0],n[o++]=r[1],n[o++]=r[2],n[o++]=r[3];return n},t}();function $L(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var UL=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){var n;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(i){i===t&&(n=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):$L(r)&&this._renderOnGeo(r,t,n,i)},e.prototype.incrementalPrepareRender=function(t,e,i){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,i,n){var r=e.coordinateSystem;r&&($L(r)?this.render(e,i,n):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,n,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){Oc(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,i,n,r){var o,a,s,l,u=t.coordinateSystem,c=kw(u,"cartesian2d");if(c){var d=u.getAxis("x"),h=u.getAxis("y");o=d.getBandWidth()+.5,a=h.getBandWidth()+.5,s=d.scale.getExtent(),l=h.scale.getExtent()}for(var f=this.group,p=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),v=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),_=Vc(t),x=t.getModel("emphasis"),b=x.get("focus"),w=x.get("blurScope"),S=x.get("disabled"),C=c?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],M=i;M<n;M++){var T=void 0,I=p.getItemVisual(M,"style");if(c){var A=p.get(C[0],M),D=p.get(C[1],M);if(isNaN(p.get(C[2],M))||isNaN(A)||isNaN(D)||A<s[0]||A>s[1]||D<l[0]||D>l[1])continue;var k=u.dataToPoint([A,D]);T=new Cs({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:I})}else{if(isNaN(p.get(C[1],M)))continue;T=new Cs({z2:1,shape:u.dataToRect([p.get(C[0],M)]).contentShape,style:I})}if(p.hasItemOption){var L=p.getItemModel(M),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),v=L.getModel(["blur","itemStyle"]).getItemStyle(),m=L.getModel(["select","itemStyle"]).getItemStyle(),y=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),_=Vc(L)}T.shape.r=y;var O=t.getRawValue(M),R="-";O&&null!=O[2]&&(R=O[2]+""),zc(T,_,{labelFetcher:t,labelDataIndex:M,defaultOpacity:I.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=v,T.ensureState("select").style=m,kl(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),f.add(T),p.setItemGraphicEl(M,T),this._progressiveEls&&this._progressiveEls.push(T)}},e.prototype._renderOnGeo=function(t,e,i,n){var r=i.targetVisuals.inRange,o=i.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new WL;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),d=Math.max(l.y,0),h=Math.min(l.width+l.x,n.getWidth()),f=Math.min(l.height+l.y,n.getHeight()),p=h-c,g=f-d,v=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],m=a.mapArray(v,(function(e,i,n){var r=t.dataToPoint([e,i]);return r[0]-=c,r[1]-=d,r.push(n),r})),y=i.getExtent(),_="visualMap.continuous"===i.type?function(t,e){var i=t[1]-t[0];return e=[(e[0]-t[0])/i,(e[1]-t[0])/i],function(t){return t>=e[0]&&t<=e[1]}}(y,i.option.range):function(t,e,i){var n=t[1]-t[0],r=(e=F(e,(function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}}))).length,o=0;return function(t){var n;for(n=o;n<r;n++)if((a=e[n].interval)[0]<=t&&t<=a[1]){o=n;break}if(n===r)for(n=o-1;n>=0;n--){var a;if((a=e[n].interval)[0]<=t&&t<=a[1]){o=n;break}}return n>=0&&n<r&&i[n]}}(y,i.getPieceList(),i.option.selected);s.update(m,p,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},_);var x=new ms({style:{width:p,height:g,x:c,y:d,image:s.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(qp),YL=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.getInitialData=function(t,e){return Ly(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=$h.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(Vp),ZL=["itemStyle","borderWidth"],QL=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],XL=new au,qL=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){var n=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),u={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:QL[+s],categoryDim:QL[1-+s]};return r.diff(o).add((function(t){if(r.hasValue(t)){var e=oP(r,t),i=KL(r,t,e,u),o=lP(r,u,i);r.setItemGraphicEl(t,o),n.add(o),fP(o,u,i)}})).update((function(t,e){var i=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=oP(r,t),s=KL(r,t,a,u),l=cP(r,s);i&&l!==i.__pictorialShapeStr&&(n.remove(i),r.setItemGraphicEl(t,null),i=null),i?function(t,e,i){var n=i.animationModel,r=i.dataIndex;Ju(t.__pictorialBundle,{x:i.bundlePosition[0],y:i.bundlePosition[1]},n,r),i.symbolRepeat?eP(t,e,i,!0):iP(t,e,i,!0),nP(t,i,!0),rP(t,e,i,!0)}(i,u,s):i=lP(r,u,s,!0),r.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=s,n.add(i),fP(i,u,s)}else n.remove(i)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&uP(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl((function(e){uP(n,Fs(e).dataIndex,t,e)})):i.removeAll()},e.type="pictorialBar",e}(qp);function KL(t,e,i,n){var r=t.getItemLayout(e),o=i.get("symbolRepeat"),a=i.get("symbolClip"),s=i.get("symbolPosition")||"start",l=(i.get("symbolRotate")||0)*Math.PI/180||0,u=i.get("symbolPatternSize")||2,c=i.isAnimationEnabled(),d={dataIndex:e,layout:r,itemModel:i,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?i:null,hoverScale:c&&i.get(["emphasis","scale"]),z2:i.getShallow("z",!0)||0};!function(t,e,i,n,r){var o,a=n.valueDim,s=t.get("symbolBoundingData"),l=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-+(i[a.wh]<=0);if(Y(s)){var d=[JL(l,s[0])-u,JL(l,s[1])-u];d[1]<d[0]&&d.reverse(),o=d[c]}else o=null!=s?JL(l,s)-u:e?n.coordSysExtent[a.index][c]-u:i[a.wh];r.boundingLength=o,e&&(r.repeatCutLength=i[a.wh]),r.pxSign=o>0?1:-1}(i,o,r,n,d),function(t,e,i,n,r,o,a,s,l,u){var c,d=l.valueDim,h=l.categoryDim,f=Math.abs(i[h.wh]),p=t.getItemVisual(e,"symbolSize");c=Y(p)?p.slice():null==p?["100%","100%"]:[p,p],c[h.index]=Nr(c[h.index],f),c[d.index]=Nr(c[d.index],n?f:Math.abs(o)),u.symbolSize=c,(u.symbolScale=[c[0]/s,c[1]/s])[d.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,d.boundingLength,d.pxSign,u,n,d),function(t,e,i,n,r){var o=t.get(ZL)||0;o&&(XL.attr({scaleX:e[0],scaleY:e[1],rotation:i}),XL.updateTransform(),o/=XL.getLineScale(),o*=e[n.valueDim.index]),r.valueLineWidth=o||0}(i,d.symbolScale,l,n,d);var h=d.symbolSize,f=dv(i.get("symbolOffset"),h);return function(t,e,i,n,r,o,a,s,l,u,c,d){var h=c.categoryDim,f=c.valueDim,p=d.pxSign,g=Math.max(e[f.index]+s,0),v=g;if(n){var m=Math.abs(l),y=at(t.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var x=Nr(y,e[f.index]),b=Math.max(g+2*x,0),w=_?0:2*x,S=eo(n),C=S?n:pP((m+w)/b);b=g+2*(x=(m-C*g)/2/(_?C:Math.max(C-1,1))),w=_?0:2*x,S||"fixed"===n||(C=u?pP((Math.abs(u)+w)/b):0),v=C*b-w,d.repeatTimes=C,d.symbolMargin=x}var M=p*(v/2),T=d.pathPosition=[];T[h.index]=i[h.wh]/2,T[f.index]="start"===a?M:"end"===a?l-M:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var I=d.bundlePosition=[];I[h.index]=i[h.xy],I[f.index]=i[f.xy];var A=d.barRectShape=P({},i);A[f.wh]=p*Math.max(Math.abs(i[f.wh]),Math.abs(T[f.index]+M)),A[h.wh]=i[h.wh];var D=d.clipShape={};D[h.xy]=-i[h.xy],D[h.wh]=c.ecSize[h.wh],D[f.xy]=0,D[f.wh]=i[f.wh]}(i,h,r,o,0,f,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,n,d),d}function JL(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function tP(t){var e=t.symbolPatternSize,i=uv(t.symbolType,-e/2,-e/2,e,e);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function eP(t,e,i,n){var r=t.__pictorialBundle,o=i.symbolSize,a=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,u=i.repeatTimes||0,c=0,d=o[e.valueDim.index]+a+2*i.symbolMargin;for(dP(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?hP(t,null,p(c),i,n):hP(t,null,{scaleX:0,scaleY:0},i,n,(function(){r.remove(t)})),c++}));c<u;c++){var h=tP(i);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,r.add(h);var f=p(c);hP(h,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},i,n)}function p(t){var e=s.slice(),n=i.pxSign,r=t;return("start"===i.symbolRepeatDirection?n>0:n<0)&&(r=u-1-t),e[l.index]=d*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:i.symbolScale[0],scaleY:i.symbolScale[1],rotation:i.rotation}}}function iP(t,e,i,n){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?hP(o,null,{x:i.pathPosition[0],y:i.pathPosition[1],scaleX:i.symbolScale[0],scaleY:i.symbolScale[1],rotation:i.rotation},i,n):(o=t.__pictorialMainPath=tP(i),r.add(o),hP(o,{x:i.pathPosition[0],y:i.pathPosition[1],scaleX:0,scaleY:0,rotation:i.rotation},{scaleX:i.symbolScale[0],scaleY:i.symbolScale[1]},i,n))}function nP(t,e,i){var n=P({},e.barRectShape),r=t.__pictorialBarRect;r?hP(r,null,{shape:n},e,i):((r=t.__pictorialBarRect=new Cs({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function rP(t,e,i,n){if(i.symbolClip){var r=t.__pictorialClipPath,o=P({},i.clipShape),a=e.valueDim,s=i.animationModel,l=i.dataIndex;if(r)Ju(r,{shape:o},s,l);else{o[a.wh]=0,r=new Cs({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=i.clipShape[a.wh],Rc[n?"updateProps":"initProps"](r,{shape:u},s,l)}}}function oP(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=aP,i.isAnimationEnabled=sP,i}function aP(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function sP(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function lP(t,e,i,n){var r=new Ar,o=new Ar;return r.add(o),r.__pictorialBundle=o,o.x=i.bundlePosition[0],o.y=i.bundlePosition[1],i.symbolRepeat?eP(r,e,i):iP(r,0,i),nP(r,i,n),rP(r,e,i,n),r.__pictorialShapeStr=cP(t,i),r.__pictorialSymbolMeta=i,r}function uP(t,e,i,n){var r=n.__pictorialBarRect;r&&r.removeTextContent();var o=[];dP(n,(function(t){o.push(t)})),n.__pictorialMainPath&&o.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),V(o,(function(t){ic(t,{scaleX:0,scaleY:0},i,e,(function(){n.parent&&n.parent.remove(n)}))})),t.setItemGraphicEl(e,null)}function cP(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function dP(t,e,i){V(t.__pictorialBundle.children(),(function(n){n!==t.__pictorialBarRect&&e.call(i,n)}))}function hP(t,e,i,n,r,o){e&&t.attr(e),n.symbolClip&&!r?i&&t.attr(i):i&&Rc[r?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,o)}function fP(t,e,i){var n=i.dataIndex,r=i.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),c=o.get("focus"),d=o.get("blurScope"),h=o.get("scale");dP(t,(function(t){if(t instanceof ms){var e=t.style;t.useStyle(P({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},i.style))}else t.useStyle(i.style);var n=t.ensureState("emphasis");n.style=a,h&&(n.scaleX=1.1*t.scaleX,n.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=i.z2}));var f=e.valueDim.posDesc[+(i.boundingLength>0)];zc(t.__pictorialBarRect,Vc(r),{labelFetcher:e.seriesModel,labelDataIndex:n,defaultText:uw(e.seriesModel.getData(),n),inheritColor:i.style.fill,defaultOpacity:i.style.opacity,defaultOutsidePosition:f}),kl(t,c,d,o.get("disabled"))}function pP(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var gP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i.defaultSymbol="roundRect",i}return i(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=dd(Uw.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(Uw),vP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._layers=[],i}return i(e,t),e.prototype.render=function(t,e,i){var n=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=n.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(t){return t.name}o.x=0,o.y=l.y+u[0];var d=new Km(this._layersSeries||[],a,c,c),h=[];function f(e,i,s){var l=r._layers;if("remove"!==e){for(var u,c,d=[],f=[],p=a[i].indices,g=0;g<p.length;g++){var v=n.getItemLayout(p[g]),m=v.x,y=v.y0,_=v.y;d.push(m,y),f.push(m,y+_),u=n.getItemVisual(p[g],"style")}var x=n.getItemLayout(p[0]),b=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var S=h[i]=new Ar;c=new Tw({shape:{points:d,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(c),o.add(S),t.isAnimationEnabled()&&c.setClipPath(function(t,e,i){var n=new Cs({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return tc(n,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,(function(){c.removeClipPath()})),n}(c.getBoundingRect(),t))}else S=l[s],c=S.childAt(0),o.add(S),h[i]=S,Ju(c,{shape:{points:d,stackedOnPoints:f}},t),oc(c);zc(c,Vc(t),{labelDataIndex:p[g-1],defaultText:n.getName(p[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var C=c.getTextContent();C&&(C.x=x.x-b,C.y=x.y0+x.y/2),c.useStyle(u),n.setItemGraphicEl(i,c),Rl(c,t),kl(c,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else o.remove(l[i])}d.add($(f,this,"add")).update($(f,this,"update")).remove($(f,this,"remove")).execute(),this._layersSeries=a,this._layers=h},e.type="themeRiver",e}(qp),mP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new kS($(this.getData,this),$(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,i={},n=Ao(t,(function(t){return i.hasOwnProperty(t[0]+"")||(i[t[0]+""]=-1),t[2]})),r=[];n.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,a=0;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0]+"";i[u]=a}for(var u in i)i.hasOwnProperty(u)&&i[u]!==a&&(i[u]=a,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var i=this.getReferringComponents("singleAxis",Co).models[0].get("type"),n=H(t.data,(function(t){return void 0!==t[2]})),r=this.fixData(n||[]),o=[],a=this.nameMap=_t(),s=0,l=0;l<r.length;++l)o.push(r[l][2]),a.get(r[l][2])||(a.set(r[l][2],s),s++);var u=Sy(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:ey(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,c=new wy(u,this);return c.initData(r),c},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),i=[],n=0;n<e;++n)i[n]=n;var r=t.mapDimension("single"),o=Ao(i,(function(e){return t.get("name",e)})),a=[];return o.buckets.each((function(e,i){e.sort((function(e,i){return t.get(r,e)-t.get(r,i)})),a.push({name:i,indices:e})})),a},e.prototype.getAxisTooltipData=function(t,e,i){Y(t)||(t=t?[t]:[]);for(var n,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,d=o[l].indices.length,h=0;h<d;++h){var f=r.get(t[0],o[l].indices[h]),p=Math.abs(f-e);p<=u&&(n=f,u=p,c=o[l].indices[h])}a.push(c)}return{dataIndices:a,nestestValue:n}},e.prototype.formatTooltip=function(t,e,i){var n=this.getData();return Mp("nameValue",{name:n.getName(t),value:n.get(n.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(Vp);function yP(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),i=t.coordinateSystem,n={},r=i.getRect();n.rect=r;var o=t.get("boundaryGap"),a=i.getAxis();n.boundaryGap=o,"horizontal"===a.orient?(o[0]=Nr(o[0],r.height),o[1]=Nr(o[1],r.height),_P(e,t,r.height-o[0]-o[1])):(o[0]=Nr(o[0],r.width),o[1]=Nr(o[1],r.width),_P(e,t,r.width-o[0]-o[1])),e.setLayout("layoutInfo",n)}))}function _P(t,e,i){if(t.count())for(var n,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),s=t.mapDimension("value"),l=F(o,(function(e){return F(e.indices,(function(e){var i=r.dataToPoint(t.get(a,e));return i[1]=t.get(s,e),i}))})),u=function(t){for(var e=t.length,i=t[0].length,n=[],r=[],o=0,a=0;a<i;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),n.push(s)}for(var u=0;u<i;++u)r[u]=(o-n[u])/2;o=0;for(var c=0;c<i;++c){var d=n[c]+r[c];d>o&&(o=d)}return{y0:r,max:o}}(l),c=u.y0,d=i/u.max,h=o.length,f=o[0].indices.length,p=0;p<f;++p){n=c[p]*d,t.setItemLayout(o[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:n,y:l[0][p][1]*d});for(var g=1;g<h;++g)n+=l[g-1][p][1]*d,t.setItemLayout(o[g].indices[p],{layerIndex:g,x:l[g][p][0],y0:n,y:l[g][p][1]*d})}}var xP=function(t){function e(e,i,n,r){var o=t.call(this)||this;o.z2=2,o.textConfig={inside:!0},Fs(o).seriesIndex=i.seriesIndex;var a=new Is({z2:4,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,i,n,r),o}return i(e,t),e.prototype.updateData=function(t,e,i,n,r){this.node=e,e.piece=this,i=i||this._seriesModel,n=n||this._ecModel;var o=this;Fs(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),u=P({},l);u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var d=e.getVisual("decal");d&&(c.decal=Nv(d,r));var h=TS(a.getModel("itemStyle"),u,!0);P(u,h),V(Us,(function(t){var e=o.ensureState(t),i=a.getModel([t,"itemStyle"]);e.style=i.getItemStyle();var n=TS(i,u);n&&(e.shape=n)})),t?(o.setShape(u),o.shape.r=l.r0,Ju(o,{shape:{r:l.r}},i,e.dataIndex)):(Ju(o,{shape:u},i),oc(o)),o.useStyle(c),this._updateLabel(i);var f=a.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=i||this._seriesModel,this._ecModel=n||this._ecModel;var p=s.get("focus");kl(this,"ancestor"===p?e.getAncestorsIndices():"descendant"===p?e.getDescendantIndices():p,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,i=this.node.getModel(),n=i.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,s=Math.cos(a),l=Math.sin(a),u=this,c=u.getTextContent(),d=this.node.dataIndex,h=n.get("minAngle")/180*Math.PI,f=n.get("show")&&!(null!=h&&Math.abs(o)<h);function p(t,e){var i=t.get(e);return null==i?n.get(e):i}c.ignore=!f,V(Ys,(function(n){var h="normal"===n?i.getModel("label"):i.getModel([n,"label"]),f="normal"===n,g=f?c:c.ensureState(n),v=t.getFormattedLabel(d,n);f&&(v=v||e.node.name),g.style=Fc(h,{},null,"normal"!==n,!0),v&&(g.style.text=v);var m=h.get("show");null==m||f||(g.ignore=!m);var y,_=p(h,"position"),x=f?u:u.states[n],b=x.style.fill;x.textConfig={outsideFill:"inherit"===h.get("color")?b:null,inside:"outside"!==_};var w=p(h,"distance")||0,S=p(h,"align");"outside"===_?(y=r.r+w,S=a>Math.PI/2?"right":"left"):S&&"center"!==S?"left"===S?(y=r.r0+w,a>Math.PI/2&&(S="right")):"right"===S&&(y=r.r-w,a>Math.PI/2&&(S="left")):(y=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=p(h,"verticalAlign")||"middle",g.x=y*s+r.cx,g.y=y*l+r.cy;var C=p(h,"rotate"),M=0;"radial"===C?(M=-a)<-Math.PI/2&&(M+=Math.PI):"tangential"===C?(M=Math.PI/2-a)>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI):q(C)&&(M=C*Math.PI/180),g.rotation=M})),c.dirtyStyle()},e}(wu),bP="sunburstRootToNode",wP="sunburstHighlight",SP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i,n){var r=this;this.seriesModel=t,this.api=i,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),c=[];s.eachNode((function(t){c.push(t)}));var d=this._oldChildren||[];!function(n,r){function s(t){return t.getId()}function c(s,c){!function(n,r){if(u||!n||n.getValue()||(n=null),n!==a&&r!==a)if(r&&r.piece)n?(r.piece.updateData(!1,n,t,e,i),o.setItemGraphicEl(n.dataIndex,r.piece)):function(t){t&&t.piece&&(l.remove(t.piece),t.piece=null)}(r);else if(n){var s=new xP(n,t,e,i);l.add(s),o.setItemGraphicEl(n.dataIndex,s)}}(null==s?null:n[s],null==c?null:r[c])}0===n.length&&0===r.length||new Km(r,n,s,s).add(c).update(c).remove(U(c,null)).execute()}(c,d),function(n,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,n,t,e,i):(r.virtualPiece=new xP(n,t,e,i),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=c},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var i=!1;t.seriesModel.getViewRoot().eachNode((function(n){if(!i&&n.piece&&n.piece===e.target){var r=n.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(n);else if("link"===r){var o=n.getModel(),a=o.get("link");a&&Kd(a,o.get("target",!0)||"_blank")}i=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:bP,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,r=t[1]-i.cy,o=Math.sqrt(n*n+r*r);return o<=i.r&&o>=i.r0}},e.type="sunburst",e}(qp),CP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.ignoreStyleOnData=!0,i}return i(e,t),e.prototype.getInitialData=function(t,e){var i={name:t.name,children:t.data};(function t(e){var i=0;V(e.children,(function(e){t(e);var n=e.value;Y(n)&&(n=n[0]),i+=n}));var n=e.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=i),n<0&&(n=0),Y(e.value)?e.value[0]=n:e.value=n})(i);var n=this._levelModels=F(t.levels||[],(function(t){return new ld(t,this,e)}),this),r=YT.createTree(i,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var i=r.getNodeByDataIndex(e),o=n[i.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var i=t.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return i.treePathInfo=qT(n,this),i},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){nI(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Vp);var MP=Math.PI/180;function TP(t,e,i){e.eachSeriesByType(t,(function(t){var e=t.get("center"),n=t.get("radius");Y(n)||(n=[0,n]),Y(e)||(e=[e,e]);var r=i.getWidth(),o=i.getHeight(),a=Math.min(r,o),s=Nr(e[0],r),l=Nr(e[1],o),u=Nr(n[0],a/2),c=Nr(n[1],a/2),d=-t.get("startAngle")*MP,h=t.get("minAngle")*MP,f=t.getData().tree.root,p=t.getViewRoot(),g=p.depth,v=t.get("sort");null!=v&&function t(e,i){var n=e.children||[];e.children=function(t,e){if(Z(e)){var i=F(t,(function(t,e){var i=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return i}},index:e}}));return i.sort((function(t,i){return e(t.params,i.params)})),F(i,(function(e){return t[e.index]}))}var n="asc"===e;return t.sort((function(t,e){var i=(t.getValue()-e.getValue())*(n?1:-1);return 0===i?(t.dataIndex-e.dataIndex)*(n?-1:1):i}))}(n,i),n.length&&V(e.children,(function(e){t(e,i)}))}(p,v);var m=0;V(p.children,(function(t){!isNaN(t.getValue())&&m++}));var y=p.getValue(),_=Math.PI/(y||m)*2,x=p.depth>0,b=p.height-(x?-1:1),w=(c-u)/(b||1),S=t.get("clockwise"),C=t.get("stillShowZeroSum"),M=S?1:-1;if(x){var T=u,I=u+w,A=2*Math.PI;f.setLayout({angle:A,startAngle:d,endAngle:d+A,clockwise:S,cx:s,cy:l,r0:T,r:I})}(function e(i,n){if(i){var r=n;if(i!==f){var o=i.getValue(),c=0===y&&C?_:o*_;c<h&&(c=h),r=n+M*c;var d=i.depth-g-(x?-1:1),p=u+w*d,v=u+w*(d+1),m=t.getLevelModel(i);if(m){var b=m.get("r0",!0),T=m.get("r",!0),I=m.get("radius",!0);null!=I&&(b=I[0],T=I[1]),null!=b&&(p=Nr(b,a/2)),null!=T&&(v=Nr(T,a/2))}i.setLayout({angle:c,startAngle:n,endAngle:r,clockwise:S,cx:s,cy:l,r0:p,r:v})}if(i.children&&i.children.length){var A=0;V(i.children,(function(t){A+=e(t,n+A)}))}return r-n}})(p,d)}))}function IP(t){var e={};t.eachSeriesByType("sunburst",(function(t){var i=t.getData(),n=i.tree;n.eachNode((function(r){var o=r.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(t,i,n){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=i.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&Q(o)&&(o=Ui(o,(t.depth-1)/(n-1)*.5)),o}(r,t,n.root.height)),P(i.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var AP={color:"fill",borderColor:"stroke"},DP={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},kP=xo(),LP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return Ly(null,this)},e.prototype.getDataParams=function(e,i,n){var r=t.prototype.getDataParams.call(this,e,i);return n&&(r.info=kP(n).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Vp);function PP(t,e){return e=e||[0,0],F(["x","y"],(function(i,n){var r=this.getAxis(i),o=e[n],a=t[n]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function OP(t,e){return e=e||[0,0],F([0,1],(function(i){var n=e[i],r=t[i]/2,o=[],a=[];return o[i]=n-r,a[i]=n+r,o[1-i]=a[1-i]=e[1-i],Math.abs(this.dataToPoint(o)[i]-this.dataToPoint(a)[i])}),this)}function RP(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-r)-i.dataToCoord(n+r))}function EP(t,e){return e=e||[0,0],F(["Radius","Angle"],(function(i,n){var r=this["get"+i+"Axis"](),o=e[n],a=t[n]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===i&&(s=s*Math.PI/180),s}),this)}function NP(t,e,i,n){return t&&(t.legacy||!1!==t.legacy&&!i&&!n&&"tspan"!==e&&("text"===e||St(t,"text")))}function BP(t,e,i){var n,r,o,a=t;if("text"===e)o=a;else{o={},St(a,"text")&&(o.text=a.text),St(a,"rich")&&(o.rich=a.rich),St(a,"textFill")&&(o.fill=a.textFill),St(a,"textStroke")&&(o.stroke=a.textStroke),St(a,"fontFamily")&&(o.fontFamily=a.fontFamily),St(a,"fontSize")&&(o.fontSize=a.fontSize),St(a,"fontStyle")&&(o.fontStyle=a.fontStyle),St(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},n={};var s=St(a,"textPosition");i?n.position=s?a.textPosition:"inside":s&&(n.position=a.textPosition),St(a,"textPosition")&&(n.position=a.textPosition),St(a,"textOffset")&&(n.offset=a.textOffset),St(a,"textRotation")&&(n.rotation=a.textRotation),St(a,"textDistance")&&(n.distance=a.textDistance)}return zP(o,t),V(o.rich,(function(t){zP(t,t)})),{textConfig:n,textContent:r}}function zP(t,e){e&&(e.font=e.textFont||e.font,St(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),St(e,"textAlign")&&(t.align=e.textAlign),St(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),St(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),St(e,"textWidth")&&(t.width=e.textWidth),St(e,"textHeight")&&(t.height=e.textHeight),St(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),St(e,"textPadding")&&(t.padding=e.textPadding),St(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),St(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),St(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),St(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),St(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),St(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),St(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function VP(t,e,i){var n=t;n.textPosition=n.textPosition||i.position||"inside",null!=i.offset&&(n.textOffset=i.offset),null!=i.rotation&&(n.textRotation=i.rotation),null!=i.distance&&(n.textDistance=i.distance);var r=n.textPosition.indexOf("inside")>=0,o=t.fill||"#000";FP(n,e);var a=null==n.textFill;return r?a&&(n.textFill=i.insideFill||"#fff",!n.textStroke&&i.insideStroke&&(n.textStroke=i.insideStroke),!n.textStroke&&(n.textStroke=o),null==n.textStrokeWidth&&(n.textStrokeWidth=2)):(a&&(n.textFill=t.fill||i.outsideFill||"#000"),!n.textStroke&&i.outsideStroke&&(n.textStroke=i.outsideStroke)),n.text=e.text,n.rich=e.rich,V(e.rich,(function(t){FP(t,t)})),n}function FP(t,e){e&&(St(e,"fill")&&(t.textFill=e.fill),St(e,"stroke")&&(t.textStroke=e.fill),St(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),St(e,"font")&&(t.font=e.font),St(e,"fontStyle")&&(t.fontStyle=e.fontStyle),St(e,"fontWeight")&&(t.fontWeight=e.fontWeight),St(e,"fontSize")&&(t.fontSize=e.fontSize),St(e,"fontFamily")&&(t.fontFamily=e.fontFamily),St(e,"align")&&(t.textAlign=e.align),St(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),St(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),St(e,"width")&&(t.textWidth=e.width),St(e,"height")&&(t.textHeight=e.height),St(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),St(e,"padding")&&(t.textPadding=e.padding),St(e,"borderColor")&&(t.textBorderColor=e.borderColor),St(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),St(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),St(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),St(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),St(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),St(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),St(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),St(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),St(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),St(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var jP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},HP=W(jP),GP=(j(lr,(function(t,e){return t[e]=1,t}),{}),lr.join(", "),["","style","shape","extra"]),WP=xo();function $P(t,e,i,n,r){var o=t+"Animation",a=qu(t,n,r)||{},s=WP(e).userDuring;return a.duration>0&&(a.during=s?$(KP,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),P(a,i[o]),a}function UP(t,e,i,n){var r=(n=n||{}).dataIndex,o=n.isInit,a=n.clearStyle,s=i.isAnimationEnabled(),l=WP(t),u=e.style;l.userDuring=e.during;var c={},d={};if(function(t,e,i){for(var n=0;n<HP.length;n++){var r=HP[n],o=jP[r],a=e[r];a&&(i[o[0]]=a[0],i[o[1]]=a[1])}for(n=0;n<lr.length;n++){var s=lr[n];null!=e[s]&&(i[s]=e[s])}}(0,e,d),tO("shape",e,d),tO("extra",e,d),!o&&s&&(function(t,e,i){for(var n=e.transition,r=QP(n)?lr:so(n||[]),o=0;o<r.length;o++){var a=r[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];i[a]=s}}}(t,e,c),JP("shape",t,e,c),JP("extra",t,e,c),function(t,e,i,n){if(i){var r,o=t.style;if(o){var a=i.transition,s=e.transition;if(a&&!QP(a)){var l=so(a);!r&&(r=n.style={});for(var u=0;u<l.length;u++){var c=o[p=l[u]];r[p]=c}}else if(t.getAnimationStyleProps&&(QP(s)||QP(a)||E(s,"style")>=0)){var d=t.getAnimationStyleProps(),h=d?d.style:null;if(h){!r&&(r=n.style={});var f=W(i);for(u=0;u<f.length;u++){var p;h[p=f[u]]&&(c=o[p],r[p]=c)}}}}}}(t,e,u,c)),d.style=u,function(t,e,i){var n=e.style;if(!t.isGroup&&n){if(i){t.useStyle({});for(var r=t.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(n)}e&&(e.style=null,e&&t.attr(e),e.style=n)}(t,d,a),function(t,e){St(e,"silent")&&(t.silent=e.silent),St(e,"ignore")&&(t.ignore=e.ignore),t instanceof ca&&St(e,"invisible")&&(t.invisible=e.invisible),t instanceof hs&&St(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}(t,e),s)if(o){var h={};V(GP,(function(t){var i=t?e[t]:e;i&&i.enterFrom&&(t&&(h[t]=h[t]||{}),P(t?h[t]:h,i.enterFrom))}));var f=$P("enter",t,e,i,r);f.duration>0&&t.animateFrom(h,f)}else!function(t,e,i,n,r){if(r){var o=$P("update",t,e,n,i);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,i,c);YP(t,e),u?t.dirty():t.markRedraw()}function YP(t,e){for(var i=WP(t).leaveToProps,n=0;n<GP.length;n++){var r=GP[n],o=r?e[r]:e;o&&o.leaveTo&&(i||(i=WP(t).leaveToProps={}),r&&(i[r]=i[r]||{}),P(r?i[r]:i,o.leaveTo))}}function ZP(t,e,i,n){if(t){var r=t.parent,o=WP(t).leaveToProps;if(o){var a=$P("update",t,e,i,0);a.done=function(){r.remove(t),n&&n()},t.animateTo(o,a)}else r.remove(t),n&&n()}}function QP(t){return"all"===t}var XP={},qP={setTransform:function(t,e){return XP.el[t]=e,this},getTransform:function(t){return XP.el[t]},setShape:function(t,e){var i=XP.el;return(i.shape||(i.shape={}))[t]=e,i.dirtyShape&&i.dirtyShape(),this},getShape:function(t){var e=XP.el.shape;if(e)return e[t]},setStyle:function(t,e){var i=XP.el,n=i.style;return n&&(n[t]=e,i.dirtyStyle&&i.dirtyStyle()),this},getStyle:function(t){var e=XP.el.style;if(e)return e[t]},setExtra:function(t,e){return(XP.el.extra||(XP.el.extra={}))[t]=e,this},getExtra:function(t){var e=XP.el.extra;if(e)return e[t]}};function KP(){var t=this,e=t.el;if(e){var i=WP(e).userDuring,n=t.userDuring;i===n?(XP.el=e,n(qP)):t.el=t.userDuring=null}}function JP(t,e,i,n){var r=i[t];if(r){var o,a=e[t];if(a){var s=i.transition,l=r.transition;if(l)if(!o&&(o=n[t]={}),QP(l))P(o,a);else for(var u=so(l),c=0;c<u.length;c++){var d=a[f=u[c]];o[f]=d}else if(QP(s)||E(s,t)>=0){!o&&(o=n[t]={});var h=W(a);for(c=0;c<h.length;c++){var f;d=a[f=h[c]],eO(r[f],d)&&(o[f]=d)}}}}}function tO(t,e,i){var n=e[t];if(n)for(var r=i[t]={},o=W(n),a=0;a<o.length;a++){var s=o[a];r[s]=Mn(n[s])}}function eO(t,e){return z(t)?t!==e:null!=t&&isFinite(t)}var iO=xo(),nO=["percent","easing","shape","style","extra"];function rO(t){t.stopAnimation("keyframe"),t.attr(iO(t))}function oO(t,e,i){if(i.isAnimationEnabled()&&e)if(Y(e))V(e,(function(e){oO(t,e,i)}));else{var n=e.keyframes,r=e.duration;if(i&&null==r){var o=qu("enter",i,0);r=o&&o.duration}if(n&&r){var a=iO(t);V(GP,(function(i){var o;i&&!t[i]||(n.sort((function(t,e){return t.percent-e.percent})),V(n,(function(n){var s=t.animators,l=i?n[i]:n;if(l){var u=W(l);if(i||(u=H(u,(function(t){return E(nO,t)<0}))),u.length){o||((o=t.animate(i,e.loop,!0)).scope="keyframe");for(var c=0;c<s.length;c++)s[c]!==o&&s[c].targetName===o.targetName&&s[c].stopTracks(u);i&&(a[i]=a[i]||{});var d=i?a[i]:a;V(u,(function(e){d[e]=((i?t[i]:t)||{})[e]})),o.whenWithKeys(r*n.percent,l,u,n.easing)}}})),o&&o.delay(e.delay||0).duration(r).start(e.easing))}))}}}var aO="emphasis",sO="normal",lO="blur",uO="select",cO=[sO,aO,lO,uO],dO={normal:["itemStyle"],emphasis:[aO,"itemStyle"],blur:[lO,"itemStyle"],select:[uO,"itemStyle"]},hO={normal:["label"],emphasis:[aO,"label"],blur:[lO,"label"],select:[uO,"label"]},fO=["x","y"],pO={normal:{},emphasis:{},blur:{},select:{}},gO={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:$(PP,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:$(OP,t)}}},single:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:$(RP,t)}}},polar:function(t){var e=t.getRadiusAxis(),i=t.getAngleAxis(),n=e.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:n[1],r0:n[0]},api:{coord:function(n){var r=e.dataToRadius(n[0]),o=i.dataToAngle(n[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:$(EP,t)}}},calendar:function(t){var e=t.getRect(),i=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(e,i){return t.dataToPoint(e,i)}}}}};function vO(t){return t instanceof hs}function mO(t){return t instanceof ca}var yO=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i,n){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=SO(t,o,e,i);r||a.removeAll(),o.diff(r).add((function(e){MO(i,null,e,s(e,n),t,a,o)})).remove((function(e){var i=r.getItemGraphicEl(e);i&&ZP(i,kP(i).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);MO(i,u,e,s(e,n),t,a,o)})).execute();var l=t.get("clip",!0)?Dw(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,i){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,i,n,r){var o=e.getData(),a=SO(e,o,i,n),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=MO(null,null,u,a(u,r),e,this.group,o);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){Oc(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,i,n){var r=e.element;if(null==r||i.name===r)return!0;for(;(i=i.__hostTarget||i.parent)&&i!==this.group;)if(i.name===r)return!0;return!1},e.type="custom",e}(qp);function _O(t){var e,i=t.type;if("path"===i){var n=t.shape,r=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=EO(n);e=fc(o,null,r,n.layout||"center"),kP(e).customPathData=o}else if("image"===i)e=new ms({}),kP(e).customImagePath=t.style.image;else if("text"===i)e=new Is({});else if("group"===i)e=new Ar;else{if("compoundPath"===i)throw new Error('"compoundPath" is not supported yet.');var a=hc(i);if(!a){ro("")}e=new a}return kP(e).customGraphicType=i,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function xO(t,e,i,n,r,o,a){rO(e);var s=r&&r.normal.cfg;s&&e.setTextConfig(s),n&&null==n.transition&&(n.transition=fO);var l=n&&n.style;if(l){if("text"===e.type){var u=l;St(u,"textFill")&&(u.fill=u.textFill),St(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,d=vO(e)?l.decal:null;t&&d&&(d.dirty=!0,c=Nv(d,t)),l.__decalPattern=c}mO(e)&&l&&(c=l.__decalPattern)&&(l.decal=c),UP(e,n,o,{dataIndex:i,isInit:a,clearStyle:!0}),oO(e,n.keyframeAnimation,o)}function bO(t,e,i,n,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=o.ensureState(t);if(!1===n){var l=o.getState(t);l&&(l.style=null)}else s.style=n||null;a&&(s.textConfig=a),fl(o)}}function wO(t,e,i){var n=i===sO,r=n?e:DO(e,i),o=r?r.z2:null;null!=o&&((n?t:t.ensureState(i)).z2=o||0)}function SO(t,e,i,n){var r=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):gO[o.type](o));for(var s,l,u=O({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:function(t,i){return null==i&&(i=s),e.getStore().get(e.getDimensionIndex(t||0),i)},style:function(i,n){null==n&&(n=s);var r=e.getItemVisual(n,"style"),o=r&&r.fill,a=r&&r.opacity,l=y(n,sO).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var u={inheritColor:Q(o)?o:"#000"},c=_(n,sO),d=Fc(c,null,u,!1,!0);d.text=c.getShallow("show")?st(t.getFormattedLabel(n,sO),uw(e,n)):null;var h=jc(c,u,!1);return b(i,l),l=VP(l,d,h),i&&x(l,i),l.legacy=!0,l},ordinalRawValue:function(t,i){null==i&&(i=s),t=t||0;var n=e.getDimensionInfo(t);if(!n){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,i):void 0}var o=e.get(n.name,i),a=n&&n.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(i,n){null==n&&(n=s);var r=y(n,aO).getItemStyle(),o=_(n,aO),a=Fc(o,null,null,!0,!0);a.text=o.getShallow("show")?lt(t.getFormattedLabel(n,aO),t.getFormattedLabel(n,sO),uw(e,n)):null;var l=jc(o,null,!0);return b(i,r),r=VP(r,a,l),i&&x(r,i),r.legacy=!0,r},visual:function(t,i){if(null==i&&(i=s),St(AP,t)){var n=e.getItemVisual(i,"style");return n?n[AP[t]]:null}if(St(DP,t))return e.getItemVisual(i,t)},barLayout:function(t){if("cartesian2d"===o.type)return function(t){var e=[],i=t.axis;if("category"===i.type){for(var n=i.getBandWidth(),r=0;r<t.count;r++)e.push(O({bandWidth:n,axisKey:"axis0",stackId:Qy+r},t));var o=t_(e),a=[];for(r=0;r<t.count;r++){var s=o.axis0[Qy+r];s.offsetCenter=s.offset+s.width/2,a.push(s)}return a}}(O({axis:o.getBaseAxis()},t))},currentSeriesIndices:function(){return i.getCurrentSeriesIndices()},font:function(t){return Uc(t,i)}},a.api||{}),c={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:CO(t.getData())},d={},h={},f={},p={},g=0;g<cO.length;g++){var v=cO[g];f[v]=t.getModel(dO[v]),p[v]=t.getModel(hO[v])}function m(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function y(t,i){return e.hasItemOption?t===s?d[i]||(d[i]=m(t).getModel(dO[i])):m(t).getModel(dO[i]):f[i]}function _(t,i){return e.hasItemOption?t===s?h[i]||(h[i]=m(t).getModel(hO[i])):m(t).getModel(hO[i]):p[i]}return function(t,i){return s=t,l=null,d={},h={},r&&r(O({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:i?i.type:null},c),u)};function x(t,e){for(var i in e)St(e,i)&&(t[i]=e[i])}function b(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function CO(t){var e={};return V(t.dimensions,(function(i){var n=t.getDimensionInfo(i);if(!n.isExtraCoord){var r=n.coordDim;(e[r]=e[r]||[])[n.coordDimIndex]=t.getDimensionIndex(i)}})),e}function MO(t,e,i,n,r,o,a){if(n){var s=TO(t,e,i,n,r,o);return s&&a.setItemGraphicEl(i,s),s&&kl(s,n.focus,n.blurScope,n.emphasisDisabled),s}o.remove(e)}function TO(t,e,i,n,r,o){var a=-1,s=e;e&&IO(e,n,r)&&(a=E(o.childrenRef(),e),e=null);var l,u,c=!e,d=e;d?d.clearStates():(d=_O(n),s&&(l=s,(u=d).copyTransform(l),mO(u)&&mO(l)&&(u.setStyle(l.style),u.z=l.z,u.z2=l.z2,u.zlevel=l.zlevel,u.invisible=l.invisible,u.ignore=l.ignore,vO(u)&&vO(l)&&u.setShape(l.shape)))),!1===n.morph?d.disableMorphing=!0:d.disableMorphing&&(d.disableMorphing=!1),pO.normal.cfg=pO.normal.conOpt=pO.emphasis.cfg=pO.emphasis.conOpt=pO.blur.cfg=pO.blur.conOpt=pO.select.cfg=pO.select.conOpt=null,pO.isLegacy=!1,function(t,e,i,n,r,o){if(!t.isGroup){AO(i,null,o),AO(i,aO,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===a)c&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=_O(a),t.setTextContent(c)),xO(null,c,e,a,null,n,r);for(var d=a&&a.style,h=0;h<cO.length;h++){var f=cO[h];if(f!==sO){var p=o[f].conOpt;bO(f,c,0,kO(a,p,f),null)}}d?c.dirty():c.markRedraw()}}}}(d,i,n,r,c,pO),function(t,e,i,n,r){var o=i.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&IO(a,o,n)&&(a=null),a||(a=_O(o),t.setClipPath(a)),xO(null,a,e,o,null,n,r)}}(d,i,n,r,c),xO(t,d,i,n,pO,r,c),St(n,"info")&&(kP(d).info=n.info);for(var h=0;h<cO.length;h++){var f=cO[h];if(f!==sO){var p=DO(n,f);bO(f,d,0,kO(n,p,f),pO)}}return function(t,e,i){if(!t.isGroup){var n=t,r=i.currentZ,o=i.currentZLevel;n.z=r,n.zlevel=o;var a=e.z2;null!=a&&(n.z2=a||0);for(var s=0;s<cO.length;s++)wO(n,e,cO[s])}}(d,n,r),"group"===n.type&&function(t,e,i,n,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u){if(l)return c={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:i,seriesModel:r,group:e},void new Km(c.oldChildren,c.newChildren,PO,PO,c).add(OO).update(OO).remove(RO).execute();var c;u&&e.removeAll();for(var d=0;d<a;d++){var h=o[d],f=e.childAt(d);h?(null==h.ignore&&(h.ignore=!1),TO(t,f,i,h,r,e)):f.ignore=!0}for(var p=e.childCount()-1;p>=d;p--){var g=e.childAt(p);LO(e,g,r)}}}(t,d,i,n,r),a>=0?o.replaceAt(d,a):o.add(d),d}function IO(t,e,i){var n,r=kP(t),o=e.type,a=e.shape,s=e.style;return i.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&(n=a)&&(St(n,"pathData")||St(n,"d"))&&EO(a)!==r.customPathData||"image"===o&&St(s,"image")&&s.image!==r.customImagePath}function AO(t,e,i){var n=e?DO(t,e):t,r=e?kO(t,n,aO):t.style,o=t.type,a=n?n.textConfig:null,s=t.textContent,l=s?e?DO(s,e):s:null;if(r&&(i.isLegacy||NP(r,o,!!a,!!l))){i.isLegacy=!0;var u=BP(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var d=e?i[e]:i.normal;d.cfg=a,d.conOpt=l}function DO(t,e){return e?t?t[e]:null:t}function kO(t,e,i){var n=e&&e.style;return null==n&&i===aO&&t&&(n=t.styleEmphasis),n}function LO(t,e,i){e&&ZP(e,kP(t).option,i)}function PO(t,e){var i=t&&t.name;return null!=i?i:"e\0\0"+e}function OO(t,e){var i=this.context,n=null!=t?i.newChildren[t]:null,r=null!=e?i.oldChildren[e]:null;TO(i.api,r,i.dataIndex,n,i.seriesModel,i.group)}function RO(t){var e=this.context,i=e.oldChildren[t];i&&ZP(i,kP(i).option,e.seriesModel)}function EO(t){return t&&(t.pathData||t.d)}var NO=xo(),BO=D,zO=$,VO=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,i,n){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,n||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,i);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(a){var d=U(FO,e,c);this.updatePointerEl(a,l,d),this.updateLabelEl(a,l,d,e)}else a=this._group=new Ar,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),i.getZr().add(a);GO(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var i=e.get("animation"),n=t.axis,r="category"===n.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===i||null==i){var a=this.animationThreshold;if(r&&n.getBandWidth()>a)return!0;if(o){var s=vC(t).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===i},t.prototype.makeElOption=function(t,e,i,n,r){},t.prototype.createPointerEl=function(t,e,i,n){var r=e.pointer;if(r){var o=NO(t).pointerEl=new Rc[r.type](BO(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,i,n){if(e.label){var r=NO(t).labelEl=new Is(BO(e.label));t.add(r),jO(r,n)}},t.prototype.updatePointerEl=function(t,e,i){var n=NO(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,i,n){var r=NO(t).labelEl;r&&(r.setStyle(e.label.style),i(r,{x:e.label.x,y:e.label.y}),jO(r,n))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,n=this._api.getZr(),r=this._handle,o=i.getModel("handle"),a=i.get("status");if(!o.get("show")||!a||"hide"===a)return r&&n.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Ic(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ge(t.event)},onmousedown:zO(this._onHandleDragMove,this,0,0),drift:zO(this._onHandleDragMove,this),ondragend:zO(this._onHandleDragEnd,this)}),n.add(r)),GO(r,i,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");Y(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,sg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){FO(this._axisPointerModel,!e&&this._moveAnimation,this._handle,HO(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(HO(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(HO(n)),NO(i).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),lg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}},t}();function FO(t,e,i,n){(function t(e,i){if(K(e)&&K(i)){var n=!0;return V(i,(function(i,r){n=n&&t(e[r],i)})),!!n}return e===i})(NO(i).lastProp,n)||(NO(i).lastProp=n,e?Ju(i,n,t):(i.stopAnimation(),i.attr(n)))}function jO(t,e){t[e.get(["label","show"])?"show":"hide"]()}function HO(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function GO(t,e,i){var n=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t.zlevel=r),t.silent=i)}))}function WO(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle()).fill=null:"shadow"===i&&((e=n.getAreaStyle()).stroke=null),e}function $O(t,e,i,n,r){var o=UO(i.get("value"),e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get(["label","precision"]),formatter:i.get(["label","formatter"])}),a=i.getModel("label"),s=$d(a.get("padding")||0),l=a.getFont(),u=fr(o,l),c=r.position,d=u.width+s[1]+s[3],h=u.height+s[0]+s[2],f=r.align;"right"===f&&(c[0]-=d),"center"===f&&(c[0]-=d/2);var p=r.verticalAlign;"bottom"===p&&(c[1]-=h),"middle"===p&&(c[1]-=h/2),function(t,e,i,n){var r=n.getWidth(),o=n.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+i,o)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(c,d,h,n);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:Fc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function UO(t,e,i,n,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:P_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};V(n,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,r=e&&e.getDataParams(n);r&&s.seriesData.push(r)})),Q(a)?o=a.replace("{value}",o):Z(a)&&(o=a(s))}return o}function YO(t,e,i){var n=[1,0,0,1,0,0];return Ce(n,n,i.rotation),Se(n,n,i.position),bc([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function ZO(t,e,i,n,r,o){var a=lC.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=r.get(["label","margin"]),$O(e,n,r,o,{position:YO(n.axis,t,i),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function QO(t,e,i){return{x1:t[i=i||0],y1:t[1-i],x2:e[i],y2:e[1-i]}}function XO(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}}function qO(t,e,i,n,r,o){return{cx:t,cy:e,r0:i,r:n,startAngle:r,endAngle:o,clockwise:!0}}var KO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,i,n,r){var o=i.axis,a=o.grid,s=n.get("type"),l=JO(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=WO(n),d=tR[s](o,u,l);d.style=c,t.graphicKey=d.type,t.pointer=d}ZO(e,t,KS(a.model,i),i,n,r)},e.prototype.getHandleTransform=function(t,e,i){var n=KS(e.axis.grid.model,e,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var r=YO(e.axis,t,n);return{x:r[0],y:r[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,i,n){var r=i.axis,o=r.grid,a=r.getGlobalExtent(!0),s=JO(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,d=[c,c];return d[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(VO);function JO(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}var tR={line:function(t,e,i){return{type:"Line",subPixelOptimize:!0,shape:QO([e,i[0]],[e,i[1]],eR(t))}},shadow:function(t,e,i){var n=Math.max(1,t.getBandWidth()),r=i[1]-i[0];return{type:"Rect",shape:XO([e-n/2,i[0]],[n,r],eR(t))}}};function eR(t){return"x"===t.dim?0:1}var iR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(dh),nR=xo(),rR=V;function oR(t,e,i){if(!a.node){var n=e.getZr();nR(n).records||(nR(n).records={}),function(t,e){function i(i,n){t.on(i,(function(i){var r=function(t){var e={showTip:[],hideTip:[]};return{dispatchAction:function i(n){var r=e[n.type];r?r.push(n):(n.dispatchAction=i,t.dispatchAction(n))},pendings:e}}(e);rR(nR(t).records,(function(t){t&&n(t,i,r.dispatchAction)})),function(t,e){var i,n=t.showTip.length,r=t.hideTip.length;n?i=t.showTip[n-1]:r&&(i=t.hideTip[r-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}(r.pendings,e)}))}nR(t).initialized||(nR(t).initialized=!0,i("click",U(sR,"click")),i("mousemove",U(sR,"mousemove")),i("globalout",aR))}(n,e),(nR(n).records[t]||(nR(n).records[t]={})).handler=i}}function aR(t,e,i){t.handler("leave",null,i)}function sR(t,e,i,n){e.handler(t,i,n)}function lR(t,e){if(!a.node){var i=e.getZr();(nR(i).records||{})[t]&&(nR(i).records[t]=null)}}var uR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){var n=e.getComponent("tooltip"),r=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";oR("axisPointer",i,(function(t,e,i){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){lR("axisPointer",e)},e.prototype.dispose=function(t,e){lR("axisPointer",e)},e.type="axisPointer",e}(Yp);function cR(t,e){var i,n=[],r=t.seriesIndex;if(null==r||!(i=e.getSeriesByIndex(r)))return{point:[]};var o=i.getData(),a=_o(o,t);if(null==a||a<0||Y(a))return{point:[]};var s=o.getItemGraphicEl(a),l=i.coordinateSystem;if(i.getTooltipPosition)n=i.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,d=u.dim,h="x"===c||"radius"===c?1:0,f=o.mapDimension(d),p=[];p[h]=o.get(f,a),p[1-h]=o.get(o.getCalculationInfo("stackResultDimension"),a),n=l.dataToPoint(p)||[]}else n=l.dataToPoint(o.getValues(F(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),n=[g.x+g.width/2,g.y+g.height/2]}return{point:n,el:s}}var dR=xo();function hR(t,e,i){var n=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||$(i.dispatchAction,i),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){mR(r)&&(r=cR({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=mR(r),u=o.axesInfo,c=s.axesInfo,d="leave"===n||mR(r),h={},f={},p={list:[],map:{}},g={showPointer:U(pR,f),showTooltip:U(gR,p)};V(s.coordSysMap,(function(t,e){var i=l||t.containPoint(r);V(s.coordSysAxesInfo[e],(function(t,e){var n=t.axis,o=function(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}(u,t);if(!d&&i&&(!u||o)){var a=o&&o.value;null!=a||l||(a=n.pointToData(r)),null!=a&&fR(t,a,g,!1,h)}}))}));var v={};return V(c,(function(t,e){var i=t.linkGroup;i&&!f[e]&&V(i.axesInfo,(function(e,n){var r=f[n];if(e!==t&&r){var o=r.value;i.mapper&&(o=t.axis.scale.parse(i.mapper(o,vR(e),vR(t)))),v[t.key]=o}}))})),V(v,(function(t,e){fR(c[e],t,g,!0,h)})),function(t,e,i){var n=i.axesInfo=[];V(e,(function(e,i){var r=e.axisPointerModel.option,o=t[i];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(f,c,h),function(t,e,i,n){if(!mR(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}(p,r,t,a),function(t,e,i){var n=i.getZr(),r="axisPointerLastHighlights",o=dR(n)[r]||{},a=dR(n)[r]={};V(t,(function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&V(i.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];V(o,(function(t,e){!a[e]&&l.push(t)})),V(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(c,0,i),h}}function fR(t,e,i,n,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var i=e.axis,n=i.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return V(e.seriesModels,(function(e,l){var u,c,d=e.getData().mapDimensionsAll(n);if(e.getAxisTooltipData){var h=e.getAxisTooltipData(d,t,i);c=h.dataIndices,u=h.nestestValue}else{if(!(c=e.getData().indicesOfNearest(d[0],t,"category"===i.type?.5:null)).length)return;u=e.getData().get(d[0],c[0])}if(null!=u&&isFinite(u)){var f=t-u,p=Math.abs(f);p<=a&&((p<a||f>=0&&s<0)&&(a=p,s=f,r=u,o.length=0),V(c,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&P(r,s[0]),!n&&t.snap&&o.containData(l)&&null!=l&&(e=l),i.showPointer(t,e,s),i.showTooltip(t,a,l)}else i.showPointer(t,e)}function pR(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function gR(t,e,i,n){var r=i.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=yC(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function vR(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function mR(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function yR(t){xC.registerAxisPointerClass("CartesianAxisPointer",KO),t.registerComponentModel(iR),t.registerComponentView(uR),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Y(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=function(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,i){var n=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];V(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var s=yC(i.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=i;var u=i.model.getModel("tooltip",n);if(V(i.getAxes(),U(f,!1,null)),i.getTooltipAxes&&n&&u.get("show")){var c="axis"===u.get("trigger"),d="cross"===u.get(["axisPointer","type"]),h=i.getTooltipAxes(u.get(["axisPointer","axis"]));(c||d)&&V(h.baseAxes,U(f,!d||"cross",c)),d&&V(h.otherAxes,U(f,"cross",!1))}}function f(n,s,c){var d=c.model.getModel("axisPointer",r),h=d.get("show");if(h&&("auto"!==h||n||mC(d))){null==s&&(s=d.get("triggerTooltip")),d=n?function(t,e,i,n,r,o){var a=e.getModel("axisPointer"),s={};V(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){s[t]=D(a.get(t))})),s.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===r){var u=a.get(["label","show"]);if(l.show=null==u||u,!o){var c=s.lineStyle=a.get("crossStyle");c&&O(l,c.textStyle)}}return t.model.getModel("axisPointer",new ld(s,i,n))}(c,u,r,e,n,s):d;var f=d.get("snap"),p=yC(c.model),g=s||f||"category"===c.type,v=t.axesInfo[p]={key:p,axis:c,coordSys:i,axisPointerModel:d,triggerTooltip:s,involveSeries:g,snap:f,useHandle:mC(d),seriesModels:[],linkGroup:null};l[p]=v,t.seriesInvolved=t.seriesInvolved||g;var m=function(t,e){for(var i=e.model,n=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(pC(o[n+"AxisId"],i.id)||pC(o[n+"AxisIndex"],i.componentIndex)||pC(o[n+"AxisName"],i.name))return r}}(o,c);if(null!=m){var y=a[m]||(a[m]={axesInfo:{}});y.axesInfo[p]=v,y.mapper=o[m].mapper,v.linkGroup=y}}}}))}(i,t,e),i.seriesInvolved&&function(t,e){e.eachSeries((function(e){var i=e.coordinateSystem,n=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&V(t.coordSysAxesInfo[yC(i.model)],(function(t){var n=t.axis;i.getAxis(n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}(i,t),i}(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},hR)}var _R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,i,n,r){var o=i.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=n.get("type");if(u&&"none"!==u){var c=WO(n),d=xR[u](o,a,l,s);d.style=c,t.graphicKey=d.type,t.pointer=d}var h=function(t,e,i,n,r){var o=e.axis,a=o.dataToCoord(t),s=n.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,d=n.getRadiusAxis().getExtent();if("radius"===o.dim){var h=[1,0,0,1,0,0];Ce(h,h,s),Se(h,h,[n.cx,n.cy]),l=bc([a,-r],h);var f=e.getModel("axisLabel").get("rotate")||0,p=lC.innerTextLayout(s,f*Math.PI/180,-1);u=p.textAlign,c=p.textVerticalAlign}else{var g=d[1];l=n.coordToPoint([g+r,a]);var v=n.cx,m=n.cy;u=Math.abs(l[0]-v)/g<.3?"center":l[0]>v?"left":"right",c=Math.abs(l[1]-m)/g<.3?"middle":l[1]>m?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(e,i,0,a,n.get(["label","margin"]));$O(t,i,n,r,h)},e}(VO),xR={line:function(t,e,i,n){return"angle"===t.dim?{type:"Line",shape:QO(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:qO(e.cx,e.cy,n[0],n[1],(-i-r/2)*o,(r/2-i)*o)}:{type:"Sector",shape:qO(e.cx,e.cy,i-r/2,i+r/2,0,2*Math.PI)}}},bR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(dh),wR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Co).models[0]},e.type="polarAxis",e}(dh);B(wR,B_);var SR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="angleAxis",e}(wR),CR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="radiusAxis",e}(wR),MR=function(t){function e(e,i){return t.call(this,"radius",e,i)||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(hx);MR.prototype.dataToRadius=hx.prototype.dataToCoord,MR.prototype.radiusToData=hx.prototype.coordToData;var TR=xo(),IR=function(t){function e(e,i){return t.call(this,"angle",e,i||[0,360])||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),i=t.scale,n=i.getExtent(),r=i.count();if(n[1]-n[0]<1)return 0;var o=n[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=fr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),d=TR(t.model),h=d.lastAutoInterval,f=d.lastTickCount;return null!=h&&null!=f&&Math.abs(h-c)<=1&&Math.abs(f-r)<=1&&h>c?c=h:(d.lastTickCount=r,d.lastAutoInterval=c),c},e}(hx);IR.prototype.dataToAngle=hx.prototype.dataToCoord,IR.prototype.angleToData=hx.prototype.coordToData;var AR=["radius","angle"],DR=function(){function t(t){this.dimensions=AR,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new MR,this._angleAxis=new IR,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),r=n.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);n.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;for(var l=Math.atan2(-i,e)/Math.PI*180,u=l<o?1:-1;l<o||l>a;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],i=t[1]/180*Math.PI;return[Math.cos(i)*e+this.cx,-Math.sin(i)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var i=t.getExtent(),n=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-i[0]*n,endAngle:-i[1]*n,clockwise:t.inverse,contain:function(t,e){var i=t-this.cx,n=e-this.cy,r=i*i+n*n-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,i){return kR(e)===this?this.dataToPoint(i):null},t.prototype.convertFromPixel=function(t,e,i){return kR(e)===this?this.pointToData(i):null},t}();function kR(t){var e=t.seriesModel,i=t.polarModel;return i&&i.coordinateSystem||e&&e.coordinateSystem}function LR(t,e){var i=this,n=i.getAngleAxis(),r=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===i){var e=t.getData();V(N_(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),V(N_(e,"angle"),(function(t){n.scale.unionExtentFromData(e,t)}))}})),D_(n.scale,n.model),D_(r.scale,r.model),"category"===n.type&&!n.onBand){var o=n.getExtent(),a=360/n.scale.count();n.inverse?o[1]+=a:o[1]-=a,n.setExtent(o[0],o[1])}}function PR(t,e){if(t.type=e.get("type"),t.scale=k_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}var OR={dimensions:AR,create:function(t,e){var i=[];return t.eachComponent("polar",(function(t,n){var r=new DR(n+"");r.update=LR;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");PR(o,s),PR(a,l),function(t,e,i){var n=e.get("center"),r=i.getWidth(),o=i.getHeight();t.cx=Nr(n[0],r),t.cy=Nr(n[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:Y(l)||(l=[0,l]);var u=[Nr(l[0],s),Nr(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),i.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Co).models[0];t.coordinateSystem=e.coordinateSystem}})),i}},RR=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function ER(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),r=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:r[0],y2:r[1]}}function NR(t){return t.getRadiusAxis().inverse?0:1}function BR(t){var e=t[0],i=t[t.length-1];e&&i&&Math.abs(Math.abs(e.coord-i.coord)-360)<1e-4&&t.pop()}var zR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="PolarAxisPointer",i}return i(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,n=i.polar,r=n.getRadiusAxis().getExtent(),o=i.getTicksCoords(),a=i.getMinorTicksCoords(),s=F(i.getViewLabels(),(function(t){t=D(t);var e=i.scale,n="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=i.dataToCoord(n),t}));BR(s),BR(o),V(RR,(function(e){!t.get([e,"show"])||i.scale.isBlank()&&"axisLine"!==e||VR[e](this.group,t,n,o,a,r,s)}),this)}},e.type="angleAxis",e}(xC),VR={axisLine:function(t,e,i,n,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=NR(i),u=l?0:1;(a=0===o[u]?new au({shape:{cx:i.cx,cy:i.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new Cu({shape:{cx:i.cx,cy:i.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,i,n,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[NR(i)],u=F(n,(function(t){return new Pu({shape:ER(i,[l,l+s],t.coord)})}));t.add(vc(u,{style:O(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,i,n,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[NR(i)],c=[],d=0;d<r.length;d++)for(var h=0;h<r[d].length;h++)c.push(new Pu({shape:ER(i,[u,u+l],r[d][h].coord)}));t.add(vc(c,{style:O(s.getModel("lineStyle").getLineStyle(),O(a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,i,n,r,o,a){var s=e.getCategories(!0),l=e.getModel("axisLabel"),u=l.get("margin"),c=e.get("triggerEvent");V(a,(function(n,r){var a=l,d=n.tickValue,h=o[NR(i)],f=i.coordToPoint([h+u,n.coord]),p=i.cx,g=i.cy,v=Math.abs(f[0]-p)/h<.3?"center":f[0]>p?"left":"right",m=Math.abs(f[1]-g)/h<.3?"middle":f[1]>g?"top":"bottom";if(s&&s[d]){var y=s[d];K(y)&&y.textStyle&&(a=new ld(y.textStyle,l,l.ecModel))}var _=new Is({silent:lC.isLabelSilent(e),style:Fc(a,{x:f[0],y:f[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:n.formattedLabel,align:v,verticalAlign:m})});if(t.add(_),c){var x=lC.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=n.rawLabel,Fs(_).eventData=x}}),this)},splitLine:function(t,e,i,n,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<n.length;c++){var d=l++%s.length;u[d]=u[d]||[],u[d].push(new Pu({shape:ER(i,o,n[c].coord)}))}for(c=0;c<u.length;c++)t.add(vc(u[c],{style:O({stroke:s[c%s.length]},a.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,i,n,r,o){if(r.length){for(var a=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<r.length;l++)for(var u=0;u<r[l].length;u++)s.push(new Pu({shape:ER(i,o,r[l][u].coord)}));t.add(vc(s,{style:a.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,i,n,r,o){if(n.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=Math.PI/180,d=-n[0].coord*c,h=Math.min(o[0],o[1]),f=Math.max(o[0],o[1]),p=e.get("clockwise"),g=1,v=n.length;g<=v;g++){var m=g===v?n[0].coord:n[g].coord,y=l++%s.length;u[y]=u[y]||[],u[y].push(new wu({shape:{cx:i.cx,cy:i.cy,r0:h,r:f,startAngle:d,endAngle:-m*c,clockwise:p},silent:!0})),d=-m*c}for(g=0;g<u.length;g++)t.add(vc(u[g],{style:O({fill:s[g%s.length]},a.getAreaStyle()),silent:!0}))}}},FR=["axisLine","axisTickLabel","axisName"],jR=["splitLine","splitArea","minorSplitLine"],HR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="PolarAxisPointer",i}return i(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var i=this._axisGroup,n=this._axisGroup=new Ar;this.group.add(n);var r=t.axis,o=r.polar,a=o.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=a.getExtent()[0],c=r.getExtent(),d=function(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(o,t,u),h=new lC(t,d);V(FR,h.add,h),n.add(h.getGroup()),Cc(i,n,t),V(jR,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&GR[e](this.group,t,o,u,c,s,l)}),this)}},e.type="radiusAxis",e}(xC),GR={splitLine:function(t,e,i,n,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<o.length;c++){var d=l++%s.length;u[d]=u[d]||[],u[d].push(new au({shape:{cx:i.cx,cy:i.cy,r:Math.max(o[c].coord,0)}}))}for(c=0;c<u.length;c++)t.add(vc(u[c],{style:O({stroke:s[c%s.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,i,n,r,o,a){if(a.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],u=0;u<a.length;u++)for(var c=0;c<a[u].length;c++)l.push(new au({shape:{cx:i.cx,cy:i.cy,r:a[u][c].coord}}));t.add(vc(l,{style:O({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,i,n,r,o){if(o.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=o[0].coord,d=1;d<o.length;d++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new wu({shape:{cx:i.cx,cy:i.cy,r0:c,r:o[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=o[d].coord}for(d=0;d<u.length;d++)t.add(vc(u[d],{style:O({fill:s[d%s.length]},a.getAreaStyle()),silent:!0}))}}};function WR(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function $R(t,e){return e.dim+t.model.componentIndex}function UR(t,e,i){var n={},r=function(t){var e={};V(t,(function(t,i){var n=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=$R(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/n.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[a]=u;var d=WR(t);c[d]||u.autoWidthCount++,c[d]=c[d]||{width:0,maxWidth:0};var h=Nr(t.get("barWidth"),l),f=Nr(t.get("barMaxWidth"),l),p=t.get("barGap"),g=t.get("barCategoryGap");h&&!c[d].width&&(h=Math.min(u.remainedWidth,h),c[d].width=h,u.remainedWidth-=h),f&&(c[d].maxWidth=f),null!=p&&(u.gap=p),null!=g&&(u.categoryGap=g)}));var i={};return V(e,(function(t,e){i[e]={};var n=t.stacks,r=t.bandWidth,o=Nr(t.categoryGap,r),a=Nr(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-o)/(l+(l-1)*a);u=Math.max(u,0),V(n,(function(t,e){var i=t.maxWidth;i&&i<u&&(i=Math.min(i,s),t.width&&(i=Math.min(i,t.width)),s-=i,t.width=i,l--)})),u=(s-o)/(l+(l-1)*a),u=Math.max(u,0);var c,d=0;V(n,(function(t,e){t.width||(t.width=u),c=t,d+=t.width*(1+a)})),c&&(d-=c.width*a);var h=-d/2;V(n,(function(t,n){i[e][n]=i[e][n]||{offset:h,width:t.width},h+=t.width*(1+a)}))})),i}(H(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),i=t.coordinateSystem,o=i.getBaseAxis(),a=$R(i,o),s=WR(t),l=r[a][s],u=l.offset,c=l.width,d=i.getOtherAxis(o),h=t.coordinateSystem.cx,f=t.coordinateSystem.cy,p=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;n[s]=n[s]||[];for(var v=e.mapDimension(d.dim),m=e.mapDimension(o.dim),y=Dy(e,v),_="radius"!==o.dim||!t.get("roundCap",!0),x=d.dataToCoord(0),b=0,w=e.count();b<w;b++){var S=e.get(v,b),C=e.get(m,b),M=S>=0?"p":"n",T=x;y&&(n[s][C]||(n[s][C]={p:x,n:x}),T=n[s][C][M]);var I=void 0,A=void 0,D=void 0,k=void 0;if("radius"===d.dim){var L=d.dataToCoord(S)-x,P=o.dataToCoord(C);Math.abs(L)<p&&(L=(L<0?-1:1)*p),I=T,A=T+L,k=(D=P-u)-c,y&&(n[s][C][M]=A)}else{var O=d.dataToCoord(S,_)-x,R=o.dataToCoord(C);Math.abs(O)<g&&(O=(O<0?-1:1)*g),A=(I=R+u)+c,D=T,k=T+O,y&&(n[s][C][M]=k)}e.setItemLayout(b,{cx:h,cy:f,r0:I,r:A,startAngle:-D*Math.PI/180,endAngle:-k*Math.PI/180,clockwise:D>=k})}}}))}var YR={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},ZR={splitNumber:5},QR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="polar",e}(Yp);function XR(t,e){e=e||{};var i=t.coordinateSystem,n=t.axis,r={},o=n.position,a=n.orient,s=i.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]],r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),at(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var c=e.rotate;return null==c&&(c=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-c:c,r.z2=1,r}var qR=["axisLine","axisTickLabel","axisName"],KR=["splitArea","splitLine"],JR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="SingleAxisPointer",i}return i(e,t),e.prototype.render=function(e,i,n,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Ar;var s=XR(e),l=new lC(e,s);V(qR,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),V(KR,(function(t){e.get([t,"show"])&&tE[t](this,this.group,this._axisGroup,e)}),this),Cc(a,this._axisGroup,e),t.prototype.render.call(this,e,i,n,r)},e.prototype.remove=function(){SC(this)},e.type="singleAxis",e}(xC),tE={splitLine:function(t,e,i,n){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=n.coordinateSystem.getRect(),c=r.isHorizontal(),d=[],h=0,f=r.getTicksCoords({tickModel:o}),p=[],g=[],v=0;v<f.length;++v){var m=r.toGlobalCoord(f[v].coord);c?(p[0]=m,p[1]=u.y,g[0]=m,g[1]=u.y+u.height):(p[0]=u.x,p[1]=m,g[0]=u.x+u.width,g[1]=m);var y=new Pu({shape:{x1:p[0],y1:p[1],x2:g[0],y2:g[1]},silent:!0});yc(y.shape,l);var _=h++%s.length;d[_]=d[_]||[],d[_].push(y)}var x=a.getLineStyle(["color"]);for(v=0;v<d.length;++v)e.add(vc(d[v],{style:O({stroke:s[v%s.length]},x),silent:!0}))}},splitArea:function(t,e,i,n){wC(t,i,n,n)}},eE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(dh);B(eE,B_.prototype);var iE=function(t){function e(e,i,n,r,o){var a=t.call(this,e,i,n)||this;return a.type=r||"value",a.position=o||"bottom",a}return i(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(hx),nE=["single"],rE=function(){function t(t,e,i){this.type="single",this.dimension="single",this.dimensions=nE,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,i)}return t.prototype._init=function(t,e,i){var n=this.dimension,r=new iE(n,k_(t),[0,0],t.get("type"),t.get("position")),o="category"===r.type;r.onBand=o&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();V(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),D_(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=rh({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,i=e.isHorizontal(),n=i?[0,t.width]:[0,t.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),this._updateAxisTransform(e,i?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var i=t.getExtent(),n=i[0]+i[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return n-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),i=this.getAxis();return"horizontal"===i.orient?i.contain(i.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:i.contain(i.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),i=this.getRect(),n=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[r]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-r]=0===r?i.y+i.height/2:i.x+i.width/2,n},t.prototype.convertToPixel=function(t,e,i){return oE(e)===this?this.dataToPoint(i):null},t.prototype.convertFromPixel=function(t,e,i){return oE(e)===this?this.pointToData(i):null},t}();function oE(t){var e=t.seriesModel,i=t.singleAxisModel;return i&&i.coordinateSystem||e&&e.coordinateSystem}var aE={create:function(t,e){var i=[];return t.eachComponent("singleAxis",(function(n,r){var o=new rE(n,t,e);o.name="single_"+r,o.resize(n,e),n.coordinateSystem=o,i.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Co).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),i},dimensions:nE},sE=["x","y"],lE=["width","height"],uE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,i,n,r){var o=i.axis,a=o.coordinateSystem,s=hE(a,1-dE(o)),l=a.dataToPoint(e)[0],u=n.get("type");if(u&&"none"!==u){var c=WO(n),d=cE[u](o,l,s);d.style=c,t.graphicKey=d.type,t.pointer=d}ZO(e,t,XR(i),i,n,r)},e.prototype.getHandleTransform=function(t,e,i){var n=XR(e,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var r=YO(e.axis,t,n);return{x:r[0],y:r[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,i,n){var r=i.axis,o=r.coordinateSystem,a=dE(r),s=hE(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=hE(o,1-a),c=(u[1]+u[0])/2,d=[c,c];return d[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},e}(VO),cE={line:function(t,e,i){return{type:"Line",subPixelOptimize:!0,shape:QO([e,i[0]],[e,i[1]],dE(t))}},shadow:function(t,e,i){var n=t.getBandWidth(),r=i[1]-i[0];return{type:"Rect",shape:XO([e-n/2,i[0]],[n,r],dE(t))}}};function dE(t){return t.isHorizontal()?0:1}function hE(t,e){var i=t.getRect();return[i[sE[e]],i[sE[e]]+i[lE[e]]]}var fE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="single",e}(Yp),pE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(e,i,n){var r=lh(e);t.prototype.init.apply(this,arguments),gE(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),gE(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(dh);function gE(t,e){var i,n=t.cellSize;1===(i=Y(n)?n:t.cellSize=[n,n]).length&&(i[1]=i[0]);var r=F([0,1],(function(t){return function(t,e){return null!=t[eh[e][0]]||null!=t[eh[e][1]]&&null!=t[eh[e][2]]}(e,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]}));sh(t,e,{type:"box",ignoreSize:r})}var vE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){var n=this.group;n.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,n),this._renderLines(t,o,a,n),this._renderYearText(t,o,a,n),this._renderMonthText(t,s,a,n),this._renderWeekText(t,s,o,a,n)},e.prototype._renderDayRect=function(t,e,i){for(var n=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=n.getCellWidth(),a=n.getCellHeight(),s=e.start.time;s<=e.end.time;s=n.getNextNDay(s,1).time){var l=n.dataToRect([s],!1).tl,u=new Cs({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});i.add(u)}},e.prototype._renderLines=function(t,e,i,n){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=o.getDateInfo(d)}function h(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,i);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,n)}h(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,i),a,n),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,i),a,n)},e.prototype._getEdgesPoints=function(t,e,i){var n=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===i?0:1;return n[0][r]=n[0][r]-e/2,n[1][r]=n[1][r]+e/2,n},e.prototype._drawSplitline=function(t,e,i){var n=new Du({z2:20,shape:{points:t},style:e});i.add(n)},e.prototype._getLinePointsOfOneWeek=function(t,e,i){for(var n=t.coordinateSystem,r=n.getDateInfo(e),o=[],a=0;a<7;a++){var s=n.getNextNDay(r.time,a),l=n.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===i?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return Q(t)&&t?(i=t,V(e,(function(t,e){i=i.replace("{"+e+"}",t)})),i):Z(t)?t(e):e.nameMap;var i},e.prototype._yearTextPositionControl=function(t,e,i,n,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===n?(a+=r,s=["center","top"]):"left"===n?o-=r:"right"===n?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==n&&"right"!==n||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,i,n){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==i?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===i?0:1,d={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},h=e.start.y;+e.end.y>+e.start.y&&(h=h+"-"+e.end.y);var f=r.get("formatter"),p={start:e.start.y,end:e.end.y,nameMap:h},g=this._formatterLabel(f,p),v=new Is({z2:30,style:Fc(r,{text:g})});v.attr(this._yearTextPositionControl(v,d[a],i,a,o)),n.add(v)}},e.prototype._monthTextPositionControl=function(t,e,i,n,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===i?(l+=r,e&&(o="center"),"start"===n&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===n&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,i,n){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!Q(o)||(o&&(e=vd(o)||e),o=e.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,d="horizontal"===i?0:1;a="start"===s?-a:a;for(var h="center"===l,f=0;f<u[c].length-1;f++){var p=u[c][f].slice(),g=this._firstDayOfMonth[f];if(h){var v=this._firstDayPoints[f];p[d]=(v[d]+u[0][f+1][d])/2}var m=r.get("formatter"),y=o[+g.m-1],_={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:y},x=this._formatterLabel(m,_),b=new Is({z2:30,style:P(Fc(r,{text:x}),this._monthTextPositionControl(p,h,i,s,a))});n.add(b)}}},e.prototype._weekTextPositionControl=function(t,e,i,n,r){var o="center",a="middle",s=t[0],l=t[1],u="start"===i;return"horizontal"===e?(s=s+n+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+n+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,i,n,r){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),u=o.get("margin"),c=a.getFirstDayOfWeek();l&&!Q(l)||(l&&(e=vd(l)||e),l=e.get(["time","dayOfWeekShort"])||F(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]})));var d=a.getNextNDay(i.end.time,7-i.lweek).time,h=[a.getCellWidth(),a.getCellHeight()];u=Nr(u,Math.min(h[1],h[0])),"start"===s&&(d=a.getNextNDay(i.start.time,-(7+i.fweek)).time,u=-u);for(var f=0;f<7;f++){var p,g=a.getNextNDay(d,f),v=a.dataToRect([g.time],!1).center;p=Math.abs((f+c)%7);var m=new Is({z2:30,style:P(Fc(o,{text:l[p]}),this._weekTextPositionControl(v,n,s,u,h))});r.add(m)}}},e.type="calendar",e}(Yp),mE=864e5,yE=function(){function t(e,i,n){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=Zr(t)).getFullYear(),i=t.getMonth()+1,n=i<10?"0"+i:""+i,r=t.getDate(),o=r<10?"0"+r:""+r,a=t.getDay();return{y:e+"",m:n,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+n+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,n=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[i,7]:[7,i];V([0,1],(function(t){u(r,t)&&(o[n[t]]=r[t]*a[t])}));var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=rh(o,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}V([0,1],(function(t){u(r,t)||(r[t]=l[n[t]]/a[t])})),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){Y(t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),n=this._rangeInfo,r=i.formatedDate;if(e&&!(i.time>=n.start.time&&i.time<n.end.time+mE))return[NaN,NaN];var o=i.day,a=this._getRangeInfo([n.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var i=this.dataToPoint(t,e);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,i=Math.floor((t[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,e-1,n):this._getDateByWeeksAndDay(e,i-1,n)},t.prototype.convertToPixel=function(t,e,i){var n=_E(e);return n===this?n.dataToPoint(i):null},t.prototype.convertFromPixel=function(t,e,i){var n=_E(e);return n===this?n.pointToData(i):null},t.prototype.containPoint=function(t){return n("warn","Not implemented."," at uni_modules/lime-echart/static/echarts.min.js:47"),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(Y(e)&&1===e.length&&(e=e[0]),Y(e))t=e;else{var i=e.toString();if(/^\d{4}$/.test(i)&&(t=[i+"-01-01",i+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(i)){var n=this.getDateInfo(i),r=n.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(i)&&(t=[i,i])}if(!t)return e;var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,i=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];i[0].time>i[1].time&&(e=!0,i.reverse());var n=Math.floor(i[1].time/mE)-Math.floor(i[0].time/mE)+1,r=new Date(i[0].time),o=r.getDate(),a=i[1].date.getDate();r.setDate(o+n-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-i[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-i[1].time)*l>0;)n-=l,r.setDate(s-l);var u=Math.floor((n+i[0].day+6)/7),c=e?1-u:u-1;return e&&i.reverse(),{range:[i[0].formatedDate,i[1].formatedDate],start:i[0],end:i[1],allDay:n,weeks:u,nthWeek:c,fweek:i[0].day,lweek:i[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&e<n.fweek||t===n.weeks&&e>n.lweek)return null;var r=7*(t-1)-n.fweek+e,o=new Date(n.start.time);return o.setDate(+n.start.d+r),this.getDateInfo(o)},t.create=function(e,i){var n=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,i);n.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},t.dimensions=["time","value"],t}();function _E(t){var e=t.calendarModel,i=t.seriesModel;return e?e.coordinateSystem:i?i.coordinateSystem:null}function xE(t,e){var i;return V(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)})),i}var bE=["transition","enterFrom","leaveTo"],wE=bE.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function SE(t,e,i){if(i&&(!t[i]&&e[i]&&(t[i]={}),t=t[i],e=e[i]),t&&e)for(var n=i?bE:wE,r=0;r<n.length;r++){var o=n[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}var CE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.preventAutoZ=!0,i}return i(e,t),e.prototype.mergeOption=function(e,i){var n=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,i),this.option.elements=n},e.prototype.optionUpdated=function(t,e){var i=this.option,n=(e?i:t).elements,r=i.elements=e?[]:i.elements,o=[];this._flatten(n,o,null);var a=fo(r,o,"normalMerge"),s=this._elOptionsToUpdate=[];V(a,(function(t,e){var i=t.newOption;i&&(s.push(i),function(t,e){var i=t.existing;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}(t,i),function(t,e,i){var n=P({},i),r=t[e],o=i.$action||"merge";"merge"===o?r?(k(r,n,!0),sh(r,n,{ignoreSize:!0}),uh(i,r),SE(i,r),SE(i,r,"shape"),SE(i,r,"style"),SE(i,r,"extra"),i.clipPath=r.clipPath):t[e]=n:"replace"===o?t[e]=n:"remove"===o&&r&&(t[e]=null)}(r,e,i),function(t,e){if(t&&(t.hv=e.hv=[xE(e,["left","right"]),xE(e,["top","bottom"])],"group"===t.type)){var i=t,n=e;null==i.width&&(i.width=n.width=0),null==i.height&&(i.height=n.height=0)}}(r[e],i))}),this),i.elements=H(r,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,i){V(t,(function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;n&&n.length&&this._flatten(n,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(dh),ME={path:null,compoundPath:null,group:Ar,image:ms,text:Is},TE=xo(),IE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(){this._elMap=_t()},e.prototype.render=function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,i)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var i=this._elMap,n=this.group,r=t.get("z"),o=t.get("zlevel");V(e,(function(e){var a=vo(e.id,null),s=null!=a?i.get(a):null,l=vo(e.parentId,null),u=null!=l?i.get(l):n,c=e.type,d=e.style;"text"===c&&d&&e.hv&&e.hv[1]&&(d.textVerticalAlign=d.textBaseline=d.verticalAlign=d.align=null);var h=e.textContent,f=e.textConfig;if(d&&NP(d,c,!!f,!!h)){var p=BP(d,c,!0);!f&&p.textConfig&&(f=e.textConfig=p.textConfig),!h&&p.textContent&&(h=p.textContent)}var g=function(t){return t=P({},t),V(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(th),(function(e){delete t[e]})),t}(e),v=e.$action||"merge",m="merge"===v,y="replace"===v;if(m){var _=s;(T=!s)?_=DE(a,u,e.type,i):(_&&(TE(_).isNew=!1),rO(_)),_&&(UP(_,g,t,{isInit:T}),LE(_,e,r,o))}else if(y){kE(s,e,i,t);var x=DE(a,u,e.type,i);x&&(UP(x,g,t,{isInit:!0}),LE(x,e,r,o))}else"remove"===v&&(YP(s,e),kE(s,e,i,t));var b=i.get(a);if(b&&h)if(m){var w=b.getTextContent();w?w.attr(h):b.setTextContent(new Is(h))}else y&&b.setTextContent(new Is(h));if(b){var S=e.clipPath;if(S){var C=S.type,M=void 0,T=!1;if(m){var I=b.getClipPath();M=(T=!I||TE(I).type!==C)?AE(C):I}else y&&(T=!0,M=AE(C));b.setClipPath(M),UP(M,S,t,{isInit:T}),oO(M,S.keyframeAnimation,t)}var A=TE(b);b.setTextConfig(f),A.option=e,function(t,e,i){var n=Fs(t).eventData;t.silent||t.ignore||n||(n=Fs(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),n&&(n.info=i.info)}(b,t,e),Lc({el:b,componentModel:t,itemName:b.name,itemTooltipOption:e.tooltip}),oO(b,e.keyframeAnimation,t)}}))}},e.prototype._relocate=function(t,e){for(var i=t.option.elements,n=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),s=["x","y"],l=0;l<i.length;l++)if((p=null!=(f=vo((h=i[l]).id,null))?r.get(f):null)&&p.isGroup){var u=(g=p.parent)===n,c=TE(p),d=TE(g);c.width=Nr(c.option.width,u?o:d.width)||0,c.height=Nr(c.option.height,u?a:d.height)||0}for(l=i.length-1;l>=0;l--){var h,f,p;if(p=null!=(f=vo((h=i[l]).id,null))?r.get(f):null){var g=p.parent,v=(d=TE(g),{}),m=oh(p,h,g===n?{width:o,height:a}:{width:d.width,height:d.height},null,{hv:h.hv,boundingMode:h.bounding},v);if(!TE(p).isNew&&m){for(var y=h.transition,_={},x=0;x<s.length;x++){var b=s[x],w=v[b];y&&(QP(y)||E(y,b)>=0)?_[b]=w:p[b]=w}Ju(p,_,t,0)}else p.attr(v)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(i){kE(i,TE(i).option,e,t._lastGraphicModel)})),this._elMap=_t()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Yp);function AE(t){var e=St(ME,t)?ME[t]:hc(t),i=new e({});return TE(i).type=t,i}function DE(t,e,i,n){var r=AE(i);return e.add(r),n.set(t,r),TE(r).id=t,TE(r).isNew=!0,r}function kE(t,e,i,n){t&&t.parent&&("group"===t.type&&t.traverse((function(t){kE(t,e,i,n)})),ZP(t,e,n),i.removeKey(TE(t).id))}function LE(t,e,i,n){t.isGroup||V([["cursor",ca.prototype.cursor],["zlevel",n||0],["z",i||0],["z2",0]],(function(i){var n=i[0];St(e,n)?t[n]=st(e[n],i[1]):null==t[n]&&(t[n]=i[1])})),V(W(e),(function(i){if(0===i.indexOf("on")){var n=e[i];t[i]=Z(n)?n:null}})),St(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var PE=["x","y","radius","angle","single"],OE=["cartesian2d","polar","singleAxis"];function RE(t){return t+"Axis"}function EE(t){var e=t.ecModel,i={infoList:[],infoMap:_t()};return t.eachTargetAxis((function(t,n){var r=e.getComponent(RE(t),n);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=i.infoMap.get(a);s||(s={model:o,axisModels:[]},i.infoList.push(s),i.infoMap.set(a,s)),s.axisModels.push(r)}}})),i}var NE=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),BE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._autoThrottle=!0,i._noTarget=!0,i._rangePropMode=["percent","percent"],i}return i(e,t),e.prototype.init=function(t,e,i){var n=zE(t);this.settledOption=n,this.mergeDefaultAndTheme(t,i),this._doInit(n)},e.prototype.mergeOption=function(t){var e=zE(t);k(this.option,t,!0),k(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var i=this.settledOption;V([["start","startValue"],["end","endValue"]],(function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=i[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=_t();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return V(PE,(function(i){var n=this.getReferringComponents(RE(i),Mo);if(n.specified){e=!0;var r=new NE;V(n.models,(function(t){r.add(t.componentIndex)})),t.set(i,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var i=this.ecModel,n=!0;if(n){var r="vertical"===e?"y":"x";o(i.findComponents({mainType:r+"Axis"}),r)}function o(e,i){var r=e[0];if(r){var o=new NE;if(o.add(r.componentIndex),t.set(i,o),n=!1,"x"===i||"y"===i){var a=r.getReferringComponents("grid",Co).models[0];a&&V(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Co).models[0]&&o.add(t.componentIndex)}))}}}n&&o(i.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single"),n&&V(PE,(function(e){if(n){var r=i.findComponents({mainType:RE(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new NE;o.add(r[0].componentIndex),t.set(e,o),n=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,i=this.get("rangeMode");V([["start","startValue"],["end","endValue"]],(function(n,r){var o=null!=t[n[0]],a=null!=t[n[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":i?e[r]=i[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,i){null==t&&(t=this.ecModel.getComponent(RE(e),i))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(i,n){V(i.indexList,(function(i){t.call(e,n,i)}))}))},e.prototype.getAxisProxy=function(t,e){var i=this.getAxisModel(t,e);if(i)return i.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var i=this._targetAxisInfoMap.get(t);if(i&&i.indexMap[e])return this.ecModel.getComponent(RE(t),e)},e.prototype.setRawRange=function(t){var e=this.option,i=this.settledOption;V([["start","startValue"],["end","endValue"]],(function(n){null==t[n[0]]&&null==t[n[1]]||(e[n[0]]=i[n[0]]=t[n[0]],e[n[1]]=i[n[1]]=t[n[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;V(["start","startValue","end","endValue"],(function(i){e[i]=t[i]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,i=this._targetAxisInfoMap.keys(),n=0;n<i.length;n++)for(var r=i[n],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(dh);function zE(t){var e={};return V(["start","end","startValue","endValue","throttle"],(function(i){t.hasOwnProperty(i)&&(e[i]=t[i])})),e}var VE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="dataZoom.select",e}(BE),FE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},e.type="dataZoom",e}(Yp),jE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="dataZoom.select",e}(FE),HE=V,GE=zr,WE=function(){function t(t,e,i,n){this._dimName=t,this._axisIndex=e,this.ecModel=n,this._dataZoomModel=i}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(function(t){var e=t.get("coordinateSystem");return E(OE,e)>=0}(e)){var i=RE(this._dimName),n=e.getReferringComponents(i,Co).models[0];n&&this._axisIndex===n.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return D(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,i=this._dataExtent,n=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];HE(["start","end"],(function(l,u){var c=t[l],d=t[l+"Value"];"percent"===r[u]?(null==c&&(c=o[u]),d=n.parse(Er(c,o,i))):(e=!0,c=Er(d=null==d?i[u]:n.parse(d),i,o)),s[u]=null==d||isNaN(d)?i[u]:d,a[u]=null==c||isNaN(c)?o[u]:c})),GE(s),GE(a);var l=this._minMaxSpan;function u(t,e,i,r,o){var a=o?"Span":"ValueSpan";xD(0,t,i,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=Er(t[s],i,r,!0),o&&(e[s]=n.parse(e[s]))}return e?u(s,a,i,o,!1):u(a,s,o,i,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,i){var n=[1/0,-1/0];HE(i,(function(t){!function(t,e,i){e&&V(N_(e,i),(function(i){var n=e.getApproximateExtent(i);n[0]<t[0]&&(t[0]=n[0]),n[1]>t[1]&&(t[1]=n[1])}))}(n,t.getData(),e)}));var r=t.getAxisModel(),o=T_(r.axis.scale,r,n).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var i=this.calculateDataWindow(t.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&HE(n,(function(t){var e=t.getData(),n=e.mapDimensionsAll(i);if(n.length){if("weakFilter"===r){var a=e.getStore(),s=F(n,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,i,r,l=0;l<n.length;l++){var u=a.get(s[l],t),c=!isNaN(u),d=u<o[0],h=u>o[1];if(c&&!d&&!h)return!0;c&&(r=!0),d&&(e=!0),h&&(i=!0)}return r&&e&&i}))}else HE(n,(function(i){if("empty"===r)t.setData(e=e.map(i,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var n={};n[i]=o,e.selectRange(n)}}));HE(n,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,i=this._dataExtent;HE(["min","max"],(function(n){var r=e.get(n+"Span"),o=e.get(n+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=Er(i[0]+o,i,[0,100],!0):null!=r&&(o=Er(r,[0,100],i,!0)-i[0]),t[n+"Span"]=r,t[n+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,i=this._valueWindow;if(e){var n=jr(i,[0,500]);n=Math.min(n,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+i[0].toFixed(n)),100!==e[1]&&r.setDeterminedMinMax("max",+i[1].toFixed(n)),r.freeze()}},t}(),$E={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(i){i.eachTargetAxis((function(n,r){var o=t.getComponent(RE(n),r);e(n,r,o,i)}))}))}e((function(t,e,i,n){i.__dzAxisProxy=null}));var i=[];e((function(e,n,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new WE(e,n,o,t),i.push(r.__dzAxisProxy))}));var n=_t();return V(i,(function(t){V(t.getTargetSeriesModels(),(function(t){n.set(t.uid,t)}))})),n},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,i){t.getAxisProxy(e,i).reset(t)})),t.eachTargetAxis((function(i,n){t.getAxisProxy(i,n).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})}}))}},UE=!1;function YE(t){UE||(UE=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,$E),function(t){t.registerAction("dataZoom",(function(t,e){V(function(t,e){var i,n=_t(),r=[],o=_t();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{i=!1,t.eachComponent("dataZoom",a)}while(i);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,i){var r=n.get(t);r&&r[i]&&(e=!0)})),e}(t)&&(s(t),i=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(n.get(t)||n.set(t,[]))[e]=!0}))}return r}(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function ZE(t){t.registerComponentModel(VE),t.registerComponentView(jE),YE(t)}var QE=function(){},XE={};function qE(t,e){XE[t]=e}function KE(t){return XE[t]}var JE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;V(this.option.feature,(function(t,i){var n=KE(i);n&&(n.getDefaultOption&&(n.defaultOption=n.getDefaultOption(e)),k(t,n.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(dh);function tN(t,e){var i=$d(e.get("padding")),n=e.getItemStyle(["color","opacity"]);return n.fill=e.get("backgroundColor"),new Cs({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1})}var eN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,i,n){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];V(s,(function(t,e){u.push(e)})),new Km(this._featureNames||[],u).add(c).update(c).remove(U(c,null)).execute(),this._featureNames=u,function(t,e,i){var n=e.getBoxLayoutParams(),r=e.get("padding"),o={width:i.getWidth(),height:i.getHeight()},a=rh(n,o,r);nh(e.get("orient"),t,e.get("itemGap"),a.width,a.height),oh(t,n,o,r)}(r,t,i),r.add(tN(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,n=t.ensureState("emphasis"),a=n.textConfig||(n.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!Z(l)&&e){var u=l.style||(l.style={}),c=fr(e,Is.makeFont(u)),d=t.x+r.x,h=!1;t.y+r.y+o+c.height>i.getHeight()&&(a.position="top",h=!0);var f=h?-5-c.height:o+10;d+c.width/2>i.getWidth()?(a.position=["100%",f],u.align="right"):d-c.width/2<0&&(a.position=[0,f],u.align="left")}}))}function c(c,d){var h,f=u[c],p=u[d],g=s[f],v=new ld(g,t,t.ecModel);if(n&&null!=n.newTitle&&n.featureName===f&&(g.title=n.newTitle),f&&!p){if(function(t){return 0===t.indexOf("my")}(f))h={onclick:v.option.onclick,featureName:f};else{var m=KE(f);if(!m)return;h=new m}l[f]=h}else if(!(h=l[p]))return;h.uid=cd("toolbox-feature"),h.model=v,h.ecModel=e,h.api=i;var y=h instanceof QE;f||!p?!v.get("show")||y&&h.unusable?y&&h.remove&&h.remove(e,i):(function(n,s,l){var u,c,d=n.getModel("iconStyle"),h=n.getModel(["emphasis","iconStyle"]),f=s instanceof QE&&s.getIcons?s.getIcons():n.get("icon"),p=n.get("title")||{};Q(f)?(u={})[l]=f:u=f,Q(p)?(c={})[l]=p:c=p;var g=n.iconPaths={};V(u,(function(l,u){var f=Ic(l,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(d.getItemStyle()),f.ensureState("emphasis").style=h.getItemStyle();var p=new Is({style:{text:c[u],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null},ignore:!0});f.setTextContent(p),Lc({el:f,componentModel:t,itemName:u,formatterParamsExtra:{title:c[u]}}),f.__title=c[u],f.on("mouseover",(function(){var e=h.getItemStyle(),n=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";p.setStyle({fill:h.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),f.setTextConfig({position:h.get("textPosition")||n}),p.ignore=!t.get("showTitle"),i.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==n.get(["iconStatus",u])&&i.leaveEmphasis(this),p.hide()})),("emphasis"===n.get(["iconStatus",u])?vl:ml)(f),r.add(f),f.on("click",$(s.onclick,s,e,i,u)),g[u]=f}))}(v,h,f),v.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&("emphasis"===e?vl:ml)(n[t])},h instanceof QE&&h.render&&h.render(v,e,i,n)):y&&h.dispose&&h.dispose(e,i)}},e.prototype.updateView=function(t,e,i,n){V(this._features,(function(t){t instanceof QE&&t.updateView&&t.updateView(t.model,e,i,n)}))},e.prototype.remove=function(t,e){V(this._features,(function(i){i instanceof QE&&i.remove&&i.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){V(this._features,(function(i){i instanceof QE&&i.dispose&&i.dispose(t,e)}))},e.type="toolbox",e}(Yp),iN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){var i=this.model,n=i.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":i.get("type",!0)||"png",s=e.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),l=a.browser;if(Z(MouseEvent)&&(l.newEdge||!l.ie&&!l.edge)){var u=document.createElement("a");u.download=n+"."+o,u.target="_blank",u.href=s;var c=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});u.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob||r){var d=s.split(","),h=d[0].indexOf("base64")>-1,f=r?decodeURIComponent(d[1]):d[1];h&&(f=window.atob(f));var p=n+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var g=f.length,v=new Uint8Array(g);g--;)v[g]=f.charCodeAt(g);var m=new Blob([v]);window.navigator.msSaveOrOpenBlob(m,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var _=y.contentWindow,x=_.document;x.open("image/svg+xml","replace"),x.write(f),x.close(),_.focus(),x.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var b=i.get("lang"),w='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(b&&b[0]||"")+'" /></body>',S=window.open();S.document.write(w),S.document.title=n}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(QE),nN="__ec_magicType_stack__",rN=[["line","bar"],["stack"]],oN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),i={};return V(t.get("type"),(function(t){e[t]&&(i[t]=e[t])})),i},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,i){var n=this.model,r=n.get(["seriesIndex",i]);if(aN[i]){var o,a={series:[]};V(rN,(function(t){E(t,i)>=0&&V(t,(function(t){n.setIconStatus(t,"normal")}))})),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=aN[i](e,r,t,n);o&&(O(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===i||"bar"===i)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=t.getReferringComponents(u,Co).models[0].componentIndex;a[u]=a[u]||[];for(var d=0;d<=c;d++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===i}}}));var s=i;"stack"===i&&(o=k({stack:n.option.title.tiled,tiled:n.option.title.stack},n.option.title),"emphasis"!==n.get(["iconStatus",i])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(QE),aN={line:function(t,e,i,n){if("bar"===t)return k({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(t,e,i,n){if("line"===t)return k({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(t,e,i,n){var r=i.get("stack")===nN;if("line"===t||"bar"===t)return n.setIconStatus("stack",r?"normal":"emphasis"),k({id:e,stack:r?"":nN},n.get(["option","stack"])||{},!0)}};zm({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var sN=new Array(60).join("-");function lN(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var uN=new RegExp("[\t]+","g");var cN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var i=e.getDom(),n=this.model;this._dom&&i.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=n.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=n.get("lang")||[];o.innerHTML=a[0]||n.get("title"),o.style.cssText="margin:10px 20px",o.style.color=n.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=n.get("optionToContent"),c=n.get("contentToOption"),d=function(t){var e,i,n,r=function(t){var e={},i=[],n=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)i.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else i.push(t)}})),{seriesGroupByCategoryAxis:e,other:i,meta:n}}(t);return{value:H([(i=r.seriesGroupByCategoryAxis,n=[],V(i,(function(t,e){var i=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(F(t.series,(function(t){return t.name}))),a=[i.model.getCategories()];V(t.series,(function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(r),(function(t){return t})))}));for(var s=[o.join("\t")],l=0;l<a[0].length;l++){for(var u=[],c=0;c<a.length;c++)u.push(a[c][l]);s.push(u.join("\t"))}n.push(s.join("\n"))})),n.join("\n\n"+sN+"\n\n")),(e=r.other,F(e,(function(t){var e=t.getRawData(),i=[t.name],n=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)n[a]=arguments[a];i.push((o?o+"\t":"")+n.join("\t"))})),i.join("\n")})).join("\n\n"+sN+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+sN+"\n\n"),meta:r.meta}}(t);if(Z(u)){var h=u(e.getOption());Q(h)?s.innerHTML=h:et(h)&&s.appendChild(h)}else{l.readOnly=n.get("readOnly");var f=l.style;f.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",f.color=n.get("textColor"),f.borderColor=n.get("textareaBorderColor"),f.backgroundColor=n.get("textareaColor"),l.value=d.value,s.appendChild(l)}var p=d.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),y=document.createElement("div");v+=";background-color:"+n.get("buttonColor"),v+=";color:"+n.get("buttonTextColor");var _=this;function x(){i.removeChild(r),_._dom=null}pe(m,"click",x),pe(y,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)x();else{var t;try{t=Z(c)?c(s,e.getOption()):function(t,e){var i=t.split(new RegExp("\n*"+sN+"\n*","g")),n={series:[]};return V(i,(function(t,i){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf("\t")>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),i=[],n=F(lN(e.shift()).split(uN),(function(t){return{name:t,data:[]}})),r=0;r<e.length;r++){var o=lN(e[r]).split(uN);i.push(o.shift());for(var a=0;a<o.length;a++)n[a]&&(n[a].data[r]=o[a])}return{series:n,categories:i}}(t),o=e[i],a=o.axisDim+"Axis";o&&(n[a]=n[a]||[],n[a][o.axisIndex]={data:r.categories},n.series=n.series.concat(r.series))}else r=function(t){for(var e=t.split(/\n+/g),i=lN(e.shift()),n=[],r=0;r<e.length;r++){var o=lN(e[r]);if(o){var a=o.split(uN),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),n[r]={name:s,value:[]},l=n[r].value):l=n[r]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?n[r].value=l[0]:n[r]=l[0])}}return{name:i,data:n}}(t),n.series.push(r)})),n}(l.value,p)}catch(t){throw x(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()}})),m.innerHTML=a[1],y.innerHTML=a[2],y.style.cssText=m.style.cssText=v,!n.get("readOnly")&&g.appendChild(y),g.appendChild(m),r.appendChild(o),r.appendChild(s),r.appendChild(g),s.style.height=i.clientHeight-80+"px",i.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(QE);function dN(t,e){return F(t,(function(t,i){var n=e&&e[i];if(K(n)&&!Y(n)){K(t)&&!Y(t)||(t={value:t});var r=null!=n.name&&null==t.name;return t=O(t,n),r&&delete t.name,t}return t}))}zm({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var i=[];V(t.newOption.series,(function(t){var n=e.getSeriesByName(t.name)[0];if(n){var r=n.get("data");i.push({name:t.name,data:dN(t.data,r)})}else i.push(P({type:"scatter"},t))})),e.mergeOption(O({series:i},t.newOption))}));var hN=V,fN=xo();function pN(t){var e=fN(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var gN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){!function(t){fN(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(QE);zm({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var vN=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],mN=function(){function t(t,e,i){var n=this;this._targetInfoList=[];var r=_N(e,t);V(xN,(function(t,e){(!i||!i.include||E(i.include,e)>=0)&&t(r,n._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=SN[t.brushType](0,i,e);t.__rangeOffset={offset:MN[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,i){V(t,(function(t){var n=this.findTargetInfo(t,e);n&&!0!==n&&V(n.coordSyses,(function(n){var r=SN[t.brushType](1,n,t.range,!0);i(t,r.values,n,e)}))}),this)},t.prototype.setInputRanges=function(t,e){V(t,(function(t){var i,n,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=SN[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?MN[t.brushType](l.values,u.offset,(i=l.xyMinMax,n=u.xyMinMax,r=IN(i),o=IN(n),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return F(this._targetInfoList,(function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e?e(i):null,clipPath:bk(n),isTargetByCursor:Sk(n,t,i.coordSysModel),getLinearBrushOtherExtent:wk(n)}}))},t.prototype.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&E(n.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=_N(e,t),r=0;r<i.length;r++){var o=i[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<bN.length;s++)if(bN[s](n,o))return o}return!0},t}();function yN(t){return t[0]>t[1]&&t.reverse(),t}function _N(t,e){return wo(t,e,{includeMainTypes:vN})}var xN={grid:function(t,e){var i=t.xAxisModels,n=t.yAxisModels,r=t.gridModels,o=_t(),a={},s={};(i||n||r)&&(V(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),V(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),V(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];V(r.getCartesians(),(function(t,e){(E(i,t.getAxis("x").model)>=0||E(n,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:wN.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){V(t.geoModels,(function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:wN.geo})}))}},bN=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,r=t.gridModel;return!r&&i&&(r=i.axis.grid.model),!r&&n&&(r=n.axis.grid.model),r&&r===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],wN={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(xc(t)),e}},SN={lineX:U(CN,0),lineY:U(CN,1),rect:function(t,e,i,n){var r=t?e.pointToData([i[0][0],i[1][0]],n):e.dataToPoint([i[0][0],i[1][0]],n),o=t?e.pointToData([i[0][1],i[1][1]],n):e.dataToPoint([i[0][1],i[1][1]],n),a=[yN([r[0],o[0]]),yN([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,i,n){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:F(i,(function(i){var o=t?e.pointToData(i,n):e.dataToPoint(i,n);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function CN(t,e,i,n){var r=i.getAxis(["x","y"][t]),o=yN(F([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(n[t]),!0):r.toGlobalCoord(r.dataToCoord(n[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var MN={lineX:U(TN,0),lineY:U(TN,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return F(t,(function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]}))}};function TN(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function IN(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var AN,DN,kN=V,LN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,i,n){this._brushController||(this._brushController=new WD(i.getZr()),this._brushController.on("brush",$(this._onBrush,this)).mount()),function(t,e,i,n,r){var o=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(o="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new mN(ON(t),e,{include:["grid"]}).makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));i._brushController.setPanels(a).enableBrush(!(!o||!a.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,n,i),function(t,e){t.setIconStatus("back",function(t){return pN(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,i){PN[i].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var i={},n=this.ecModel;this._brushController.updateCovers([]),new mN(ON(this.model),n,{include:["grid"]}).matchOutputRanges(e,n,(function(t,e,i){if("cartesian2d"===i.type){var n=t.brushType;"rect"===n?(r("x",i,e[0]),r("y",i,e[1])):r({lineX:"x",lineY:"y"}[n],i,e)}})),function(t,e){var i=pN(t);hN(e,(function(e,n){for(var r=i.length-1;r>=0&&!i[r][n];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(o){var a=o.getPercentRange();i[0][n]={dataZoomId:n,start:a[0],end:a[1]}}}})),i.push(e)}(n,i),this._dispatchZoomAction(i)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},(function(i){i.getAxisModel(t,e.componentIndex)&&(n=i)})),n}(t,a,n),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=xD(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];kN(t,(function(t,i){e.push(D(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(QE),PN={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=pN(t),i=e[e.length-1];e.length>1&&e.pop();var n={};return hN(i,(function(t,i){for(var r=e.length-1;r>=0;r--)if(t=e[r][i]){n[i]=t;break}})),n}(this.ecModel))}};function ON(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}AN="dataZoom",DN=function(t){var e=t.getComponent("toolbox",0),i=["feature","dataZoom"];if(e&&null!=e.get(i)){var n=e.getModel(i),r=[],o=wo(t,ON(n));return kN(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),kN(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,i){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:"\0_ec_\0toolbox-dataZoom_"+e+o};a[i]=o,r.push(a)}},dt(null==Ph.get(AN)&&DN),Ph.set(AN,DN);var RN=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(dh);function EN(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function NN(t){if(a.domSupported)for(var e=document.documentElement.style,i=0,n=t.length;i<n;i++)if(t[i]in e)return t[i]}var BN=NN(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function zN(t,e){if(!t)return e;e=Wd(e,!0);var i=t.indexOf(e);return(t=-1===i?e:"-"+t.slice(0,i)+"-"+e).toLowerCase()}var VN=zN(NN(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),FN=zN(BN,"transform"),jN="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(a.transform3dSupported?"will-change:transform;":"");function HN(t,e,i){var n=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!a.transformSupported)return i?"top:"+r+";left:"+n+";":[["top",r],["left",n]];var o=a.transform3dSupported,s="translate"+(o?"3d":"")+"("+n+","+r+(o?",0":"")+")";return i?"top:0;left:0;"+FN+":"+s+";":[["top",0],["left",0],[BN,s]]}function GN(t,e,i){var n=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),s=t.get("shadowBlur"),l=t.get("shadowColor"),u=t.get("shadowOffsetX"),c=t.get("shadowOffsetY"),d=t.getModel("textStyle"),h=Rp(t,"html"),f=u+"px "+c+"px "+s+"px "+l;return n.push("box-shadow:"+f),e&&r&&n.push(function(t,e){var i="cubic-bezier(0.23,1,0.32,1)",n=" "+t/2+"s "+i,r="opacity"+n+",visibility"+n;return e||(n=" "+t+"s "+i,r+=a.transformSupported?","+FN+n:",left"+n+",top"+n),VN+":"+r}(r,i)),o&&n.push("background-color:"+o),V(["width","color","radius"],(function(e){var i="border-"+e,r=Wd(i),o=t.get(r);null!=o&&n.push(i+":"+o+("color"===e?"":"px"))})),n.push(function(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();n&&e.push("color:"+n),e.push("font:"+t.getFont()),i&&e.push("line-height:"+Math.round(3*i/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+a+"px "+s+"px "+o+"px "+r),V(["decoration","align"],(function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)})),e.join(";")}(d)),null!=h&&n.push("padding:"+$d(h).join("px ")+"px"),n.join(";")+";"}function WN(t,e,i,n,r){var o=e&&e.painter;if(i){var a=o&&o.getViewportRoot();a&&function(t,e,i,n,r){ie(ee,e,n,r,!0)&&ie(t,i,ee[0],ee[1])}(t,a,document.body,n,r)}else{t[0]=n,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var $N=function(){function t(t,e,i){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,a.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var r=this._zr=e.getZr(),o=this._appendToBody=i&&i.appendToBody;WN(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(n):t.appendChild(n),this._container=t;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!s._enterable){var e=r.handler;fe(r.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(t){var e,i,n,r=this._container,o=(i="position",(n=(e=r).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e))?n[i]:null),a=r.style;"absolute"!==a.position&&"absolute"!==o&&(a.position="relative"),t.get("alwaysShowContent")&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var i=this.el,n=i.style,r=this._styleCoord;i.innerHTML?n.cssText=jN+GN(t,!this._firstShow,this._longHide)+HN(r[0],r[1],!0)+"border-color:"+qd(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,i,n,r){var o=this.el;if(null!=t){var a="";if(Q(r)&&"item"===i.get("trigger")&&!EN(i)&&(a=function(t,e,i){if(!Q(i)||"inside"===i)return"";var n=t.get("backgroundColor"),r=t.get("borderWidth");e=qd(e);var o,a,s="left"===(o=i)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(r),6),u="",c=FN+":";E(["left","right"],s)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var d=a*Math.PI/180,h=l+r,f=h*Math.abs(Math.cos(d))+h*Math.abs(Math.sin(d)),p=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(u+=";"+s+":-"+Math.round(100*((f-Math.SQRT2*r)/2+Math.SQRT2*r-(f-h)/2))/100+"px")+";"+c+";","border-bottom:"+p,"border-right:"+p,"background-color:"+n+";"].join("")+'"></div>'}(i,n,r)),Q(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Y(t)||(t=[t]);for(var s=0;s<t.length;s++)et(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var i=this._styleCoord;if(WN(i,this._zr,this._appendToBody,t,e),null!=i[0]&&null!=i[1]){var n=this.el.style;V(HN(i[0],i[1]),(function(t){n[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",a.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout($(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}(),UN=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),QN(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){t.get("alwaysShowContent")&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,i,n,r){var o=this;K(t)&&ro(""),this.el&&this._zr.remove(this.el);var a=i.getModel("textStyle");this.el=new Is({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:a.get("textShadowColor"),fill:i.get(["textStyle","color"]),padding:Rp(i,"richText"),verticalAlign:"top",align:"left"},z:i.get("z")}),V(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=i.get(t)})),V(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),i=ZN(t.style);return[e.width+i.left+i.right,e.height+i.top+i.bottom]},t.prototype.moveTo=function(t,e){var i=this.el;if(i){var n=this._styleCoord;QN(n,this._zr,t,e),t=n[0],e=n[1];var r=i.style,o=YN(r.borderWidth||0),a=ZN(r);i.x=t+o+a.left,i.y=e+o+a.top,i.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout($(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function YN(t){return Math.max(0,t)}function ZN(t){var e=YN(t.shadowBlur||0),i=YN(t.shadowOffsetX||0),n=YN(t.shadowOffsetY||0);return{left:YN(e-i),right:YN(e+i),top:YN(e-n),bottom:YN(e+n)}}function QN(t,e,i,n){t[0]=i,t[1]=n,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var XN=new Cs({shape:{x:-1,y:-1,width:2,height:2}}),qN=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(t,e){if(!a.node&&e.getDom()){var i,n=t.getComponent("tooltip"),r=this._renderMode="auto"===(i=n.get("renderMode"))?a.domSupported?"html":"richText":i||"html";this._tooltipContent="richText"===r?new UN(e):new $N(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)})}},e.prototype.render=function(t,e,i){if(!a.node&&i.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(t),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?sg(this,"_updatePosition",50,"fixRate"):lg(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");oR("itemTooltip",this._api,$((function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,i=this._api,n=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==n&&"click"!==n){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&r.manuallyShowTip(t,e,i,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,i,n){if(n.from!==this.uid&&!a.node&&i.getDom()){var r=JN(n,i);this._ticket="";var o=n.dataByCoordSys,s=function(t,e,i){var n=So(t).queryOptionMap,r=n.keys()[0];if(r&&"series"!==r){var o,a=To(e,r,n.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a)return i.getViewOfComponentModel(a).group.traverse((function(e){var i=Fs(e).tooltipConfig;if(i&&i.name===t.name)return o=e,!0})),o?{componentMainType:r,componentIndex:a.componentIndex,el:o}:void 0}}(n,e,i);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:n.position,positionDefault:"bottom"},r)}else if(n.tooltip&&null!=n.x&&null!=n.y){var u=XN;u.x=n.x,u.y=n.y,u.update(),Fs(u).tooltipConfig={name:null,option:n.tooltip},this._tryShow({offsetX:n.x,offsetY:n.y,target:u},r)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:o,tooltipOption:n.tooltipOption},r);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var c=cR(n,e),d=c.point[0],h=c.point[1];null!=d&&null!=h&&this._tryShow({offsetX:d,offsetY:h,target:c.el,position:n.position,positionDefault:"bottom"},r)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,i,n){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,n.from!==this.uid&&this._hide(JN(n,i))},e.prototype._manuallyAxisShowTip=function(t,e,i,n){var r=n.seriesIndex,o=n.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s&&"axis"===KN([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:n.position}),!0}},e.prototype._tryShow=function(t,e){var i=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;if(n&&n.length)this._showAxisTooltip(n,t);else if(i){var r,o;this._lastDataByCoordSys=null,qg(i,(function(t){return null!=Fs(t).dataIndex?(r=t,!0):null!=Fs(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var i=t.get("showDelay");e=$(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},e.prototype._showAxisTooltip=function(t,e){var i=this._ecModel,n=this._tooltipModel,r=[e.offsetX,e.offsetY],o=KN([e.tooltipOption],n),a=this._renderMode,s=[],l=Mp("section",{blocks:[],noHeader:!0}),u=[],c=new Ep;V(t,(function(t){V(t.dataByAxis,(function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=UO(r,e.axis,i,t.seriesDataIndices,t.valueLabelOpt),d=Mp("section",{header:o,noHeader:!ht(o),sortBlocks:!0,blocks:[]});l.blocks.push(d),V(t.seriesDataIndices,(function(l){var h=i.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,p=h.getDataParams(f);if(!(p.dataIndex<0)){p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=P_(e.axis,{value:r}),p.axisValueLabel=o,p.marker=c.makeTooltipMarker("item",qd(p.color),a);var g=Hf(h.formatTooltip(f,!0,null)),v=g.frag;if(v){var m=KN([h],n).get("valueFormatter");d.blocks.push(m?P({valueFormatter:m},v):v)}g.text&&u.push(g.text),s.push(p)}}))}}))})),l.blocks.reverse(),u.reverse();var d=e.position,h=o.get("order"),f=kp(l,c,a,h,i.get("useUTC"),o.get("textStyle"));f&&u.unshift(f);var p="richText"===a?"\n\n":"<br/>",g=u.join(p);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,d,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],d,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,i){var n=this._ecModel,r=Fs(e),o=r.seriesIndex,a=n.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,c=s.getData(u),d=this._renderMode,h=t.positionDefault,f=KN([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),p=f.get("trigger");if(null==p||"item"===p){var g=s.getDataParams(l,u),v=new Ep;g.marker=v.makeTooltipMarker("item",qd(g.color),d);var m=Hf(s.formatTooltip(l,!1,u)),y=f.get("order"),_=f.get("valueFormatter"),x=m.frag,b=x?kp(_?P({valueFormatter:_},x):x,v,d,y,n.get("useUTC"),f.get("textStyle")):m.text,w="item_"+s.name+"_"+l;this._showOrMove(f,(function(){this._showTooltipContent(f,b,g,w,t.offsetX,t.offsetY,t.position,t.target,v)})),i({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,i){var n=Fs(e),r=n.tooltipConfig.option||{};Q(r)&&(r={content:r,formatter:r});var o=[r],a=this._ecModel.getComponent(n.componentMainType,n.componentIndex);a&&o.push(a),o.push({formatter:r.content});var s=t.positionDefault,l=KN(o,this._tooltipModel,s?{position:s}:null),u=l.get("content"),c=Math.random()+"",d=new Ep;this._showOrMove(l,(function(){var i=D(l.get("formatterParams")||{});this._showTooltipContent(l,u,i,c,t.offsetX,t.offsetY,t.position,e,d)})),i({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,i,n,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var d=e,h=this._getNearestPoint([r,o],i,t.get("trigger"),t.get("borderColor")).color;if(c)if(Q(c)){var f=t.ecModel.get("useUTC"),p=Y(i)?i[0]:i;d=c,p&&p.axisType&&p.axisType.indexOf("time")>=0&&(d=Td(p.axisValue,d,f)),d=Qd(d,i,!0)}else if(Z(c)){var g=$((function(e,n){e===this._ticket&&(u.setContent(n,l,t,h,a),this._updatePosition(t,a,r,o,u,i,s))}),this);this._ticket=n,d=c(i,n,g)}else d=c;u.setContent(d,l,t,h,a),u.show(t,h),this._updatePosition(t,a,r,o,u,i,s)}},e.prototype._getNearestPoint=function(t,e,i,n){return"axis"===i||Y(e)?{color:n||("html"===this._renderMode?"#fff":"none")}:Y(e)?void 0:{color:n||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,i,n,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),c=t.get("align"),d=t.get("verticalAlign"),h=a&&a.getBoundingRect().clone();if(a&&h.applyTransform(a.transform),Z(e)&&(e=e([i,n],o,r.el,h,{viewSize:[s,l],contentSize:u.slice()})),Y(e))i=Nr(e[0],s),n=Nr(e[1],l);else if(K(e)){var f=e;f.width=u[0],f.height=u[1];var p=rh(f,{width:s,height:l});i=p.x,n=p.y,c=null,d=null}else if(Q(e)&&a){var g=function(t,e,i,n){var r=i[0],o=i[1],a=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+a;break;case"left":s=e.x-r-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,h,u,t.get("borderWidth"));i=g[0],n=g[1]}else g=function(t,e,i,n,r,o,a){var s=i.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>n?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}(i,n,r,s,l,c?null:20,d?null:20),i=g[0],n=g[1];c&&(i-=tB(c)?u[0]/2:"right"===c?u[0]:0),d&&(n-=tB(d)?u[1]/2:"bottom"===d?u[1]:0),EN(t)&&(g=function(t,e,i,n,r){var o=i.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,n)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(i,n,r,s,l),i=g[0],n=g[1]),r.moveTo(i,n)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var i=this._lastDataByCoordSys,n=this._cbParamsList,r=!!i&&i.length===t.length;return r&&V(i,(function(i,o){var a=i.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&V(a,(function(t,i){var o=s[i]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&V(a,(function(t,e){var i=l[e];r=r&&t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex})),n&&V(t.seriesDataIndices,(function(t){var i=t.seriesIndex,o=e[i],a=n[i];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!a.node&&e.getDom()&&(lg(this,"_updatePosition"),this._tooltipContent.dispose(),lR("itemTooltip",e))},e.type="tooltip",e}(Yp);function KN(t,e,i){var n,r=e.ecModel;i?(n=new ld(i,r,r),n=new ld(e.option,n,r)):n=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof ld&&(a=a.get("tooltip",!0)),Q(a)&&(a={formatter:a}),a&&(n=new ld(a,n,r)))}return n}function JN(t,e){return t.dispatchAction||$(e.dispatchAction,e)}function tB(t){return"center"===t||"middle"===t}var eB=["rect","polygon","keep","clear"];function iB(t,e){var i=so(t?t.brush:[]);if(i.length){var n=[];V(i,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(n=n.concat(e))}));var r=t&&t.toolbox;Y(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,n),function(t){var e={};V(t,(function(t){e[t]=1})),t.length=0,V(e,(function(e,i){t.push(i)}))}(s),e&&!s.length&&s.push.apply(s,eB)}}var nB=V;function rB(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function oB(t,e,i){var n={};return nB(e,(function(e){var r,o=n[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);nB(t[e],(function(t,n){if(yI.isValidType(n)){var r={type:n,visual:t};i&&i(r,e),o[n]=new yI(r),"opacity"===n&&((r=D(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new yI(r))}}))})),n}function aB(t,e,i){var n;V(i,(function(t){e.hasOwnProperty(t)&&rB(e[t])&&(n=!0)})),n&&V(i,(function(i){e.hasOwnProperty(i)&&rB(e[i])?t[i]=D(e[i]):delete t[i]}))}var sB={lineX:lB(0),lineY:lB(1),rect:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])},rect:function(t,e,i){return t&&i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])&&j_(i.range,t[0],t[1])},rect:function(t,e,i){var n=i.range;if(!t||n.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=n[0];return!!(j_(n,r,o)||j_(n,r+a,o)||j_(n,r,o+s)||j_(n,r+a,o+s)||ze.create(t).contain(l[0],l[1])||Ac(r,o,r+a,o,n)||Ac(r,o,r,o+s,n)||Ac(r+a,o,r+a,o+s,n)||Ac(r,o+s,r+a,o+s,n))||void 0}}};function lB(t){var e=["x","y"],i=["width","height"];return{point:function(e,i,n){if(e){var r=n.range;return uB(e[t],r)}},rect:function(n,r,o){if(n){var a=o.range,s=[n[e[t]],n[e[t]]+n[i[t]]];return s[1]<s[0]&&s.reverse(),uB(s[0],a)||uB(s[1],a)||uB(a[0],s)||uB(a[1],s)}}}}function uB(t,e){return e[0]<=t&&t<=e[1]}var cB=["inBrush","outOfBrush"],dB="__ecInBrushSelectEvent";function hB(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new mN(e.option,t)).setInputRanges(e.areas,t)}))}function fB(t,e,i){var n,r,o=[];t.eachComponent({mainType:"brush"},(function(t){i&&"takeGlobalCursor"===i.type&&t.setBrushOption("brush"===i.key?i.brushOption:{brushType:!1})})),hB(t),t.eachComponent({mainType:"brush"},(function(e,i){var a={brushId:e.id,brushIndex:i,brushName:e.name,areas:D(e.areas),selected:[]};o.push(a);var s=e.option,l=s.brushLink,u=[],c=[],d=[],h=!1;i||(n=s.throttleType,r=s.throttleDelay);var f=F(e.areas,(function(t){var e=vB[t.brushType],i=O({boundingRect:e?e(t):void 0},t);return i.selectors=function(t){var e=t.brushType,i={point:function(n){return sB[e].point(n,i,t)},rect:function(n){return sB[e].rect(n,i,t)}};return i}(i),i})),p=oB(e.option,cB,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===l||!!u[t]}function v(t){return!!t.length}Y(l)&&V(l,(function(t){u[t]=1})),t.eachSeries((function(i,n){var r=d[n]=[];"parallel"===i.subType?function(t,e){var i=t.coordinateSystem;h=h||i.hasAxisBrushed(),g(e)&&i.eachActiveState(t.getData(),(function(t,e){"active"===t&&(c[e]=1)}))}(i,n):function(i,n,r){if(i.brushSelector&&!function(t,e){var i=t.option.seriesIndex;return null!=i&&"all"!==i&&(Y(i)?E(i,e)<0:e!==i)}(e,n)&&(V(f,(function(n){e.brushTargetManager.controlSeries(n,i,t)&&r.push(n),h=h||v(r)})),g(n)&&v(r))){var o=i.getData();o.each((function(t){gB(i,r,o,t)&&(c[t]=1)}))}}(i,n,r)})),t.eachSeries((function(t,e){var i={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(i);var n=d[e],r=t.getData(),o=g(e)?function(t){return c[t]?(i.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return gB(t,n,r,e)?(i.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?h:v(n))&&function(t,e,i,n,r,o){var a,s={};function l(t){return Ug(i,a,t)}function u(t,e){Zg(i,a,t,e)}function c(t,r){a=t;var o=i.getRawDataItem(a);if(!o||!1!==o.visualMap)for(var c=n.call(void 0,t),d=e[c],h=s[c],f=0,p=h.length;f<p;f++){var g=h[f];d[g]&&d[g].applyVisual(t,l,u)}}V(t,(function(t){var i=yI.prepareVisualTypes(e[t]);s[t]=i})),i.each(c)}(cB,p,r,o)}))})),function(t,e,i,n,r){if(r){var o=t.getZr();o[dB]||(o.__ecBrushSelect||(o.__ecBrushSelect=pB),sg(o,"__ecBrushSelect",i,e)(t,n))}}(e,n,r,o,i)}function pB(t,e){if(!t.isDisposed()){var i=t.getZr();i[dB]=!0,t.dispatchAction({type:"brushSelect",batch:e}),i[dB]=!1}}function gB(t,e,i,n){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.brushSelector(n,i,a.selectors,a))return!0}}var vB={rect:function(t){return mB(t.range)},polygon:function(t){for(var e,i=t.range,n=0,r=i.length;n<r;n++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=i[n];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&mB(e)}};function mB(t){return new ze(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var yB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new WD(e.getZr())).on("brush",$(this._onBrush,this)).mount()},e.prototype.render=function(t,e,i,n){this.model=t,this._updateController(t,e,i,n)},e.prototype.updateTransform=function(t,e,i,n){hB(e),this._updateController(t,e,i,n)},e.prototype.updateVisual=function(t,e,i,n){this.updateTransform(t,e,i,n)},e.prototype.updateView=function(t,e,i,n){this._updateController(t,e,i,n)},e.prototype._updateController=function(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,i=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:D(i),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:D(i),$from:e})},e.type="brush",e}(Yp),_B=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.areas=[],i.brushOption={},i}return i(e,t),e.prototype.optionUpdated=function(t,e){var i=this.option;!e&&aB(i,t,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:"#ddd"},n.hasOwnProperty("liftZ")||(n.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=F(t,(function(t){return xB(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=xB(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(dh);function xB(t,e){return k({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new ld(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var bB=["rect","polygon","lineX","lineY","keep","clear"],wB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,i){var n,r,o;e.eachComponent({mainType:"brush"},(function(t){n=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=n,this._brushMode=r,V(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===n)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,i){this.render(t,e,i)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),i={};return V(t.get("type",!0),(function(t){e[t]&&(i[t]=e[t])})),i},e.prototype.onclick=function(t,e,i){var n=this._brushType,r=this._brushMode;"clear"===i?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:bB.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(QE),SB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.layoutMode={type:"box",ignoreSize:!0},i}return i(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(dh),CB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.render=function(t,e,i){if(this.group.removeAll(),t.get("show")){var n=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=st(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Is({style:Fc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),d=new Is({style:Fc(o,{text:c,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),h=t.get("link"),f=t.get("sublink"),p=t.get("triggerEvent",!0);l.silent=!h&&!p,d.silent=!f&&!p,h&&l.on("click",(function(){Kd(h,"_"+t.get("target"))})),f&&d.on("click",(function(){Kd(f,"_"+t.get("subtarget"))})),Fs(l).eventData=Fs(d).eventData=p?{componentType:"title",componentIndex:t.componentIndex}:null,n.add(l),c&&n.add(d);var g=n.getBoundingRect(),v=t.getBoxLayoutParams();v.width=g.width,v.height=g.height;var m=rh(v,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?m.x+=m.width:"center"===a&&(m.x+=m.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?m.y+=m.height:"middle"===s&&(m.y+=m.height/2),s=s||"top"),n.x=m.x,n.y=m.y,n.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),d.setStyle(y),g=n.getBoundingRect();var _=m.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var b=new Cs({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g.height+_[0]+_[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});n.add(b)}},e.type="title",e}(Yp),MB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.layoutMode="box",i}return i(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,i=e.data||[],n=e.axisType,r=this._names=[];"category"===n?(t=[],V(i,(function(e,i){var n,o=vo(co(e),"");K(e)?(n=D(e)).value=i:n=i,t.push(n),r.push(o)}))):t=i;var o={category:"ordinal",time:"time",value:"number"}[n]||"number";(this._data=new wy([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(dh),TB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="timeline.slider",e.defaultOption=dd(MB.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(MB);B(TB,jf.prototype);var IB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="timeline",e}(Yp),AB=function(t){function e(e,i,n,r){var o=t.call(this,e,i,n)||this;return o.type=r||"value",o}return i(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(hx),DB=Math.PI,kB=xo(),LB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,i){if(this.model=t,this.api=i,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var n=this._layout(t,i),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(n,t);t.formatTooltip=function(t){return Mp("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},V(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](n,r,a,t)}),this),this._renderAxisLabel(n,o,a,t),this._position(n,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var i,n,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return rh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(i=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":Q(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===i?"left":"right"},c={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:DB/2},h="vertical"===s?l.height:l.width,f=t.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,v=p?f.get("itemGap"):0,m=g+v,y=t.get(["label","rotate"])||0;y=y*DB/180;var _=f.get("position",!0),x=p&&f.get("showPlayBtn",!0),b=p&&f.get("showPrevBtn",!0),w=p&&f.get("showNextBtn",!0),S=0,C=h;"left"===_||"bottom"===_?(x&&(n=[0,0],S+=m),b&&(r=[S,0],S+=m),w&&(o=[C-g,0],C-=m)):(x&&(n=[C-g,0],C-=m),b&&(r=[0,0],S+=m),w&&(o=[C-g,0],C-=m));var M=[S,C];return t.get("inverse")&&M.reverse(),{viewRect:l,mainLength:h,orient:s,rotation:d[s],labelRotation:y,labelPosOpt:i,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[s],playPosition:n,prevBtnPosition:r,nextBtnPosition:o,axisExtent:M,controlSize:g,controlGap:v}},e.prototype._position=function(t,e){var i=this._mainGroup,n=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;Se(o,o,[-a,-s]),Ce(o,o,-DB/2),Se(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=v(r),u=v(i.getBoundingRect()),c=v(n.getBoundingRect()),d=[i.x,i.y],h=[n.x,n.y];h[0]=d[0]=l[0][0];var f,p=t.labelPosOpt;function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function m(t,e,i,n,r){t[n]+=i[n][r]-e[n][r]}null==p||Q(p)?(m(d,u,l,1,f="+"===p?0:1),m(h,c,l,1,1-f)):(m(d,u,l,1,f=p>=0?0:1),h[1]=d[1]+p),i.setPosition(d),n.setPosition(h),i.rotation=n.rotation=t.rotation,g(i),g(n)},e.prototype._createAxis=function(t,e){var i=e.getData(),n=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Gy({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new o_({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new $y}}(e,n);r.getTicks=function(){return i.mapArray(["value"],(function(t){return{value:t}}))};var o=i.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new AB("value",r,t.axisExtent,n);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Ar;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,i,n){var r=i.getExtent();if(n.get(["lineStyle","show"])){var o=new Pu({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:P({lineCap:"round"},n.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Pu({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:O({lineCap:"round",lineWidth:o.style.lineWidth},n.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,i,n){var r=this,o=n.getData(),a=i.scale.getTicks();this._tickSymbols=[],V(a,(function(t){var a=i.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),d={x:a,y:0,onclick:$(r._changeTimeline,r,t.value)},h=PB(s,l,e,d);h.ensureState("emphasis").style=u.getItemStyle(),h.ensureState("progress").style=c.getItemStyle(),Dl(h);var f=Fs(h);s.get("tooltip")?(f.dataIndex=t.value,f.dataModel=n):f.dataIndex=f.dataModel=null,r._tickSymbols.push(h)}))},e.prototype._renderAxisLabel=function(t,e,i,n){var r=this;if(i.getLabelModel().get("show")){var o=n.getData(),a=i.getViewLabels();this._tickLabels=[],V(a,(function(n){var a=n.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),d=i.dataToCoord(n.tickValue),h=new Is({x:d,y:0,rotation:t.labelRotation-t.rotation,onclick:$(r._changeTimeline,r,a),silent:!1,style:Fc(l,{text:n.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});h.ensureState("emphasis").style=Fc(u),h.ensureState("progress").style=Fc(c),e.add(h),Dl(h),kB(h).dataIndex=a,r._tickLabels.push(h)}))}},e.prototype._renderControl=function(t,e,i,n){var r=t.controlSize,o=t.rotation,a=n.getModel("controlStyle").getItemStyle(),s=n.getModel(["emphasis","controlStyle"]).getItemStyle(),l=n.getPlayState(),u=n.get("inverse",!0);function c(t,i,l,u){if(t){var c=mr(st(n.get(["controlStyle",i+"BtnSize"]),r),r),d=function(t,e,i,n){var r=n.style,o=Ic(t.get(["controlStyle",e]),n||{},new ze(i[0],i[1],i[2],i[3]));return r&&o.setStyle(r),o}(n,i+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});d.ensureState("emphasis").style=s,e.add(d),Dl(d)}}c(t.nextBtnPosition,"next",$(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",$(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,l?"stop":"play",$(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,i,n){var r=n.getData(),o=n.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=$(s._handlePointerDrag,s),t.ondragend=$(s._handlePointerDragend,s),OB(t,s._progressLine,o,i,n,!0)},onUpdate:function(t){OB(t,s._progressLine,o,i,n)}};this._currentPointer=PB(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var i=this._toAxisCoord(t)[0],n=zr(this._axis.getExtent().slice());i>n[1]&&(i=n[1]),i<n[0]&&(i=n[0]),this._currentPointer.x=i,this._currentPointer.markRedraw();var r=this._progressLine;r&&(r.shape.x2=i,r.dirty());var o=this._findNearestTick(i),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return bc(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,i=this.model.getData(),n=1/0,r=this._axis;return i.each(["value"],(function(i,o){var a=r.dataToCoord(i),s=Math.abs(a-t);s<n&&(n=s,e=o)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,i=this._tickLabels;if(e)for(var n=0;n<e.length;n++)e&&e[n]&&e[n].toggleState("progress",n<t);if(i)for(n=0;n<i.length;n++)i&&i[n]&&i[n].toggleState("progress",kB(i[n]).dataIndex<=t)},e.type="timeline.slider",e}(IB);function PB(t,e,i,n,r,o){var a=e.get("color");r?(r.setColor(a),i.add(r),o&&o.onUpdate(r)):((r=uv(t.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),i.add(r),o&&o.onCreate(r));var s=e.getItemStyle(["color"]);r.setStyle(s),n=k({rectHover:!0,z2:100},n,!0);var l=cv(t.get("symbolSize"));n.scaleX=l[0]/2,n.scaleY=l[1]/2;var u=dv(t.get("symbolOffset"),l);u&&(n.x=(n.x||0)+u[0],n.y=(n.y||0)+u[1]);var c=t.get("symbolRotate");return n.rotation=(c||0)*Math.PI/180||0,r.attr(n),r.updateTransform(),r}function OB(t,e,i,n,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=n.dataToCoord(r.getData().get("value",i));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}function RB(t){var e=t&&t.timeline;Y(e)||(e=e?[e]:[]),V(e,(function(t){t&&function(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),EB(t),NB(t,"controlPosition")){var n=t.controlStyle||(t.controlStyle={});NB(n,"position")||(n.position=t.controlPosition),"none"!==n.position||NB(n,"show")||(n.show=!1,delete n.position),delete t.controlPosition}V(t.data||[],(function(t){K(t)&&!Y(t)&&(!NB(t,"value")&&NB(t,"name")&&(t.value=t.name),EB(t))}))}(t)}))}function EB(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),n=t.label||t.label||{},r=n.normal||(n.normal={}),o={normal:1,emphasis:1};V(n,(function(t,e){o[e]||NB(r,e)||(r[e]=t)})),i.label&&!NB(n,"emphasis")&&(n.emphasis=i.label,delete i.label)}function NB(t,e){return t.hasOwnProperty(e)}function BB(t,e){if(!t)return!1;for(var i=Y(t)?t:[t],n=0;n<i.length;n++)if(i[n]&&i[n][e])return!0;return!1}function zB(t){lo(t,"label",["show"])}var VB=xo(),FB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.createdBySelf=!1,i}return i(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i),this._mergeOption(t,i,!1,!0)},e.prototype.isAnimationEnabled=function(){if(a.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,i,n){var r=this.mainType;i||e.eachSeries((function(t){var i=t.get(this.mainType,!0),o=VB(t)[r];i&&i.data?(o?o._mergeOption(i,e,!0):(n&&zB(i),V(i.data,(function(t){t instanceof Array?(zB(t[0]),zB(t[1])):zB(t)})),P(o=this.createMarkerModelFromSeries(i,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),VB(t)[r]=o):VB(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,i){var n=this.getData(),r=this.getRawValue(t),o=n.getName(t);return Mp("section",{header:this.name,blocks:[Mp("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return VB(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(dh);B(FB,jf.prototype);var jB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,i,n){return new e(t,i,n)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(FB);function HB(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function GB(t,e,i,n,r,o){var a=[],s=Dy(e,n)?e.getCalculationInfo("stackResultDimension"):n,l=QB(e,s,t),u=e.indicesOfNearest(s,l)[0];a[r]=e.get(i,u),a[o]=e.get(s,u);var c=e.get(n,u),d=Vr(e.get(n,u));return(d=Math.min(d,20))>=0&&(a[o]=+a[o].toFixed(d)),[a,c]}var WB={min:U(GB,"min"),max:U(GB,"max"),average:U(GB,"average"),median:U(GB,"median")};function $B(t,e){if(e){var i=t.getData(),n=t.coordinateSystem,r=n.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!Y(e.coord)&&n){var o=UB(e,i,n,t);if((e=D(e)).type&&WB[e.type]&&o.baseAxis&&o.valueAxis){var a=E(r,o.baseAxis.dim),s=E(r,o.valueAxis.dim),l=WB[e.type](i,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null==e.coord)e.coord=[];else for(var u=e.coord,c=0;c<2;c++)WB[u[c]]&&(u[c]=QB(i,i.mapDimension(r[c]),u[c]));return e}}function UB(t,e,i,n){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=i.getAxis(function(t,e){var i=t.getData().getDimensionInfo(e);return i&&i.coordDim}(n,r.valueDataDim)),r.baseAxis=i.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=n.getBaseAxis(),r.valueAxis=i.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function YB(t,e){return!(t&&t.containData&&e.coord&&!HB(e))||t.containData(e.coord)}function ZB(t,e){return t?function(t,i,n,r){return Uf(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,i,n,r){return Uf(t.value,e[r])}}function QB(t,e,i){if("average"===i){var n=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(n+=t,r++)})),n/r}return"median"===i?t.getMedian(e):t.getDataExtent(e)["max"===i?1:0]}var XB=xo(),qB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.init=function(){this.markerGroupMap=_t()},e.prototype.render=function(t,e,i){var n=this,r=this.markerGroupMap;r.each((function(t){XB(t).keep=!1})),e.eachSeries((function(t){var r=FB.getMarkerModelFromSeries(t,n.type);r&&n.renderSeries(t,r,e,i)})),r.each((function(t){!XB(t).keep&&n.group.remove(t.group)}))},e.prototype.markKeep=function(t){XB(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var i=this;V(t,(function(t){var n=FB.getMarkerModelFromSeries(t,i.type);n&&n.getData().eachItemGraphicEl((function(t){t&&(e?yl(t):_l(t))}))}))},e.type="marker",e}(Yp);function KB(t,e,i){var n=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Nr(a.get("x"),i.getWidth()),l=Nr(a.get("y"),i.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(n){var u=t.get(n.dimensions[0],r),c=t.get(n.dimensions[1],r);o=n.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var JB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.updateTransform=function(t,e,i){e.eachSeries((function(t){var e=FB.getMarkerModelFromSeries(t,"markPoint");e&&(KB(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,i,n){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new vw),u=function(t,e,i){var n;n=t?F(t&&t.dimensions,(function(t){return P(P({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new wy(n,i),o=F(i.get("data"),U($B,e));t&&(o=H(o,U(YB,t)));var a=ZB(!!t,n);return r.initData(o,null,a),r}(r,t,e);e.setData(u),KB(e.getData(),t,n),u.each((function(t){var i=u.getItemModel(t),n=i.getShallow("symbol"),r=i.getShallow("symbolSize"),o=i.getShallow("symbolRotate"),s=i.getShallow("symbolOffset"),l=i.getShallow("symbolKeepAspect");if(Z(n)||Z(r)||Z(o)||Z(s)){var c=e.getRawValue(t),d=e.getDataParams(t);Z(n)&&(n=n(c,d)),Z(r)&&(r=r(c,d)),Z(o)&&(o=o(c,d)),Z(s)&&(s=s(c,d))}var h=i.getModel("itemStyle").getItemStyle(),f=Yg(a,"color");h.fill||(h.fill=f),u.setItemVisual(t,{symbol:n,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:h})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){Fs(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(qB),tz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,i,n){return new e(t,i,n)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(FB),ez=xo(),iz=function(t,e,i,n){var r,o=t.getData();if(Y(n))r=n;else{var a=n.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=n.xAxis||null!=n.yAxis){var s=void 0,l=void 0;if(null!=n.yAxis||null!=n.xAxis)s=e.getAxis(null!=n.yAxis?"y":"x"),l=at(n.yAxis,n.xAxis);else{var u=UB(n,o,e,t);s=u.valueAxis,l=QB(o,ky(o,u.valueDataDim),a)}var c="x"===s.dim?0:1,d=1-c,h=D(n),f={coord:[]};h.type=null,h.coord=[],h.coord[d]=-1/0,f.coord[d]=1/0;var p=i.get("precision");p>=0&&q(l)&&(l=+l.toFixed(Math.min(p,20))),h.coord[c]=f.coord[c]=l,r=[h,f,{type:a,valueIndex:n.valueIndex,value:l}]}else r=[]}var g=[$B(t,r[0]),$B(t,r[1]),P({},r[2])];return g[2].type=g[2].type||null,k(g[2],g[0]),k(g[2],g[1]),g};function nz(t){return!isNaN(t)&&!isFinite(t)}function rz(t,e,i,n){var r=1-t,o=n.dimensions[t];return nz(e[r])&&nz(i[r])&&e[t]===i[t]&&n.getAxis(o).containData(e[t])}function oz(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(rz(1,i,n,t)||rz(0,i,n,t)))return!0}return YB(t,e[0])&&YB(t,e[1])}function az(t,e,i,n,r){var o,a=n.coordinateSystem,s=t.getItemModel(e),l=Nr(s.get("x"),r.getWidth()),u=Nr(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,d=t.get(c[0],e),h=t.get(c[1],e);o=a.dataToPoint([d,h])}if(kw(a,"cartesian2d")){var f=a.getAxis("x"),p=a.getAxis("y");c=a.dimensions,nz(t.get(c[0],e))?o[0]=f.toGlobalCoord(f.getExtent()[i?0:1]):nz(t.get(c[1],e))&&(o[1]=p.toGlobalCoord(p.getExtent()[i?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var sz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.updateTransform=function(t,e,i){e.eachSeries((function(t){var e=FB.getMarkerModelFromSeries(t,"markLine");if(e){var n=e.getData(),r=ez(e).from,o=ez(e).to;r.each((function(e){az(r,e,!0,t,i),az(o,e,!1,t,i)})),n.each((function(t){n.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,i,n){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new IA);this.group.add(l.group);var u=function(t,e,i){var n;n=t?F(t&&t.dimensions,(function(t){return P(P({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new wy(n,i),o=new wy(n,i),a=new wy([],i),s=F(i.get("data"),U(iz,e,t,i));t&&(s=H(s,U(oz,t)));var l=ZB(!!t,n);return r.initData(F(s,(function(t){return t[0]})),null,l),o.initData(F(s,(function(t){return t[1]})),null,l),a.initData(F(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),c=u.from,d=u.to,h=u.line;ez(e).from=c,ez(e).to=d,e.setData(h);var f=e.get("symbol"),p=e.get("symbolSize"),g=e.get("symbolRotate"),v=e.get("symbolOffset");function m(e,i,r){var o=e.getItemModel(i);az(e,i,r,t,n);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Yg(a,"color")),e.setItemVisual(i,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:st(o.get("symbolOffset",!0),v[r?0:1]),symbolRotate:st(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:st(o.get("symbolSize"),p[r?0:1]),symbol:st(o.get("symbol",!0),f[r?0:1]),style:s})}Y(f)||(f=[f,f]),Y(p)||(p=[p,p]),Y(g)||(g=[g,g]),Y(v)||(v=[v,v]),u.from.each((function(t){m(c,t,!0),m(d,t,!1)})),h.each((function(t){var e=h.getItemModel(t).getModel("lineStyle").getLineStyle();h.setItemLayout(t,[c.getItemLayout(t),d.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),h.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:d.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(t,"symbolOffset"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol"),style:e})})),l.updateData(h),u.line.eachItemGraphicEl((function(t){Fs(t).dataModel=e,t.traverse((function(t){Fs(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(qB),lz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,i,n){return new e(t,i,n)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(FB),uz=xo(),cz=function(t,e,i,n){var r=n[0],o=n[1];if(r&&o){var a=$B(t,r),s=$B(t,o),l=a.coord,u=s.coord;l[0]=at(l[0],-1/0),l[1]=at(l[1],-1/0),u[0]=at(u[0],1/0),u[1]=at(u[1],1/0);var c=L([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function dz(t){return!isNaN(t)&&!isFinite(t)}function hz(t,e,i,n){var r=1-t;return dz(e[r])&&dz(i[r])}function fz(t,e){var i=e.coord[0],n=e.coord[1],r={coord:i,x:e.x0,y:e.y0},o={coord:n,x:e.x1,y:e.y1};return kw(t,"cartesian2d")?!(!i||!n||!hz(1,i,n)&&!hz(0,i,n))||function(t,e,i){return!(t&&t.containZone&&e.coord&&i.coord&&!HB(e)&&!HB(i))||t.containZone(e.coord,i.coord)}(t,r,o):YB(t,r)||YB(t,o)}function pz(t,e,i,n,r){var o,a=n.coordinateSystem,s=t.getItemModel(e),l=Nr(s.get(i[0]),r.getWidth()),u=Nr(s.get(i[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(n.getMarkerPosition){var c=t.getValues(["x0","y0"],e),d=t.getValues(["x1","y1"],e),h=a.clampData(c),f=a.clampData(d),p=[];"x0"===i[0]?p[0]=h[0]>f[0]?d[0]:c[0]:p[0]=h[0]>f[0]?c[0]:d[0],"y0"===i[1]?p[1]=h[1]>f[1]?d[1]:c[1]:p[1]=h[1]>f[1]?c[1]:d[1],o=n.getMarkerPosition(p,i,!0)}else{var g=[y=t.get(i[0],e),_=t.get(i[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(kw(a,"cartesian2d")){var v=a.getAxis("x"),m=a.getAxis("y"),y=t.get(i[0],e),_=t.get(i[1],e);dz(y)?o[0]=v.toGlobalCoord(v.getExtent()["x0"===i[0]?0:1]):dz(_)&&(o[1]=m.toGlobalCoord(m.getExtent()["y0"===i[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var gz=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],vz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.updateTransform=function(t,e,i){e.eachSeries((function(t){var e=FB.getMarkerModelFromSeries(t,"markArea");if(e){var n=e.getData();n.each((function(e){var r=F(gz,(function(r){return pz(n,e,r,t,i)}));n.setItemLayout(e,r),n.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,i,n){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Ar});this.group.add(l.group),this.markKeep(l);var u=function(t,e,i){var n,r;if(t){var o=F(t&&t.dimensions,(function(t){var i=e.getData();return P(P({},i.getDimensionInfo(i.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=F(["x0","y0","x1","y1"],(function(t,e){return{name:t,type:o[e%2].type}})),n=new wy(r,i)}else n=new wy(r=[{name:"value",type:"float"}],i);var a=F(i.get("data"),U(cz,e,t,i));t&&(a=H(a,U(fz,t)));var s=t?function(t,e,i,n){return Uf(t.coord[Math.floor(n/2)][n%2],r[n])}:function(t,e,i,n){return Uf(t.value,r[n])};return n.initData(a,null,s),n.hasItemOption=!0,n}(r,t,e);e.setData(u),u.each((function(e){var i=F(gz,(function(i){return pz(u,e,i,t,n)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),c=s.getExtent(),d=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],h=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];zr(d),zr(h);var f=!!(l[0]>d[1]||l[1]<d[0]||c[0]>h[1]||c[1]<h[0]);u.setItemLayout(e,{points:i,allClipped:f});var p=u.getItemModel(e).getModel("itemStyle").getItemStyle(),g=Yg(a,"color");p.fill||(p.fill=g,Q(p.fill)&&(p.fill=Ki(p.fill,.4))),p.stroke||(p.stroke=g),u.setItemVisual(e,"style",p)})),u.diff(uz(l).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var i=new Iu({shape:{points:e.points}});u.setItemGraphicEl(t,i),l.group.add(i)}})).update((function(t,i){var n=uz(l).data.getItemGraphicEl(i),r=u.getItemLayout(t);r.allClipped?n&&l.group.remove(n):(n?Ju(n,{shape:{points:r.points}},e,t):n=new Iu({shape:{points:r.points}}),u.setItemGraphicEl(t,n),l.group.add(n))})).remove((function(t){var e=uz(l).data.getItemGraphicEl(t);l.group.remove(e)})).execute(),u.eachItemGraphicEl((function(t,i){var n=u.getItemModel(i),r=u.getItemVisual(i,"style");t.useStyle(u.getItemVisual(i,"style")),zc(t,Vc(n),{labelFetcher:e,labelDataIndex:i,defaultText:u.getName(i)||"",inheritColor:Q(r.fill)?Ki(r.fill,1):"#000"}),Rl(t,n),kl(t,null,null,n.get(["emphasis","disabled"])),Fs(t).dataModel=e})),uz(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(qB),mz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.layoutMode={type:"box",ignoreSize:!0},i}return i(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,i){t.prototype.mergeOption.call(this,e,i),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,i=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),Y(e)&&V(e,(function(t,n){Q(t)&&(t={type:t}),e[n]=k(t,function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(i,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i<t.length;i++){var n=t[i].get("name");if(this.isSelected(n)){this.select(n),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],i=[];t.eachRawSeries((function(n){var r,o=n.name;if(i.push(o),n.legendVisualProvider){var a=n.legendVisualProvider.getAllNames();t.isSeriesFiltered(n)||(i=i.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&mo(n)&&e.push(n.name)})),this._availableNames=i;var n=this.get("data")||e,r=_t(),o=F(n,(function(t){return(Q(t)||q(t))&&(t={name:t}),r.get(t.name)?null:(r.set(t.name,!0),new ld(t,this,this.ecModel))}),this);this._data=H(o,(function(t){return!!t}))},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&V(this._data,(function(t){e[t.get("name")]=!1})),e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;V(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;V(t,(function(t){var i=t.get("name",!0);e.hasOwnProperty(i)||(e[i]=!0),e[i]=!e[i]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&E(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(dh),yz=U,_z=V,xz=Ar,bz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.newlineDisabled=!1,i}return i(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new xz),this.group.add(this._selectorGroup=new xz),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,i,a,o,s);var l=t.getBoxLayoutParams(),u={width:i.getWidth(),height:i.getHeight()},c=t.get("padding"),d=rh(l,u,c),h=this.layoutInner(t,r,d,n,a,s),f=rh(O({width:h.width,height:h.height},l),u,c);this.group.x=f.x-h.x,this.group.y=f.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=tN(h,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,i,n,r,o,a){var s=this.getContentGroup(),l=_t(),u=e.get("selectedMode"),c=[];i.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),_z(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var d=new xz;return d.newline=!0,void s.add(d)}var h=i.getSeriesByName(a)[0];if(!l.get(a))if(h){var f=h.getData(),p=f.getVisual("legendLineStyle")||{},g=f.getVisual("legendIcon"),v=f.getVisual("style");this._createItem(h,a,o,r,e,t,p,v,g,u,n).on("click",yz(wz,a,null,n,c)).on("mouseover",yz(Cz,h.name,null,n,c)).on("mouseout",yz(Mz,h.name,null,n,c)),l.set(a,!0)}else i.eachRawSeries((function(i){if(!l.get(a)&&i.legendVisualProvider){var s=i.legendVisualProvider;if(!s.containName(a))return;var d=s.indexOfName(a),h=s.getItemVisual(d,"style"),f=s.getItemVisual(d,"legendIcon"),p=Wi(h.fill);p&&0===p[3]&&(p[3]=.2,h=P(P({},h),{fill:Ji(p,"rgba")})),this._createItem(i,a,o,r,e,t,{},h,f,u,n).on("click",yz(wz,null,a,n,c)).on("mouseover",yz(Cz,null,a,n,c)).on("mouseout",yz(Mz,null,a,n,c)),l.set(a,!0)}}),this)}),this),r&&this._createSelector(r,e,n,o,a)},e.prototype._createSelector=function(t,e,i,n,r){var o=this.getSelectorGroup();_z(t,(function(t){var n=t.type,r=new Is({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:"all"===n?"legendAllSelect":"legendInverseSelect"})}});o.add(r),zc(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Dl(r)}))},e.prototype._createItem=function(t,e,i,n,r,o,a,s,l,u,c){var d=t.visualDrawType,h=r.get("itemWidth"),f=r.get("itemHeight"),p=r.isSelected(e),g=n.get("symbolRotate"),v=n.get("symbolKeepAspect"),m=n.get("icon"),y=function(t,e,i,n,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),_z(t,(function(i,n){"inherit"===t[n]&&(t[n]=e[n])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=0===t.lastIndexOf("empty",0)?"fill":"stroke",d=l.getShallow("decal");u.decal=d&&"inherit"!==d?Nv(d,a):n.decal,"inherit"===u.fill&&(u.fill=n[r]),"inherit"===u.stroke&&(u.stroke=n[c]),"inherit"===u.opacity&&(u.opacity=("fill"===r?n:i).opacity),s(u,n);var h=e.getModel("lineStyle"),f=h.getLineStyle();if(s(f,i),"auto"===u.fill&&(u.fill=n.fill),"auto"===u.stroke&&(u.stroke=n.fill),"auto"===f.stroke&&(f.stroke=n.fill),!o){var p=e.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===p?n.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),f.stroke=h.get("inactiveColor"),f.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}(l=m||l||"roundRect",n,a,s,d,p,c),_=new xz,x=n.getModel("textStyle");if(!Z(t.getLegendIcon)||m&&"inherit"!==m){var b="inherit"===m&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;_.add(function(t){var e=t.icon||"roundRect",i=uv(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return i.setStyle(t.itemStyle),i.rotation=(t.iconRotate||0)*Math.PI/180,i.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i}({itemWidth:h,itemHeight:f,icon:l,iconRotate:b,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:v}))}else _.add(t.getLegendIcon({itemWidth:h,itemHeight:f,icon:l,iconRotate:g,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:v}));var w="left"===o?h+5:-5,S=o,C=r.get("formatter"),M=e;Q(C)&&C?M=C.replace("{name}",null!=e?e:""):Z(C)&&(M=C(e));var T=n.get("inactiveColor");_.add(new Is({style:Fc(x,{text:M,x:w,y:f/2,fill:p?x.getTextColor():T,align:S,verticalAlign:"middle"})}));var I=new Cs({shape:_.getBoundingRect(),invisible:!0}),A=n.getModel("tooltip");return A.get("show")&&Lc({el:I,componentModel:r,itemName:e,itemTooltipOption:A.option}),_.add(I),_.eachChild((function(t){t.silent=!0})),I.silent=!u,this.getContentGroup().add(_),Dl(_),_.__legendDataIndex=i,_},e.prototype.layoutInner=function(t,e,i,n,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();nh(t.get("orient"),a,t.get("itemGap"),i.width,i.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){nh("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],h=t.get("selectorButtonGap",!0),f=t.getOrient().index,p=0===f?"width":"height",g=0===f?"height":"width",v=0===f?"y":"x";"end"===o?d[f]+=l[p]+h:u[f]+=c[p]+h,d[1-f]+=l[g]/2-c[g]/2,s.x=d[0],s.y=d[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[p]=l[p]+h+c[p],m[g]=Math.max(l[g],c[g]),m[v]=Math.min(0,c[v]+d[1-f]),m}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Yp);function wz(t,e,i,n){Mz(t,e,i,n),i.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),Cz(t,e,i,n)}function Sz(t){for(var e,i=t.getZr().storage.getDisplayList(),n=0,r=i.length;n<r&&!(e=i[n].states.emphasis);)n++;return e&&e.hoverLayer}function Cz(t,e,i,n){Sz(i)||i.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:n})}function Mz(t,e,i,n){Sz(i)||i.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:n})}function Tz(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var i=0;i<e.length;i++)if(!e[i].isSelected(t.name))return!1;return!0}))}function Iz(t,e,i){var n,r={},o="toggleSelected"===t;return i.eachComponent("legend",(function(i){o&&null!=n?i[n?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?i[t]():(i[t](e.name),n=i.isSelected(e.name)),V(i.getData(),(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&n:r[e]=n}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function Az(t){t.registerComponentModel(mz),t.registerComponentView(bz),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,Tz),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(t){t.registerAction("legendToggleSelect","legendselectchanged",U(Iz,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",U(Iz,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",U(Iz,"inverseSelect")),t.registerAction("legendSelect","legendselected",U(Iz,"select")),t.registerAction("legendUnSelect","legendunselected",U(Iz,"unSelect"))}(t)}var Dz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,i,n){var r=lh(e);t.prototype.init.call(this,e,i,n),kz(this,e,r)},e.prototype.mergeOption=function(e,i){t.prototype.mergeOption.call(this,e,i),kz(this,this.option,e)},e.type="legend.scroll",e.defaultOption=dd(mz.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(mz);function kz(t,e,i){var n=[1,1];n[t.getOrient().index]=0,sh(e,i,{type:"box",ignoreSize:!!n})}var Lz=Ar,Pz=["width","height"],Oz=["x","y"],Rz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.newlineDisabled=!0,i._currentIndex=0,i}return i(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new Lz),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Lz)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,i,n,r,o,a,s){var l=this;t.prototype.renderInner.call(this,e,i,n,r,o,a,s);var u=this._controllerGroup,c=i.get("pageIconSize",!0),d=Y(c)?c:[c,c];f("pagePrev",0);var h=i.getModel("pageTextStyle");function f(t,e){var n=t+"DataIndex",o=Ic(i.get("pageIcons",!0)[i.getOrient().name][e],{onclick:$(l._pageGo,l,n,i,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});o.name=t,u.add(o)}u.add(new Is({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},e.prototype.layoutInner=function(t,e,i,n,r,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=Pz[s],u=Oz[s],c=Pz[1-s],d=Oz[1-s];r&&nh("horizontal",a,t.get("selectorItemGap",!0));var h=t.get("selectorButtonGap",!0),f=a.getBoundingRect(),p=[-f.x,-f.y],g=D(i);r&&(g[l]=i[l]-f[l]-h);var v=this._layoutContentAndController(t,n,g,s,l,c,d,u);if(r){if("end"===o)p[s]+=v[l]+h;else{var m=f[l]+h;p[s]-=m,v[u]-=m}v[l]+=f[l]+h,p[1-s]+=v[d]+v[c]/2-f[c]/2,v[c]=Math.max(v[c],f[c]),v[d]=Math.min(v[d],f[d]+p[1-s]),a.x=p[0],a.y=p[1],a.markRedraw()}return v},e.prototype._layoutContentAndController=function(t,e,i,n,r,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;nh(t.get("orient"),l,t.get("itemGap"),n?i.width:null,n?null:i.height),nh("horizontal",c,t.get("pageButtonItemGap",!0));var d=l.getBoundingRect(),h=c.getBoundingRect(),f=this._showController=d[r]>i[r],p=[-d.x,-d.y];e||(p[n]=l[s]);var g=[0,0],v=[-h.x,-h.y],m=st(t.get("pageButtonGap",!0),t.get("itemGap",!0));f&&("end"===t.get("pageButtonPosition",!0)?v[n]+=i[r]-h[r]:g[n]+=h[r]+m),v[1-n]+=d[o]/2-h[o]/2,l.setPosition(p),u.setPosition(g),c.setPosition(v);var y={x:0,y:0};if(y[r]=f?i[r]:d[r],y[o]=Math.max(d[o],h[o]),y[a]=Math.min(0,h[a]+v[1-n]),u.__rectSize=i[r],f){var _={x:0,y:0};_[r]=Math.max(i[r]-h[r]-m,0),_[o]=y[o],u.setClipPath(new Cs({shape:_})),u.__rectSize=_[r]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&Ju(l,{x:x.contentPosition[0],y:x.contentPosition[1]},f?t:null),this._updatePageInfoView(t,x),y},e.prototype._pageGo=function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var i=this._controllerGroup;V(["pagePrev","pageNext"],(function(n){var r=null!=e[n+"DataIndex"],o=i.childOfName(n);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var n=i.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;n&&r&&n.setStyle("text",Q(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,r=t.getOrient().index,o=Pz[r],a=Oz[r],s=this._findTargetItemIndex(e),l=i.children(),u=l[s],c=l.length,d=c?1:0,h={contentPosition:[i.x,i.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var f=y(u);h.contentPosition[r]=-f.s;for(var p=s+1,g=f,v=f,m=null;p<=c;++p)(!(m=y(l[p]))&&v.e>g.s+n||m&&!_(m,g.s))&&(g=v.i>g.i?v:m)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=g.i),++h.pageCount),v=m;for(p=s-1,g=f,v=f,m=null;p>=-1;--p)(m=y(l[p]))&&_(v,m.s)||!(g.i<v.i)||(v=g,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=g.i),++h.pageCount,++h.pageIndex),g=m;return h;function y(t){if(t){var e=t.getBoundingRect(),i=e[a]+t[a];return{s:i,e:i+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+n}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(n,r){var o=n.__legendDataIndex;null==i&&null!=o&&(i=r),o===t&&(e=r)})),null!=e?e:i):0;var e,i},e.type="legend.scroll",e}(bz);function Ez(t){Qm(Az),t.registerComponentModel(Dz),t.registerComponentView(Rz),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var i=t.scrollDataIndex;null!=i&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(i)}))}))}(t)}var Nz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="dataZoom.inside",e.defaultOption=dd(BE.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(BE),Bz=xo();function zz(t,e,i){Bz(t).coordSysRecordMap.each((function(t){var n=t.dataZoomInfoMap.get(e.uid);n&&(n.getRange=i)}))}function Vz(t,e){if(e){t.removeKey(e.model.uid);var i=e.controller;i&&i.dispose()}}function Fz(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function jz(t,e,i,n){return t.coordinateSystem.containPoint([i,n])}var Hz=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return i(e,t),e.prototype.render=function(e,i,n){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),zz(n,e,{pan:$(Gz.pan,this),zoom:$(Gz.zoom,this),scrollMove:$(Gz.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var i=Bz(t).coordSysRecordMap,n=i.keys(),r=0;r<n.length;r++){var o=n[r],a=i.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||Vz(i,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(FE),Gz={zoom:function(t,e,i,n){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=$z[e](null,[n.originX,n.originY],a,i,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/n.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return xD(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:Wz((function(t,e,i,n,r,o){var a=$z[n]([o.oldX,o.oldY],[o.newX,o.newY],e,r,i);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:Wz((function(t,e,i,n,r,o){return $z[n]([0,0],[o.scrollDelta,o.scrollDelta],e,r,i).signal*(t[1]-t[0])*o.scrollDelta}))};function Wz(t){return function(e,i,n,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return xD(t(a,s,e,i,n,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var $z={grid:function(t,e,i,n,r){var o=i.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,i,n,r){var o=i.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,i,n,r){var o=i.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function Uz(t){YE(t),t.registerComponentModel(Nz),t.registerComponentView(Hz),function(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var i=Bz(e),n=i.coordSysRecordMap||(i.coordSysRecordMap=_t());n.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){V(EE(t).infoList,(function(i){var r=i.model.uid,o=n.get(r)||n.set(r,function(t,e){var i={model:e,containsPoint:U(jz,e),dispatchAction:U(Fz,t),dataZoomInfoMap:null,controller:null},n=i.controller=new XC(t.getZr());return V(["pan","zoom","scrollMove"],(function(t){n.on(t,(function(e){var n=[];i.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,i.model.mainType,i.controller,e);!r.model.get("disabled",!0)&&a&&n.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),n.length&&i.dispatchAction(n)}))})),i}(e,i.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=_t())).set(t.uid,{dzReferCoordSysInfo:i,model:t,getRange:null})}))})),n.each((function(t){var e,i=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,i="type_",n={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");n[i+a]>n[i+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);i.enable(a.controlType,a.opt),i.setPointerChecker(t.containsPoint),sg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else Vz(n,t)}))}))}(t)}var Yz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=dd(BE.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(BE),Zz=Cs,Qz="horizontal",Xz="vertical",qz=["line","bar","candlestick","scatter"],Kz={easing:"cubicOut",duration:100,delay:0},Jz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._displayables={},i}return i(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=$(this._onBrush,this),this._onBrushEnd=$(this._onBrushEnd,this)},e.prototype.render=function(e,i,n,r){if(t.prototype.render.apply(this,arguments),sg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){lg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Ar;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,i=t.get("brushSelect")?7:0,n=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===Qz?{right:r.width-n.x-n.width,top:r.height-30-7-i,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},a=lh(t.option);V(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=rh(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===Xz&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),r=n&&n.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(i!==Qz||r?i===Qz&&r?{scaleY:a?1:-1,scaleX:-1}:i!==Xz||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.sliderGroup,n=t.get("brushSelect");i.add(new Zz({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new Zz({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:$(this._onClickPanel,this)}),o=this.api.getZr();n?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),i.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,i=this._shadowSize||[],n=t.series,r=n.getRawData(),o=n.getShadowDim&&n.getShadowDim(),a=o&&r.getDimensionInfo(o)?n.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==i[0]||e[1]!==i[1]){var u=r.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var d,h=[0,e[1]],f=[0,e[0]],p=[[e[0],0],[0,0]],g=[],v=f[1]/(r.count()-1),m=0,y=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(y>0&&e%y)m+=v;else{var i=null==t||isNaN(t)||""===t,n=i?0:Er(t,u,h,!0);i&&!d&&e?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!i&&d&&(p.push([m,0]),g.push([m,0])),p.push([m,n]),g.push([m,n]),m+=v,d=i}})),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _=this.dataZoomModel,x=0;x<3;x++){var b=w(1===x);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=_.getModel(t?"selectedDataBackground":"dataBackground"),i=new Ar,n=new Iu({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Du({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return i.add(n),i.add(r),i}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,n=this.ecModel;return t.eachTargetAxis((function(r,o){V(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(i||!0!==e&&E(qz,t.get("type"))<0)){var a,s=n.getComponent(RE(r),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),i={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),i}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,i=e.handles=[null,null],n=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),c=e.filler=new Zz({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(c),r.add(new Zz({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),V([0,1],(function(e){var o=a.get("handleIcon");!av[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=uv(o,-1,0,2,2,null,!0);s.attr({cursor:tV(this._orient),draggable:!0,drift:$(this._onDragMove,this,e),ondragend:$(this._onDragEnd,this),onmouseover:$(this._showDataInfo,this,!0),onmouseout:$(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=Nr(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Dl(s);var c=a.get("handleColor");null!=c&&(s.style.fill=c),r.add(i[e]=s);var d=a.getModel("textStyle");t.add(n[e]=new Is({silent:!0,invisible:!0,style:Fc(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=c;if(u){var h=Nr(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new Cs({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:h}}),p=.8*h,g=e.moveHandleIcon=uv(a.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);g.silent=!0,g.y=o[1]+h/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(h,10));(d=e.moveZone=new Cs({invisible:!0,shape:{y:o[1]-v,height:h+v}})).on("mouseover",(function(){s.enterEmphasis(f)})).on("mouseout",(function(){s.leaveEmphasis(f)})),r.add(f),r.add(g),r.add(d)}d.attr({draggable:!0,cursor:tV(this._orient),drift:$(this._onDragMove,this,"all"),ondragstart:$(this._showDataInfo,this,!0),ondragend:$(this._onDragEnd,this),onmouseover:$(this._showDataInfo,this,!0),onmouseout:$(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Er(t[0],[0,100],e,!0),Er(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var i=this.dataZoomModel,n=this._handleEnds,r=this._getViewExtent(),o=i.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];xD(e,n,r,i.get("zoomLock")?"all":t,null!=o.minSpan?Er(o.minSpan,a,r,!0):null,null!=o.maxSpan?Er(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=zr([Er(n[0],r,a,!0),Er(n[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,i=this._handleEnds,n=zr(i.slice()),r=this._size;V([0,1],(function(t){var n=e.handles[t],o=this._handleHeight;n.attr({scaleX:o/2,scaleY:o/2,x:i[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:r[1]});var o={x:n[0],width:n[1]-n[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,n[0],n[1],r[0]],l=0;l<a.length;l++){var u=a[l],c=u.getClipPath();c||(c=new Cs,u.setClipPath(c)),c.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=zr(this._handleEnds.slice());function d(t){var e=xc(i.handles[t].parent,this.group),a=wc(0===t?"right":"left",e),s=this._handleWidth/2+5,l=bc([c[t]+(0===t?-s:s),this._size[1]/2],e);n[t].setStyle({x:l[0],y:l[1],verticalAlign:r===Qz?"middle":a,align:r===Qz?a:"center",text:o[t]})}d.call(this,0),d.call(this,1)},e.prototype._formatLabel=function(t,e){var i=this.dataZoomModel,n=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return Z(n)?n(t,o):Q(n)?n.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,i=e.handleLabels;i[0].attr("invisible",!t),i[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,i,n){this._dragging=!0,ge(n.event);var r=bc([e,i],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(t,r[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,i=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,r=(n[0]+n[1])/2,o=this._updateInterval("all",i[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,i=t.offsetY;this._brushStart=new De(e,i),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var i=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(i.width)<5)){var n=this._getViewExtent(),r=[0,100];this._range=zr([Er(i.x,n,r,!0),Er(i.x+i.width,n,r,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ge(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var i=this._displayables,n=this.dataZoomModel,r=i.brushRect;r||(r=i.brushRect=new Zz({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?Kz:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=EE(this.dataZoomModel).infoList;if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}if(!t){var n=this.api.getWidth(),r=this.api.getHeight();t={x:.2*n,y:.2*r,width:.6*n,height:.6*r}}return t},e.type="dataZoom.slider",e}(FE);function tV(t){return"vertical"===t?"ns-resize":"ew-resize"}function eV(t){t.registerComponentModel(Yz),t.registerComponentView(Jz),YE(t)}var iV=function(t,e,i){var n=D((nV[t]||{})[e]);return i&&Y(n)?n[n.length-1]:n},nV={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},rV=yI.mapVisual,oV=yI.eachVisual,aV=Y,sV=V,lV=zr,uV=Er,cV=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.stateList=["inRange","outOfRange"],i.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],i.layoutMode={type:"box",ignoreSize:!0},i.dataBound=[-1/0,1/0],i.targetVisuals={},i.controllerVisuals={},i}return i(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i)},e.prototype.optionUpdated=function(t,e){var i=this.option;!e&&aB(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=$(t,this),this.controllerVisuals=oB(this.option.controller,e,t),this.targetVisuals=oB(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,i){e.push(i)})):e=so(t),e},e.prototype.eachTargetSeries=function(t,e){V(this.getTargetSeriesIndices(),(function(i){var n=this.ecModel.getSeriesByIndex(i);n&&t.call(e,n)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(i){i===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,i){var n,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;i=i||["<",">"],Y(t)&&(t=t.slice(),n=!0);var l=e?t:n?[u(t[0]),u(t[1])]:u(t);return Q(s)?s.replace("{value}",n?l[0]:l).replace("{value2}",n?l[1]:l):Z(s)?n?s(t[0],t[1]):s(t):n?t[0]===a[0]?i[0]+" "+l[1]:t[1]===a[1]?i[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=lV([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var i=t.dimensions,n=i.length-1;n>=0;n--){var r=i[n],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,i={inRange:e.inRange,outOfRange:e.outOfRange},n=e.target||(e.target={}),r=e.controller||(e.controller={});k(n,i),k(r,i);var o=this.isCategory();function a(i){aV(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")}}a.call(this,n),a.call(this,r),function(t,e,i){var n=t[e],r=t[i];n&&!r&&(r=t[i]={},sV(n,(function(t,e){if(yI.isValidType(e)){var i=iV(e,"inactive",o);null!=i&&(r[e]=i,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,n,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";sV(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?n:[n]}),null==l.symbol&&(l.symbol=e&&D(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=i&&D(i)||(o?s[0]:[s[0],s[0]])),l.symbol=rV(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var c=-1/0;oV(u,(function(t){t>c&&(c=t)})),l.symbolSize=rV(u,(function(t){return uV(t,[0,c],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(dh),dV=[20,140],hV=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.optionUpdated=function(e,i){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=dV[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=dV[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):Y(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),V(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=zr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,i=this.getExtent();return(e[0]<=i[0]||e[0]<=t)&&(e[1]>=i[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(i){var n=[],r=i.getData();r.each(this.getDataDimensionIndex(r),(function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)}),this),e.push({seriesId:i.id,dataIndex:n})}),this),e},e.prototype.getVisualMeta=function(t){var e=fV(this,"outOfRange",this.getExtent()),i=fV(this,"inRange",this.option.range.slice()),n=[];function r(e,i){n.push({value:e,color:t(e,i)})}for(var o=0,a=0,s=i.length,l=e.length;a<l&&(!i.length||e[a]<=i[0]);a++)e[a]<i[o]&&r(e[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&n.length&&r(i[o],"outOfRange"),r(i[o],"inRange");for(u=1;a<l;a++)(!i.length||i[i.length-1]<e[a])&&(u&&(n.length&&r(n[n.length-1].value,"outOfRange"),u=0),r(e[a],"outOfRange"));var c=n.length;return{stops:n,outerColors:[c?n[0].color:"transparent",c?n[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=dd(cV.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(cV);function fV(t,e,i){if(i[0]===i[1])return i.slice();for(var n=(i[1]-i[0])/200,r=i[0],o=[],a=0;a<=200&&r<i[1];a++)o.push(r),r+=n;return o.push(i[1]),o}var pV=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.autoPositionValues={left:1,right:1,top:1,bottom:1},i}return i(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,i,n){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,i,n):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,i=$d(e.get("padding")||0),n=t.getBoundingRect();t.add(new Cs({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,i){var n=(i=i||{}).forceState,r=this.visualMapModel,o={};if("color"===e){var a=r.get("contentColor");o.color=a}function s(t){return o[t]}function l(t,e){o[t]=e}var u=r.controllerVisuals[n||r.getValueState(t)];return V(yI.prepareVisualTypes(u),(function(n){var r=u[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",r=u.__alphaForOpacity),yI.dependsOn(n,e)&&r&&r.applyVisual(t,s,l)})),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,i=this.api;oh(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},e.prototype.doRender=function(t,e,i,n){},e.type="visualMap",e}(Yp),gV=[["left","right","width"],["top","bottom","height"]];function vV(t,e,i){var n=t.option,r=n.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===n.orient?1:0,s=gV[a],l=[0,null,10],u={},c=0;c<3;c++)u[gV[1-a][c]]=l[c],u[s[c]]=2===c?i[0]:n[s[c]];var d=[["x","width",3],["y","height",0]][a],h=rh(u,o,n.padding);return s[(h.margin[d[2]]||0)+h[d[0]]+.5*h[d[1]]<.5*o[d[1]]?0:1]}function mV(t,e){return V(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var yV=Er,_V=V,xV=Math.min,bV=Math.max,wV=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._shapes={},i._dataInterval=[],i._handleEnds=[],i._hoverLinkDataIndices=[],i}return i(e,t),e.prototype.doRender=function(t,e,i,n){this._api=i,n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===i?-o:a[1]+o],s),u=this._applyTransform(0===i?"bottom":"top",s),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new Is({style:Fc(d,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:n})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,i=this._shapes,n=e.itemSize,r=this._orient,o=this._useHandle,a=vV(e,this.api,n),s=i.mainGroup=this._createBarGroup(a),l=new Ar;s.add(l),l.add(i.outOfRange=SV()),l.add(i.inRange=SV(null,o?MV(this._orient):null,$(this._dragHandle,this,"all",!1),$(this._dragHandle,this,"all",!0))),l.setClipPath(new Cs({shape:{x:0,y:0,width:n[0],height:n[1],r:3}}));var u=e.textStyleModel.getTextRect("\u56fd"),c=bV(u.width,u.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(e,s,0,n,c,r),this._createHandle(e,s,1,n,c,r)),this._createIndicator(e,s,n,c,r),t.add(s)},e.prototype._createHandle=function(t,e,i,n,r,o){var a=$(this._dragHandle,this,i,!1),s=$(this._dragHandle,this,i,!0),l=mr(t.get("handleSize"),n[0]),u=uv(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=MV(this._orient);u.attr({cursor:c,draggable:!0,drift:a,ondragend:s,onmousemove:function(t){ge(t.event)}}),u.x=n[0]/2,u.useStyle(t.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),El(u,!0),e.add(u);var d=this.visualMapModel.textStyleModel,h=new Is({cursor:c,draggable:!0,drift:a,onmousemove:function(t){ge(t.event)},ondragend:s,style:Fc(d,{x:0,y:0,text:""})});h.ensureState("blur").style={opacity:.1},h.stateTransition={duration:200},this.group.add(h);var f=[l,0],p=this._shapes;p.handleThumbs[i]=u,p.handleLabelPoints[i]=f,p.handleLabels[i]=h},e.prototype._createIndicator=function(t,e,i,n,r){var o=mr(t.get("indicatorSize"),i[0]),a=uv(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:i[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(a instanceof ms){var l=a.style;a.useStyle(P({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);e.add(a);var u=this.visualMapModel.textStyleModel,c=new Is({silent:!0,invisible:!0,style:Fc(u,{x:0,y:0,text:""})});this.group.add(c);var d=[("horizontal"===r?n/2:6)+i[0]/2,0],h=this._shapes;h.indicator=a,h.indicatorLabel=c,h.indicatorLabelPoint=d,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([i,n],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():CV(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[yV(e[0],i,n,!0),yV(e[1],i,n,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,r=[0,i.itemSize[1]];xD(e,n,r,t,0);var o=i.getExtent();this._dataInterval=[yV(n[0],r,o,!0),yV(n[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,i,o,"inRange"),s=this._createBarVisual(i,i,r,"outOfRange");n.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),n.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(i,a);return{barColor:new ju(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var i=[],n=(t[1]-t[0])/100;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+n*r;if(o>t[1])break;i.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},e.prototype._createBarPoints=function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new Ar("horizontal"!==e||i?"horizontal"===e&&i?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||i?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,r=i.handleThumbs,o=i.handleLabels,a=n.itemSize,s=n.getExtent();_V([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=yV(t[l],[0,a[1]],s,!0),d=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=d/a[0],u.x=a[0]-d/2;var h=bc(i.handleLabelPoints[l],xc(u,this.group));o[l].setStyle({x:h[0],y:h[1],text:n.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",i.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,i,n){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),d=this.getControllerVisual(t,"symbolSize"),h=yV(t,o,s,!0),f=a[0]-d/2,p={x:u.x,y:u.y};u.y=h,u.x=f;var g=bc(l.indicatorLabelPoint,xc(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;v.setStyle({text:(i||"")+r.formatValueText(e),verticalAlign:y?m:"middle",align:y?"center":m});var _={x:f,y:h,style:{fill:c}},x={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=p.x,u.y=p.y,u.animateTo(_,b),v.animateTo(x,b)}else u.attr(_),v.attr(x);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;S<w.length;S++)this._api.enterBlur(w[S])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);n[1]=xV(bV(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var r=[0,n[1]],o=i.getExtent();t=xV(bV(r[0],t),r[1]);var a=function(t,e,i){var n=6,r=t.get("hoverLinkDataSize");return r&&(n=yV(r,e,i,!0)/2),n}(i,o,r),s=[t-a,t+a],l=yV(t,r,o,!0),u=[yV(s[0],r,o,!0),yV(s[1],r,o,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"\u2248 ",a));var c=this._hoverLinkDataIndices,d=[];(e||CV(i))&&(d=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var h=function(t,e){var i={},n={};return r(t||[],i),r(e||[],n,i),[o(i),o(n)];function r(t,e,i){for(var n=0,r=t.length;n<r;n++){var o=vo(t[n].seriesId,null);if(null==o)return;for(var a=so(t[n].dataIndex),s=i&&i[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var i=[];for(var n in t)if(t.hasOwnProperty(n)&&null!=t[n])if(e)i.push(+n);else{var r=o(t[n],!0);r.length&&i.push({seriesId:n,dataIndex:r})}return i}}(c,d);this._dispatchHighDown("downplay",mV(h[0],i)),this._dispatchHighDown("highlight",mV(h[1],i))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(qg(t.target,(function(t){var i=Fs(t);if(null!=i.dataIndex)return e=i,!0}),!0),e){var i=this.ecModel.getSeriesByIndex(e.seriesIndex),n=this.visualMapModel;if(n.isTargetSeries(i)){var r=i.getData(e.dataType),o=r.getStore().get(n.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var i=0;i<e.length;i++)this._api.leaveBlur(e[i])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",mV(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,i,n){var r=xc(e,n?null:this.group);return Y(t)?bc(t,r,i):wc(t,r,i)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(pV);function SV(t,e,i,n){return new Iu({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){ge(t.event)},ondragend:n})}function CV(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function MV(t){return"vertical"===t?"ns-resize":"ew-resize"}var TV={type:"selectDataRange",event:"dataRangeSelected",update:"update"},IV=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},AV=[{createOnAllSeries:!0,reset:function(t,e){var i=[];return e.eachComponent("visualMap",(function(e){var n,r,o,a,s,l=t.pipelineContext;!e.isTargetSeries(t)||l&&l.large||i.push((n=e.stateList,r=e.targetVisuals,o=$(e.getValueState,e),a=e.getDataDimensionIndex(t.getData()),s={},V(n,(function(t){var e=yI.prepareVisualTypes(r[t]);s[t]=e})),{progress:function(t,e){var i,n;function l(t){return Ug(e,n,t)}function u(t,i){Zg(e,n,t,i)}null!=a&&(i=e.getDimensionIndex(a));for(var c=e.getStore();null!=(n=t.next());){var d=e.getRawDataItem(n);if(!d||!1!==d.visualMap)for(var h=null!=a?c.get(i,n):n,f=o(h),p=r[f],g=s[f],v=0,m=g.length;v<m;v++){var y=g[v];p[y]&&p[y].applyVisual(h,l,u)}}}}))})),i}},{createOnAllSeries:!0,reset:function(t,e){var i=t.getData(),n=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta($(DV,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(i);o>=0&&(r.dimension=o,n.push(r))}})),t.getData().setVisual("visualMeta",n)}}];function DV(t,e,i,n){for(var r=e.targetVisuals[n],o=yI.prepareVisualTypes(r),a={color:Yg(t.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=r["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(i,d,h)}return a.color;function d(t){return a[t]}function h(t,e){a[t]=e}}var kV=V;function LV(t){var e=t&&t.visualMap;Y(e)||(e=e?[e]:[]),kV(e,(function(t){if(t){PV(t,"splitList")&&!PV(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&Y(e)&&kV(e,(function(t){K(t)&&(PV(t,"start")&&!PV(t,"min")&&(t.min=t.start),PV(t,"end")&&!PV(t,"max")&&(t.max=t.end))}))}}))}function PV(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var OV=!1;function RV(t){OV||(OV=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(TV,IV),V(AV,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(LV))}function EV(t){t.registerComponentModel(hV),t.registerComponentView(wV),RV(t)}var NV=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._pieceList=[],i}return i(e,t),e.prototype.optionUpdated=function(e,i){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],BV[this._mode].call(this,this._pieceList),this._resetSelected(e,i);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=D(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=F(this._pieceList,(function(t){return t=D(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,i={},n=yI.listVisualTypes(),r=this.isCategory();function o(t,e,i){return t&&t[e]&&t[e].hasOwnProperty(i)}V(e.pieces,(function(t){V(n,(function(e){t.hasOwnProperty(e)&&(i[e]=1)}))})),V(i,(function(t,i){var n=!1;V(this.stateList,(function(t){n=n||o(e,t,i)||o(e.target,t,i)}),this),!n&&V(this.stateList,(function(t){(e[t]||(e[t]={}))[i]=iV(i,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var i=this.option,n=this._pieceList,r=(e?i:t).selected||{};if(i.selected=r,V(n,(function(t,e){var i=this.getSelectedMapKey(t);r.hasOwnProperty(i)||(r[i]=!0)}),this),"single"===i.selectedMode){var o=!1;V(n,(function(t,e){var i=this.getSelectedMapKey(t);r[i]&&(o?r[i]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=D(t)},e.prototype.getValueState=function(t){var e=yI.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],i=this._pieceList;return this.eachTargetSeries((function(n){var r=[],o=n.getData();o.each(this.getDataDimensionIndex(o),(function(e,n){yI.findPieceIndex(e,i)===t&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],i=["",""],n=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return V(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:i}}function s(r,o){var a=n.getRepresentValue({interval:r});o||(o=n.getValueState(a));var s=t(a,o);r[0]===-1/0?i[0]=s:r[1]===1/0?i[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=dd(cV.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(cV),BV={splitNumber:function(t){var e=this.option,i=Math.min(e.precision,20),n=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(n[1]-n[0])/r;+o.toFixed(i)!==o&&i<5;)i++;e.precision=i,o=+o.toFixed(i),e.minOpen&&t.push({interval:[-1/0,n[0]],close:[0,0]});for(var a=0,s=n[0];a<r;s+=o,a++){var l=a===r-1?n[1]:s+o;t.push({interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({interval:[n[1],1/0],close:[0,0]}),Jr(t),V(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;V(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),zV(e,t)},pieces:function(t){var e=this.option;V(e.pieces,(function(e,i){K(e)||(e={value:e});var n={text:"",index:i};if(null!=e.label&&(n.text=e.label),e.hasOwnProperty("value")){var r=n.value=e.value;n.interval=[r,r],n.close=[1,1]}else{for(var o=n.interval=[],a=n.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],c=0;c<2;c++){for(var d=[["gte","gt","min"],["lte","lt","max"]][c],h=0;h<3&&null==o[c];h++)o[c]=e[d[h]],a[c]=s[h],u[c]=2===h;null==o[c]&&(o[c]=l[c])}u[0]&&o[1]===1/0&&(a[0]=0),u[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(n.value=o[0])}n.visual=yI.retrieveVisuals(e),t.push(n)}),this),zV(e,t),Jr(t),V(t,(function(t){var e=t.close,i=[["<","\u2264"][e[1]],[">","\u2265"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)}),this)}};function zV(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var VV=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),n=e.textStyleModel,r=n.getFont(),o=n.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,c=at(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,c,a),V(l.viewPieceList,(function(n){var l=n.piece,u=new Ar;u.onclick=$(this._onItemClick,this,l),this._enableHoverLink(u,n.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(u,d,[0,0,s[0],s[1]]),c){var h=this.visualMapModel.getValueState(d);u.add(new Is({style:{x:"right"===a?-i:s[0]+i,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===h?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,c,a),nh(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var i=this;t.on("mouseover",(function(){return n("highlight")})).on("mouseout",(function(){return n("downplay")}));var n=function(t){var n=i.visualMapModel;n.option.hoverLink&&i.api.dispatchAction({type:t,batch:mV(n.findTargetDataIndices(e),n)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return vV(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},e.prototype._renderEndsText=function(t,e,i,n,r){if(e){var o=new Ar,a=this.visualMapModel.textStyleModel;o.add(new Is({style:Fc(a,{x:n?"right"===r?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:n?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=F(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),i=t.get("text"),n=t.get("orient"),r=t.get("inverse");return("horizontal"===n?r:!r)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},e.prototype._createItemSymbol=function(t,e,i){t.add(uv(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,i=e.option,n=i.selectedMode;if(n){var r=D(i.selected),o=e.getSelectedMapKey(t);"single"===n||!0===n?(r[o]=!0,V(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(pV);function FV(t){t.registerComponentModel(NV),t.registerComponentView(VV),RV(t)}var jV={label:{enabled:!0},decal:{show:!1}},HV=xo(),GV={};function WV(t,e){var i=t.getModel("aria");if(i.get("enabled")){var n=D(jV);k(n.label,t.getLocaleModel().get("aria"),!1),k(i.option,n,!1),function(){if(i.getModel("decal").get("show")){var e=_t();t.eachSeries((function(t){if(!t.isColorBySeries()){var i=e.get(t.type);i||(i={},e.set(t.type,i)),HV(t).scope=i}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(Z(e.enableAriaDecal))e.enableAriaDecal();else{var i=e.getData();if(e.isColorBySeries()){var n=Nh(e.ecModel,e.name,GV,t.getSeriesCount()),r=i.getVisual("decal");i.setVisual("decal",u(r,n))}else{var o=e.getRawData(),a={},s=HV(e).scope;i.each((function(t){var e=i.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var n=a[t],r=o.getName(t)||t+"",c=Nh(e.ecModel,r,s,l),d=i.getItemVisual(n,"decal");i.setItemVisual(n,"decal",u(d,c))}))}}function u(t,e){var i=t?P(P({},e),t):e;return i.dirty=!0,i}}))}}(),function(){var n=t.getLocaleModel().get("aria"),o=i.getModel("label");if(o.option=O(o.option,n),o.get("enabled")){var a=e.getZr().dom;if(o.get("description"))a.setAttribute("aria-label",o.get("description"));else{var s,l=t.getSeriesCount(),u=o.get(["data","maxCount"])||10,c=o.get(["series","maxCount"])||10,d=Math.min(l,c);if(!(l<1)){var h=function(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}();if(h){var f=o.get(["general","withTitle"]);s=r(f,{title:h})}else s=o.get(["general","withoutTitle"]);var p=[],g=l>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]);s+=r(g,{seriesCount:l}),t.eachSeries((function(e,i){if(i<d){var n=void 0,a=e.get("name")?"withName":"withoutName";n=r(n=l>1?o.get(["series","multiple",a]):o.get(["series","single",a]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,t.getLocaleModel().get(["series","typeNames"])[_]||"\u81ea\u5b9a\u4e49\u56fe")});var s=e.getData();s.count()>u?n+=r(o.get(["data","partialData"]),{displayCnt:u}):n+=o.get(["data","allData"]);for(var c=o.get(["data","separator","middle"]),h=o.get(["data","separator","end"]),f=[],g=0;g<s.count();g++)if(g<u){var v=s.getName(g),m=s.getValues(g),y=o.get(["data",v?"withName":"withoutName"]);f.push(r(y,{name:v,value:m.join(c)}))}n+=f.join(c)+h,p.push(n)}var _}));var v=o.getModel(["series","multiple","separator"]),m=v.get("middle"),y=v.get("end");s+=p.join(m)+y,a.setAttribute("aria-label",s)}}}}()}function r(t,e){if(!Q(t))return t;var i=t;return V(e,(function(t,e){i=i.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),i}}function $V(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},V(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}var UV={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},YV=function(){function t(t){if(null==(this._condVal=Q(t)?new RegExp(t):rt(t)?t:null)){ro("")}}return t.prototype.evaluate=function(t){var e=l(t);return Q(e)?this._condVal.test(t):!!q(e)&&this._condVal.test(t+"")},t}(),ZV=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),QV=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),XV=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),qV=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),KV=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),i=t?this.valueParser(e):null,n=0;n<this.subCondList.length;n++)if(!this.subCondList[n].evaluate(t?i:e))return!1;return!0},t}();function JV(t,e){if(!0===t||!1===t){var i=new ZV;return i.value=t,i}return eF(t)||ro(""),t.and?tF("and",t,e):t.or?tF("or",t,e):t.not?function(t,e){var i=t.not;eF(i)||ro("");var n=new qV;return n.child=JV(i,e),n.child||ro(""),n}(t,e):function(t,e){for(var i=e.prepareGetValue(t),n=[],r=W(t),o=t.parser,a=o?Zf(o):null,s=0;s<r.length;s++){var l=r[s];if("parser"!==l&&!e.valueGetterAttrMap.get(l)){var u=St(UV,l)?UV[l]:l,c=t[l],d=a?a(c):c,h=Jf(u,d)||"reg"===u&&new YV(d);h||ro(""),n.push(h)}}n.length||ro("");var f=new KV;return f.valueGetterParam=i,f.valueParser=a,f.getValue=e.getValue,f.subCondList=n,f}(t,e)}function tF(t,e,i){var n=e[t];Y(n)||ro(""),n.length||ro("");var r="and"===t?new QV:new XV;return r.children=F(n,(function(t){return JV(t,i)})),r.children.length||ro(""),r}function eF(t){return K(t)&&!z(t)}var iF=function(){function t(t,e){this._cond=JV(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}(),nF={type:"echarts:filter",transform:function(t){for(var e,i,n,r=t.upstream,o=(i=t.config,n={valueGetterAttrMap:_t({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;St(t,"dimension")||ro("");var i=r.getDimensionInfo(e);return i||ro(""),{dimIdx:i.index}},getValue:function(t){return r.retrieveValueFromItem(e,t.dimIdx)}},new iF(i,n)),a=[],s=0,l=r.count();s<l;s++)e=r.getRawDataItem(s),o.evaluate()&&a.push(e);return{data:a}}},rF={type:"echarts:sort",transform:function(t){var e=t.upstream,i=t.config,n="",r=so(i);r.length||ro(n);var o=[];V(r,(function(t){var i=t.dimension,r=t.order,a=t.parser,s=t.incomparable;if(null==i&&ro(n),"asc"!==r&&"desc"!==r&&ro(n),s&&"min"!==s&&"max"!==s){ro("")}if("asc"!==r&&"desc"!==r){ro("")}var l=e.getDimensionInfo(i);l||ro(n);var u=a?Zf(a):null;a&&!u&&ro(n),o.push({dimIdx:l.index,parser:u,comparator:new qf(r,s)})}));var a=e.sourceFormat;a!==mh&&a!==yh&&ro(n);for(var s=[],l=0,u=e.count();l<u;l++)s.push(e.getRawDataItem(l));return s.sort((function(t,i){for(var n=0;n<o.length;n++){var r=o[n],a=e.retrieveValueFromItem(t,r.dimIdx),s=e.retrieveValueFromItem(i,r.dimIdx);r.parser&&(a=r.parser(a),s=r.parser(s));var l=r.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:s}}},oF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return i(e,t),e.prototype.init=function(e,i,n){t.prototype.init.call(this,e,i,n),this._sourceManager=new yp(this),_p(this)},e.prototype.mergeOption=function(e,i){t.prototype.mergeOption.call(this,e,i),_p(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:wh},e}(dh),aF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return i(e,t),e.type="dataset",e}(Yp),sF=Ua.CMD;function lF(t,e){return Math.abs(t-e)<1e-5}function uF(t){var e,i,n,r,o,a=t.data,s=t.len(),l=[],u=0,c=0,d=0,h=0;function f(t,i){e&&e.length>2&&l.push(e),e=[t,i]}function p(t,i,n,r){lF(t,n)&&lF(i,r)||e.push(t,i,n,r,n,r)}function g(t,i,n,r,o,a){var s=Math.abs(i-t),l=4*Math.tan(s/4)/3,u=i<t?-1:1,c=Math.cos(t),d=Math.sin(t),h=Math.cos(i),f=Math.sin(i),p=c*o+n,g=d*a+r,v=h*o+n,m=f*a+r,y=o*l*u,_=a*l*u;e.push(p-y*d,g+_*c,v+y*f,m-_*h,v,m)}for(var v=0;v<s;){var m=a[v++],y=1===v;switch(y&&(d=u=a[v],h=c=a[v+1],m!==sF.L&&m!==sF.C&&m!==sF.Q||(e=[d,h])),m){case sF.M:u=d=a[v++],c=h=a[v++],f(d,h);break;case sF.L:p(u,c,i=a[v++],n=a[v++]),u=i,c=n;break;case sF.C:e.push(a[v++],a[v++],a[v++],a[v++],u=a[v++],c=a[v++]);break;case sF.Q:i=a[v++],n=a[v++],r=a[v++],o=a[v++],e.push(u+2/3*(i-u),c+2/3*(n-c),r+2/3*(i-r),o+2/3*(n-o),r,o),u=r,c=o;break;case sF.A:var _=a[v++],x=a[v++],b=a[v++],w=a[v++],S=a[v++],C=a[v++]+S;v+=1;var M=!a[v++];i=Math.cos(S)*b+_,n=Math.sin(S)*w+x,y?f(d=i,h=n):p(u,c,i,n),u=Math.cos(C)*b+_,c=Math.sin(C)*w+x;for(var T=(M?-1:1)*Math.PI/2,I=S;M?I>C:I<C;I+=T)g(I,M?Math.max(I+T,C):Math.min(I+T,C),_,x,b,w);break;case sF.R:d=u=a[v++],h=c=a[v++],i=d+a[v++],n=h+a[v++],f(i,h),p(i,h,i,n),p(i,n,d,n),p(d,n,d,h),p(d,h,i,h);break;case sF.Z:e&&p(u,c,d,h),u=d,c=h}}return e&&e.length>2&&l.push(e),l}function cF(t,e,i,n,r,o,a,s,l,u){if(lF(t,i)&&lF(e,n)&&lF(r,a)&&lF(o,s))l.push(a,s);else{var c=2/u,d=c*c,h=a-t,f=s-e,p=Math.sqrt(h*h+f*f);h/=p,f/=p;var g=i-t,v=n-e,m=r-a,y=o-s,_=g*g+v*v,x=m*m+y*y;if(_<d&&x<d)l.push(a,s);else{var b=h*g+f*v,w=-h*m-f*y;if(_-b*b<d&&b>=0&&x-w*w<d&&w>=0)l.push(a,s);else{var S=[],C=[];mi(t,i,r,a,.5,S),mi(e,n,o,s,.5,C),cF(S[0],C[0],S[1],C[1],S[2],C[2],S[3],C[3],l,u),cF(S[4],C[4],S[5],C[5],S[6],C[6],S[7],C[7],l,u)}}}}function dF(t,e,i){var n=t[e],r=t[1-e],o=Math.abs(n/r),a=Math.ceil(Math.sqrt(o*i)),s=Math.floor(i/a);0===s&&(s=1,a=i);for(var l=[],u=0;u<a;u++)l.push(s);var c=i-a*s;if(c>0)for(u=0;u<c;u++)l[u%a]+=1;return l}function hF(t,e,i){for(var n=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*r,u=r-n,c=l>Math.abs(u),d=dF([l,u],c?0:1,e),h=(c?s:u)/d.length,f=0;f<d.length;f++)for(var p=(c?u:s)/d[f],g=0;g<d[f];g++){var v={};c?(v.startAngle=o+h*f,v.endAngle=o+h*(f+1),v.r0=n+p*g,v.r=n+p*(g+1)):(v.startAngle=o+p*g,v.endAngle=o+p*(g+1),v.r0=n+h*f,v.r=n+h*(f+1)),v.clockwise=t.clockwise,v.cx=t.cx,v.cy=t.cy,i.push(v)}}function fF(t,e,i,n){return t*n-i*e}function pF(t,e,i,n,r,o,a,s){var l=i-t,u=n-e,c=a-r,d=s-o,h=fF(c,d,l,u);if(Math.abs(h)<1e-6)return null;var f=fF(t-r,e-o,c,d)/h;return f<0||f>1?null:new De(f*l+t,f*u+e)}function gF(t,e,i){var n=new De;De.sub(n,i,e),n.normalize();var r=new De;return De.sub(r,t,e),r.dot(n)}function vF(t,e){var i=t[t.length-1];i&&i[0]===e[0]&&i[1]===e[1]||t.push(e)}function mF(t){var e=t.points,i=[],n=[];ba(e,i,n);var r=new ze(i[0],i[1],n[0]-i[0],n[1]-i[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new De,c=new De;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),function(t,e,i){for(var n=t.length,r=[],o=0;o<n;o++){var a=t[o],s=t[(o+1)%n],l=pF(a[0],a[1],s[0],s[1],e.x,e.y,i.x,i.y);l&&r.push({projPt:gF(l,e,i),pt:l,idx:o})}if(r.length<2)return[{points:t},{points:t}];r.sort((function(t,e){return t.projPt-e.projPt}));var u=r[0],c=r[r.length-1];if(c.idx<u.idx){var d=u;u=c,c=d}var h=[u.pt.x,u.pt.y],f=[c.pt.x,c.pt.y],p=[h],g=[f];for(o=u.idx+1;o<=c.idx;o++)vF(p,t[o].slice());for(vF(p,f),vF(p,h),o=c.idx+1;o<=u.idx+n;o++)vF(g,t[o%n].slice());return vF(g,h),vF(g,f),[{points:p},{points:g}]}(e,u,c)}function yF(t,e,i,n){if(1===i)n.push(e);else{var r=Math.floor(i/2),o=t(e);yF(t,o[0],r,n),yF(t,o[1],i-r,n)}return n}function _F(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function xF(t,e){var i=t.length,n=e.length;if(i===n)return[t,e];for(var r=[],o=[],a=i<n?t:e,s=Math.min(i,n),l=Math.abs(n-i)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,d=[a[0],a[1]],h=l,f=2;f<s;){var p=a[f-2],g=a[f-1],v=a[f++],m=a[f++],y=a[f++],_=a[f++],x=a[f++],b=a[f++];if(h<=0)d.push(v,m,y,_,x,b);else{for(var w=Math.min(h,c-1)+1,S=1;S<=w;S++){var C=S/w;mi(p,v,y,x,C,r),mi(g,m,_,b,C,o),p=r[3],g=o[3],d.push(r[1],o[1],r[2],o[2],p,g),v=r[5],m=o[5],y=r[6],_=o[6]}h-=w-1}}return a===t?[d,e]:[t,d]}function bF(t,e){for(var i=t.length,n=t[i-2],r=t[i-1],o=[],a=0;a<e.length;)o[a++]=n,o[a++]=r;return o}function wF(t){for(var e=0,i=0,n=0,r=t.length,o=0,a=r-2;o<r;a=o,o+=2){var s=t[a],l=t[a+1],u=t[o],c=t[o+1],d=s*c-u*l;e+=d,i+=(s+u)*d,n+=(l+c)*d}return 0===e?[t[0]||0,t[1]||0]:[i/e/3,n/e/3,e]}function SF(t,e,i,n){for(var r=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2,u=0;u<r;u++){for(var c=6*u,d=0,h=0;h<s;h+=2){var f=0===h?c:(c+h-2)%l+2,p=t[f]-i[0],g=t[f+1]-i[1],v=e[h]-n[0]-p,m=e[h+1]-n[1]-g;d+=v*v+m*m}d<o&&(o=d,a=u)}return a}function CF(t){for(var e=[],i=t.length,n=0;n<i;n+=2)e[n]=t[i-n-2],e[n+1]=t[i-n-1];return e}function MF(t){return t.__isCombineMorphing}var TF="__mOriginal_";function IF(t,e,i){var n=TF+e,r=t[n]||t[e];t[n]||(t[n]=t[e]);var o=i.replace,a=i.after,s=i.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=o?o.apply(this,e):r.apply(this,e),a&&a.apply(this,e),t}}function AF(t,e){var i=TF+e;t[i]&&(t[e]=t[i],t[i]=null)}function DF(t,e){for(var i=0;i<t.length;i++)for(var n=t[i],r=0;r<n.length;){var o=n[r],a=n[r+1];n[r++]=e[0]*o+e[2]*a+e[4],n[r++]=e[1]*o+e[3]*a+e[5]}}function kF(t,e){var i=t.getUpdatedPathProxy(),n=e.getUpdatedPathProxy(),r=function(t,e){for(var i,n,r,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],c=void 0,d=void 0;l?u?(n=c=(i=xF(l,u))[0],r=d=i[1]):(d=bF(r||l,l),c=l):(c=bF(n||u,u),d=u),o.push(c),a.push(d)}return[o,a]}(uF(i),uF(n)),o=r[0],a=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();s&&DF(o,s),l&&DF(a,l),IF(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var u=function(t,e,i,n){for(var r,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],u=wF(s),c=wF(l);null==r&&(r=u[2]<0!=c[2]<0);var d=[],h=[],f=0,p=1/0,g=[],v=s.length;r&&(s=CF(s));for(var m=6*SF(s,l,u,c),y=v-2,_=0;_<y;_+=2){var x=(m+_)%y+2;d[_+2]=s[x]-u[0],d[_+3]=s[x+1]-u[1]}d[0]=s[m]-u[0],d[1]=s[m+1]-u[1];for(var b=n/10,w=-n/2;w<=n/2;w+=b){var S=Math.sin(w),C=Math.cos(w),M=0;for(_=0;_<s.length;_+=2){var T=d[_],I=d[_+1],A=l[_]-c[0],D=l[_+1]-c[1],k=A*C-D*S,L=A*S+D*C;g[_]=k,g[_+1]=L;var P=k-T,O=L-I;M+=P*P+O*O}if(M<p){p=M,f=w;for(var R=0;R<g.length;R++)h[R]=g[R]}}o.push({from:d,to:h,fromCp:u,toCp:c,rotation:-f})}return o}(o,a,0,Math.PI),c=[];IF(e,"buildPath",{replace:function(t){for(var i=e.__morphT,n=1-i,r=[],o=0;o<u.length;o++){var a=u[o],s=a.from,l=a.to,d=a.rotation*i,h=a.fromCp,f=a.toCp,p=Math.sin(d),g=Math.cos(d);Wt(r,h,f,i);for(var v=0;v<s.length;v+=2){var m=s[v],y=s[v+1],_=m*n+(S=l[v])*i,x=y*n+(C=l[v+1])*i;c[v]=_*g-x*p+r[0],c[v+1]=_*p+x*g+r[1]}var b=c[0],w=c[1];for(t.moveTo(b,w),v=2;v<s.length;){var S=c[v++],C=c[v++],M=c[v++],T=c[v++],I=c[v++],A=c[v++];b===S&&w===C&&M===I&&T===A?t.lineTo(I,A):t.bezierCurveTo(S,C,M,T,I,A),b=I,w=A}}}})}function LF(t,e,i){if(!t||!e)return e;var n=i.done,r=i.during;return kF(t,e),e.__morphT=0,e.animateTo({__morphT:1},O({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){AF(e,"buildPath"),AF(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),n&&n()}},i)),e}function PF(t,e,i,n,r,o){t=r===i?0:Math.round(32767*(t-i)/(r-i)),e=o===n?0:Math.round(32767*(e-n)/(o-n));for(var a,s=0,l=32768;l>0;l/=2){var u=0,c=0;(t&l)>0&&(u=1),(e&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function OF(t){var e=1/0,i=1/0,n=-1/0,r=-1/0,o=F(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),i=Math.min(l,i),n=Math.max(s,n),r=Math.max(l,r),[s,l]}));return F(o,(function(o,a){return{cp:o,z:PF(o[0],o[1],e,i,n,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function RF(t){return function(t,e){var i,n=[],r=t.shape;switch(t.type){case"rect":!function(t,e,i){for(var n=t.width,r=t.height,o=n>r,a=dF([n,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",d=t[s]/a.length,h=0;h<a.length;h++)for(var f=t[l]/a[h],p=0;p<a[h];p++){var g={};g[u]=h*d,g[c]=p*f,g[s]=d,g[l]=f,g.x+=t.x,g.y+=t.y,i.push(g)}}(r,e,n),i=Cs;break;case"sector":hF(r,e,n),i=wu;break;case"circle":hF({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,n),i=wu;break;default:var o=t.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=F(function(t,e){var i=uF(t),n=[];e=e||1;for(var r=0;r<i.length;r++){var o=i[r],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],d=o[u++],h=o[u++],f=o[u++],p=o[u++],g=o[u++];cF(s,l,c,d,h,f,p,g,a,e),s=p,l=g}n.push(a)}return n}(t.getUpdatedPathProxy(),a),(function(t){return function(t){for(var e=[],i=0;i<t.length;)e.push([t[i++],t[i++]]);return e}(t)})),l=s.length;if(0===l)yF(mF,{points:s[0]},e,n);else if(l===e)for(var u=0;u<l;u++)n.push({points:s[u]});else{var c=0,d=F(s,(function(t){var e=[],i=[];ba(t,e,i);var n=(i[1]-e[1])*(i[0]-e[0]);return c+=n,{poly:t,area:n}}));d.sort((function(t,e){return e.area-t.area}));var h=e;for(u=0;u<l;u++){var f=d[u];if(h<=0)break;var p=u===l-1?h:Math.ceil(f.area/c*e);p<0||(yF(mF,{points:f.poly},p,n),h-=p)}}i=Iu}if(!i)return function(t,e){for(var i=[],n=0;n<e;n++)i.push(ru(t));return i}(t,e);var g=[];for(u=0;u<n.length;u++){var v=new i;v.setShape(n[u]),_F(t,v),g.push(v)}return g}(t.path,t.count)}function EF(t){return Y(t[0])}function NF(t,e){for(var i=[],n=t.length,r=0;r<n;r++)i.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var o=e[r].length,a=void 0;for(a=0;a<o;a++)i[a%n].many.push(e[r][a])}var s=0;for(r=n-1;r>=0;r--)if(!i[r].many.length){var l=i[s].many;if(l.length<=1){if(!s)return i;s=0}o=l.length;var u=Math.ceil(o/2);i[r].many=l.slice(u,o),i[s].many=l.slice(0,u),s++}return i}var BF={clone:function(t){for(var e=[],i=1-Math.pow(1-t.path.style.opacity,1/t.count),n=0;n<t.count;n++){var r=ru(t.path);r.setStyle("opacity",i),e.push(r)}return e},split:null};function zF(t,e,i,r,o,a){if(t.length&&e.length){var s=qu("update",r,o);if(s&&s.duration>0){var l,u,c=r.getModel("universalTransition").get("delay"),d=Object.assign({setToFinal:!0},s);EF(t)&&(l=t,u=e),EF(e)&&(l=e,u=t);for(var h=l?l===t:t.length>e.length,f=l?NF(u,l):NF(h?e:t,[h?t:e]),p=0,g=0;g<f.length;g++)p+=f[g].many.length;var v=0;for(g=0;g<f.length;g++)m(f[g],h,v,p),v+=f[g].many.length}}function m(t,e,r,o,s){var l=t.many,u=t.one;if(1!==l.length||s)for(var h=O({dividePath:BF[i],individualDelay:c&&function(t,e,i,n){return c(t+r,o)}},d),f=e?function(t,e,i){var r=[];!function t(e){for(var i=0;i<e.length;i++){var n=e[i];MF(n)?t(n.childrenRef()):n instanceof hs&&r.push(n)}}(t);var o=r.length;if(!o)return{fromIndividuals:[],toIndividuals:[],count:0};var a=(i.dividePath||RF)({path:e,count:o});if(a.length!==o)return n("error","Invalid morphing: unmatched splitted path"," at uni_modules/lime-echart/static/echarts.min.js:47"),{fromIndividuals:[],toIndividuals:[],count:0};r=OF(r),a=OF(a);for(var s=i.done,l=i.during,u=i.individualDelay,c=new sr,d=0;d<o;d++){var h=r[d],f=a[d];f.parent=e,f.copyTransform(c),u||kF(h,f)}function p(t){for(var e=0;e<a.length;e++)a[e].addSelfToZr(t)}function g(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,AF(e,"addSelfToZr"),AF(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return a},IF(e,"addSelfToZr",{after:function(t){p(t)}}),IF(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<a.length;e++)a[e].removeSelfFromZr(t)}});var v=a.length;if(u){var m=v,y=function(){0==--m&&(g(),s&&s())};for(d=0;d<v;d++){var _=u?O({delay:(i.delay||0)+u(d,v,r[d],a[d]),done:y},i):i;LF(r[d],a[d],_)}}else e.__morphT=0,e.animateTo({__morphT:1},O({during:function(t){for(var i=0;i<v;i++){var n=a[i];n.__morphT=e.__morphT,n.dirtyShape()}l&&l(t)},done:function(){g();for(var e=0;e<t.length;e++)AF(t[e],"updateTransform");s&&s()}},i));return e.__zr&&p(e.__zr),{fromIndividuals:r,toIndividuals:a,count:v}}(l,u,h):function(t,e,i){var r=e.length,o=[],a=i.dividePath||RF;if(MF(t)){!function t(e){for(var i=0;i<e.length;i++){var n=e[i];MF(n)?t(n.childrenRef()):n instanceof hs&&o.push(n)}}(t.childrenRef());var s=o.length;if(s<r)for(var l=0,u=s;u<r;u++)o.push(ru(o[l++%s]));o.length=r}else{o=a({path:t,count:r});var c=t.getComputedTransform();for(u=0;u<o.length;u++)o[u].setLocalTransform(c);if(o.length!==r)return n("error","Invalid morphing: unmatched splitted path"," at uni_modules/lime-echart/static/echarts.min.js:47"),{fromIndividuals:[],toIndividuals:[],count:0}}o=OF(o),e=OF(e);var d=i.individualDelay;for(u=0;u<r;u++){var h=d?O({delay:(i.delay||0)+d(u,r,o[u],e[u])},i):i;LF(o[u],e[u],h)}return{fromIndividuals:o,toIndividuals:e,count:e.length}}(u,l,h),p=f.fromIndividuals,g=f.toIndividuals,v=p.length,y=0;y<v;y++)_=c?O({delay:c(y,v)},d):d,a(p[y],g[y],e?l[y]:t.one,e?t.one:l[y],_);else{var _,x=e?l[0]:u,b=e?u:l[0];MF(x)?m({many:[x],one:b},!0,r,o,!0):(LF(x,b,_=c?O({delay:c(r,o)},d):d),a(x,b,x,b,_))}}}function VF(t){if(!t)return[];if(Y(t)){for(var e=[],i=0;i<t.length;i++)e.push(VF(t[i]));return e}var n=[];return t.traverse((function(t){t instanceof hs&&!t.disableMorphing&&!t.invisible&&!t.ignore&&n.push(t)})),n}var FF=xo();function jF(t){var e=[];return V(t,(function(t){var i=t.data;if(!(i.count()>1e4))for(var n=i.getIndices(),r=function(t){for(var e=t.dimensions,i=0;i<e.length;i++){var n=t.getDimensionInfo(e[i]);if(n&&0===n.otherDims.itemGroupId)return e[i]}}(i),o=0;o<n.length;o++)e.push({dataGroupId:t.dataGroupId,data:i,dim:t.dim||r,divide:t.divide,dataIndex:o})})),e}function HF(t,e,i){t.traverse((function(t){t instanceof hs&&tc(t,{style:{opacity:0}},e,{dataIndex:i,isFrom:!0})}))}function GF(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function WF(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function $F(t,e,i){var n=jF(t),r=jF(e);function o(t,e,i,n,r){(i||t)&&e.animateFrom({style:i&&i!==t?P(P({},i.style),t.style):t.style},r)}function a(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var s=a(n),l=a(r),u=!1;function c(t,e){return function(i){var n=i.data,r=i.dataIndex;if(e)return n.getId(r);var o=i.dataGroupId,a=t?s||l:l||s,u=a&&n.getDimensionInfo(a),c=u&&u.ordinalMeta;if(u){var d=n.get(u.name,r);return c&&c.categories[d]||d+""}var h=n.getRawDataItem(r);return h&&h.groupId?h.groupId+"":o||n.getId(r)}}var d=function(t,e){var i=t.length;if(i!==e.length)return!1;for(var n=0;n<i;n++){var r=t[n],o=e[n];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(n,r),h={};if(!d)for(var f=0;f<r.length;f++){var p=r[f],g=p.data.getItemGraphicEl(p.dataIndex);g&&(h[g.id]=!0)}function v(t,e){var i=n[e],a=r[t],s=a.data.hostModel,l=i.data.getItemGraphicEl(i.dataIndex),c=a.data.getItemGraphicEl(a.dataIndex);l!==c?l&&h[l.id]||c&&(WF(c),l?(WF(l),GF(l),u=!0,zF(VF(l),VF(c),a.divide,s,t,o)):HF(c,s,t)):c&&function(t,e,i){var n=qu("update",i,e);n&&t.traverse((function(t){if(t instanceof ca){var e=function(t){return Xu(t).oldStyle}(t);e&&t.animateFrom({style:e},n)}}))}(c,a.dataIndex,s)}new Km(n,r,c(!0,d),c(!1,d),null,"multiple").update(v).updateManyToOne((function(t,e){var i=r[t],a=i.data,s=a.hostModel,l=a.getItemGraphicEl(i.dataIndex),c=H(F(e,(function(t){return n[t].data.getItemGraphicEl(n[t].dataIndex)})),(function(t){return t&&t!==l&&!h[t.id]}));l&&(WF(l),c.length?(V(c,(function(t){WF(t),GF(t)})),u=!0,zF(VF(c),VF(l),i.divide,s,t,o)):HF(l,s,i.dataIndex))})).updateOneToMany((function(t,e){var i=n[e],a=i.data.getItemGraphicEl(i.dataIndex);if(!a||!h[a.id]){var s=H(F(t,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==a})),l=r[t[0]].data.hostModel;s.length&&(V(s,(function(t){return WF(t)})),a?(WF(a),GF(a),u=!0,zF(VF(a),VF(s),i.divide,l,t[0],o)):V(s,(function(e){return HF(e,l,t[0])})))}})).updateManyToMany((function(t,e){new Km(e,t,(function(t){return n[t].data.getId(n[t].dataIndex)}),(function(t){return r[t].data.getId(r[t].dataIndex)})).update((function(i,n){v(t[i],e[n])})).execute()})).execute(),u&&V(e,(function(t){var e=t.data.hostModel,n=e&&i.getViewOfSeriesModel(e),r=qu("update",e,0);n&&e.isAnimationEnabled()&&r&&r.duration>0&&n.group.traverse((function(t){t instanceof hs&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function UF(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function YF(t){return Y(t)?t.sort().join(","):t}function ZF(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function QF(t,e){for(var i=0;i<t.length;i++)if(null!=e.seriesIndex&&e.seriesIndex===t[i].seriesIndex||null!=e.seriesId&&e.seriesId===t[i].id)return i}Qm([function(t){t.registerPainter("canvas",sw)}]),Qm([function(t){t.registerPainter("svg",iw)}]),Qm([function(t){t.registerChartView(jw),t.registerSeriesModel(lw),t.registerLayout(Hw("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),i=t.getModel("lineStyle").getLineStyle();i&&!i.stroke&&(i.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",i)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,$w("line"))},function(t){t.registerChartView(tS),t.registerSeriesModel(Yw),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,U(e_,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,i_("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,$w("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))},function(t){t.registerChartView(AS),t.registerSeriesModel(PS),Qg("pie",t.registerAction),t.registerLayout(U(xS,"pie")),t.registerProcessor(bS("pie")),t.registerProcessor(function(t){return{seriesType:"pie",reset:function(t,e){var i=t.getData();i.filterSelf((function(t){var e=i.mapDimension("value"),n=i.get(e,t);return!(q(n)&&!isNaN(n)&&n<0)}))}}}())},function(t){Qm(PC),t.registerSeriesModel(OS),t.registerChartView(BS),t.registerLayout(Hw("scatter"))},function(t){Qm(UC),t.registerChartView(BC),t.registerSeriesModel(zC),t.registerLayout(OC),t.registerProcessor(bS("radar")),t.registerPreprocessor(NC)},function(t){Qm(yT),t.registerChartView(JM),t.registerSeriesModel(tT),t.registerLayout(iT),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,eT),Qg("map",t.registerAction)},function(t){t.registerChartView(kT),t.registerSeriesModel(KT),t.registerLayout(tI),t.registerVisual(eI),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=t.dataIndex,n=e.getData().tree.getNodeByDataIndex(i);n.isExpand=!n.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,i){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=gT(e.coordinateSystem,t,void 0,i);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))}(t)},function(t){t.registerSeriesModel(rI),t.registerChartView(gI),t.registerVisual(LI),t.registerLayout(GI),function(t){for(var e=0;e<iI.length;e++)t.registerAction({type:iI[e],update:"updateView"},Ct);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,i){var n=ZT(t,["treemapZoomToNode","treemapRootToNode"],e);if(n){var r=e.getViewRoot();r&&(t.direction=XT(r,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}}))}))}(t)},function(t){t.registerChartView(FA),t.registerSeriesModel(YA),t.registerProcessor(YI),t.registerVisual(ZI),t.registerVisual(XI),t.registerLayout(oA),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,fA),t.registerLayout(gA),t.registerCoordinateSystem("graphView",{dimensions:rT.dimensions,create:vA}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Ct),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Ct),t.registerAction(ZA,(function(t,e,i){e.eachComponent({mainType:"series",query:t},(function(e){var n=gT(e.coordinateSystem,t,void 0,i);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))},function(t){t.registerChartView(KA),t.registerSeriesModel(JA)},function(t){t.registerChartView(iD),t.registerSeriesModel(nD),t.registerLayout(rD),t.registerProcessor(bS("funnel"))},function(t){Qm(Dk),t.registerChartView(oD),t.registerSeriesModel(cD),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,fD)},function(t){t.registerChartView(Pk),t.registerSeriesModel(Ok),t.registerLayout(Rk),t.registerVisual(Uk),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},function(t){t.registerSeriesModel(Zk),t.registerChartView(Qk),t.registerLayout(iL),t.registerTransform(nL)},function(t){t.registerChartView(oL),t.registerSeriesModel(vL),t.registerPreprocessor(mL),t.registerVisual(SL),t.registerLayout(CL)},function(t){t.registerChartView(AL),t.registerSeriesModel(DL),t.registerLayout(Hw("effectScatter"))},function(t){t.registerChartView(BL),t.registerSeriesModel(jL),t.registerLayout(NL),t.registerVisual(GL)},function(t){t.registerChartView(UL),t.registerSeriesModel(YL)},function(t){t.registerChartView(qL),t.registerSeriesModel(gP),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,U(e_,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,i_("pictorialBar"))},function(t){t.registerChartView(vP),t.registerSeriesModel(mP),t.registerLayout(yP),t.registerProcessor(bS("themeRiver"))},function(t){t.registerChartView(SP),t.registerSeriesModel(CP),t.registerLayout(U(TP,"sunburst")),t.registerProcessor(U(bS,"sunburst")),t.registerVisual(IP),function(t){t.registerAction({type:bP,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,i){var n=ZT(t,[bP],e);if(n){var r=e.getViewRoot();r&&(t.direction=XT(r,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}}))})),t.registerAction({type:wP,update:"none"},(function(t,e,i){t=P({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e){var i=ZT(t,[wP],e);i&&(t.dataIndex=i.node.dataIndex)})),i.dispatchAction(P(t,{type:"highlight"}))})),t.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(t,e,i){t=P({},t),i.dispatchAction(P(t,{type:"downplay"}))}))}(t)},function(t){t.registerChartView(yO),t.registerSeriesModel(LP)}]),Qm((function(t){Qm(PC),Qm(yR)})),Qm((function(t){Qm(yR),xC.registerAxisPointerClass("PolarAxisPointer",_R),t.registerCoordinateSystem("polar",OR),t.registerComponentModel(bR),t.registerComponentView(QR),$S(t,"angle",SR,YR),$S(t,"radius",CR,ZR),t.registerComponentView(zR),t.registerComponentView(HR),t.registerLayout(U(UR,"bar"))})),Qm(yT),Qm((function(t){Qm(yR),xC.registerAxisPointerClass("SingleAxisPointer",uE),t.registerComponentView(fE),t.registerComponentView(JR),t.registerComponentModel(eE),$S(t,"single",eE,eE.defaultOption),t.registerCoordinateSystem("single",aE)})),Qm(Dk),Qm((function(t){t.registerComponentModel(pE),t.registerComponentView(vE),t.registerCoordinateSystem("calendar",yE)})),Qm((function(t){t.registerComponentModel(CE),t.registerComponentView(IE),t.registerPreprocessor((function(t){var e=t.graphic;Y(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))})),Qm((function(t){t.registerComponentModel(JE),t.registerComponentView(eN),qE("saveAsImage",iN),qE("magicType",oN),qE("dataView",cN),qE("dataZoom",LN),qE("restore",gN),Qm(ZE)})),Qm((function(t){Qm(yR),t.registerComponentModel(RN),t.registerComponentView(qN),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Ct),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Ct)})),Qm(yR),Qm((function(t){t.registerComponentView(yB),t.registerComponentModel(_B),t.registerPreprocessor(iB),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,fB),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},Ct),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},Ct),qE("brush",wB)})),Qm((function(t){t.registerComponentModel(SB),t.registerComponentView(CB)})),Qm((function(t){t.registerComponentModel(TB),t.registerComponentView(LB),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,i){var n=e.getComponent("timeline");return n&&null!=t.currentIndex&&(n.setCurrentIndex(t.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.getPlayState()&&(n.setPlayState(!1),i.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:n.get("replaceMerge",!0)}),O({currentIndex:n.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var i=e.getComponent("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)}))}(t),t.registerPreprocessor(RB)})),Qm((function(t){t.registerComponentModel(jB),t.registerComponentView(JB),t.registerPreprocessor((function(t){BB(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))})),Qm((function(t){t.registerComponentModel(tz),t.registerComponentView(sz),t.registerPreprocessor((function(t){BB(t.series,"markLine")&&(t.markLine=t.markLine||{})}))})),Qm((function(t){t.registerComponentModel(lz),t.registerComponentView(vz),t.registerPreprocessor((function(t){BB(t.series,"markArea")&&(t.markArea=t.markArea||{})}))})),Qm((function(t){Qm(Az),Qm(Ez)})),Qm((function(t){Qm(Uz),Qm(eV)})),Qm(Uz),Qm(eV),Qm((function(t){Qm(EV),Qm(FV)})),Qm(EV),Qm(FV),Qm((function(t){t.registerPreprocessor($V),t.registerVisual(t.PRIORITY.VISUAL.ARIA,WV)})),Qm((function(t){t.registerTransform(nF),t.registerTransform(rF)})),Qm((function(t){t.registerComponentModel(oF),t.registerComponentView(aF)})),Qm((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,i){V(so(i.seriesTransition),(function(t){V(so(t.to),(function(t){for(var e=i.updatedSeries,n=0;n<e.length;n++)(null!=t.seriesIndex&&t.seriesIndex===e[n].seriesIndex||null!=t.seriesId&&t.seriesId===e[n].id)&&(e[n].__universalTransitionEnabled=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,i){var n=FF(e);if(n.oldSeries&&i.updatedSeries&&i.optionChanged){var r=i.seriesTransition;if(r)V(so(r),(function(t){!function(t,e,i,n){var r=[],o=[];V(so(t.from),(function(t){var i=QF(e.oldSeries,t);i>=0&&r.push({dataGroupId:e.oldDataGroupIds[i],data:e.oldData[i],divide:ZF(e.oldData[i]),dim:t.dimension})})),V(so(t.to),(function(t){var n=QF(i.updatedSeries,t);if(n>=0){var r=i.updatedSeries[n].getData();o.push({dataGroupId:e.oldDataGroupIds[n],data:r,divide:ZF(r),dim:t.dimension})}})),r.length>0&&o.length>0&&$F(r,o,n)}(t,n,i,e)}));else{var o=function(t,e){var i=_t(),n=_t(),r=_t();return V(t.oldSeries,(function(e,i){var o=t.oldDataGroupIds[i],a=t.oldData[i],s=UF(e),l=YF(s);n.set(l,{dataGroupId:o,data:a}),Y(s)&&V(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),V(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=UF(t),s=YF(a),l=n.get(s);if(l)i.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:ZF(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:ZF(o),data:o}]});else if(Y(a)){var u=[];V(a,(function(t){var e=n.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:ZF(e.data),data:e.data})})),u.length&&i.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:ZF(o)}]})}else{var c=r.get(a);if(c){var d=i.get(c.key);d||(d={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:ZF(c.data)}],newSeries:[]},i.set(c.key,d)),d.newSeries.push({dataGroupId:e,data:o,divide:ZF(o)})}}}})),i}(n,i);V(o.keys(),(function(t){var i=o.get(t);$F(i.oldSeries,i.newSeries,e)}))}V(i.updatedSeries,(function(t){t.__universalTransitionEnabled&&(t.__universalTransitionEnabled=!1)}))}for(var a=t.getSeries(),s=n.oldSeries=[],l=n.oldDataGroupIds=[],u=n.oldData=[],c=0;c<a.length;c++){var d=a[c].getData();d.count()<1e4&&(s.push(a[c]),l.push(a[c].get("dataGroupId")),u.push(d))}}))})),Qm((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,i){var n=qx(e).labelManager;n||(n=qx(e).labelManager=new Xx),n.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,i){var n=qx(e).labelManager;i.updatedSeries.forEach((function(t){n.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),n.updateLayoutConfig(e),n.layout(e),n.processLabelsOverall()}))})),t.Axis=hx,t.ChartView=qp,t.ComponentModel=dh,t.ComponentView=Yp,t.List=wy,t.Model=ld,t.PRIORITY=jv,t.SeriesModel=Vp,t.color=en,t.connect=function(t){if(Y(t)){var e=t;t=null,V(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+Im++,V(e,(function(e){e.group=t}))}return Mm[t]=!0,t},t.dataTool={},t.dependencies={zrender:"5.4.1"},t.disConnect=Dm,t.disconnect=km,t.dispose=function(t){Q(t)?t=Cm[t]:t instanceof fm||(t=Lm(t)),t instanceof fm&&!t.isDisposed()&&t.dispose()},t.env=a,t.extendChartView=function(t){var e=qp.extend(t);return qp.registerClass(e),e},t.extendComponentModel=function(t){var e=dh.extend(t);return dh.registerClass(e),e},t.extendComponentView=function(t){var e=Yp.extend(t);return Yp.registerClass(e),e},t.extendSeriesModel=function(t){var e=Vp.extend(t);return Vp.registerClass(e),e},t.format=ix,t.getCoordinateSystemDimensions=function(t){var e=$h.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},t.getInstanceByDom=Lm,t.getInstanceById=function(t){return Cm[t]},t.getMap=function(t){var e=Fv("getMap");return e&&e(t)},t.graphic=ex,t.helper=V_,t.init=function(t,e,i){var n=!(i&&i.ssr);if(n){var r=Lm(t);if(r)return r}var o=new fm(t,e,i);return o.id="ec_"+Tm++,Cm[o.id]=o,n&&Io(t,Am,o.id),lm(o),zv.trigger("afterinit",o),o},t.innerDrawElementOnCanvas=Lv,t.matrix=Ae,t.number=J_,t.parseGeoJSON=K_,t.parseGeoJson=K_,t.registerAction=zm,t.registerCoordinateSystem=Vm,t.registerLayout=Fm,t.registerLoading=Wm,t.registerLocale=gd,t.registerMap=$m,t.registerPostInit=Em,t.registerPostUpdate=Nm,t.registerPreprocessor=Om,t.registerProcessor=Rm,t.registerTheme=Pm,t.registerTransform=Um,t.registerUpdateLifecycle=Bm,t.registerVisual=jm,t.setCanvasCreator=function(t){p({createCanvas:t})},t.setPlatformAPI=p,t.throttle=ag,t.time=tx,t.use=Qm,t.util=nx,t.vector=Zt,t.version="5.4.1",t.zrUtil=Tt,t.zrender=Rr,Object.defineProperty(t,"__esModule",{value:!0})}))}).call(this,i("f3b9")["default"],i("12e3").Buffer)},f041:function(t,e,i){"use strict";i.r(e);var n=i("b106"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},f05d:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"}}},f140:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"body_info_components",props:{key_name:{type:String,default:"BMI"},value:{type:Number,default:0}},data:function(){return{open:!1,colorArr:["#5990f5","#29ce70","#fcb041","#fa6820","#1da30f"],icon_info:{},bodyDataExample:{BMI:{name:"BMI",tags:[{name:"\u504f\u7626",colorIdx:0,val:18.5,icon_key:"icon-down-arrow"},{name:"\u5b8c\u7f8e",colorIdx:1,val:24,icon_key:"icon-success"},{name:"\u8d85\u91cd",colorIdx:2,val:28,icon_key:"icon-up-arrow"},{name:"\u80a5\u80d6",colorIdx:3,val:0,icon_key:"icon-up-arrow"}],unit:"",icon:"https://img.agrimedia.cn/-_BMI-tuya.png"},bodyFatPercentage:{name:"\u4f53\u8102\u7387",tags:[{name:"\u504f\u7626",colorIdx:0,val:18,icon_key:"icon-down-arrow"},{name:"\u5b8c\u7f8e",colorIdx:1,val:23,icon_key:"icon-success"},{name:"\u8d85\u91cd",colorIdx:2,val:30,icon_key:"icon-up-arrow"},{name:"\u80a5\u80d6",colorIdx:3,val:0,icon_key:"icon-up-arrow"}],unit:"%",icon:"https://img.agrimedia.cn/%E4%BD%93%E8%84%82%E7%8E%871-tuya.png"},leanBodyMass:{name:"\u53bb\u8102\u4f53\u91cd",tags:[{name:"\u4f4e",colorIdx:0,val:45.8,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:55.9,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"\u5343\u514b",icon:"https://img.agrimedia.cn/%E5%8E%BB%E8%84%82%E4%BD%93%E9%87%8D-tuya.png"},muscleRate:{name:"\u808c\u8089\u7387",tags:[{name:"\u4f4e",colorIdx:0,val:68.1,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:84.8,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"%",icon:"https://img.agrimedia.cn/Surgery-tuya.png"},muscleMass:{name:"\u808c\u8089\u91cf",tags:[{name:"\u4f4e",colorIdx:0,val:40.8,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:50.8,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"\u5343\u514b",icon:"https://img.agrimedia.cn/watch-app/exercise-tuya.png"},subcutaneousFat:{name:"\u76ae\u4e0b\u8102\u80aa",tags:[{name:"\u4f4e",colorIdx:0,val:8.6,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:16.7,icon_key:"icon-success"},{name:"\u9ad8",colorIdx:2,val:0,icon_key:"icon-up-arrow"}],unit:"%",icon:"https://img.agrimedia.cn/008%E7%9A%AE%E4%B8%8B%E8%84%82%E8%82%AA-tuya.png"},bodyMoisture:{name:"\u4f53\u5185\u6c34\u5206",tags:[{name:"\u4f4e",colorIdx:0,val:53.4,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:66.6,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-up-arrow"}],unit:"%",icon:"https://img.agrimedia.cn/watch-app/%E6%B0%B42-tuya.png"},skeletalMuscleRate:{name:"\u9aa8\u9abc\u808c",tags:[{name:"\u4f4e",colorIdx:0,val:25,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:35,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"%",icon:"https://img.agrimedia.cn/watch-app/%E9%AA%A8%E9%AA%BC%E8%82%8C%E7%8E%87-tuya.png"},boneMass:{name:"\u9aa8\u91cd",tags:[{name:"\u4f4e",colorIdx:0,val:2.9,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:3.7,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-up-arrow"}],unit:"\u5343\u514b",icon:"https://img.agrimedia.cn/%E9%AA%A8%E9%87%8D.png"},proteinAmount:{name:"\u86cb\u767d\u8d28",tags:[{name:"\u4f4e",colorIdx:0,val:14.1,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:17.7,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-up-arrow"}],unit:"%",icon:"https://img.agrimedia.cn/%E8%9B%8B%E7%99%BD%E8%B4%A8-tuya.png"},basalMetabolicRate:{name:"\u57fa\u7840\u4ee3\u8c22",tags:[{name:"\u4f4e",colorIdx:0,val:1619,icon_key:"icon-down-arrow"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"\u5343\u5361",icon:"https://img.agrimedia.cn/%E5%9F%BA%E7%A1%80%E4%BB%A3%E8%B0%A2.png"}}}},mounted:function(){},methods:{look:function(){this.open=!this.open},getKeyInfo:function(t){var e={},i=this.bodyDataExample[this.key_name].tags;return i.map((function(n,r){0==r?t<n.val&&(e=n,e.prev_val=0,e.idx=r,e.margin=(t/(n.val-0)*100).toString()+"%"):t>=i[r-1].val&&(t<n.val||0==n.val)&&(e=n,e.prev_val=i[r-1].val,e.idx=r,0==n.val?e.margin="20%":e.margin=((t-i[r-1].val)/(n.val-i[r-1].val)*100).toString()+"%")})),e}}};e.default=n},f175:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:function(){return{fontSize:"15px"}},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal"}}},f2c4:function(t,e,i){"use strict";i.r(e);var n=i("22d7"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},f2c9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={search:{shape:"round",bgColor:"#f2f2f2",placeholder:"\u8bf7\u8f93\u5165\u5173\u952e\u5b57",clearabled:!0,focus:!1,showAction:!0,actionStyle:function(){return{}},actionText:"\u641c\u7d22",inputAlign:"left",inputStyle:function(){return{}},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null}}},f3b9:function(t,e,i){"use strict";function n(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function r(){return"string"===typeof __channelId__&&__channelId__}function o(t,e){switch(n(e)){case"Function":return"function() { [native code] }";default:return e}}function a(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];console[t].apply(console,i)}function s(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var a=e.shift();if(r())return e.push(e.pop().replace("at ","uni-app:///")),console[a].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,o)+"---END:JSON---"}catch(r){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var i=n(t).toUpperCase();t="NUMBER"===i||"BOOLEAN"===i?"---BEGIN:"+i+"---"+t+"---END:"+i+"---":String(t)}return t})),l="";if(s.length>1){var u=s.pop();l=s.join("---COMMA---"),0===u.indexOf(" at ")?l+=u:l+="---COMMA---"+u}else l=s[0];console[a](l)}i.r(e),i.d(e,"log",(function(){return a})),i.d(e,"default",(function(){return s}))},f4d8:function(t,e,i){"use strict";i.r(e);var n=i("56e6"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},f507:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","tabbar"),style:t._$s(0,"s",{"padding-bottom":t.paddingBottomHeight+"rpx"}),attrs:{_i:0}},t._l(t._$s(1,"f",{forItems:t.list}),(function(e,n,r,o){return i("view",{key:t._$s(1,"f",{forIndex:r,key:n}),staticClass:t._$s("1-"+o,"sc","tabbar-item"),class:t._$s("1-"+o,"c",t.current==n?"name-active":""),attrs:{_i:"1-"+o},on:{click:function(i){return t.tabbarChange(e.path)}}},[i("view",{staticClass:t._$s("2-"+o,"sc","image-wrap"),attrs:{_i:"2-"+o}},[i("view",{staticClass:t._$s("3-"+o,"sc","name"),attrs:{_i:"3-"+o}},[t._v(t._$s("3-"+o,"t0-0",t._s(e.text)))])])])})),0)},r=[]},f527:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={avatarGroup:{urls:function(){return[]},maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0}}},f52a:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","punch-calendar-wrapper"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","calendar"),attrs:{_i:1}},[n("view",{staticClass:t._$s(2,"sc","top flex-bt padding-32"),attrs:{_i:2}},[n("view",{staticClass:t._$s(3,"sc","prev flex-center"),attrs:{_i:3},on:{click:function(e){return t.switchMonth("prev")}}},[n("image",{staticClass:t._$s(4,"sc","icon"),attrs:{src:t._$s(4,"a-src",i("805e")),_i:4}})]),n("text",[t._v(t._$s(5,"t0-0",t._s(t.calendarConfig.yearAndMonth)))]),n("view",{staticClass:t._$s(6,"sc","next flex-center"),attrs:{_i:6},on:{click:function(e){return t.switchMonth("next")}}},[n("image",{staticClass:t._$s(7,"sc","icon"),attrs:{src:t._$s(7,"a-src",t.nextIconStyle),_i:7}})])]),n("view",{staticClass:t._$s(8,"sc","center"),attrs:{_i:8}},[n("view",{staticClass:t._$s(9,"sc","week flex-bt"),attrs:{_i:9}},t._l(t._$s(10,"f",{forItems:t.calendarConfig.week}),(function(e,i,r,o){return n("view",{key:t._$s(10,"f",{forIndex:r,key:e}),staticClass:t._$s("10-"+o,"sc","items"),attrs:{_i:"10-"+o}},[t._v(t._$s("10-"+o,"t0-0",t._s(e)))])})),0),n("view",{staticClass:t._$s(11,"sc","day"),attrs:{_i:11}},[t._l(t._$s(12,"f",{forItems:t.calendarConfig.day}),(function(e,i,r,o){return[t._$s("13-"+o,"i",e.open)?n("view",{key:t._$s(12,"f",{forIndex:r,keyIndex:0,key:i}),staticClass:t._$s("13-"+o,"sc","flex-start"),attrs:{_i:"13-"+o}},t._l(t._$s("14-"+o,"f",{forItems:e.list}),(function(i,r,a,s){return n("view",{key:t._$s("14-"+o,"f",{forIndex:a,key:r}),staticClass:t._$s("14-"+o+"-"+s,"sc","items flex-center"),class:t._$s("14-"+o+"-"+s,"c",[i.tag]),attrs:{_i:"14-"+o+"-"+s}},[n("text",{class:t._$s("15-"+o+"-"+s,"c",[i.className,i.active]),attrs:{_i:"15-"+o+"-"+s},on:{click:function(n){return t.chooseDay(e,i)}}},[t._v(t._$s("15-"+o+"-"+s,"t0-0",t._s(i.value)))])])})),0):t._e()]}))],2)]),n("view",{staticClass:t._$s(16,"sc","bottom flex-center"),attrs:{_i:16},on:{click:t.fold}},[n("image",{staticClass:t._$s(17,"sc","icon"),class:t._$s(17,"c",[t.calendarConfig.fold?"":"active"]),attrs:{src:t._$s(17,"a-src",i("72e5")),_i:17}})])])])},r=[]},f5c0:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("0232")),o=n(i("c675")),a=n(i("ae76")),s={en:r.default,"zh-Hans":o.default,"zh-Hant":a.default};e.default=s},f5ec:function(t,e,i){t.exports=i.p+"static/image/1722482824117.jpg"},f61b:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={noticeBar:{text:function(){return[]},direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo"}}},f664:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("34cf")),o=n(i("af34")),a=n(i("cf91")),s=n(i("2488")),l=n(i("cc03")),u=n(i("ee4f")),c={props:{defaultPageNo:{type:[Number,String],default:a.default.gc("defaultPageNo",1),observer:function(t){this.pageNo=t}},defaultPageSize:{type:[Number,String],default:a.default.gc("defaultPageSize",10),validator:function(t){return t<=0&&a.default.consoleErr("default-page-size\u5fc5\u987b\u5927\u4e8e0\uff01"),t>0}},dataKey:{type:[Number,String,Object],default:a.default.gc("dataKey",null)},useCache:{type:Boolean,default:a.default.gc("useCache",!1)},cacheKey:{type:String,default:a.default.gc("cacheKey",null)},cacheMode:{type:String,default:a.default.gc("cacheMode",l.default.CacheMode.Default)},autowireListName:{type:String,default:a.default.gc("autowireListName","")},autowireQueryName:{type:String,default:a.default.gc("autowireQueryName","")},fetch:{type:Function,default:null},fetchParams:{type:Object,default:a.default.gc("fetchParams",null)},auto:{type:Boolean,default:a.default.gc("auto",!0)},reloadWhenRefresh:{type:Boolean,default:a.default.gc("reloadWhenRefresh",!0)},autoScrollToTopWhenReload:{type:Boolean,default:a.default.gc("autoScrollToTopWhenReload",!0)},autoCleanListWhenReload:{type:Boolean,default:a.default.gc("autoCleanListWhenReload",!0)},showRefresherWhenReload:{type:Boolean,default:a.default.gc("showRefresherWhenReload",!1)},showLoadingMoreWhenReload:{type:Boolean,default:a.default.gc("showLoadingMoreWhenReload",!1)},createdReload:{type:Boolean,default:a.default.gc("createdReload",!1)},localPagingLoadingTime:{type:[Number,String],default:a.default.gc("localPagingLoadingTime",200)},concat:{type:Boolean,default:a.default.gc("concat",!0)},callNetworkReject:{type:Boolean,default:a.default.gc("callNetworkReject",!0)},value:{type:Array,default:function(){return[]}}},data:function(){return{currentData:[],totalData:[],realTotalData:[],totalLocalPagingList:[],dataPromiseResultMap:{reload:null,complete:null,localPaging:null},isSettingCacheList:!1,pageNo:1,currentRefreshPageSize:0,isLocalPaging:!1,isAddedData:!1,isTotalChangeFromAddData:!1,privateConcat:!0,myParentQuery:-1,firstPageLoaded:!1,pagingLoaded:!1,loaded:!1,isUserReload:!0,fromEmptyViewReload:!1,queryFrom:"",listRendering:!1,isHandlingRefreshToPage:!1,isFirstPageAndNoMore:!1,totalDataChangeThrow:!0}},computed:{pageSize:function(){return this.defaultPageSize},finalConcat:function(){return this.concat&&this.privateConcat},finalUseCache:function(){return this.useCache&&!this.cacheKey&&a.default.consoleErr("use-cache\u4e3atrue\u65f6\uff0c\u5fc5\u987b\u8bbe\u7f6ecache-key\uff0c\u5426\u5219\u7f13\u5b58\u65e0\u6548\uff01"),this.useCache&&!!this.cacheKey},finalCacheKey:function(){return this.cacheKey?"".concat(s.default.cachePrefixKey,"-").concat(this.cacheKey):null},isFirstPage:function(){return this.pageNo===this.defaultPageNo}},watch:{totalData:function(t,e){this._totalDataChange(t,e,this.totalDataChangeThrow),this.totalDataChangeThrow=!0},currentData:function(t,e){this._currentDataChange(t,e)},useChatRecordMode:function(t,e){t&&(this.nLoadingMoreFixedHeight=!1)},value:{handler:function(t){t!==this.totalData&&(this.totalDataChangeThrow=!1,this.totalData=t)},immediate:!0}},methods:{complete:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.customNoMore=-1,this.addData(t,e)},completeByKey:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return null!==e&&null!==this.dataKey&&e!==this.dataKey?(this.isFirstPage&&this.endRefresh(),new Promise((function(t){return t()}))):(this.customNoMore=-1,this.addData(t,i))},completeByTotal:function(t,e){var i=this,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if("undefined"==e)this.customNoMore=-1;else{var r=this._checkDataType(t,n,!1);if(t=r.data,n=r.success,e>=0&&n)return new Promise((function(r,o){i.$nextTick((function(){var a=!1,s=i.pageNo==i.defaultPageNo?0:i.realTotalData.length,l=i.privateConcat?t.length:0,u=s+l-e;u>=0&&(a=!0,u=i.defaultPageSize-u,i.privateConcat&&u>0&&u<t.length&&(t=t.splice(0,u))),i.completeByNoMore(t,a,n).then((function(t){return r(t)})).catch((function(){return o()}))}))}))}return this.addData(t,n)},completeByNoMore:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"undefined"!=e&&(this.customNoMore=1==e?1:0),this.addData(t,i)},completeByError:function(t){return this.customerEmptyViewErrorText=t,this.complete(!1)},addData:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.fromCompleteEmit||(this.disabledCompleteEmit=!0,this.fromCompleteEmit=!1);var n=a.default.getTime(),r=n-this.requestTimeStamp,o=this.minDelay;this.isFirstPage&&this.finalShowRefresherWhenReload&&(o=Math.max(400,o));var s=this.requestTimeStamp>0&&r<o?o-r:0;return this.$nextTick((function(){a.default.delay((function(){e._addData(t,i,!1)}),e.delay>0?e.delay:s)})),new Promise((function(t,i){e.dataPromiseResultMap.complete={resolve:t,reject:i}}))},addDataFromTop:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!this.isChatRecordModeAndNotInversion;t="[object Array]"!==Object.prototype.toString.call(t)?[t]:r?t.reverse():t,this.finalUseVirtualList&&this._setCellIndex(t,"top"),this.totalData=r?[].concat((0,o.default)(t),(0,o.default)(this.totalData)):[].concat((0,o.default)(this.totalData),(0,o.default)(t)),i&&a.default.delay((function(){return e.useChatRecordMode?e.scrollToBottom(n):e.scrollToTop(n)}))},resetTotalData:function(t){this.isTotalChangeFromAddData=!0,t="[object Array]"!==Object.prototype.toString.call(t)?[t]:t,this.totalData=t},setLocalPaging:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.isLocalPaging=!0,this.$nextTick((function(){e._addData(t,i,!0)})),new Promise((function(t,i){e.dataPromiseResultMap.localPaging={resolve:t,reject:i}}))},reload:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showRefresherWhenReload;return e&&(this.privateShowRefresherWhenReload=e,this.isUserPullDown=!0),this.showLoadingMoreWhenReload||(this.listRendering=!0),this.$nextTick((function(){t._preReload(e,!1)})),new Promise((function(e,i){t.dataPromiseResultMap.reload={resolve:e,reject:i}}))},refresh:function(){return this._handleRefreshWithDisPageNo(this.pageNo-this.defaultPageNo+1)},refreshToPage:function(t){return this.isHandlingRefreshToPage=!0,this._handleRefreshWithDisPageNo(t+this.defaultPageNo-1)},updateCache:function(){this.finalUseCache&&this.totalData.length&&this._saveLocalCache(this.totalData.slice(0,Math.min(this.totalData.length,this.pageSize)))},clean:function(){this._reload(!0),this._addData([],!0,!1)},clear:function(){this.clean()},_preReload:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showRefresherWhenReload,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.finalRefresherEnabled&&this.useCustomRefresher;-1===this.customRefresherHeight&&r?a.default.delay((function(){n++,n%10===0&&t._updateCustomRefresherHeight(),t._preReload(e,i,n)}),s.default.delayTime/2):(this.isUserReload=!0,this.loadingType=l.default.LoadingType.Refresher,e?(this.privateShowRefresherWhenReload=e,this.useCustomRefresher?this._doRefresherRefreshAnimate():this.refresherTriggered=!0):this._refresherEnd(!1,!1,!1,!1),this._reload(!1,i))},_reload:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.isAddedData=!1,this.insideOfPaging=-1,this.cacheScrollNodeHeight=-1,this.pageNo=this.defaultPageNo,this._cleanRefresherEndTimeout(),!this.privateShowRefresherWhenReload&&!t&&this._startLoading(!0),this.firstPageLoaded=!0,this.isTotalChangeFromAddData=!1,this.isSettingCacheList||(this.totalData=[]),!t){this._emitQuery(this.pageNo,this.defaultPageSize,i?l.default.QueryFrom.UserPullDown:l.default.QueryFrom.Reload);var n=0;if(a.default.delay(this._callMyParentQuery,n),!e&&this.autoScrollToTopWhenReload){var r=!0;r&&this._scrollToTop(!1)}}},_addData:function(t,e,i){var n=this;this.isAddedData=!0,this.fromEmptyViewReload=!1,this.isTotalChangeFromAddData=!0,this.refresherTriggered=!1,this._endSystemLoadingAndRefresh();var r=this.isUserPullDown;this.showRefresherUpdateTime&&this.isFirstPage&&(a.default.setRefesrherTime(a.default.getTime(),this.refresherUpdateTimeKey),this.$refs.refresh&&this.$refs.refresh.updateTime()),!i&&r&&this.isFirstPage&&(this.isUserPullDown=!1),this.isFirstPage?this.listRendering=!1:(this.listRendering=!0,this.$nextTick((function(){a.default.delay((function(){return n.listRendering=!1}))})));var o=this._checkDataType(t,e,i);t=o.data,e=o.success;var u=s.default.delayTime;if(this.useChatRecordMode&&(u=0),this.loadingForNow=!1,a.default.delay((function(){n.pagingLoaded=!0,n.$nextTick((function(){!i&&n._refresherEnd(u>0,!0,r)}))})),this.isFirstPage&&(this.isLoadFailed=!e,this.$emit("isLoadFailedChange",this.isLoadFailed),this.finalUseCache&&e&&(this.cacheMode===l.default.CacheMode.Always||this.isSettingCacheList)&&this._saveLocalCache(t)),this.isSettingCacheList=!1,e){if((!1!==this.privateConcat||this.isHandlingRefreshToPage||this.loadingStatus!==l.default.More.NoMore)&&(this.loadingStatus=l.default.More.Default),i){this.totalLocalPagingList=t;var c=this.defaultPageNo,d=this.queryFrom!==l.default.QueryFrom.Refresh?this.defaultPageSize:this.currentRefreshPageSize;this._localPagingQueryList(c,d,0,(function(t){n.completeByTotal(t,n.totalLocalPagingList.length)}))}else{a.default.delay((function(){n._currentDataChange(t,n.currentData),n._callDataPromise(!0,n.totalData)}),0)}this.isHandlingRefreshToPage&&(this.isHandlingRefreshToPage=!1,this.pageNo=this.defaultPageNo+Math.ceil(t.length/this.pageSize)-1,t.length%this.pageSize!==0&&(this.customNoMore=1))}else this._currentDataChange(t,this.currentData),this._callDataPromise(!1),this.loadingStatus=l.default.More.Fail,this.isHandlingRefreshToPage=!1,this.loadingType===l.default.LoadingType.LoadingMore&&this.pageNo--},_totalDataChange:function(t,e){var i=this,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(this.isUserReload&&this.autoCleanListWhenReload||!this.firstPageLoaded||t.length||!e.length)&&(this._doCheckScrollViewShouldFullHeight(t),this.realTotalData.length||t.length||(n=!1),this.realTotalData=t,n&&(this.$emit("input",t),this.$emit("update:list",t),this.$emit("listChange",t),this._callMyParentList(t)),this.firstPageLoaded=!1,this.isTotalChangeFromAddData=!1,this.$nextTick((function(){a.default.delay((function(){i._getNodeClientRect(".zp-paging-container-content").then((function(t){t&&i.$emit("contentHeightChanged",t[0].height)}))}),s.default.delayTime*(i.isIos?1:3))})))},_currentDataChange:function(t,e){if(t=(0,o.default)(t),this.finalUseVirtualList&&this._setCellIndex(t,"bottom"),this.isFirstPage&&this.finalConcat&&(this.totalData=[]),-1!==this.customNoMore?(1===this.customNoMore||0!==this.customNoMore&&!t.length)&&(this.loadingStatus=l.default.More.NoMore):(!t.length||t.length&&t.length<this.defaultPageSize)&&(this.loadingStatus=l.default.More.NoMore),this.totalData.length)if(this.finalConcat){this.oldScrollTop;this.totalData=[].concat((0,o.default)(this.totalData),(0,o.default)(t))}else this.totalData=t;else this.totalData=t;this.privateConcat=!0},_handleRefreshWithDisPageNo:function(t){var e=this;if(!this.isHandlingRefreshToPage&&!this.realTotalData.length)return this.reload();if(t>=1){this.loading=!0,this.privateConcat=!1;var i=t*this.pageSize;this.currentRefreshPageSize=i,this.isLocalPaging&&this.isHandlingRefreshToPage?this._localPagingQueryList(this.defaultPageNo,i,0,(function(t){e.complete(t)})):(this._emitQuery(this.defaultPageNo,i,l.default.QueryFrom.Refresh),this._callMyParentQuery(this.defaultPageNo,i))}return new Promise((function(t,i){e.dataPromiseResultMap.reload={resolve:t,reject:i}}))},_localPagingQueryList:function(t,e,i,n){t=Math.max(1,t),e=Math.max(1,e);var r=(0,o.default)(this.totalLocalPagingList),s=(t-1)*e,l=Math.min(r.length,s+e),u=r.splice(s,l-s);a.default.delay((function(){return n(u)}),i)},_saveLocalCache:function(t){uni.setStorageSync(this.finalCacheKey,t)},_setListByLocalCache:function(){this.totalData=uni.getStorageSync(this.finalCacheKey)||[],this.isSettingCacheList=!0},_callMyParentList:function(t){if(this.autowireListName.length){var e=a.default.getParent(this.$parent);e&&e[this.autowireListName]&&(e[this.autowireListName]=t)}},_callMyParentQuery:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.autowireQueryName){if(-1===this.myParentQuery){var i=a.default.getParent(this.$parent);i&&i[this.autowireQueryName]&&(this.myParentQuery=i[this.autowireQueryName])}-1!==this.myParentQuery&&(e>0?this.myParentQuery(t,e):this.myParentQuery(this.pageNo,this.defaultPageSize))}},_emitQuery:function(t,e,i){var n=this;this.queryFrom=i,this.requestTimeStamp=a.default.getTime();var s=this.realTotalData.slice(-1),l=(0,r.default)(s,1),c=l[0];if(this.fetch){var d=u.default._handleFetchParams({pageNo:t,pageSize:e,from:i,lastItem:c||null},this.fetchParams),h=this.fetch(d);u.default._handleFetchResult(h,this,d)||(a.default.isPromise(h)?h.then((function(t){n.complete(t)})).catch((function(t){n.complete(!1)})):this.complete(h))}else this.$emit.apply(this,["query"].concat((0,o.default)(u.default._handleQuery(t,e,i,c||null))))},_callDataPromise:function(t,e){for(var i in this.dataPromiseResultMap){var n=this.dataPromiseResultMap[i];n&&(t?n.resolve({totalList:e,noMore:this.loadingStatus===l.default.More.NoMore}):this.callNetworkReject&&n.reject("z-paging-".concat(i,"-error")))}},_checkDataType:function(t,e,i){var n=Object.prototype.toString.call(t);return"[object Boolean]"===n?(e=t,t=[]):"[object Array]"!==n&&(t=[],"[object Undefined]"!==n&&"[object Null]"!==n&&a.default.consoleErr("".concat(i?"setLocalPaging":"complete","\u53c2\u6570\u7c7b\u578b\u4e0d\u6b63\u786e\uff0c\u7b2c\u4e00\u4e2a\u53c2\u6570\u7c7b\u578b\u5fc5\u987b\u4e3aArray!"))),{data:t,success:e}}}};e.default=c},f6a7:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",{class:t._$s(1,"c",t.showUpdateTime?"zp-r-container zp-r-container-padding":"zp-r-container"),attrs:{_i:1}},[i("view",{staticClass:t._$s(2,"sc","zp-r-left"),attrs:{_i:2}},[t._$s(3,"i",t.status!==t.R.Loading)?i("image",{class:t._$s(3,"c",t.leftImageClass),style:t._$s(3,"s",[t.leftImageStyle,t.imgStyle]),attrs:{src:t._$s(3,"a-src",t.leftImageSrc),_i:3}}):i("image",{class:t._$s(4,"c",{"zp-line-loading-image":t.refreshingAnimated,"zp-r-left-image":!0,"zp-r-left-image-pre-size-rpx":"rpx"===t.unit,"zp-r-left-image-pre-size-px":"px"===t.unit}),style:t._$s(4,"s",[t.leftImageStyle,t.imgStyle]),attrs:{src:t._$s(4,"a-src",t.leftImageSrc),_i:4}})]),i("view",{staticClass:t._$s(5,"sc","zp-r-right"),attrs:{_i:5}},[i("text",{staticClass:t._$s(6,"sc","zp-r-right-text"),style:t._$s(6,"s",[t.rightTextStyle,t.titleStyle]),attrs:{_i:6}},[t._v(t._$s(6,"t0-0",t._s(t.currentTitle)))]),t._$s(7,"i",t.showUpdateTime&&t.refresherTimeText.length)?i("text",{staticClass:t._$s(7,"sc","zp-r-right-text"),class:t._$s(7,"c",{"zp-r-right-time-text-rpx":"rpx"===t.unit,"zp-r-right-time-text-px":"px"===t.unit}),style:t._$s(7,"s",[{color:t.zTheme.title[t.ts]},t.updateTimeStyle]),attrs:{_i:7}},[t._v(t._$s(7,"t0-0",t._s(t.refresherTimeText)))]):t._e()])])])},r=[]},f6fb:function(t,e,i){t.exports=i.p+"static/icon/xindiantu.png"},f859:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.utf16toEntities=e.userLeave=e.trimSpace=e.timestampToTime=e.timeChange=e.saveImg=e.md5=e.makeSign=e.isDateTimeBetween=e.goPath=e.getVersion=e.getSunmiSerial=e.getPwd=e.getBodyKeyInfo=e.getBodyInfoData=e.getArrMaxValue=e.default=e.copyThis=e.base64ToBlob=e.back=e.areAllIdsEmpty=e.EasyPay=e.DeviceType=void 0;var r=n(i("3b2d")),o=n(i("1379")),a=(n(i("bd30")),function(t){uni.setClipboardData({data:t,success:function(){uni.showToast({title:"\u590d\u5236\u6210\u529f"})}})});e.copyThis=a;var s=function(e,i){uni.navigateTo({url:e,fail:function(e){t("log",e," at utils/utils.js:19")}})};e.goPath=s;var l=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;e=parseInt(e);var i="";switch(e){case 0:i=o.default.hex_md5_16(t);break;case 1:i=o.default.hex_md5_16Upper(t);break;case 2:i=o.default.hex_md5_32(t);break;case 3:i=o.default.hex_md5_32Upper(t);break}return i};e.md5=l;var u=function(t){return""==t?"":l("bmsc-"+t)};e.getPwd=u;var c=function(){var t,e=uni.getSystemInfoSync();return t=e.appWgtVersion,t};e.getVersion=c;var d=function(){uni.navigateBack({delta:1})};e.back=d;var h=function(){return{BMI:{name:"BMI",tags:[{name:"\u504f\u7626",colorIdx:0,val:18.5,icon_key:"icon-down-arrow"},{name:"\u5b8c\u7f8e",colorIdx:1,val:24,icon_key:"icon-success"},{name:"\u8d85\u91cd",colorIdx:2,val:28,icon_key:"icon-up-arrow"},{name:"\u80a5\u80d6",colorIdx:3,val:0,icon_key:"icon-up-arrow"}],unit:"",icon:"https://img.agrimedia.cn/-_BMI-tuya.png"},bodyFatPercentage:{name:"\u4f53\u8102\u7387",tags:[{name:"\u504f\u7626",colorIdx:0,val:18,icon_key:"icon-down-arrow"},{name:"\u5b8c\u7f8e",colorIdx:1,val:23,icon_key:"icon-success"},{name:"\u8d85\u91cd",colorIdx:2,val:30,icon_key:"icon-up-arrow"},{name:"\u80a5\u80d6",colorIdx:3,val:0,icon_key:"icon-up-arrow"}],unit:"%",icon:"https://img.agrimedia.cn/%E4%BD%93%E8%84%82%E7%8E%871-tuya.png"},leanBodyMass:{name:"\u53bb\u8102\u4f53\u91cd",tags:[{name:"\u4f4e",colorIdx:0,val:45.8,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:55.9,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"\u5343\u514b",icon:"https://img.agrimedia.cn/%E5%8E%BB%E8%84%82%E4%BD%93%E9%87%8D-tuya.png"},muscleRate:{name:"\u808c\u8089\u7387",tags:[{name:"\u4f4e",colorIdx:0,val:68.1,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:84.8,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"%",icon:"https://img.agrimedia.cn/Surgery-tuya.png"},muscleMass:{name:"\u808c\u8089\u91cf",tags:[{name:"\u4f4e",colorIdx:0,val:40.8,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:50.8,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"\u5343\u514b",icon:"https://img.agrimedia.cn/watch-app/exercise-tuya.png"},subcutaneousFat:{name:"\u76ae\u4e0b\u8102\u80aa",tags:[{name:"\u4f4e",colorIdx:0,val:8.6,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:16.7,icon_key:"icon-success"},{name:"\u9ad8",colorIdx:2,val:0,icon_key:"icon-up-arrow"}],unit:"%",icon:"https://img.agrimedia.cn/008%E7%9A%AE%E4%B8%8B%E8%84%82%E8%82%AA-tuya.png"},bodyMoisture:{name:"\u4f53\u5185\u6c34\u5206",tags:[{name:"\u4f4e",colorIdx:0,val:53.4,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:66.6,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-up-arrow"}],unit:"%",icon:"https://img.agrimedia.cn/watch-app/%E6%B0%B42-tuya.png"},skeletalMuscleRate:{name:"\u9aa8\u9abc\u808c",tags:[{name:"\u4f4e",colorIdx:0,val:25,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:35,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"%",icon:"https://img.agrimedia.cn/watch-app/%E9%AA%A8%E9%AA%BC%E8%82%8C%E7%8E%87-tuya.png"},boneMass:{name:"\u9aa8\u91cd",tags:[{name:"\u4f4e",colorIdx:0,val:2.9,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:3.7,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-up-arrow"}],unit:"\u5343\u514b",icon:"https://img.agrimedia.cn/%E9%AA%A8%E9%87%8D.png"},proteinAmount:{name:"\u86cb\u767d\u8d28",tags:[{name:"\u4f4e",colorIdx:0,val:14.1,icon_key:"icon-down-arrow"},{name:"\u6807\u51c6",colorIdx:1,val:17.7,icon_key:"icon-success"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-up-arrow"}],unit:"%",icon:"https://img.agrimedia.cn/%E8%9B%8B%E7%99%BD%E8%B4%A8-tuya.png"},basalMetabolicRate:{name:"\u57fa\u7840\u4ee3\u8c22",tags:[{name:"\u4f4e",colorIdx:0,val:1619,icon_key:"icon-down-arrow"},{name:"\u5b8c\u7f8e",colorIdx:4,val:0,icon_key:"icon-success"}],unit:"\u5343\u5361",icon:"https://img.agrimedia.cn/%E5%9F%BA%E7%A1%80%E4%BB%A3%E8%B0%A2.png"}}};e.getBodyInfoData=h;var f=function(t,e){var i=["#5990f5","#29ce70","#fcb041","#fa6820","#1da30f"],n={},r=h()[e].tags;return r.map((function(e,o){0==o?t<e.val&&(n=e,n.prev_val=0,n.idx=o,n.color=i[o],n.margin=(t/(e.val-0)*100).toString()+"%"):t>=r[o-1].val&&(t<e.val||0==e.val)&&(n=e,n.prev_val=r[o-1].val,n.idx=o,n.color=i[o],0==e.val?n.margin="20%":n.margin=((t-r[o-1].val)/(e.val-r[o-1].val)*100).toString()+"%")})),n};e.getBodyKeyInfo=f;var p=function(t,e){t=JSON.parse(JSON.stringify(t));t.app_key="m58c97",t.timestamp=e;var i=Object.keys(t);i.sort();var n={};i.forEach((function(e,i){n[e]=t[e]}));var o=Object.keys(n),a="";o.forEach((function(t,e){""!==n[t]&&("object"==(0,r.default)(n[t])&&(n[t]=JSON.stringify(n[t])),a+=t+"="+n[t]+"&")})),""!=a&&(a=a.substr(0,a.length-1));var s=l(a+"e9c0a04382655dfgb3c98d11477ad547");return s};e.makeSign=p;var g=function(){var t=uni.getSystemInfoSync().platform;return"ios"==t?"ios":"android"==t?"android":void 0};e.DeviceType=g;var v=function(t,e,i){uni.navigateTo({url:"/pages/user/pay_webview/pay_webview?title=".concat(e,"&urlLink=").concat(encodeURIComponent(t),"&pageType=").concat(i)})};e.EasyPay=v;var m=function(t){var e=[];e.push(t),uni.previewImage({urls:e,longPressActions:{itemList:["\u4fdd\u5b58\u56fe\u7247"],success:function(e){uni.downloadFile({url:t,success:function(t){200==t.statusCode&&uni.saveImageToPhotosAlbum({filePath:t.tempFilePath,success:function(){uni.showToast({title:"\u4fdd\u5b58\u6210\u529f",icon:"success"})}})}})}}})};e.saveImg=m;var y=function(t){for(var e=[],i=0;i<t.length;i++)void 0!==t[i]&&null!==t[i]&&""!==t[i]&&e.push(t[i]);return e};e.trimSpace=y;var _=function(t){t=Date.parse(t.replace(/-/gi,"/"));var e=864e5,i=(new Date).getTime(),n=i-t;if(n<0)return"\u521a\u521a";var r=n/6e4,o=n/36e5,a=n/e,s=n/6048e5,l=n/2592e6,u="2";if(l>=1&&l<=3)u=" "+parseInt(l)+"\u6708\u524d";else if(s>=1&&s<=4)u=" "+parseInt(s)+"\u5468\u524d";else if(a>=1&&a<=6)u=" "+parseInt(a)+"\u5929\u524d";else if(o>=1&&o<=23)u=" "+parseInt(o)+"\u5c0f\u65f6\u524d";else if(r>=1&&r<=59)u=" "+parseInt(r)+"\u5206\u949f\u524d";else if(n>=0&&n<=6e4)u="\u521a\u521a";else{var c=new Date;c.setTime(t);var d=c.getFullYear(),h=c.getMonth()+1<10?"0"+(c.getMonth()+1):c.getMonth()+1,f=c.getDate()<10?"0"+c.getDate():c.getDate();c.getHours()<10?c.getHours():c.getHours(),c.getMinutes()<10?c.getMinutes():c.getMinutes(),c.getSeconds()<10?c.getSeconds():c.getSeconds();u=d+"-"+h+"-"+f}return u};e.timeChange=_;var x=function(t){return t=t.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(t){var e,i,n;return 2===t.length?(e=t.charCodeAt(0),i=t.charCodeAt(1),n=1024*(e-55296)+65536+i-56320,"&#"+n+";"):t})),t};e.utf16toEntities=x;e.base64ToBlob=function(t,e){for(var i=t.split(","),n=i[0].match(/:(.*?);/)[1]||e,r=window.atob(i[1]),o=new ArrayBuffer(r.length),a=new Uint8Array(o),s=0;s<r.length;s++)a[s]=r.charCodeAt(s);return new Blob([o],{type:n})};var b=function(t){return 2==t?"\u7ba1\u7406\u5458":1==t?"\u7fa4\u4e3b":0==t?"\u666e\u901a\u7fa4\u5458":void 0};e.userLeave=b;var w=function(t){var e=new Date(1e3*t),i=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",r=(e.getDate()<10?"0"+e.getDate():e.getDate())+" ",o=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",a=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",s=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return i+n+r+o+a+s};e.timestampToTime=w;var S=function(t,e,i){var n=new Date(t),r=new Date(e),o=new Date(i);return n<=r?o>=n&&o<=r:o>=n||o<=r};e.isDateTimeBetween=S;var C=function(e){for(var i=0;i<e.length;i++)if(t("log",e[i].ids," at utils/utils.js:616"),e[i].ids&&e[i].ids.length>0)return!0};e.areAllIdsEmpty=C;var M=function(){var t="";if(t=uni.getStorageSync("getDeviceSn"),!t){var e=plus.android.importClass("android.os.Build");plus.android.importClass("android.os.SystemProperties");t=e.VERSION.SDK_INT>=e.VERSION_CODES.R||e.VERSION.SDK_INT>=e.VERSION_CODES.O?e.getSerial():e.SERIAL,uni.setStorageSync("getDeviceSn",t)}return t};e.getSunmiSerial=M;var T=function(t){if(!t||0===t.length)return"--";for(var e=t[0],i=1;i<t.length;i++)t[i]>e&&(e=t[i]);return e};e.getArrMaxValue=T;var I={copyThis:a,goPath:s,md5:l,makeSign:p,getPwd:u,DeviceType:g,EasyPay:v,saveImg:m,trimSpace:y,timeChange:_,utf16toEntities:x,userLeave:b,timestampToTime:w,isDateTimeBetween:S,areAllIdsEmpty:C,getArrMaxValue:T,getBodyInfoData:h,getBodyKeyInfo:f,getVersion:c,back:d,getSunmiSerial:M};e.default=I}).call(this,i("f3b9")["default"])},f889:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimation=function(t,e){if(!e)return;return clearTimeout(e.timer),new u(t,e)};var r=n(i("7ca3")),o=n(i("67ad")),a=n(i("0bdb"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u=function(){function t(e,i){(0,o.default)(this,t),this.options=e,this.animation=uni.createAnimation(l({},e)),this.currentStepAnimates={},this.next=0,this.$=i}return(0,a.default)(t,[{key:"_nvuePushAnimates",value:function(t,e){var i=this.currentStepAnimates[this.next],n={};if(n=i||{styles:{},config:{}},c.includes(t)){n.styles.transform||(n.styles.transform="");var r="";"rotate"===t&&(r="deg"),n.styles.transform+="".concat(t,"(").concat(e+r,") ")}else n.styles[t]="".concat(e);this.currentStepAnimates[this.next]=n}},{key:"_animateRun",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.$.$refs["ani"].ref;if(i)return new Promise((function(n,r){nvueAnimation.transition(i,l({styles:t},e),(function(t){n()}))}))}},{key:"_nvueNextAnimate",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=t[i];if(r){var o=r.styles,a=r.config;this._animateRun(o,a).then((function(){i+=1,e._nvueNextAnimate(t,i,n)}))}else this.currentStepAnimates={},"function"===typeof n&&n(),this.isEnd=!0}},{key:"step",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(t),this}},{key:"run",value:function(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof t&&t()}),this.$.durationTime)}}]),t}(),c=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];c.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(t){u.prototype[t]=function(){var e;return(e=this.animation)[t].apply(e,arguments),this}}))},fc3f:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={stepsItem:{title:"",desc:"",iconSize:17,error:!1}}},fd51:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("34cf")),o=n(i("3b2d")),a=n(i("436e")),s=i("e993");function l(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===t||"object"!==(0,o.default)(t))return t;if(i.has(t))return i.get(t);if(t instanceof Date)e=new Date(t.getTime());else if(t instanceof RegExp)e=new RegExp(t);else if(t instanceof Map)e=new Map(Array.from(t,(function(t){var e=(0,r.default)(t,2),n=e[0],o=e[1];return[n,l(o,i)]})));else if(t instanceof Set)e=new Set(Array.from(t,(function(t){return l(t,i)})));else if(Array.isArray(t))e=t.map((function(t){return l(t,i)}));else if("[object Object]"===Object.prototype.toString.call(t)){e=Object.create(Object.getPrototypeOf(t)),i.set(t,e);for(var n=0,a=Object.entries(t);n<a.length;n++){var s=(0,r.default)(a[n],2),u=s[0],c=s[1];e[u]=l(c,i)}}else e=Object.assign({},t);return i.set(t,e),e}function u(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";t=e?/^\d{10}$/.test(null===e||void 0===e?void 0:e.toString().trim())?new Date(1e3*e):"string"===typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):"string"===typeof e&&e.includes("-")&&!e.includes("T")?new Date(e.replace(/-/g,"/")):new Date(e):new Date;var n={y:t.getFullYear().toString(),m:(t.getMonth()+1).toString().padStart(2,"0"),d:t.getDate().toString().padStart(2,"0"),h:t.getHours().toString().padStart(2,"0"),M:t.getMinutes().toString().padStart(2,"0"),s:t.getSeconds().toString().padStart(2,"0")};for(var o in n){var a=new RegExp("".concat(o,"+")).exec(i)||[],s=(0,r.default)(a,1),l=s[0];if(l){var u="y"===o&&2===l.length?2:0;i=i.replace(l,n[o].slice(u))}}return i}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return t=String(t),"both"==e?t.replace(/^\s+|\s+$/g,""):"left"==e?t.replace(/^\s*/,""):"right"==e?t.replace(/(\s*$)/g,""):"all"==e?t.replace(/\s+/g,""):t}String.prototype.padStart||(String.prototype.padStart=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";if("[object String]"!==Object.prototype.toString.call(e))throw new TypeError("fillString must be String");var i=this;if(i.length>=t)return String(i);var n=t-i.length,r=Math.ceil(n/e.length);while(r>>=1)e+=e,1===r&&(e+=e);return e.slice(0,n)+i});var d={range:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(t,Math.min(e,Number(i)))},getPx:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a.default.number(t)?e?"".concat(t,"px"):Number(t):/(rpx|upx)$/.test(t)?e?"".concat(uni.upx2px(parseInt(t)),"px"):Number(uni.upx2px(parseInt(t))):e?"".concat(parseInt(t),"px"):parseInt(t)},sleep:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(e){setTimeout((function(){e()}),t)}))},os:function(){return uni.getSystemInfoSync().platform.toLowerCase()},sys:function(){return uni.getSystemInfoSync()},random:function(t,e){if(t>=0&&e>0&&e>=t){var i=e-t+1;return Math.floor(Math.random()*i+t)}return 0},guid:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(i=i||n.length,t)for(var o=0;o<t;o++)r[o]=n[0|Math.random()*i];else{var a;r[8]=r[13]=r[18]=r[23]="-",r[14]="4";for(var s=0;s<36;s++)r[s]||(a=0|16*Math.random(),r[s]=n[19==s?3&a|8:a])}return e?(r.shift(),"u".concat(r.join(""))):r.join("")},$parent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=this.$parent;while(e){if(!e.$options||e.$options.name===t)return e;e=e.$parent}return!1},addStyle:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"object";if(a.default.empty(t)||"object"===(0,o.default)(t)&&"object"===e||"string"===e&&"string"===typeof t)return t;if("object"===e){t=c(t);for(var i=t.split(";"),n={},r=0;r<i.length;r++)if(i[r]){var s=i[r].split(":");n[c(s[0])]=c(s[1])}return n}var l="";for(var u in t){var d=u.replace(/([A-Z])/g,"-$1").toLowerCase();l+="".concat(d,":").concat(t[u],";")}return c(l)},addUnit:function(){var t,e,i,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(t=null===(e=uni)||void 0===e||null===(i=e.$u)||void 0===i||null===(n=i.config)||void 0===n?void 0:n.unit)&&void 0!==t?t:"px";return r=String(r),a.default.number(r)?"".concat(r).concat(o):r},deepClone:l,deepMerge:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=l(e),"object"!==(0,o.default)(e)||null===e||"object"!==(0,o.default)(i)||null===i)return e;var n=Array.isArray(e)?e.slice():Object.assign({},e);for(var r in i)if(i.hasOwnProperty(r)){var a=i[r],s=n[r];a instanceof Date?n[r]=new Date(a):a instanceof RegExp?n[r]=new RegExp(a):a instanceof Map?n[r]=new Map(a):a instanceof Set?n[r]=new Set(a):"object"===(0,o.default)(a)&&null!==a?n[r]=t(s,a):n[r]=a}return n},error:function(t){0},randomArray:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.sort((function(){return Math.random()-.5}))},timeFormat:u,timeFrom:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";null==t&&(t=Number(new Date)),t=parseInt(t),10==t.toString().length&&(t*=1e3);var i=(new Date).getTime()-t;i=parseInt(i/1e3);var n="";switch(!0){case i<300:n="\u521a\u521a";break;case i>=300&&i<3600:n="".concat(parseInt(i/60),"\u5206\u949f\u524d");break;case i>=3600&&i<86400:n="".concat(parseInt(i/3600),"\u5c0f\u65f6\u524d");break;case i>=86400&&i<2592e3:n="".concat(parseInt(i/86400),"\u5929\u524d");break;default:n=!1===e?i>=2592e3&&i<31536e3?"".concat(parseInt(i/2592e3),"\u4e2a\u6708\u524d"):"".concat(parseInt(i/31536e3),"\u5e74\u524d"):u(t,e)}return n},trim:c,queryParams:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",n=e?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(i)&&(i="brackets");var o=function(e){var n=t[e];if(["",void 0,null].indexOf(n)>=0)return"continue";if(n.constructor===Array)switch(i){case"indices":for(var o=0;o<n.length;o++)r.push("".concat(e,"[").concat(o,"]=").concat(n[o]));break;case"brackets":n.forEach((function(t){r.push("".concat(e,"[]=").concat(t))}));break;case"repeat":n.forEach((function(t){r.push("".concat(e,"=").concat(t))}));break;case"comma":var a="";n.forEach((function(t){a+=(a?",":"")+t})),r.push("".concat(e,"=").concat(a));break;default:n.forEach((function(t){r.push("".concat(e,"[]=").concat(t))}))}else r.push("".concat(e,"=").concat(n))};for(var a in t)o(a);return r.length?n+r.join("&"):""},toast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;uni.showToast({title:String(t),icon:"none",duration:e})},type2icon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1==["primary","info","error","warning","success"].indexOf(t)&&(t="success");var i="";switch(t){case"primary":i="info-circle";break;case"info":i="info-circle";break;case"error":i="close-circle";break;case"warning":i="error-circle";break;case"success":i="checkmark-circle";break;default:i="checkmark-circle"}return e&&(i+="-fill"),i},priceFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";t="".concat(t).replace(/[^0-9+-Ee.]/g,"");var r=isFinite(+t)?+t:0,o=isFinite(+e)?Math.abs(e):0,a="undefined"===typeof n?",":n,l="undefined"===typeof i?".":i,u="";u=(o?(0,s.round)(r,o)+"":"".concat(Math.round(r))).split(".");var c=/(-?\d+)(\d{3})/;while(c.test(u[0]))u[0]=u[0].replace(c,"$1".concat(a,"$2"));return(u[1]||"").length<o&&(u[1]=u[1]||"",u[1]+=new Array(o-u[1].length+1).join("0")),u.join(l)},getDuration:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=parseInt(t);return e?/s$/.test(t)?t:"".concat(t,t>30?"ms":"s"):/ms$/.test(t)?i:/s$/.test(t)?i>30?i:1e3*i:i},padZero:function(t){return"00".concat(t).slice(-2)},formValidate:function(t,e){var i=uni.$u.$parent.call(t,"u-form-item"),n=uni.$u.$parent.call(t,"u-form");i&&n&&n.validateField(i.prop,(function(){}),e)},getProperty:function(t,e){if(t){if("string"!==typeof e||""===e)return"";if(-1!==e.indexOf(".")){for(var i=e.split("."),n=t[i[0]]||{},r=1;r<i.length;r++)n&&(n=n[i[r]]);return n}return t[e]}},setProperty:function(t,e,i){if(t){if("string"!==typeof e||""===e);else if(-1!==e.indexOf(".")){var n=e.split(".");(function t(e,i,n){if(1!==i.length)while(i.length>1){var r=i[0];e[r]&&"object"===(0,o.default)(e[r])||(e[r]={});i.shift();t(e[r],i,n)}else e[i[0]]=n})(t,n,i)}else t[e]=i}},page:function(){var t,e,i=getCurrentPages();return"/".concat(null!==(t=null===(e=i[i.length-1])||void 0===e?void 0:e.route)&&void 0!==t?t:"")},pages:function(){var t=getCurrentPages();return t},getHistoryPage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=getCurrentPages(),i=e.length;return e[i-1+t]},setConfig:function(t){var e=t.props,i=void 0===e?{}:e,n=t.config,r=void 0===n?{}:n,o=t.color,a=void 0===o?{}:o,s=t.zIndex,l=void 0===s?{}:s,u=uni.$u.deepMerge;uni.$u.config=u(uni.$u.config,r),uni.$u.props=u(uni.$u.props,i),uni.$u.color=u(uni.$u.color,a),uni.$u.zIndex=u(uni.$u.zIndex,l)}};e.default=d},feb8:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),o=n(i("7848")),a=n(i("7996")),s=n(i("e06b")),l=n(i("b12c")),u=n(i("795c")),c=n(i("436e")),d=n(i("0513")),h=n(i("c2ec")),f=n(i("fd51")),p=n(i("ebea")),g=n(i("3012")),v=n(i("3585")),m=n(i("2b82")),y=n(i("32a3"));function _(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function x(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?_(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):_(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var b=x(x({route:l.default,date:f.default.timeFormat,colorGradient:u.default.colorGradient,hexToRgb:u.default.hexToRgb,rgbToHex:u.default.rgbToHex,colorToRgba:u.default.colorToRgba,test:c.default,type:["primary","success","error","warning","info"],http:new s.default,config:p.default,zIndex:v.default,debounce:d.default,throttle:h.default,mixin:o.default,mpMixin:a.default,props:g.default},f.default),{},{color:m.default,platform:y.default});uni.$u=b;var w={install:function(t){t.filter("timeFormat",(function(t,e){return uni.$u.timeFormat(t,e)})),t.filter("date",(function(t,e){return uni.$u.timeFormat(t,e)})),t.filter("timeFrom",(function(t,e){return uni.$u.timeFrom(t,e)})),t.prototype.$u=b,t.mixin(o.default)}};e.default=w},ffdf:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"}}}},[["9909","app-config"]]]); |