(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"04f6":function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=32,i=7;function o(t){var e=0;while(t>=r)e|=1&t,t>>=1;return t+e}function a(t,e,n,r){var i=e+1;if(i===n)return 1;if(r(t[i++],t[e])<0){while(i=0)i++;return i-e}function s(t,e,n){n--;while(e>>1,i(a,t[o])<0?l=o:s=o+1;var c=r-s;switch(c){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:while(c>0)t[s+c]=t[s+c-1],c--}t[s]=a}}function c(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])>0){s=r-i;while(l0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(ls&&(l=s);var c=a;a=i-l,l=i-c}a++;while(a>>1);o(t,e[n+u])>0?a=u+1:l=u}return l}function u(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])<0){s=i+1;while(ls&&(l=s);var c=a;a=i-l,l=i-c}else{s=r-i;while(l=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(a>>1);o(t,e[n+u])<0?l=u:a=u+1}return l}function h(t,e){var n,r,o=i,a=0,s=0;a=t.length;var l=[];function h(t,e){n[s]=t,r[s]=e,s+=1}function d(){while(s>1){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]r[t+1])break;f(t)}}function p(){while(s>1){var t=s-2;t>0&&r[t-1]=i||y>=i);if(v)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===r){for(h=0;h=0;h--)t[y+h]=t[g+h];if(0===r){x=!0;break}}if(t[f--]=l[p--],1===--s){x=!0;break}if(b=s-c(t[d],l,0,s,s-1,e),0!==b){for(f-=b,p-=b,s-=b,y=f+1,g=p+1,h=0;h=i||b>=i);if(x)break;v<0&&(v=0),v+=2}if(o=v,o<1&&(o=1),1===s){for(f-=r,d-=r,y=f+1,g=d+1,h=r-1;h>=0;h--)t[y+h]=t[g+h];t[f]=l[p]}else{if(0===s)throw new Error;for(g=f-(s-1),h=0;h=0;h--)t[y+h]=t[g+h];t[f]=l[p]}else for(g=f-(s-1),h=0;hd&&(p=d),l(t,n,n+p,n+c,e),c=p}u.pushRun(n,c),u.mergeRuns(),s-=c,n+=c}while(0!==s);u.forceMergeRuns()}}},"04f7":function(t,e,n){"use strict";n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return m}));var r=n("07fd"),i=n("e0d3"),o=n("6d8b"),a=n("2b17"),s=n("b7d9"),l=n("edae"),c=n("ec6f"),u=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 Object(s["d"])(t,e)},t}();function h(t,e){var n=new u,i=t.data,s=n.sourceFormat=t.sourceFormat,c=t.startIndex,h="";t.seriesLayoutBy!==r["a"]&&Object(l["c"])(h);var y=[],v={},m=t.dimensionsDefine;if(m)Object(o["each"])(m,(function(t,e){var n=t.name,r={index:e,name:n,displayName:t.displayName};if(y.push(r),null!=n){var i="";Object(o["hasOwn"])(v,n)&&Object(l["c"])(i),v[n]=r}}));else for(var b=0;br?e:t,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;sa;if(s)r.length=a;else for(var l=o;l=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var r=this.keyframes,s=r.length,l=!1,h=C,d=e;if(Object(o["isArrayLike"])(e)){var p=_(e);h=p,(1===p&&!Object(o["isNumber"])(e[0])||2===p&&!Object(o["isNumber"])(e[0][0]))&&(l=!0)}else if(Object(o["isNumber"])(e)&&!Object(o["eqNaN"])(e))h=O;else if(Object(o["isString"])(e))if(isNaN(+e)){var f=c["parse"](e);f&&(d=f,h=j)}else h=O;else if(Object(o["isGradientObject"])(e)){var g=Object(o["extend"])({},d);g.colorStops=Object(o["map"])(e.colorStops,(function(t){return{offset:t.offset,color:c["parse"](t.color)}})),Object(u["m"])(e)?h=M:Object(u["o"])(e)&&(h=I),d=g}0===s?this.valType=h:h===this.valType&&h!==C||(l=!0),this.discrete=this.discrete||l;var y={time:t,value:d,rawValue:e,percent:0};return n&&(y.easing=n,y.easingFunc=Object(o["isFunction"])(n)?n:i[n]||Object(a["a"])(n)),r.push(y),y},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=T(r),l=A(r),c=0;c=0;n--)if(c[n].percent<=e)break;n=v(n,u-2)}else{for(n=y;ne)break;n=v(n-1,u-2)}i=c[n+1],r=c[n]}if(r&&i){this._lastFr=n,this._lastFrP=e;var b=i.percent-r.percent,_=0===b?1:v((e-r.percent)/b,1);i.easingFunc&&(_=i.easingFunc(_));var O=a?this._additiveValue:g?D:t[h];if(!T(l)&&!g||O||(O=this._additiveValue=[]),this.discrete)t[h]=_<1?r.rawValue:i.rawValue;else if(T(l))l===w?p(O,r[s],i[s],_):f(O,r[s],i[s],_);else if(A(l)){var S=r[s],I=i[s],C=l===M;t[h]={type:C?"linear":"radial",x:d(S.x,I.x,_),y:d(S.y,I.y,_),colorStops:Object(o["map"])(S.colorStops,(function(t,e){var n=I.colorStops[e];return{offset:d(t.offset,n.offset,_),color:x(p([],t.color,n.color,_))}})),global:I.global},C?(t[h].x2=d(S.x2,I.x2,_),t[h].y2=d(S.y2,I.y2,_)):t[h].r=d(S.r,I.r,_)}else if(g)p(O,r[s],i[s],_),a||(t[h]=x(O));else{var k=d(r[s],i[s],_);a?this._additiveValue=k:t[h]=k}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,r=this._additiveValue;e===O?t[n]=t[n]+r:e===j?(c["parse"](t[n],D),g(D,D,r,1),t[n]=x(D)):e===w?g(t[n],t[n],r,1):e===S&&y(t[n],t[n],r,1)},t}(),L=function(){function t(t,e,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r?Object(o["logError"])("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}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,n){return this.whenWithKeys(t,e,Object(o["keys"])(e),n)},t.prototype.whenWithKeys=function(t,e,n,r){for(var i=this._tracks,o=0;o0&&s.addKeyframe(0,b(l),r),this._trackKeys.push(a)}s.addKeyframe(t,b(e[a]),r)}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,n=0;n0)){this._started=1;for(var e=this,n=[],r=this._maxTime||0,i=0;i1){var s=a.pop();i.addKeyframe(s.time,t[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}();e["b"]=L},"07fd":function(t,e,n){"use strict";n.d(e,"i",(function(){return i})),n.d(e,"f",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"d",(function(){return l})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return u})),n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return d}));var r=n("6d8b"),i=Object(r["createHashMap"])(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),o="original",a="arrayRows",s="objectRows",l="keyedColumns",c="typedArray",u="unknown",h="column",d="row"},"0924":function(t,e,n){"use strict";function r(t,e,n){switch(n){case"color":var r=t.getItemVisual(e,"style");return r[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:0}}function i(t,e){switch(e){case"color":var n=t.getVisual("style");return n[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:0}}function o(t,e,n,r){switch(n){case"color":var i=t.ensureUniqueItemVisual(e,"style");i[t.getVisual("drawType")]=r,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,r);break;default:0}}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o}))},"0da8":function(t,e,n){"use strict";var r=n("21a1"),i=n("19eb"),o=n("9850"),a=n("6d8b"),s=Object(a["defaults"])({x:0,y:0},i["b"]),l={style:Object(a["defaults"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i["a"].style)};function c(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["a"])(e,t),e.prototype.createStyle=function(t){return Object(a["createObject"])(s,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var r=c(e.image)?e.image:this.__image;if(!r)return 0;var i="width"===t?"height":"width",o=e[i];return null==o?r[t]:r[t]/r[i]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o["a"](t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i["c"]);u.prototype.type="image",e["a"]=u},"0f99":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return l})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return u})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"b",(function(){return p}));var r=n("e0d3"),i=n("6d8b"),o=n("07fd"),a={Must:1,Might:2,Not:3},s=Object(r["o"])();function l(t){s(t).datasetMap=Object(i["createHashMap"])()}function c(t,e,n){var r={},o=h(e);if(!o||!t)return r;var a,l,c=[],u=[],d=e.ecModel,p=s(d).datasetMap,f=o.uid+"_"+n.seriesLayoutBy;t=t.slice(),Object(i["each"])(t,(function(e,n){var o=Object(i["isObject"])(e)?e:t[n]={name:e};"ordinal"===o.type&&null==a&&(a=n,l=v(o)),r[o.name]=[]}));var g=p.get(f)||p.set(f,{categoryWayDim:l,valueWayDim:0});function y(t,e,n){for(var r=0;r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(i["a"]);i["a"].registerClass(l),e["a"]=l},"19eb":function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return u}));var r=n("21a1"),i=n("d5b7"),o=n("9850"),a=n("6d8b"),s=n("4bc4"),l="__zr_style_"+Math.round(10*Math.random()),c={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},u={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};c[l]=!0;var h=["z","z2","invisible"],d=["invisible"],p=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype._init=function(e){for(var n=Object(a["keys"])(e),r=0;r=0;a--)r[a]&&!c["l"](r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,t[n]=r}})),delete t[O],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 n=this._componentsMap.get(t);if(n){var r=n[e||0];if(r)return r;if(null==e)for(var i=0;i=e:"max"===n?t<=e:t===e}function V(t,e){return t.join(",")===e.join(",")}var F=E,G=o["each"],H=o["isObject"],W=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function U(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=W.length;n=0;g--){var y=t[g];if(s||(d=y.data.rawIndexOf(y.stackedByDimension,h)),d>=0){var v=y.data.getByRawIndex(y.stackResultDimension,d);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&p>=0&&v>0||"samesign"===l&&p<=0&&v<0){p=Object(dt["b"])(p,v),f=v;break}}}return r[0]=p,r[1]=f,r}))}))}var gt=n("4f85"),yt=n("b12f"),vt=n("e887"),mt=n("c7a2"),bt=n("0da8"),xt=n("deca"),_t=n("cbe5"),Ot=n("861c"),wt=n("7d6c"),St=n("88b3"),jt=n("282b"),Mt=n("551f"),It=n("3901"),Ct=Object(c["o"])(),At={itemStyle:Object(jt["a"])(Mt["a"],!0),lineStyle:Object(jt["a"])(It["a"],!0)},Tt={lineStyle:"stroke",itemStyle:"fill"};function Dt(t,e){var n=t.visualStyleMapper||At[e];return n||(console.warn("Unknown style type '"+e+"'."),At.itemStyle)}function kt(t,e){var n=t.visualDrawType||Tt[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Lt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=t.getModel(r),a=Dt(t,r),s=a(i),l=i.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var c=kt(t,r),u=s[c],h=Object(o["isFunction"])(u)?u:null,d="auto"===s.fill||"auto"===s.stroke;if(!s[c]||h||d){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());s[c]||(s[c]=p,n.setVisual("colorFromPalette",!0)),s.fill="auto"===s.fill||Object(o["isFunction"])(s.fill)?p:s.fill,s.stroke="auto"===s.stroke||Object(o["isFunction"])(s.stroke)?p:s.stroke}if(n.setVisual("style",s),n.setVisual("drawType",c),!e.isSeriesFiltered(t)&&h)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var r=t.getDataParams(n),i=Object(o["extend"])({},s);i[c]=h(r),e.setItemVisual(n,"style",i)}}}},Pt=new u["a"],Rt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=Dt(t,r),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[r]){Pt.option=n[r];var s=i(Pt),l=t.ensureUniqueItemVisual(e,"style");Object(o["extend"])(l,s),Pt.option.decal&&(t.setItemVisual(e,"decal",Pt.option.decal),Pt.option.decal.dirty=!0),a in s&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Et={performRawSeries:!0,overallReset:function(t){var e=Object(o["createHashMap"])();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var r=t.type+"-"+n,i=e.get(r);i||(i={},e.set(r,i)),Ct(t).scope=i}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),r={},i=e.getData(),o=Ct(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=kt(e,a);i.each((function(t){var e=i.getRawIndex(t);r[e]=t})),n.each((function(t){var a=r[t],l=i.getItemVisual(a,"colorFromPalette");if(l){var c=i.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();c[s]=e.getColorFromPalette(u,o,h)}}))}}))}},Nt=n("2dc5"),zt=n("76a5"),Bt=n("8d32"),Vt=Math.PI;function Ft(t,e){e=e||{},o["defaults"](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 n=new Nt["a"],r=new mt["a"]({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(r);var i,a=new zt["a"]({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),s=new mt["a"]({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(s),e.showSpinner&&(i=new Bt["a"]({shape:{startAngle:-Vt/2,endAngle:-Vt/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),i.animateShape(!0).when(1e3,{endAngle:3*Vt/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*Vt/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=a.getBoundingRect().width,o=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*o-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:o),c=t.getHeight()/2;e.showSpinner&&i.setShape({cx:l,cy:c}),s.setShape({x:l-o,y:c-o,width:2*o,height:2*o}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var Gt=n("9fbc"),Ht=n("8918"),Wt=function(){function t(t,e,n,r){this._stageTaskMap=Object(o["createHashMap"])(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}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 n=this._pipelineMap.get(t.__pipeline.id),r=n.context,i=!e&&n.progressiveEnabled&&(!r||r.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=i?n.step:null,a=r&&r.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData(),i=r.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,a=t.get("large")&&i>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=Object(o["createHashMap"])();t.eachSeries((function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;Object(o["each"])(this._allHandlers,(function(r){var i=t.get(r.uid)||t.set(r.uid,{}),a="";Object(o["assert"])(!(r.reset&&r.overallReset),a),r.reset&&this._createSeriesStageTask(r,i,e,n),r.overallReset&&this._createOverallStageTask(r,i,e,n)}),this)},t.prototype.prepareView=function(t,e,n,r){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=r,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,r){r=r||{};var i=!1,a=this;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Object(o["each"])(t,(function(t,o){if(!r.visualType||r.visualType===t.visualType){var l=a._stageTaskMap.get(t.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var h,d=u.agentStubMap;d.each((function(t){s(r,t)&&(t.dirty(),h=!0)})),h&&u.dirty(),a.updatePayload(u,n);var p=a.getPerformArgs(u,r.block);d.each((function(t){t.perform(p)})),u.perform(p)&&(i=!0)}else c&&c.each((function(o,l){s(r,o)&&o.dirty();var c=a.getPerformArgs(o,r.block);c.skip=!t.performRawSeries&&e.isSeriesFiltered(o.context.model),a.updatePayload(o,n),o.perform(c)&&(i=!0)}))}})),this.unfinished=i||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,n,r){var i=this,a=e.seriesTaskMap,s=e.seriesTaskMap=Object(o["createHashMap"])(),l=t.seriesType,c=t.getTargetSeries;function u(e){var o=e.uid,l=s.set(o,a&&a.get(o)||Object(Gt["a"])({plan:Zt,reset:Kt,count:Qt}));l.context={model:e,ecModel:n,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):l?n.eachRawSeriesByType(l,u):c&&c(n,r).each(u)},t.prototype._createOverallStageTask=function(t,e,n,r){var i=this,a=e.overallTask=e.overallTask||Object(Gt["a"])({reset:Ut});a.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var s=a.agentStubMap,l=a.agentStubMap=Object(o["createHashMap"])(),c=t.seriesType,u=t.getTargetSeries,h=!0,d=!1,p="";function f(t){var e=t.uid,n=l.set(e,s&&s.get(e)||(d=!0,Object(Gt["a"])({reset:qt,onDirty:Xt})));n.context={model:t,overallProgress:h},n.agent=a,n.__block=h,i._pipe(t,n)}Object(o["assert"])(!t.createOnAllSeries,p),c?n.eachRawSeriesByType(c,f):u?u(n,r).each(f):(h=!1,Object(o["each"])(n.getSeries(),f)),d&&a.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=e),r.tail&&r.tail.pipe(e),r.tail=e,e.__idxInPipeline=r.count++,e.__pipeline=r},t.wrapStageHandler=function(t,e){return Object(o["isFunction"])(t)&&(t={overallReset:t,seriesType:te(t)}),t.uid=Object(Ht["c"])("stageHandler"),e&&(t.visualType=e),t},t}();function Ut(t){t.overallReset(t.ecModel,t.api,t.payload)}function qt(t){return t.overallProgress&&Yt}function Yt(){this.agent.dirty(),this.getDownstream().dirty()}function Xt(){this.agent&&this.agent.dirty()}function Zt(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Kt(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Object(c["r"])(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(o["map"])(e,(function(t,e){return Jt(e)})):$t}var $t=Jt(0);function Jt(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o0&&u===i.length-c.length){var h=i.slice(0,u);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(i)&&(n[i]=t,o=!0),o||(r[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:r}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return c(s,o,"mainType")&&c(s,o,"subType")&&c(s,o,"index","componentIndex")&&c(s,o,"name")&&c(s,o,"id")&&c(l,i,"name")&&c(l,i,"dataIndex")&&c(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,r,i));function c(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),ye=["symbol","symbolSize","symbolRotate","symbolOffset"],ve=ye.concat(["symbolKeepAspect"]),me={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var r={},i={},a=!1,s=0;s0&&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,n){if(!this[Ke])if(this._disposed)Dn(this.id);else{var r,i,a;if(Object(o["isObject"])(e)&&(n=e.lazyUpdate,r=e.silent,i=e.replaceMerge,a=e.transition,e=e.notMerge),this[Ke]=!0,!this._model||e){var s=new F(this._api),l=this._theme,c=this._model=new T;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,l,this._locale,s)}this._model.setOption(t,{replaceMerge:i},Rn);var u={seriesTransition:a,optionChanged:!0};if(n)this[$e]={silent:r,updateParams:u},this[Ke]=!1,this.getZr().wakeUp();else{try{ln(this),hn.update.call(this,null,u)}catch(h){throw this[$e]=null,this[Ke]=!1,h}this._ssr||this._zr.flush(),this[$e]=null,this[Ke]=!1,gn.call(this,r),yn.call(this,r)}}},e.prototype.setTheme=function(){Object(_["a"])("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},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["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["a"].svgSupported){var t=this._zr,e=t.storage.getDisplayList();return Object(o["each"])(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,r=[],i=this;Object(o["each"])(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(r.push(e),e.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return Object(o["each"])(r,(function(t){t.group.ignore=!1})),a}Dn(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,r=Math.min,a=Math.max,s=1/0;if(Vn[n]){var l=s,c=s,u=-s,h=-s,d=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();Object(o["each"])(Bn,(function(i,s){if(i.group===n){var p=e?i.getZr().painter.getSvgDom().innerHTML:i.renderToCanvas(Object(o["clone"])(t)),f=i.getDom().getBoundingClientRect();l=r(f.left,l),c=r(f.top,c),u=a(f.right,u),h=a(f.bottom,h),d.push({dom:p,left:f.left,top:f.top})}})),l*=p,c*=p,u*=p,h*=p;var f=u-l,g=h-c,y=Ae["d"].createCanvas(),v=i["init"](y,{renderer:e?"svg":"canvas"});if(v.resize({width:f,height:g}),e){var m="";return Object(o["each"])(d,(function(t){var e=t.left-l,n=t.top-c;m+=''+t.dom+""})),v.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&v.painter.setBackgroundColor(t.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return t.connectedBackgroundColor&&v.add(new mt["a"]({shape:{x:0,y:0,width:f,height:g},style:{fill:t.connectedBackgroundColor}})),Object(o["each"])(d,(function(t){var e=new bt["a"]({style:{x:t.left*p-l,y:t.top*p-c,image:t.dom}});v.add(e)})),v.refreshImmediately(),y.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}Dn(this.id)},e.prototype.convertToPixel=function(t,e){return dn(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return dn(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,r=this._model,i=c["s"](r,t);return Object(o["each"])(i,(function(t,r){r.indexOf("Models")>=0&&Object(o["each"])(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n}Dn(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,r=c["s"](n,t,{defaultMainType:"series"}),i=r.seriesModel;var o=i.getData(),a=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?o.indexOfRawIndex(r.dataIndex):null;return null!=a?Object(xe["a"])(o,a,e):Object(xe["b"])(o,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=this;Object(o["each"])(Tn,(function(e){var n=function(n){var r,i=t.getModel(),a=n.target,s="globalout"===e;if(s?r={}:a&&Object(Se["a"])(a,(function(t){var e=Object(Ot["a"])(t);if(e&&null!=e.dataIndex){var n=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return r=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return r=Object(o["extend"])({},e.eventData),!0}),!0),r){var l=r.componentType,c=r.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",c=r.seriesIndex);var u=l&&null!=c&&i.getComponent(l,c),h=u&&t["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,r.event=n,r.type=e,t._$eventProcessor.eventInfo={targetEl:a,packedEvent:r,model:u,view:h},t.trigger(e,r)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),Object(o["each"])(Ln,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),Object(o["each"])(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),Object(_e["b"])(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?Dn(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)Dn(this.id);else{this._disposed=!0;var t=this.getDom();t&&c["w"](this.getDom(),Hn,"");var e=this,n=e._api,r=e._model;Object(o["each"])(e._componentsViews,(function(t){t.dispose(r,n)})),Object(o["each"])(e._chartsViews,(function(t){t.dispose(r,n)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete Bn[e.id]}},e.prototype.resize=function(t){if(!this[Ke])if(this._disposed)Dn(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[$e]&&(null==r&&(r=this[$e].silent),n=!0,this[$e]=null),this[Ke]=!0;try{n&&ln(this),hn.update.call(this,{type:"resize",animation:Object(o["extend"])({duration:0},t&&t.animation)})}catch(i){throw this[Ke]=!1,i}this[Ke]=!1,gn.call(this,r),yn.call(this,r)}}},e.prototype.showLoading=function(t,e){if(this._disposed)Dn(this.id);else if(Object(o["isObject"])(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),zn[t]){var n=zn[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},e.prototype.hideLoading=function(){this._disposed?Dn(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Object(o["extend"])({},t);return e.type=Ln[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)Dn(this.id);else if(Object(o["isObject"])(e)||(e={silent:!!e}),kn[t.type]&&this._model)if(this[Ke])this._pendingActions.push(t);else{var n=e.silent;fn.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&a["a"].browser.weChat&&this._throttledZrFlush(),gn.call(this,n),yn.call(this,n)}},e.prototype.updateLabelLayout=function(){Ce.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)Dn(this.id);else{var e=t.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(e);0,r.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){var e=[],n=[],r=!1;if(t.eachComponent((function(t,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:i.componentIndex,type:t,key:s})})),r){var i,a,l=e.concat(n);Object(s["a"])(l,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),Object(o["each"])(l,(function(e){var n=t.getComponent(e.type,e.idx),r=e.zlevel,o=e.key;null!=i&&(r=Math.max(i,r)),o?(r===i&&o!==a&&r++,a=o):a&&(r===i&&r++,a=""),i=r,n.setZLevel(r)}))}}function n(t){for(var e=[],n=t.currentStates,r=0;re.get("hoverLayerThreshold")&&!a["a"].node&&!a["a"].worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function l(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}function u(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered((function(t){return h(t,n,r,-1/0),!0}))}}function h(t,e,n,r){var i=t.getTextContent(),o=t.getTextGuideLine(),a=t.isGroup;if(a)for(var s=t.childrenRef(),l=0;l0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(xt["d"](t))return;if(t instanceof _t["b"]&&Object(wt["E"])(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(i){t.stateTransition=a;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}ln=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),cn(t,!0),cn(t,!1),e.plan()},cn=function(t,e){for(var n=t._model,r=t._scheduler,i=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l=0)){lr.push(n);var a=oe.wrapStageHandler(n,i);a.__prio=e,a.__raw=n,t.push(a)}}function ur(t,e){zn[t]=e}function hr(t){Object(Ae["e"])({createCanvas:t})}function dr(t,e,n){var r=Object(Te["a"])("registerMap");r&&r(t,e,n)}function pr(t){var e=Object(Te["a"])("getMap");return e&&e(t)}var fr=Oe["b"];sr(Fe,Lt),sr(We,Rt),sr(We,Et),sr(Fe,me),sr(We,be),sr(Xe,Me),Jn(ht),Qn(Re,pt),ur("default",Ft),rr({type:wt["c"],event:wt["c"],update:wt["c"]},o["noop"]),rr({type:wt["b"],event:wt["b"],update:wt["b"]},o["noop"]),rr({type:wt["f"],event:wt["f"],update:wt["f"]},o["noop"]),rr({type:wt["i"],event:wt["i"],update:wt["i"]},o["noop"]),rr({type:wt["h"],event:wt["h"],update:wt["h"]},o["noop"]),$n("light",se),$n("dark",pe);var gr={}},"1d2b":function(t,e,n){"use strict";function r(t,e){return function(){return t.apply(e,arguments)}}n.d(e,"a",(function(){return r}))},"1f39":function(t,e,n){"use strict";var r=n("6d8b"),i={},o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];r["each"](i,(function(r,i){var o=r.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){r["each"](this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){i[t]=e},t.get=function(t){return i[t]},t}();e["a"]=o},"1fb5":function(t,e,n){"use strict";e.byteLength=u,e.toByteArray=d,e.fromByteArray=g;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function u(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function h(t,e,n){return 3*(e+n)/4-n}function d(t){var e,n,r=c(t),a=r[0],s=r[1],l=new o(h(t,a,s)),u=0,d=s>0?a-4:a;for(n=0;n>16&255,l[u++]=e>>8&255,l[u++]=255&e;return 2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[u++]=255&e),1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e),l}function p(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function f(t,e,n){for(var r,i=[],o=e;ol?l:s+a));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},2023:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}()},"20c8":function(t,e,n){"use strict";n.d(e,"b",(function(){return j}));var r=n("401b"),i=n("9850"),o=n("2cf4"),a=n("e263"),s=n("4a3f"),l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],u=[],h=[],d=[],p=[],f=[],g=Math.min,y=Math.max,v=Math.cos,m=Math.sin,b=Math.abs,x=Math.PI,_=2*x,O="undefined"!==typeof Float32Array,w=[];function S(t){var e=Math.round(t/x*1e8)/1e8;return e%2*x}function j(t,e){var n=S(t[0]);n<0&&(n+=_);var r=n-t[0],i=t[1];i+=r,!e&&i-n>=_?i=n+_:e&&n-i>=_?i=n-_:!e&&n>i?i=n+(_-S(n-i)):e&&n0&&(this._ux=b(n/o["e"]/t)||0,this._uy=b(n/o["e"]/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(l.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 n=b(t-this._xi),r=b(e-this._yi),i=n>this._ux||r>this._uy;if(this.addData(l.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._drawPendingPt(),this.addData(l.C,t,e,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,r,i,o),this._xi=i,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,r){return this._drawPendingPt(),this.addData(l.Q,t,e,n,r),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,r),this._xi=n,this._yi=r,this},t.prototype.arc=function(t,e,n,r,i,o){this._drawPendingPt(),w[0]=r,w[1]=i,j(w,o),r=w[0],i=w[1];var a=i-r;return this.addData(l.A,t,e,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=v(i)*n+t,this._yi=m(i)*n+e,this},t.prototype.arcTo=function(t,e,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},t.prototype.rect=function(t,e,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,r),this.addData(l.R,t,e,n,r),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,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||!O||(this.data=new Float32Array(e));for(var n=0;nc.length&&(this._expandData(),c=this.data);for(var u=0;u0&&(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;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){h[0]=h[1]=p[0]=p[1]=Number.MAX_VALUE,d[0]=d[1]=f[0]=f[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,s=0,c=0;for(t=0;tn||b(M)>r||p===e-1)&&(O=Math.sqrt(j*j+M*M),i=w,o=S);break;case l.C:var I=t[p++],C=t[p++],A=(w=t[p++],S=t[p++],t[p++]),T=t[p++];O=Object(s["d"])(i,o,I,C,w,S,A,T,10),i=A,o=T;break;case l.Q:I=t[p++],C=t[p++],w=t[p++],S=t[p++];O=Object(s["k"])(i,o,I,C,w,S,10),i=w,o=S;break;case l.A:var D=t[p++],k=t[p++],L=t[p++],P=t[p++],R=t[p++],E=t[p++],N=E+R;p+=1;t[p++];x&&(a=v(R)*L+D,c=m(R)*P+k),O=y(L,P)*g(_,Math.abs(E)),i=v(N)*L+D,o=m(N)*P+k;break;case l.R:a=i=t[p++],c=o=t[p++];var z=t[p++],B=t[p++];O=2*z+2*B;break;case l.Z:j=a-i,M=c-o;O=Math.sqrt(j*j+M*M),i=a,o=c;break}O>=0&&(u[d++]=O,h+=O)}return this._pathLen=h,h},t.prototype.rebuildPath=function(t,e){var n,r,i,o,a,h,d,p,f,x,_,O=this.data,w=this._ux,S=this._uy,j=this._len,M=e<1,I=0,C=0,A=0;if(!M||(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,p=this._pathLen,f=e*p,f))t:for(var T=0;T0&&(t.lineTo(x,_),A=0),D){case l.M:n=i=O[T++],r=o=O[T++],t.moveTo(i,o);break;case l.L:a=O[T++],h=O[T++];var L=b(a-i),P=b(h-o);if(L>w||P>S){if(M){var R=d[C++];if(I+R>f){var E=(f-I)/R;t.lineTo(i*(1-E)+a*E,o*(1-E)+h*E);break t}I+=R}t.lineTo(a,h),i=a,o=h,A=0}else{var N=L*L+P*P;N>A&&(x=a,_=h,A=N)}break;case l.C:var z=O[T++],B=O[T++],V=O[T++],F=O[T++],G=O[T++],H=O[T++];if(M){R=d[C++];if(I+R>f){E=(f-I)/R;Object(s["g"])(i,z,V,G,E,c),Object(s["g"])(o,B,F,H,E,u),t.bezierCurveTo(c[1],u[1],c[2],u[2],c[3],u[3]);break t}I+=R}t.bezierCurveTo(z,B,V,F,G,H),i=G,o=H;break;case l.Q:z=O[T++],B=O[T++],V=O[T++],F=O[T++];if(M){R=d[C++];if(I+R>f){E=(f-I)/R;Object(s["n"])(i,z,V,E,c),Object(s["n"])(o,B,F,E,u),t.quadraticCurveTo(c[1],u[1],c[2],u[2]);break t}I+=R}t.quadraticCurveTo(z,B,V,F),i=V,o=F;break;case l.A:var W=O[T++],U=O[T++],q=O[T++],Y=O[T++],X=O[T++],Z=O[T++],K=O[T++],$=!O[T++],J=q>Y?q:Y,Q=b(q-Y)>.001,tt=X+Z,et=!1;if(M){R=d[C++];I+R>f&&(tt=X+Z*(f-I)/R,et=!0),I+=R}if(Q&&t.ellipse?t.ellipse(W,U,q,Y,K,X,tt,$):t.arc(W,U,J,X,tt,$),et)break t;k&&(n=v(X)*q+W,r=m(X)*Y+U),i=v(tt)*q+W,o=m(tt)*Y+U;break;case l.R:n=i=O[T],r=o=O[T+1],a=O[T++],h=O[T++];var nt=O[T++],rt=O[T++];if(M){R=d[C++];if(I+R>f){var it=f-I;t.moveTo(a,h),t.lineTo(a+g(it,nt),h),it-=nt,it>0&&t.lineTo(a+nt,h+g(it,rt)),it-=rt,it>0&&t.lineTo(a+y(nt-it,0),h+rt),it-=nt,it>0&&t.lineTo(a,h+y(rt-it,0));break t}I+=R}t.rect(a,h,nt,rt);break;case l.Z:if(M){R=d[C++];if(I+R>f){E=(f-I)/R;t.lineTo(i*(1-E)+n*E,o*(1-E)+r*E);break t}I+=R}t.closePath(),i=n,o=r}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=l,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();e["a"]=M},"216a":function(t,e,n){"use strict";var r=n("7fae"),i=n("3842"),o=n("f876"),a=n("944e"),s=n("89e3"),l=n("e0d8"),c=n("6d8b"),u=function(t,e,n,r){while(n>>1;t[i][1]n&&(this._approxInterval=n);var o=d.length,a=Math.min(u(d,this._approxInterval,0,o),o-1);this._interval=d[a][1],this._minLevelUnit=d[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return Object(c["isNumber"])(t)?t:+i["p"](t)},e.prototype.contain=function(t){return a["a"](this.parse(t),this._extent)},e.prototype.normalize=function(t){return a["f"](this.parse(t),this._extent)},e.prototype.scale=function(t){return a["g"](t,this._extent)},e.type="time",e}(s["a"]),d=[["second",o["d"]],["minute",o["c"]],["hour",o["b"]],["quarter-day",6*o["b"]],["half-day",12*o["b"]],["day",1.2*o["a"]],["half-week",3.5*o["a"]],["week",7*o["a"]],["month",31*o["a"]],["quarter",95*o["a"]],["half-year",o["e"]/2],["year",o["e"]]];function p(t,e,n,r){var a=i["p"](e),s=i["p"](n),l=function(t){return Object(o["n"])(a,t,r)===Object(o["n"])(s,t,r)},c=function(){return l("year")},u=function(){return c()&&l("month")},h=function(){return u()&&l("day")},d=function(){return h()&&l("hour")},p=function(){return d()&&l("minute")},f=function(){return p()&&l("second")},g=function(){return f()&&l("millisecond")};switch(t){case"year":return c();case"month":return u();case"day":return h();case"hour":return d();case"minute":return p();case"second":return f();case"millisecond":return g()}}function f(t,e){return t/=o["a"],t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function g(t){var e=30*o["a"];return t/=e,t>6?6:t>3?3:t>2?2:1}function y(t){return t/=o["b"],t>12?12:t>6?6:t>3.5?4:t>2?2:1}function v(t,e){return t/=e?o["c"]:o["d"],t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function m(t){return i["n"](t,!0)}function b(t,e,n){var r=new Date(t);switch(Object(o["m"])(e)){case"year":case"month":r[Object(o["x"])(n)](0);case"day":r[Object(o["g"])(n)](1);case"hour":r[Object(o["p"])(n)](0);case"minute":r[Object(o["v"])(n)](0);case"second":r[Object(o["A"])(n)](0),r[Object(o["t"])(n)](0)}return r.getTime()}function x(t,e,n,r){var i=1e4,a=o["B"],s=0;function l(t,e,n,i,o,a,s){var l=new Date(e),c=e,u=l[i]();while(c1&&0===u&&a.unshift({value:a[0].value-x})}}for(u=0;u=r[0]&&I<=r[1]&&x++)}var C=(r[1]-r[0])/e;if(x>1.5*C&&_>C/1.5)break;if(h.push(j),x>C||t===a[O])break}d=[]}}}var A=Object(c["filter"])(Object(c["map"])(h,(function(t){return Object(c["filter"])(t,(function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd}))})),(function(t){return t.length>0})),T=[],D=A.length-1;for(O=0;O1||n>0&&!t.noHeader;return Object(o["each"])(t.blocks,(function(t){var n=g(t);n>=e&&(e=n+ +(r&&(!n||p(t)&&!t.noHeader)))})),e}return 0}function y(t,e,n,s){var u=e.noHeader,h=b(g(e)),d=[],p=e.blocks||[];Object(o["assert"])(!p||Object(o["isArray"])(p)),p=p||[];var y=t.orderMode;if(e.sortBlocks&&y){p=p.slice();var v={valueAsc:"asc",valueDesc:"desc"};if(Object(o["hasOwn"])(v,y)){var m=new a["a"](v[y],null);p.sort((function(t,e){return m.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===y&&p.reverse()}Object(o["each"])(p,(function(n,r){var i=e.valueFormatter,a=f(n)(i?Object(o["extend"])(Object(o["extend"])({},t),{valueFormatter:i}):t,n,r>0?h.html:0,s);null!=a&&d.push(a)}));var _="richText"===t.renderMode?d.join(h.richText):x(d.join(""),u?n:h.html);if(u)return _;var O=Object(i["h"])(e.header,"ordinal",t.useUTC),S=c(s,t.renderMode).nameStyle;return"richText"===t.renderMode?w(t,O,S)+h.richText+_:x('
'+Object(r["a"])(O)+"
"+_,n)}function v(t,e,n,r){var a=t.renderMode,s=e.noName,l=e.noValue,u=!e.markerType,h=e.name,d=t.useUTC,p=e.valueFormatter||t.valueFormatter||function(t){return t=Object(o["isArray"])(t)?t:[t],Object(o["map"])(t,(function(t,e){return Object(i["h"])(t,Object(o["isArray"])(y)?y[e]:y,d)}))};if(!s||!l){var f=u?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),g=s?"":Object(i["h"])(h,"ordinal",d),y=e.valueType,v=l?[]:p(e.value),m=!u||!s,b=!u&&s,j=c(r,a),M=j.nameStyle,I=j.valueStyle;return"richText"===a?(u?"":f)+(s?"":w(t,g,M))+(l?"":S(t,v,m,b,I)):x((u?"":f)+(s?"":_(g,!u,M))+(l?"":O(v,m,b,I)),n)}}function m(t,e,n,r,i,o){if(t){var a=f(t),s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(s,t,0,o)}}function b(t){return{html:u[t],richText:h[t]}}function x(t,e){var n='
',r="margin: "+e+"px 0 0";return'
'+t+n+"
"}function _(t,e,n){var i=e?"margin-left:2px":"";return''+Object(r["a"])(t)+""}function O(t,e,n,i){var a=n?"10px":"20px",s=e?"float:right;margin-left:"+a:"";return t=Object(o["isArray"])(t)?t:[t],''+Object(o["map"])(t,(function(t){return Object(r["a"])(t)})).join("  ")+""}function w(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function S(t,e,n,r,i){var a=[i],s=r?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Object(o["isArray"])(e)?e.join(" "):e,a)}function j(t,e){var n=t.getData().getItemVisual(e,"style"),r=n[t.visualDrawType];return Object(i["c"])(r)}function M(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var I=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Object(s["j"])()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var r="richText"===n?this._generateStyleName():null,a=Object(i["g"])({color:e,type:t,renderMode:n,markerId:r});return Object(o["isString"])(a)?a:(this.richTextStyles[r]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Object(o["isArray"])(e)?Object(o["each"])(e,(function(t){return Object(o["extend"])(n,t)})):Object(o["extend"])(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}()},"21a1":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})); /*! ***************************************************************************** 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 r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create},"22b4":function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n("1be7"),i=n("b12f"),o=n("e887"),a=n("6cb7"),s=n("4f85"),l=n("6d8b"),c=n("58c9"),u=n("697e7"),h=[],d={registerPreprocessor:r["u"],registerProcessor:r["v"],registerPostInit:r["s"],registerPostUpdate:r["t"],registerUpdateLifecycle:r["y"],registerAction:r["m"],registerCoordinateSystem:r["n"],registerLayout:r["o"],registerVisual:r["z"],registerTransform:r["x"],registerLoading:r["p"],registerMap:r["r"],registerImpl:c["b"],PRIORITY:r["a"],ComponentModel:a["a"],ComponentView:i["a"],SeriesModel:s["b"],ChartView:o["a"],registerComponentModel:function(t){a["a"].registerClass(t)},registerComponentView:function(t){i["a"].registerClass(t)},registerSeriesModel:function(t){s["b"].registerClass(t)},registerChartView:function(t){o["a"].registerClass(t)},registerSubTypeDefaulter:function(t,e){a["a"].registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Object(u["registerPainter"])(t,e)}};function p(t){Object(l["isArray"])(t)?Object(l["each"])(t,(function(t){p(t)})):Object(l["indexOf"])(h,t)>=0||(h.push(t),Object(l["isFunction"])(t)&&(t={install:t}),t.install(d))}},"22d1":function(t,e,n){"use strict";var r=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),i=function(){function t(){this.browser=new r,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}return t}(),o=new i;function a(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?o.worker=!0:"undefined"===typeof navigator?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),e["a"]=o},2306:function(t,e,n){"use strict";n.r(e),n.d(e,"extendShape",(function(){return R})),n.d(e,"extendPath",(function(){return N})),n.d(e,"registerShape",(function(){return z})),n.d(e,"getShapeClass",(function(){return B})),n.d(e,"makePath",(function(){return V})),n.d(e,"makeImage",(function(){return F})),n.d(e,"mergePath",(function(){return H})),n.d(e,"resizePath",(function(){return W})),n.d(e,"subPixelOptimizeLine",(function(){return U})),n.d(e,"subPixelOptimizeRect",(function(){return q})),n.d(e,"subPixelOptimize",(function(){return Y})),n.d(e,"getTransform",(function(){return X})),n.d(e,"applyTransform",(function(){return Z})),n.d(e,"transformDirection",(function(){return K})),n.d(e,"groupTransition",(function(){return Q})),n.d(e,"clipPointsByRect",(function(){return tt})),n.d(e,"clipRectByRect",(function(){return et})),n.d(e,"createIcon",(function(){return nt})),n.d(e,"linePolygonIntersect",(function(){return rt})),n.d(e,"lineLineIntersect",(function(){return it})),n.d(e,"setTooltipConfig",(function(){return st})),n.d(e,"traverseElements",(function(){return ct}));var r=n("342d"),i=n("1687"),o=n("401b"),a=n("cbe5");n.d(e,"Path",(function(){return a["b"]}));var s=n("8582"),l=n("0da8");n.d(e,"Image",(function(){return l["a"]}));var c=n("2dc5");n.d(e,"Group",(function(){return c["a"]}));var u=n("76a5");n.d(e,"Text",(function(){return u["a"]}));var h=n("d9fc");n.d(e,"Circle",(function(){return h["a"]}));var d=n("ae69");n.d(e,"Ellipse",(function(){return d["a"]}));var p=n("4aa2");n.d(e,"Sector",(function(){return p["a"]}));var f=n("4573");n.d(e,"Ring",(function(){return f["a"]}));var g=n("87b1");n.d(e,"Polygon",(function(){return g["a"]}));var y=n("d498");n.d(e,"Polyline",(function(){return y["a"]}));var v=n("c7a2");n.d(e,"Rect",(function(){return v["a"]}));var m=n("cb11");n.d(e,"Line",(function(){return m["a"]}));var b=n("ac0f");n.d(e,"BezierCurve",(function(){return b["a"]}));var x=n("8d32");n.d(e,"Arc",(function(){return x["a"]}));var _=n("d4c6");n.d(e,"CompoundPath",(function(){return _["a"]}));var O=n("48a9");n.d(e,"LinearGradient",(function(){return O["a"]}));var w=n("dded");n.d(e,"RadialGradient",(function(){return w["a"]}));var S=n("9850");n.d(e,"BoundingRect",(function(){return S["a"]}));var j=n("ca80");n.d(e,"OrientedBoundingRect",(function(){return j["a"]}));var M=n("dce8");n.d(e,"Point",(function(){return M["a"]}));var I=n("392f");n.d(e,"IncrementalDisplayable",(function(){return I["a"]}));var C=n("9cf9"),A=n("6d8b"),T=n("861c"),D=n("deca");n.d(e,"updateProps",(function(){return D["h"]})),n.d(e,"initProps",(function(){return D["c"]})),n.d(e,"removeElement",(function(){return D["e"]})),n.d(e,"removeElementWithFadeOut",(function(){return D["f"]})),n.d(e,"isElementRemoved",(function(){return D["d"]}));var k=Math.max,L=Math.min,P={};function R(t){return a["b"].extend(t)}var E=r["c"];function N(t,e){return E(t,e)}function z(t,e){P[t]=e}function B(t){if(P.hasOwnProperty(t))return P[t]}function V(t,e,n,i){var o=r["b"](t,e);return n&&("center"===i&&(n=G(n,o.getBoundingRect())),W(o,n)),o}function F(t,e,n){var r=new l["a"]({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};r.setStyle(G(e,i))}}});return r}function G(t,e){var n,r=e.width/e.height,i=t.height*r;i<=t.width?n=t.height:(i=t.width,n=i/r);var o=t.x+t.width/2,a=t.y+t.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var H=r["d"];function W(t,e){if(t.applyTransform){var n=t.getBoundingRect(),r=n.calculateTransform(e);t.applyTransform(r)}}function U(t,e){return C["b"](t,t,{lineWidth:e}),t}function q(t){return C["c"](t.shape,t.shape,t.style),t}var Y=C["a"];function X(t,e){var n=i["identity"]([]);while(t&&t!==e)i["mul"](n,t.getLocalTransform(),n),t=t.parent;return n}function Z(t,e,n){return e&&!Object(A["isArrayLike"])(e)&&(e=s["c"].getLocalTransform(e)),n&&(e=i["invert"]([],e)),o["applyTransform"]([],t,e)}function K(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return o=Z(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function $(t){return!t.isGroup}function J(t){return null!=t.shape}function Q(t,e,n){if(t&&e){var r=i(t);e.traverse((function(t){if($(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),Object(D["h"])(t,i,n,Object(T["a"])(t).dataIndex)}}}))}function i(t){var e={};return t.traverse((function(t){$(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return J(t)&&(e.shape=Object(A["extend"])({},t.shape)),e}}function tt(t,e){return Object(A["map"])(t,(function(t){var n=t[0];n=k(n,e.x),n=L(n,e.x+e.width);var r=t[1];return r=k(r,e.y),r=L(r,e.y+e.height),[n,r]}))}function et(t,e){var n=k(t.x,e.x),r=L(t.x+t.width,e.x+e.width),i=k(t.y,e.y),o=L(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function nt(t,e,n){var r=Object(A["extend"])({rectHover:!0},e),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),Object(A["defaults"])(i,n),new l["a"](r)):V(t.replace("path://",""),r,n,"center")}function rt(t,e,n,r,i){for(var o=0,a=i[i.length-1];o1)return!1;var y=ot(p,f,u,h)/d;return!(y<0||y>1)}function ot(t,e,n,r){return t*r-n*e}function at(t){return t<=1e-6&&t>=-1e-6}function st(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=Object(A["isString"])(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&Object(A["each"])(Object(A["keys"])(l),(function(t){Object(A["hasOwn"])(s,t)||(s[t]=l[t],s.$vars.push(t))}));var c=Object(T["a"])(t.el);c.componentMainType=o,c.componentIndex=a,c.tooltipConfig={name:r,option:Object(A["defaults"])({content:r,formatterParams:s},i)}}function lt(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function ct(t,e){if(t)if(Object(A["isArray"])(t))for(var n=0;n0&&o&&O(-h/a,0,a);var y,v,m=t[0],b=t[a-1];return x(),y<0&&w(-y,.8),v<0&&w(v,.8),x(),_(y,v,1),_(v,y,-1),x(),y<0&&S(-y),v<0&&S(v),c}function x(){y=m.rect[e]-r,v=i-b.rect[e]-b.rect[n]}function _(t,e,n){if(t<0){var r=Math.min(e,-t);if(r>0){O(r*n,0,a);var i=r+t;i<0&&w(-i*n,1)}else w(-t*n,1)}}function O(n,r,i){0!==n&&(c=!0);for(var o=r;o0)for(l=0;l0;l--){d=o[l-1]*h;O(-d,l,a)}}}function S(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),r=0;r0?O(n,0,r+1):O(-n,a-r-1,a),t-=n,t<=0)return}}function s(t,e,n,r){return a(t,"x","width",e,n,r)}function l(t,e,n,r){return a(t,"y","height",e,n,r)}function c(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new i["a"](0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a=0||o&&r["indexOf"](o,l)<0)){var c=n.getShallow(l,e);null!=c&&(a[t[s][0]]=c)}}return a}}},"2b17":function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"c",(function(){return g})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return _})),n.d(e,"e",(function(){return w}));var r,i,o,a,s,l=n("6d8b"),c=n("e0d3"),u=n("ec6f"),h=n("07fd"),d=function(){function t(t,e){var n=Object(u["e"])(t)?t:Object(u["c"])(t);this._source=n;var r=this._data=n.data;n.sourceFormat===h["g"]&&(this._offset=0,this._dimSize=e,this._data=r),s(this,r,n)}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;s=function(t,i,o){var s=o.sourceFormat,c=o.seriesLayoutBy,u=o.startIndex,d=o.dimensionsDefine,p=a[O(s,c)];if(Object(l["extend"])(t,p),s===h["g"])t.getItem=e,t.count=r,t.fillStorage=n;else{var f=g(s,c);t.getItem=Object(l["bind"])(f,null,i,u,d);var y=m(s,c);t.count=Object(l["bind"])(y,null,i,u,d)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,r=this._dimSize,i=r*t,o=0;oc&&(c=p)}s[0]=l,s[1]=c}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e=0&&(n.splice(r,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=i["indexOf"](this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,r=n[e];if(t&&t!==this&&t.parent!==this&&t!==r){n[e]=t,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),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,n=this._children,r=i["indexOf"](n,t);return r<0||(n.splice(r,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n=f:-c>=f),m=c>0?c%f:c%f+f,b=!1;b=!!v||!Object(a["j"])(y)&&m>=p===!!u;var x=t+n*d(o),_=e+r*h(o);this._start&&this._add("M",x,_);var O=Math.round(i*g);if(v){var w=1/this._p,S=(u?1:-1)*(f-w);this._add("A",n,r,O,1,+u,t+n*d(o+S),e+r*h(o+S)),w>.01&&this._add("A",n,r,O,0,+u,x,_)}else{var j=t+n*d(s),M=e+r*h(s);this._add("A",n,r,O,+b,+u,j,M)}},t.prototype.rect=function(t,e,n,r){this._add("M",t,e),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,r,i,o,a,s,l){for(var c=[],u=this._p,h=1;h"}function R(t){return""}function E(t,e){e=e||{};var n=e.newline?"\n":"";function r(t){var e=t.children,i=t.tag,o=t.attrs;return P(i,o)+Object(I["a"])(t.text)+(e?""+n+Object(b["map"])(e,(function(t){return r(t)})).join(n)+n:"")+R(i)}return r(t)}function N(t,e,n){n=n||{};var r=n.newline?"\n":"",i=" {"+r,o=r+"}",a=Object(b["map"])(Object(b["keys"])(t),(function(e){return e+i+Object(b["map"])(Object(b["keys"])(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(r)+o})).join(r),s=Object(b["map"])(Object(b["keys"])(e),(function(t){return"@keyframes "+t+i+Object(b["map"])(Object(b["keys"])(e[t]),(function(n){return n+i+Object(b["map"])(Object(b["keys"])(e[t][n]),(function(r){var i=e[t][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"})).join(r)+o})).join(r)+o})).join(r);return a||s?[""].join(r):""}function z(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function B(t,e,n,r){return L("svg","root",{width:t,height:e,xmlns:C,"xmlns:xlink":A,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+t+" "+e},n)}var V=n("5e76"),F=n("8582"),G=n("20c8"),H=n("d4c6"),W=n("b362"),U={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"},q="transform-origin";function Y(t,e,n){var r=Object(b["extend"])({},t.shape);Object(b["extend"])(r,e),t.buildPath(n,r);var i=new v;return i.reset(Object(a["f"])(t)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function X(t,e){var n=e.originX,r=e.originY;(n||r)&&(t[q]=n+"px "+r+"px")}var Z={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function K(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function $(t,e,n){var r,i,o=t.shape.paths,a={};if(Object(b["each"])(o,(function(t){var e=z(n.zrId);e.animation=!0,Q(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=Object(b["keys"])(o),c=l.length;if(c){i=l[c-1];var u=o[i];for(var h in u){var d=u[h];a[h]=a[h]||{d:""},a[h].d+=d.d||""}for(var p in s){var f=s[p].animation;f.indexOf(i)>=0&&(r=f)}}})),r){e.d=!1;var s=K(a,n);return r.replace(i,s)}}function J(t){return Object(b["isString"])(t)?U[t]?"cubic-bezier("+U[t]+")":Object(W["a"])(t)?t:"":""}function Q(t,e,n,r){var i=t.animators,o=i.length,s=[];if(t instanceof H["a"]){var l=$(t,e,n);if(l)s.push(l);else if(!o)return}else if(!o)return;for(var c={},u=0;u0})).length){var D=K(h,n);return D+" "+i[0]+" both"}}for(var v in c){l=y(c[v]);l&&s.push(l)}if(s.length){var m=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+m]={animation:s.join(",")},e["class"]=m}}var tt=n("76a5"),et=n("726e"),nt=Math.round;function rt(t){return t&&Object(b["isString"])(t.src)}function it(t){return t&&Object(b["isFunction"])(t.toDataURL)}function ot(t,e,n,r){M((function(i,o){var s="fill"===i||"stroke"===i;s&&Object(a["k"])(o)?bt(e,t,i,r):s&&Object(a["n"])(o)?xt(n,t,i,r):t[i]=o}),e,n,!1),mt(n,t,r)}function at(t){return Object(a["j"])(t[0]-1)&&Object(a["j"])(t[1])&&Object(a["j"])(t[2])&&Object(a["j"])(t[3]-1)}function st(t){return Object(a["j"])(t[4])&&Object(a["j"])(t[5])}function lt(t,e,n){if(e&&(!st(e)||!at(e))){var r=n?10:1e4;t.transform=at(e)?"translate("+nt(e[4]*r)/r+" "+nt(e[5]*r)/r+")":Object(a["e"])(e)}}function ct(t,e,n){for(var r=t.points,i=[],o=0;oc?(a=null==n[d+1]?null:n[d+1].elm,Nt(t,a,n,l,d)):zt(t,e,s,c))}function Ft(t,e){var n=e.elm=t.elm,r=t.children,i=e.children;t!==e&&(Bt(t,e),kt(e.text)?Lt(r)&&Lt(i)?r!==i&&Vt(n,r,i):Lt(i)?(Lt(t.text)&&Ct(n,""),Nt(n,null,i,0,i.length-1)):Lt(r)?zt(n,r,0,r.length-1):Lt(t.text)&&Ct(n,""):t.text!==e.text&&(Lt(r)&&zt(n,r,0,r.length-1),Ct(n,e.text)))}function Gt(t,e){if(Rt(t,e))Ft(t,e);else{var n=t.elm,r=Mt(n);Et(e),null!==r&&(wt(r,e.elm,It(n)),zt(r,[t],0,0))}return e}var Ht=n("3437"),Wt=0,Ut=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=qt("refreshHover"),this.configLayer=qt("configLayer"),this.storage=e,this._opts=n=Object(b["extend"])({},n),this.root=t,this._id="zr"+Wt++,this._oldVNode=B(n.width,n.height),t&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=k("svg");Bt(null,this._oldVNode),r.appendChild(i),t.appendChild(r)}this.resize(n.width,n.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",Gt(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return vt(t,z(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,r=this._height,i=z(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress;var o=[],a=this._bgVNode=Yt(n,r,this._backgroundColor,i);a&&o.push(a);var s=t.compress?null:this._mainVNode=L("g","main",{},[]);this._paintList(e,i,s?s.children:o),s&&o.push(s);var l=Object(b["map"])(Object(b["keys"])(i.defs),(function(t){return i.defs[t]}));if(l.length&&o.push(L("defs","defs",{},l)),t.animation){var c=N(i.cssNodes,i.cssAnims,{newline:!0});if(c){var u=L("style","stl",{},[],c);o.push(u)}}return B(n,r,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},E(this.renderToVNode({animation:Object(b["retrieve2"])(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(b["retrieve2"])(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,n){for(var r,i,o=t.length,a=[],s=0,l=0,c=0;c=0;f--)if(h&&i&&h[f]===i[f])break;for(var g=p-1;g>f;g--)s--,r=a[s-1];for(var y=f+1;y-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}(Jt["b"]),ne=ee,re=n("deca"),ie=n("2306"),oe=n("861c"),ae=n("7d6c"),se=n("2b17");function le(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=Object(se["e"])(t,e,n[0]);return null!=i?i+"":null}if(r){for(var o=[],a=0;a=0&&r.push(e[o])}return r.join(" ")}var ue=n("7837"),he=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.updateData(e,n,r,i),o}return Object(Kt["a"])(e,t),e.prototype._createSymbol=function(t,e,n,r,i){this.removeAll();var o=Object(Qt["a"])(t,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=de,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(){Object(ae["r"])(this.childAt(0))},e.prototype.downplay=function(){Object(ae["C"])(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,r,i){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,c=i&&i.disableAnimation;if(l){var u=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,u)}else{var h=this.childAt(0);h.silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};c?h.attr(d):re["h"](h,d,a,n),Object(re["g"])(h)}if(this._updateCommon(t,n,s,r,i),l){h=this.childAt(0);if(!c){d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,re["c"](h,d,a,n)}}c&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,r,i){var o,a,s,c,u,h,d,p,f,g=this.childAt(0),y=t.hostModel;if(r&&(o=r.emphasisItemStyle,a=r.blurItemStyle,s=r.selectItemStyle,c=r.focus,u=r.blurScope,d=r.labelStatesModels,p=r.hoverScale,f=r.cursorStyle,h=r.emphasisDisabled),!r||t.hasItemOption){var v=r&&r.itemModel?r.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(),c=m.get("focus"),u=m.get("blurScope"),h=m.get("disabled"),d=Object(ue["e"])(v),p=m.getShallow("scale"),f=v.getShallow("cursor")}var x=t.getItemVisual(e,"symbolRotate");g.attr("rotation",(x||0)*Math.PI/180||0);var _=Object(Qt["b"])(t.getItemVisual(e,"symbolOffset"),n);_&&(g.x=_[0],g.y=_[1]),f&&g.attr("cursor",f);var O=t.getItemVisual(e,"style"),w=O.fill;if(g instanceof l["a"]){var S=g.style;g.useStyle(Object(b["extend"])({image:S.image,x:S.x,y:S.y,width:S.width,height:S.height},O))}else g.__isEmptyBrush?g.useStyle(Object(b["extend"])({},O)):g.useStyle(O),g.style.decal=null,g.setColor(w,i&&i.symbolInnerColor),g.style.strokeNoScale=!0;var j=t.getItemVisual(e,"liftZ"),M=this._z2;null!=j?null==M&&(this._z2=g.z2,g.z2+=j):null!=M&&(g.z2=M,this._z2=null);var I=i&&i.useNameLabel;function C(e){return I?t.getName(e):le(t,e)}Object(ue["g"])(g,d,{labelFetcher:y,labelDataIndex:e,defaultText:C,inheritColor:w,defaultOpacity:O.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var A=g.ensureState("emphasis");A.style=o,g.ensureState("select").style=s,g.ensureState("blur").style=a;var T=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;A.scaleX=this._sizeX*T,A.scaleY=this._sizeY*T,this.setSymbolScale(1),Object(ae["J"])(this,c,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var r=this.childAt(0),i=Object(oe["a"])(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var a=r.getTextContent();a&&re["e"](a,{style:{opacity:0}},e,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();re["e"](r,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:i,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return Object(Qt["c"])(t.getItemVisual(e,"symbolSize"))},e}(te["a"]);function de(t,e){this.parent.drift(t,e)}var pe=he;function fe(t,e,n,r){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function ge(t){return null==t||Object(b["isObject"])(t)||(t={isIgnore:t}),t||{}}function ye(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Object(ue["e"])(e),cursorStyle:e.get("cursor")}}var ve=function(){function t(t){this.group=new te["a"],this._SymbolCtor=t||pe}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=ge(e);var n=this.group,r=t.hostModel,i=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=ye(t),l={disableAnimation:a},c=e.getSymbolPoint||function(e){return t.getItemLayout(e)};i||n.removeAll(),t.diff(i).add((function(r){var i=c(r);if(fe(t,i,r,e)){var a=new o(t,r,s,l);a.setPosition(i),t.setItemGraphicEl(r,a),n.add(a)}})).update((function(u,h){var d=i.getItemGraphicEl(h),p=c(u);if(fe(t,p,u,e)){var f=t.getItemVisual(u,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),d=new o(t,u,s,l),d.setPosition(p);else{d.updateData(t,u,s,l);var y={x:p[0],y:p[1]};a?d.attr(y):re["h"](d,y,r)}n.add(d),t.setItemGraphicEl(u,d)}else n.remove(d)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),r)})).execute(),this._getSymbolPoint=c,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var r=t._getSymbolPoint(n);e.setPosition(r),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=ye(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function r(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=ge(n);for(var i=t.start;i0?n=r[0]:r[1]<0&&(n=r[1]),n}function Oe(t,e,n,r){var i=NaN;t.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,r),a[1-o]=i,e.dataToPoint(a)}var we=n("f658");function Se(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}function je(t,e,n,r,i,o,a,s){for(var l=Se(t,e),c=[],u=[],h=[],d=[],p=[],f=[],g=[],y=xe(i,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],b=0;b=i||g<0)break;if(De(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),h=v,d=m;else{var b=v-c,x=m-u;if(b*b+x*x<.5){g+=o;continue}if(a>0){var _=g+o,O=e[2*_],w=e[2*_+1];while(O===v&&w===m&&y=r||De(O,w))p=v,f=m;else{M=O-c,I=w-u;var T=v-c,D=O-v,k=m-u,L=w-m,P=void 0,R=void 0;if("x"===s){P=Math.abs(T),R=Math.abs(D);var E=M>0?1:-1;p=v-E*P*a,f=m,C=v+E*R*a,A=m}else if("y"===s){P=Math.abs(k),R=Math.abs(L);var N=I>0?1:-1;p=v,f=m-N*P*a,C=v,A=m+N*R*a}else P=Math.sqrt(T*T+k*k),R=Math.sqrt(D*D+L*L),j=R/(R+P),p=v-M*a*(1-j),f=m-I*a*(1-j),C=v+M*a*j,A=m+I*a*j,C=Ae(C,Te(O,v)),A=Ae(A,Te(w,m)),C=Te(C,Ae(O,v)),A=Te(A,Ae(w,m)),M=C-v,I=A-m,p=v-M*P/R,f=m-I*P/R,p=Ae(p,Te(c,v)),f=Ae(f,Te(u,m)),p=Te(p,Ae(c,v)),f=Te(f,Ae(u,m)),M=v-p,I=m-f,C=v+M*R/P,A=m+I*R/P}t.bezierCurveTo(h,d,p,f,v,m),h=C,d=A}else t.lineTo(v,m)}c=v,u=m,g+=o}return y}var Le=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),Pe=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return Object(Kt["a"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Le},e.prototype.buildPath=function(t,e){var n=e.points,r=0,i=n.length/2;if(e.connectNulls){for(;i>0;i--)if(!De(n[2*i-2],n[2*i-1]))break;for(;r=0){var m=s?(d-r)*v+r:(h-n)*v+n;return s?[t,m]:[m,t]}n=h,r=d;break;case a.C:h=o[c++],d=o[c++],p=o[c++],f=o[c++],g=o[c++],y=o[c++];var b=s?Object(Ce["f"])(n,h,p,g,t,l):Object(Ce["f"])(r,d,f,y,t,l);if(b>0)for(var x=0;x=0){m=s?Object(Ce["a"])(r,d,f,y,_):Object(Ce["a"])(n,h,p,g,_);return s?[t,m]:[m,t]}}n=g,r=y;break}}},e}(s["b"]),Re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e}(Le),Ee=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return Object(Kt["a"])(e,t),e.prototype.getDefaultShape=function(){return new Re},e.prototype.buildPath=function(t,e){var n=e.points,r=e.stackedOnPoints,i=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0;o--)if(!De(n[2*o-2],n[2*o-1]))break;for(;ie){r?i.push(a(r,l,e)):n&&i.push(a(n,l,0),a(n,l,e));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}function tn(t,e,n){var r=t.getVisual("visualMeta");if(r&&r.length&&t.count()&&"cartesian2d"===e.type){for(var i,o,a=r.length-1;a>=0;a--){var s=t.getDimensionInfo(r[a].dimension);if(i=s&&s.coordDim,"x"===i||"y"===i){o=r[a];break}}if(o){var l=e.getAxis(i),c=b["map"](o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),u=c.length,h=o.outerColors.slice();u&&c[0].coord>c[u-1].coord&&(c.reverse(),h.reverse());var d=Qe(c,"x"===i?n.getWidth():n.getHeight()),p=d.length;if(!p&&u)return c[0].coord<0?h[1]?h[1]:c[u-1].color:h[0]?h[0]:c[0].color;var f=10,g=d[0].coord-f,y=d[p-1].coord+f,v=y-g;if(v<.001)return"transparent";b["each"](d,(function(t){t.offset=(t.coord-g)/v})),d.push({offset:p?d[p-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:h[0]||"transparent"});var m=new Me["a"](0,0,0,0,d,!0);return m[i]=g,m[i+"2"]=y,m}}}function en(t,e,n){var r=t.get("showAllSymbol"),i="auto"===r;if(!r||i){var o=n.getAxesByScale("ordinal")[0];if(o&&(!i||!nn(o,e))){var a=e.mapDimension(o.dim),s={};return b["each"](o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function nn(t,e){var n=t.getExtent(),r=Math.abs(n[1]-n[0])/t.scale.count();isNaN(r)&&(r=0);for(var i=e.count(),o=Math.max(1,Math.round(i/5)),a=0;ar)return!1;return!0}function rn(t,e){return isNaN(t)||isNaN(e)}function on(t){for(var e=t.length/2;e>0;e--)if(!rn(t[2*e-2],t[2*e-1]))break;return e-1}function an(t,e){return[t[2*e],t[2*e+1]]}function sn(t,e,n){for(var r,i,o=t.length/2,a="x"===n?0:1,s=0,l=-1,c=0;c=e||r>=e&&i<=e){l=c;break}s=c,r=i}else r=i;return{range:[s,l],t:(e-r)/(i-r)}}function ln(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"])){var R=p.getState("emphasis").style;R.lineWidth=+p.style.lineWidth+1}Object(oe["a"])(p).seriesIndex=t.seriesIndex,Object(ae["J"])(p,k,L,P);var E=Ke(t.get("smooth")),N=t.get("smoothMonotone");if(p.setShape({smooth:E,smoothMonotone:N,connectNulls:w}),f){var z=a.getCalculationInfo("stackedOnSeries"),B=0;f.useStyle(b["defaults"](l.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),z&&(B=Ke(z.get("smooth"))),f.setShape({smooth:E,stackedOnSmooth:B,smoothMonotone:N,connectNulls:w}),Object(ae["I"])(f,t,"areaStyle"),Object(oe["a"])(f).seriesIndex=t.seriesIndex,Object(ae["J"])(f,k,L,P)}var V=function(t){r._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=V)})),this._polyline.onHoverStateChange=V,this._data=a,this._coordSys=i,this._stackedOnPoints=_,this._points=c,this._step=I,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,p),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){Object(oe["a"])(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,r){var i=t.getData(),o=Ie["u"](i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],c=a[2*o+1];if(isNaN(l)||isNaN(c))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,c))return;var u=t.get("zlevel")||0,h=t.get("z")||0;s=new pe(i,o),s.x=l,s.y=c,s.setZ(u,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=u,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Ne["a"].prototype.highlight.call(this,t,e,n,r)},e.prototype.downplay=function(t,e,n,r){var i=t.getData(),o=Ie["u"](i,r);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Ne["a"].prototype.downplay.call(this,t,e,n,r)},e.prototype._changePolyState=function(t){var e=this._polygon;Object(ae["H"])(this._polyline,t),e&&Object(ae["H"])(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Pe({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Ee({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var r,i,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(r=o.isHorizontal(),i=!1):"polar"===e.type&&(r="angle"===o.dim,i=!0);var s=t.hostModel,l=s.get("animationDuration");b["isFunction"](l)&&(l=l(null));var c=s.get("animationDelay")||0,u=b["isFunction"](c)?c(null):c;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var h=[t.x,t.y],d=void 0,p=void 0,f=void 0;if(n)if(i){var g=n,y=e.pointToCoord(h);r?(d=g.startAngle,p=g.endAngle,f=-y[1]/180*Math.PI):(d=g.r0,p=g.r,f=y[0])}else{var v=n;r?(d=v.x,p=v.x+v.width,f=t.x):(d=v.y+v.height,p=v.y,f=t.y)}var m=p===d?0:(f-d)/(p-d);a&&(m=1-m);var x=b["isFunction"](c)?c(o):l*m+u,_=s.getSymbolPath(),O=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),O&&O.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var r=t.getModel("endLabel");if(ln(t)){var i=t.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new tt["a"]({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=on(a);l>=0&&(Object(ue["g"])(o,Object(ue["e"])(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?ce(i,n):le(i,t)},enableTextSetter:!0},un(r,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var c=n.getLayout("points"),u=n.hostModel,h=u.get("connectNulls"),d=o.get("precision"),p=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,b=(g?p:0)*(y?-1:1),x=(g?0:-p)*(y?-1:1),_=g?"x":"y",O=sn(c,m,_),w=O.range,S=w[1]-w[0],j=void 0;if(S>=1){if(S>1&&!h){var M=an(c,w[0]);s.attr({x:M[0]+b,y:M[1]+x}),i&&(j=u.getRawValue(w[0]))}else{M=l.getPointOn(m,_);M&&s.attr({x:M[0]+b,y:M[1]+x});var I=u.getRawValue(w[0]),C=u.getRawValue(w[1]);i&&(j=Ie["k"](n,d,I,C,O.t))}r.lastFrameIndex=w[0]}else{var A=1===t||r.lastFrameIndex>0?w[0]:0;M=an(c,A);i&&(j=u.getRawValue(A)),s.attr({x:M[0]+b,y:M[1]+x})}i&&Object(ue["f"])(s).setLabelText(j)}},e.prototype._doUpdateAnimation=function(t,e,n,r,i,o,a){var s=this._polyline,l=this._polygon,c=t.hostModel,u=je(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,o),h=u.current,d=u.stackedOnCurrent,p=u.next,f=u.stackedOnNext;if(i&&(h=Je(u.current,n,i,a),d=Je(u.stackedOnCurrent,n,i,a),p=Je(u.next,n,i,a),f=Je(u.stackedOnNext,n,i,a)),Ze(h,p)>3e3||l&&Ze(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=u.current,s.shape.points=h;var g={shape:{points:p}};u.current!==h&&(g.shape.__points=u.next),s.stopAnimation(),re["h"](s,g,c),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),re["h"](l,{shape:{stackedOnPoints:f}},c),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=u.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===o.type&&i){var s=o.getBaseAxis(),l=o.getOtherAxis(s),c=s.getExtent(),u=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(u||1),d=Math.round(a/h);if(isFinite(d)&&d>1){"lttb"===i&&t.setData(r.lttbDownSample(r.mapDimension(l.dim),1/d));var p=void 0;Object(b["isString"])(i)?p=gn[i]:Object(b["isFunction"])(i)&&(p=i),p&&t.setData(r.downSample(r.mapDimension(l.dim),1/d,p,yn))}}}}}function mn(t){t.registerChartView(dn),t.registerSeriesModel(ne),t.registerLayout(fn("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,vn("line"))}var bn=n("9d57"),xn=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.getInitialData=function(t,e){return Object($t["a"])(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var r=this.coordinateSystem;if(r&&r.clampData){var i=r.dataToPoint(r.clampData(t));if(n)Object(b["each"])(r.getAxes(),(function(n,o){if("category"===n.type){var a=n.getTicksCoords(),s=r.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]&&(i[o]=n.toGlobalCoord(a[s].coord))}}));else{var o=this.getData(),a=o.getLayout("offset"),s=o.getLayout("size"),l=r.getBaseAxis().isHorizontal()?0:1;i[l]+=a+s/2}return i}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}(Jt["b"]);Jt["b"].registerClass(xn);var _n=xn,On=n("8918"),wn=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.getInitialData=function(){return Object($t["a"])(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,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Object(On["d"])(_n.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}(_n),Sn=wn,jn=n("88b3"),Mn=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),In=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return Object(Kt["a"])(e,t),e.prototype.getDefaultShape=function(){return new Mn},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-i),s=i+a,l=e.startAngle,c=e.endAngle,u=e.clockwise,h=2*Math.PI,d=u?c-lMath.PI/2&&u<1.5*Math.PI&&(u-=Math.PI),t.setTextConfig({rotation:u})}}function Dn(t,e,n){return e*Math.sin(t)*(n?-1:1)}function kn(t,e,n){return e*Math.cos(t)*(n?1:-1)}var Ln=Math.max,Pn=Math.min;function Rn(t,e){var n=t.getArea&&t.getArea();if(We(t,"cartesian2d")){var r=t.getBaseAxis();if("category"!==r.type||!r.onBand){var i=e.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}var En=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n,r){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var i=t.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,r))},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){Object(ie["traverseElements"])(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,n,r){var i,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,c=l.getBaseAxis();"cartesian2d"===l.type?i=c.isHorizontal():"polar"===l.type&&(i="angle"===c.dim);var u=t.isAnimationEnabled()?t:null,h=Bn(t,l);h&&this._enableRealtimeSort(h,a,n);var d=t.get("clip",!0)||h,p=Rn(l,a);o.removeClipPath();var f=t.get("roundCap",!0),g=t.get("showBackground",!0),y=t.getModel("backgroundStyle"),v=y.get("borderRadius")||0,m=[],b=this._backgroundEls,x=r&&r.isInitSort,_=r&&"changeAxisOrder"===r.type;function O(t){var e=Un[l.type](a,t),n=nr(l,i,e);return n.useStyle(y.getItemStyle()),"cartesian2d"===l.type&&n.setShape("r",v),m[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),r=Un[l.type](a,e,n);if(g&&O(e),a.hasValue(e)&&Wn[l.type](r)){var s=!1;d&&(s=Nn[l.type](p,r));var y=zn[l.type](t,a,e,r,i,u,c.model,!1,f);h&&(y.forceLabelAnimation=!0),Xn(y,a,e,n,r,t,i,"polar"===l.type),x?y.attr({shape:r}):h?Vn(h,u,y,r,e,i,!1,!1):Object(re["c"])(y,{shape:r},t,e),a.setItemGraphicEl(e,y),o.add(y),y.ignore=s}})).update((function(e,n){var r=a.getItemModel(e),w=Un[l.type](a,e,r);if(g){var S=void 0;0===b.length?S=O(n):(S=b[n],S.useStyle(y.getItemStyle()),"cartesian2d"===l.type&&S.setShape("r",v),m[e]=S);var j=Un[l.type](a,e),M=er(i,j,l);Object(re["h"])(S,{shape:M},u,e)}var I=s.getItemGraphicEl(n);if(a.hasValue(e)&&Wn[l.type](w)){var C=!1;if(d&&(C=Nn[l.type](p,w),C&&o.remove(I)),I?Object(re["g"])(I):I=zn[l.type](t,a,e,w,i,u,c.model,!!I,f),h&&(I.forceLabelAnimation=!0),_){var A=I.getTextContent();if(A){var T=Object(ue["f"])(A);null!=T.prevValue&&(T.prevValue=T.value)}}else Xn(I,a,e,r,w,t,i,"polar"===l.type);x?I.attr({shape:w}):h?Vn(h,u,I,w,e,i,!0,_):Object(re["h"])(I,{shape:w},t,e,null),a.setItemGraphicEl(e,I),I.ignore=C,o.add(I)}else o.remove(I)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&Object(re["f"])(n,t,e)})).execute();var w=this._backgroundGroup||(this._backgroundGroup=new te["a"]);w.removeAll();for(var S=0;So)return!0;o=c}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(t.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,r){if(this._isOrderChangedWithinSameData(t,e,n)){var i=this._dataSort(t,n,e);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},e.prototype._dispatchInitSort=function(t,e,n){var r=e.baseAxis,i=this._dataSort(t,r,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},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,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Object(re["f"])(e,t,Object(oe["a"])(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}(Ne["a"]),Nn={cartesian2d:function(t,e){var n=e.width<0?-1:1,r=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var i=t.x+t.width,o=t.y+t.height,a=Ln(e.x,t.x),s=Pn(e.x+e.width,i),l=Ln(e.y,t.y),c=Pn(e.y+e.height,o),u=si?s:a,e.y=h&&l>o?c:l,e.width=u?0:s-a,e.height=h?0:c-l,n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),u||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}var i=Pn(e.r,t.r),o=Ln(e.r0,t.r0);e.r=i,e.r0=o;var a=i-o<0;if(n<0){r=e.r;e.r=e.r0,e.r0=r}return a}},zn={cartesian2d:function(t,e,n,r,i,o,a,s,l){var c=new ze["a"]({shape:Object(b["extend"])({},r),z2:1});if(c.__dataIndex=n,c.name="item",o){var u=c.shape,h=i?"height":"width";u[h]=0}return c},polar:function(t,e,n,r,i,o,a,s,l){var c=!i&&l?Cn:Be["a"],u=new c({shape:r,z2:1});u.name="item";var h=Yn(i);if(u.calculateTextPosition=An(h,{isRoundCap:c===Cn}),o){var d=u.shape,p=i?"r":"endAngle",f={};d[p]=i?0:r.startAngle,f[p]=r[p],(s?re["h"]:re["c"])(u,{shape:f},o)}return u}};function Bn(t,e){var n=t.get("realtimeSort",!0),r=e.getBaseAxis();if(n&&"category"===r.type&&"cartesian2d"===e.type)return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function Vn(t,e,n,r,i,o,a,s){var l,c;o?(c={x:r.x,width:r.width},l={y:r.y,height:r.height}):(c={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?re["h"]:re["c"])(n,{shape:l},e,i,null);var u=e?t.baseAxis.model:null;(a?re["h"]:re["c"])(n,{shape:c},u,i)}function Fn(t,e){for(var n=0;n0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function qn(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function Yn(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 Xn(t,e,n,r,i,o,a,s){var l=e.getItemVisual(n,"style");s||t.setShape("r",r.get(["itemStyle","borderRadius"])||0),t.useStyle(l);var c=r.getShallow("cursor");c&&t.attr("cursor",c);var u=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",h=Object(ue["e"])(r);Object(ue["g"])(t,h,{labelFetcher:o,labelDataIndex:n,defaultText:le(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:u});var d=t.getTextContent();if(s&&d){var p=r.get(["label","position"]);t.textConfig.inside="middle"===p||null,Tn(t,"outside"===p?u:p,Yn(a),r.get(["label","rotate"]))}Object(ue["h"])(d,h,o.getRawValue(n),(function(t){return ce(e,t)}));var f=r.getModel(["emphasis"]);Object(ae["J"])(t,f.get("focus"),f.get("blurScope"),f.get("disabled")),Object(ae["I"])(t,r),qn(i)&&(t.style.fill="none",t.style.stroke="none",Object(b["each"])(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}function Zn(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=t.get(["itemStyle","borderWidth"])||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,i,o)}var Kn=function(){function t(){}return t}(),$n=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return Object(Kt["a"])(e,t),e.prototype.getDefaultShape=function(){return new Kn},e.prototype.buildPath=function(t,e){for(var n=e.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=0?n:null}),30,!1);function tr(t,e,n){for(var r=t.baseDimIdx,i=1-r,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],c=t.barWidth,u=0,h=o.length/3;u=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[u]}return-1}function er(t,e,n){if(We(n,"cartesian2d")){var r=e,i=n.getArea();return{x:t?r.x:i.x,y:t?i.y:r.y,width:t?r.width:i.width,height:t?i.height:r.height}}i=n.getArea();var o=e;return{cx:i.cx,cy:i.cy,r0:t?i.r0:o.r0,r:t?i.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function nr(t,e,n){var r="polar"===t.type?Be["a"]:ze["a"];return new r({shape:er(e,n,t),silent:!0,z2:0})}var rr=En;function ir(t){t.registerChartView(rr),t.registerSeriesModel(Sn),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,b["curry"](bn["c"],"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Object(bn["a"])("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,vn("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var or=n("f3bb"),ar=n("f934"),sr=2*Math.PI,lr=Math.PI/180;function cr(t,e){return ar["g"](t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function ur(t,e){var n=cr(t,e),r=t.get("center"),i=t.get("radius");b["isArray"](i)||(i=[0,i]);var o,a,s=Object(Ve["q"])(n.width,e.getWidth()),l=Object(Ve["q"])(n.height,e.getHeight()),c=Math.min(s,l),u=Object(Ve["q"])(i[0],c/2),h=Object(Ve["q"])(i[1],c/2),d=t.coordinateSystem;if(d){var p=d.dataToPoint(r);o=p[0]||0,a=p[1]||0}else b["isArray"](r)||(r=[r,r]),o=Object(Ve["q"])(r[0],s)+n.x,a=Object(Ve["q"])(r[1],l)+n.y;return{cx:o,cy:a,r0:u,r:h}}function hr(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),r=e.mapDimension("value"),i=cr(t,n),o=ur(t,n),a=o.cx,s=o.cy,l=o.r,c=o.r0,u=-t.get("startAngle")*lr,h=t.get("minAngle")*lr,d=0;e.each(r,(function(t){!isNaN(t)&&d++}));var p=e.getSum(r),f=Math.PI/(p||d)*2,g=t.get("clockwise"),y=t.get("roseType"),v=t.get("stillShowZeroSum"),m=e.getDataExtent(r);m[0]=0;var b=sr,x=0,_=u,O=g?1:-1;if(e.setLayout({viewRect:i,r:l}),e.each(r,(function(t,n){var r;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:c,r:y?NaN:l});else{r="area"!==y?0===p&&v?f:t*f:sr/d,rn?a:o,u=Math.abs(l.label.y-n);if(u>=c.maxY){var h=l.label.x-e-l.len2*i,d=r+l.len,f=Math.abs(h)t.unconstrainedWidth?null:p:null;r.setStyle("width",f)}var g=r.getBoundingRect();o.width=g.width;var y=(r.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-h)/2}}}function _r(t){return"center"===t.position}function Or(t){var e,n,r=t.getData(),i=[],o=!1,a=(t.get("minShowLabelAngle")||0)*vr,s=r.getLayout("viewRect"),l=r.getLayout("r"),c=s.width,u=s.x,h=s.y,d=s.height;function p(t){t.ignore=!0}function f(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}r.each((function(t){var s=r.getItemGraphicEl(t),h=s.shape,d=s.getTextContent(),g=s.getTextGuideLine(),y=r.getItemModel(t),v=y.getModel("label"),m=v.get("position")||y.get(["emphasis","label","position"]),x=v.get("distanceToLabelLine"),_=v.get("alignTo"),O=Object(Ve["q"])(v.get("edgeDistance"),c),w=v.get("bleedMargin"),S=y.getModel("labelLine"),j=S.get("length");j=Object(Ve["q"])(j,c);var M=S.get("length2");if(M=Object(Ve["q"])(M,c),Math.abs(h.endAngle-h.startAngle)0?"right":"left":k>0?"left":"right"}var F=Math.PI,G=0,H=v.get("rotate");if(Object(b["isNumber"])(H))G=H*(F/180);else if("center"===m)G=0;else if("radial"===H||!0===H){var W=k<0?-D+F:-D;G=W}else if("tangential"===H&&"outside"!==m&&"outer"!==m){var U=Math.atan2(k,L);U<0&&(U=2*F+U);var q=L>0;q&&(U=F+U),G=U-F}if(o=!!G,d.x=I,d.y=C,d.rotation=G,d.setStyle({verticalAlign:"middle"}),P){d.setStyle({align:T});var Y=d.states.select;Y&&(Y.x+=d.x,Y.y+=d.y)}else{var X=d.getBoundingRect().clone();X.applyTransform(d.getComputedTransform());var Z=(d.style.margin||0)+2.1;X.y-=Z/2,X.height+=Z,i.push({label:d,labelLine:g,position:m,len:j,len2:M,minTurnAngle:S.get("minTurnAngle"),maxSurfaceAngle:S.get("maxSurfaceAngle"),surfaceNormal:new fr["a"](k,L),linePoints:A,textAlign:T,labelDistance:x,labelAlignTo:_,edgeDistance:O,bleedMargin:w,rect:X,unconstrainedWidth:X.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&br(i,e,n,l,c,d,u,h);for(var g=0;g0){for(var l=o.getItemLayout(0),c=1;isNaN(l&&l.startAngle)&&c=r.r0}},e.type="pie",e}(Ne["a"]),Mr=jr,Ir=n("b1d4"),Cr=n("b682");function Ar(t,e,n){e=Object(b["isArray"])(e)&&{coordDimensions:e}||Object(b["extend"])({encodeDefine:t.getEncode()},e);var r=t.getSource(),i=Object(Ir["b"])(r,e).dimensions,o=new Cr["a"](i,t);return o.initData(r,n),o}var Tr=n("0f99"),Dr=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){var e=this._getRawData();return e.indexOfName(t)>=0},t.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},t.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},t}(),kr=Dr,Lr=Ie["o"](),Pr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new kr(b["bind"](this.getData,this),b["bind"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return Ar(this,{coordDimensions:["value"],encodeDefaulter:b["curry"](Tr["d"],this)})},e.prototype.getDataParams=function(e){var n=this.getData(),r=Lr(n),i=r.seats;if(!i){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),i=r.seats=Object(Ve["e"])(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=i[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){Ie["f"](t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.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}(Jt["b"]),Rr=Pr;function Er(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),r=n.get(e,t);return!(Object(b["isNumber"])(r)&&!isNaN(r)&&r<0)}))}}}function Nr(t){t.registerChartView(Mr),t.registerSeriesModel(Rr),Object(or["a"])("pie",t.registerAction),t.registerLayout(Object(b["curry"])(hr,"pie")),t.registerProcessor(dr("pie")),t.registerProcessor(Er("pie"))}var zr=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Object(Kt["a"])(e,t),e.prototype.getInitialData=function(t,e){return Object($t["a"])(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,n){return n.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}(Jt["b"]),Br=zr,Vr=n("9850"),Fr=4,Gr=function(){function t(){}return t}(),Hr=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return Object(Kt["a"])(e,t),e.prototype.getDefaultShape=function(){return new Gr},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,r=e.points,i=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&i[0]=0;s--){var l=2*s,c=r[l]-o/2,u=r[l+1]-a/2;if(t>=c&&e>=u&&t<=c+o&&e<=u+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect();if(t=n[0],e=n[1],r.contain(t,e)){var i=this.hoverDataIdx=this.findDataIndex(t,e);return i>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,r=e.size,i=r[0],o=r[1],a=1/0,s=1/0,l=-1/0,c=-1/0,u=0;u=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),Ur=Wr,qr=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this._updateSymbolDraw(r,t);i.updateData(r,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var r=t.getData(),i=this._updateSymbolDraw(r,t);i.incrementalPrepareUpdate(r),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var r=t.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var i=fn("").reset(t,e,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,r=e.pipelineContext,i=r.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new Ur:new me,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Ne["a"]),Yr=qr,Xr=n("b12f"),Zr=n("6cb7"),Kr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(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}(Zr["a"]),$r=Kr,Jr=n("2023"),Qr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Ie["b"]).models[0]},e.type="cartesian2dAxis",e}(Zr["a"]);b["mixin"](Qr,Jr["a"]);var ti={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)"]}}},ei=b["merge"]({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},ti),ni=b["merge"]({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}}},ti),ri=b["merge"]({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},ni),ii=b["defaults"]({logBase:10},ni),oi={category:ei,value:ni,time:ri,log:ii},ai=n("8e43"),si={value:1,category:1,time:1,log:1};function li(t,e,n,r){Object(b["each"])(si,(function(i,o){var a=Object(b["merge"])(Object(b["merge"])({},oi[o],!0),r,!0),s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return Object(Kt["a"])(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=Object(ar["d"])(this),r=n?Object(ar["f"])(t):{},i=e.getTheme();Object(b["merge"])(t,i.get(o+"Axis")),Object(b["merge"])(t,this.getDefaultOption()),t.type=ci(t),n&&Object(ar["h"])(t,r,n)},n.prototype.optionUpdated=function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=ai["a"].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."+o,n.defaultOption=a,n}(n);t.registerComponentModel(s)})),t.registerSubTypeDefaulter(e+"Axis",ci)}function ci(t){return t.type||(t.data?"category":"value")}var ui=n("697e"),hi=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 b["map"](this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),b["filter"](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}(),di=hi,pi=n("1687"),fi=n("401b"),gi=["x","y"];function yi(t){return"interval"===t.type||"time"===t.type}var vi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=gi,e}return Object(Kt["a"])(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(yi(t)&&yi(e)){var n=t.getExtent(),r=e.getExtent(),i=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(o[0]-i[0])/a,c=(o[1]-i[1])/s,u=i[0]-n[0]*l,h=i[1]-r[0]*c,d=this._transform=[l,0,0,c,u,h];this._invTransform=Object(pi["invert"])([],d)}}},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"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.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 n=this.dataToPoint(t),r=this.dataToPoint(e),i=this.getArea(),o=new Vr["a"](n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var r=t[0],i=t[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return Object(fi["applyTransform"])(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,e)),n[1]=a.toGlobalCoord(a.dataToCoord(i,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(t[0]),s=r.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[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 n=[];if(this._invTransform)return Object(fi["applyTransform"])(n,t,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(t[0]),e),n[1]=i.coordToData(i.toLocalCoord(t[1]),e),n},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(),n=Math.min(t[0],t[1]),r=Math.min(e[0],e[1]),i=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-r;return new Vr["a"](n,r,i,o)},e}(di),mi=vi,bi=n("84ce"),xi=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n,r)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return Object(Kt["a"])(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}(bi["a"]),_i=xi;function Oi(t,e,n){n=n||{};var r=t.coordinateSystem,i=e.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,c=i.dim,u=r.getRect(),h=[u.x,u.x+u.width,u.y,u.y+u.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===c?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[d.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===c?f[d[l]]:h[0],"x"===c?f[d[l]]:h[3]],o.rotation=Math.PI/2*("x"===c?0:1);var y={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=y[s],o.labelOffset=a?f[d[s]]-f[d.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),b["retrieve"](n.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 wi(t){return"cartesian2d"===t.get("coordinateSystem")}function Si(t){var e={xAxisModel:null,yAxisModel:null};return b["each"](e,(function(n,r){var i=r.replace(/Model$/,""),o=t.getReferringComponents(i,Ie["b"]).models[0];e[r]=o})),e}var ji=n("944e"),Mi=n("89e3"),Ii=Math.log;function Ci(t,e,n){var r=Mi["a"].prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=Object(ui["f"])(t,e),c=l.extent,u=l.fixMin,h=l.fixMax;if("log"===t.type){var d=Ii(t.base);c=[Ii(c[0])/d,Ii(c[1])/d]}t.setExtent(c[0],c[1]),t.calcNiceExtent({splitNumber:a,fixMin:u,fixMax:h});var p=r.getExtent.call(t);u&&(c[0]=p[0]),h&&(c[1]=p[1]);var f=r.getInterval.call(t),g=c[0],y=c[1];if(u&&h)f=(y-g)/a;else if(u){y=c[0]+f*a;while(yc[0]&&isFinite(g)&&isFinite(c[0]))f=Object(ji["c"])(f),g=c[1]-f*a}else{var v=t.getTicks().length-1;v>a&&(f=Object(ji["c"])(f));var m=f*a;y=Math.ceil(c[1]/f)*f,g=Object(Ve["w"])(y-m),g<0&&c[0]>=0?(g=0,y=Object(Ve["w"])(m)):y>0&&c[1]<=0&&(y=0,g=-Object(Ve["w"])(m))}var b=(i[0].value-o[0].value)/s,x=(i[a].value-o[a].value)/s;r.setExtent.call(t,g+f*b,y+f*x),r.setInterval.call(t,f),(b||x)&&r.setNiceExtent.call(t,g+f,y-f)}var Ai=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=gi,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function r(t){var e,n=Object(b["keys"])(t),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=+n[o],s=t[a],l=s.model,c=s.scale;Object(ji["e"])(c)&&l.get("alignTicks")&&null==l.get("interval")?i.push(s):(Object(ui["i"])(c,l),Object(ji["e"])(c)&&(e=s))}i.length&&(e||(e=i.pop(),Object(ui["i"])(e.scale,e.model)),Object(b["each"])(i,(function(t){Ci(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),r(n.x),r(n.y);var i={};Object(b["each"])(n.x,(function(t){Di(n,"y",t,i)})),Object(b["each"])(n.y,(function(t){Di(n,"x",t,i)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var r=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),o=Object(ar["g"])(r,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){Object(b["each"])(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],r=t.inverse?1:0;t.setExtent(n[r],n[1-r]),Li(t,e?o.x:o.y)}))}s(),i&&(Object(b["each"])(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=Object(ui["b"])(t);if(e){var n=t.isHorizontal()?"height":"width",r=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+r,"top"===t.position?o.y+=e.height+r:"left"===t.position&&(o.x+=e.width+r)}}})),s()),Object(b["each"])(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}Object(b["isObject"])(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,i=this._coordsList;r0?"top":"bottom",r="center"):Object(Ve["l"])(o-Ni)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},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}(),Bi={axisLine:function(t,e,n,r){var i=e.get(["axisLine","show"]);if("auto"===i&&t.handleAutoShown&&(i=t.handleAutoShown("axisLine")),i){var o=e.axis.getExtent(),a=r.transform,s=[o[0],0],l=[o[1],0],c=s[0]>l[0];a&&(Object(fi["applyTransform"])(s,s,a),Object(fi["applyTransform"])(l,l,a));var u=Object(b["extend"])({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Ri["a"]({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});ie["subPixelOptimizeLine"](h.shape,h.style.lineWidth),h.anid="line",n.add(h);var d=e.get(["axisLine","symbol"]);if(null!=d){var p=e.get(["axisLine","symbolSize"]);Object(b["isString"])(d)&&(d=[d,d]),(Object(b["isString"])(p)||Object(b["isNumber"])(p))&&(p=[p,p]);var f=Object(Qt["b"])(e.get(["axisLine","symbolOffset"])||0,p),g=p[0],y=p[1];Object(b["each"])([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,r){if("none"!==d[r]&&null!=d[r]){var i=Object(Qt["a"])(d[r],-g/2,-y/2,g,y,u.stroke,!0),o=e.r+e.offset,a=c?l:s;i.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(t,e,n,r){var i=qi(n,r,e,t),o=Xi(n,r,e,t);if(Fi(e,o,i),Yi(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var a=Object(yr["b"])(Object(b["map"])(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));Object(yr["a"])(a)}},axisName:function(t,e,n,r){var i=Object(b["retrieve"])(t.axisName,e.get("name"));if(i){var o,a,s=e.get("nameLocation"),l=t.nameDirection,c=e.getModel("nameTextStyle"),u=e.get("nameGap")||0,h=e.axis.getExtent(),d=h[0]>h[1]?-1:1,p=["start"===s?h[0]-d*u:"end"===s?h[1]+d*u:(h[0]+h[1])/2,Wi(s)?t.labelOffset+l*u:0],f=e.get("nameRotate");null!=f&&(f=f*Ni/180),Wi(s)?o=zi.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=Vi(t.rotation,s,f||0,h),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=c.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=Object(b["retrieve"])(t.nameTruncateMaxWidth,y.maxWidth,a),x=new tt["a"]({x:p[0],y:p[1],rotation:o.rotation,silent:zi.isLabelSilent(e),style:Object(ue["c"])(c,{text:i,font:g,overflow:"truncate",width:m,ellipsis:v,fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:c.get("align")||o.textAlign,verticalAlign:c.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(ie["setTooltipConfig"]({el:x,componentModel:e,itemName:i}),x.__fullText=i,x.anid="name",e.get("triggerEvent")){var _=zi.makeAxisEventDataBase(e);_.targetType="axisName",_.name=i,Object(oe["a"])(x).eventData=_}r.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function Vi(t,e,n,r){var i,o,a=Object(Ve["v"])(n-t),s=r[0]>r[1],l="start"===e&&!s||"start"!==e&&s;return Object(Ve["l"])(a-Ni/2)?(o=l?"bottom":"top",i="center"):Object(Ve["l"])(a-1.5*Ni)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*Ni&&a>Ni/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function Fi(t,e,n){if(!Object(ui["j"])(t.axis)){var r=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],c=n[0],u=n[1],h=n[n.length-1],d=n[n.length-2];!1===r?(Gi(o),Gi(c)):Hi(o,a)&&(r?(Gi(a),Gi(u)):(Gi(o),Gi(c))),!1===i?(Gi(s),Gi(h)):Hi(l,s)&&(i?(Gi(l),Gi(d)):(Gi(s),Gi(h)))}}function Gi(t){t&&(t.ignore=!0)}function Hi(t,e){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(n&&r){var i=pi["identity"]([]);return pi["rotate"](i,i,-t.rotation),n.applyTransform(pi["mul"]([],i,t.getLocalTransform())),r.applyTransform(pi["mul"]([],i,e.getLocalTransform())),n.intersect(r)}}function Wi(t){return"middle"===t||"center"===t}function Ui(t,e,n,r,i){for(var o=[],a=[],s=[],l=0;l=0||t===e}function no(t){var e=ro(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=oo(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var d=a;null!=h.color&&(d=b["defaults"]({color:h.color},a));var p=b["merge"](b["clone"](h),{boundaryGap:t,splitNumber:e,scale:n,axisLine:r,axisTick:i,axisLabel:o,name:h.text,showName:s,nameLocation:"end",nameGap:c,nameTextStyle:d,triggerEvent:u},!1);if(b["isString"](l)){var f=p.name;p.name=l.replace("{value}",null!=f?f:"")}else b["isFunction"](l)&&(p.name=l(p.name,p));var g=new Ei["a"](p,null,this.ecModel);return b["mixin"](g,Jr["a"].prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=h},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:b["merge"]({lineStyle:{color:"#bbb"}},Po.axisLine),axisLabel:Ro(Po.axisLabel,!1),axisTick:Ro(Po.axisTick,!1),splitLine:Ro(Po.splitLine,!0),splitArea:Ro(Po.splitArea,!0),indicator:[]},e}(Zr["a"]),No=Eo,zo=n("d9fc"),Bo=n("4573"),Vo=["axisLine","axisTickLabel","axisName"],Fo=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r=this.group;r.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),r=b["map"](n,(function(t){var n=t.model.get("showName")?t.name:"",r=new Zi(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return r}));b["each"](r,(function(t){b["each"](Vo,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var r=t.get("shape"),i=t.getModel("splitLine"),o=t.getModel("splitArea"),a=i.getModel("lineStyle"),s=o.getModel("areaStyle"),l=i.get("show"),c=o.get("show"),u=a.get("color"),h=s.get("color"),d=b["isArray"](u)?u:[u],p=b["isArray"](h)?h:[h],f=[],g=[];if("circle"===r)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:i>1?1.2:1.1,l=r>0?s:1/s;ia(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(n){var c=Math.abs(r),u=(r>0?1:-1)*(c>3?.4:c>1?.15:.05);ia(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:u,originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!ea(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;ia(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(Zo["a"]);function ia(t,e,n,r,i){t.pointerChecker&&t.pointerChecker(r,i.originX,i.originY)&&(Ko["g"](r.event),oa(t,e,n,r,i))}function oa(t,e,n,r,i){i.isAvailableBehavior=Object(b["bind"])(aa,null,n,r),t.trigger(e,i)}function aa(t,e,n){var r=n[t];return!t||r&&(!Object(b["isString"])(r)||e.event[r+"Key"])}var sa=ra;function la(t,e,n){var r=t.target;r.x+=e,r.y+=n,r.dirty()}function ca(t,e,n,r){var i=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 c=a/t.zoom;t.zoom=a,i.x-=(n-i.x)*(c-1),i.y-=(r-i.y)*(c-1),i.scaleX*=c,i.scaleY*=c,i.dirty()}var ua={axisPointer:1,tooltip:1,brush:1};function ha(t,e,n){var r=e.getComponentByElement(t.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!ua.hasOwnProperty(r.mainType)&&i&&i.model!==n}var da,pa=n("ae69"),fa=n("342d"),ga=n("dded");function ya(t){if(Object(b["isString"])(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}var n=t;9===n.nodeType&&(n=n.firstChild);while("svg"!==n.nodeName.toLowerCase()||1!==n.nodeType)n=n.nextSibling;return n}var va={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"},ma=Object(b["keys"])(va),ba={"alignment-baseline":"textBaseline","stop-color":"stopColor"},xa=Object(b["keys"])(ba),_a=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=ya(t);this._defsUsePending=[];var r=new te["a"];this._root=r;var i=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),Ia(n,r,null,!0,!1);var l,c,u=n.firstChild;while(u)this._parseNode(u,r,i,null,!1,!1),u=u.nextSibling;if(Da(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=La(o);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=s&&(c=Va(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=r;r=new te["a"],r.add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return e.ignoreRootClip||null==a||null==s||r.setClipPath(new ze["a"]({shape:{x:0,y:0,width:a,height:s}})),{root:r,width:a,height:s,viewBoxRect:l,viewBoxTransform:c,named:i}},t.prototype._parseNode=function(t,e,n,r,i,o){var a,s=t.nodeName.toLowerCase(),l=r;if("defs"===s&&(i=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!i){var c=da[s];if(c&&Object(b["hasOwn"])(da,s)){a=c.call(this,t,e);var u=t.getAttribute("name");if(u){var h={name:u,namedFrom:null,svgNodeTagLower:s,el:a};n.push(h),"g"===s&&(l=h)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:a});e.add(a)}}var d=Oa[s];if(d&&Object(b["hasOwn"])(Oa,s)){var p=d.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=p)}}if(a&&a.isGroup){var g=t.firstChild;while(g)1===g.nodeType?this._parseNode(g,a,n,l,i,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling}},t.prototype._parseText=function(t,e){var n=new u["a"]({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});ja(e,n),Ia(t,n,this._defsUsePending,!1,!1),Ca(n,e);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var o=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=function(){da={g:function(t,e){var n=new te["a"];return ja(e,n),Ia(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new ze["a"];return ja(e,n),Ia(t,n,this._defsUsePending,!1,!1),n.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")}),n.silent=!0,n},circle:function(t,e){var n=new zo["a"];return ja(e,n),Ia(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Ri["a"];return ja(e,n),Ia(t,n,this._defsUsePending,!1,!1),n.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")}),n.silent=!0,n},ellipse:function(t,e){var n=new pa["a"];return ja(e,n),Ia(t,n,this._defsUsePending,!1,!1),n.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")}),n.silent=!0,n},polygon:function(t,e){var n,r=t.getAttribute("points");r&&(n=Ma(r));var i=new Co["a"]({shape:{points:n||[]},silent:!0});return ja(e,i),Ia(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var n,r=t.getAttribute("points");r&&(n=Ma(r));var i=new pr["a"]({shape:{points:n||[]},silent:!0});return ja(e,i),Ia(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var n=new l["a"];return ja(e,n),Ia(t,n,this._defsUsePending,!1,!1),n.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")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",r=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(o);var a=new te["a"];return ja(e,a),Ia(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new te["a"];return ja(e,a),Ia(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),a},path:function(t,e){var n=t.getAttribute("d")||"",r=Object(fa["b"])(n);return ja(e,r),Ia(t,r,this._defsUsePending,!1,!1),r.silent=!0,r}}}(),t}(),Oa={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),r=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),o=new Me["a"](e,n,r,i);return wa(t,o),Sa(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),r=parseInt(t.getAttribute("r")||"0",10),i=new ga["a"](e,n,r);return wa(t,i),Sa(t,i),i}};function wa(t,e){var n=t.getAttribute("gradientUnits");"userSpaceOnUse"===n&&(e.global=!0)}function Sa(t,e){var n=t.firstChild;while(n){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r=n.getAttribute("offset"),i=void 0;i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var o={};za(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:a})}n=n.nextSibling}}function ja(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(b["defaults"])(e.__inheritedStyle,t.__inheritedStyle))}function Ma(t){for(var e=La(t),n=[],r=0;r0;o-=2){var a=r[o],s=r[o-1],l=La(a);switch(i=i||pi["create"](),s){case"translate":pi["translate"](i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":pi["scale"](i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":pi["rotate"](i,i,-parseFloat(l[0])*Ra);break;case"skewX":var c=Math.tan(parseFloat(l[0])*Ra);pi["mul"](i,[1,0,c,1,0,0],i);break;case"skewY":var u=Math.tan(parseFloat(l[0])*Ra);pi["mul"](i,[1,u,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5]);break}}e.setLocalTransform(i)}}var Na=/([^\s:;]+)\s*:\s*([^:;]+)/g;function za(t,e,n){var r=t.getAttribute("style");if(r){var i;Na.lastIndex=0;while(null!=(i=Na.exec(r))){var o=i[1],a=Object(b["hasOwn"])(va,o)?va[o]:null;a&&(e[a]=i[2]);var s=Object(b["hasOwn"])(ba,o)?ba[o]:null;s&&(n[s]=i[2])}}}function Ba(t,e,n){for(var r=0;r0,g={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(g):"geoSVG"===s.resourceType&&this._buildSVG(g),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,r)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=b["createHashMap"](),n=b["createHashMap"](),r=this._regionsGroup,i=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function c(t,e){return e&&(t=e(t)),t&&[t[0]*i.scaleX+i.x,t[1]*i.scaleY+i.y]}function u(t){for(var e=[],n=!l&&s&&s.project,r=0;r=0)&&(d=i);var p=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Object(ue["g"])(e,Object(ue["e"])(r),{labelFetcher:d,labelDataIndex:h,defaultText:n},p);var f=e.getTextContent();if(f&&(ys(f).ignore=f.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 Os(t,e,n,r,i,o){t.data?t.data.setItemGraphicEl(o,e):Object(oe["a"])(e).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function ws(t,e,n,r,i){t.data||ie["setTooltipConfig"]({el:e,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function Ss(t,e,n,r,i){e.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),a=o.get("focus");return Object(ae["J"])(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&Object(ae["n"])(e,i,n),a}function js(t,e,n){var r,i=[];function o(){r=[]}function a(){r.length&&(i.push(r),r=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&r.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),b["each"](t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},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}(Jt["b"]),Ts=As;function Ds(t,e){var n={};return b["each"](t,(function(t){t.each(t.mapDimension("value"),(function(e,r){var i="ec-"+t.getName(r);n[i]=n[i]||[],isNaN(e)||n[i].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(r,i){for(var o,a="ec-"+t[0].getName(i),s=0,l=1/0,c=-1/0,u=n[a].length,h=0;h1?(p.width=d,p.height=d/b):(p.height=d,p.width=d*b),p.y=h[1]-p.height/2,p.x=h[0]-p.width/2;else{var _=t.getBoxLayoutParams();_.aspect=b,p=ar["g"](_,{width:v,height:m})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}function Ws(t,e){b["each"](e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var Us=function(){function t(){this.dimensions=Bs}return t.prototype.create=function(t,e){var n=[];function r(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,i){var o=t.get("map"),a=new Gs(o+i,o,b["extend"]({nameMap:t.get("nameMap")},r(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=Hs,a.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var r=t.get("geoIndex")||0;t.coordinateSystem=n[r]}}));var i={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}})),b["each"](i,(function(t,i){var o=b["map"](t,(function(t){return t.get("nameMap")})),a=new Gs(i,i,b["extend"]({nameMap:b["mergeAll"](o)},r(t[0])));a.zoomLimit=b["retrieve"].apply(null,b["map"](t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=Hs,a.resize(t[0],e),b["each"](t,(function(t){t.coordinateSystem=a,Ws(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,r){for(var i=(t||[]).slice(),o=b["createHashMap"](),a=0;a=0;a--){var s=r[a];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(s)}}function al(t,e){var n=t.isExpand?t.children:[],r=t.parentNode.children,i=t.hierNode.i?r[t.hierNode.i-1]:null;if(n.length){hl(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(t.hierNode.prelim=i.hierNode.prelim+e(t,i),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else i&&(t.hierNode.prelim=i.hierNode.prelim+e(t,i));t.parentNode.hierNode.defaultAncestor=dl(t,i,t.parentNode.hierNode.defaultAncestor||r[0],e)}function sl(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function ll(t){return arguments.length?t:vl}function cl(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function ul(t,e){return ar["g"](t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function hl(t){var e=t.children,n=e.length,r=0,i=0;while(--n>=0){var o=e[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function dl(t,e,n,r){if(e){var i=t,o=t,a=o.parentNode.children[0],s=e,l=i.hierNode.modifier,c=o.hierNode.modifier,u=a.hierNode.modifier,h=s.hierNode.modifier;while(s=pl(s),o=fl(o),s&&o){i=pl(i),a=fl(a),i.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-c+r(s,o);d>0&&(yl(gl(s,t,n),t,d),c+=d,l+=d),h+=s.hierNode.modifier,c+=o.hierNode.modifier,l+=i.hierNode.modifier,u+=a.hierNode.modifier}s&&!pl(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=h-l),o&&!fl(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=c-u,n=t)}return n}function pl(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function fl(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function gl(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function yl(t,e,n){var r=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=r,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=r}function vl(t,e){return t.parentNode===e.parentNode?1:2}var ml=n("e263"),bl=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),xl=function(t){function e(e){return t.call(this,e)||this}return Object(Kt["a"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new bl},e.prototype.buildPath=function(t,e){var n=e.childPoints,r=n.length,i=e.parentPoint,o=n[0],a=n[r-1];if(1===r)return t.moveTo(i[0],i[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,c=1-l,u=Object(Ve["q"])(e.forkPosition,1),h=[];h[l]=i[l],h[c]=i[c]+(a[c]-i[c])*u,t.moveTo(i[0],i[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;dm.x,O||(_-=Math.PI));var S=O?"left":"right",j=s.getModel("label"),M=j.get("rotate"),I=M*(Math.PI/180),C=y.getTextContent();C&&(y.setTextConfig({position:j.get("position")||S,rotation:null==M?-_:I,origin:"center"}),C.setStyle("verticalAlign","middle"))}var A=s.get(["emphasis","focus"]),T="relative"===A?b["concatArray"](a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===A?a.getAncestorsIndices():"descendant"===A?a.getDescendantIndices():null;T&&(Object(oe["a"])(n).focus=T),Sl(i,a,u,n,f,p,g,r),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var r=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);r&&r.hoverState===ae["d"]||Object(ae["H"])(n.__edge,e)}})}function Sl(t,e,n,r,i,o,a,s){var l=e.getModel(),c=t.get("edgeShape"),u=t.get("layout"),h=t.getOrient(),d=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=r.__edge;if("curve"===c)e.parentNode&&e.parentNode!==n&&(g||(g=r.__edge=new il["a"]({shape:Cl(u,h,d,i,i)})),re["h"](g,{shape:Cl(u,h,d,o,a)},t));else if("polyline"===c)if("orthogonal"===u){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;me&&(e=r.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,r=n.length;e=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)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.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=0){var r=n.getData().tree.root,i=t.targetNode;if(b["isString"](i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=t.targetNodeId;if(null!=o&&(i=r.getNodeById(o)))return{node:i}}}function ql(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function Yl(t,e){var n=ql(t);return b["indexOf"](n,e)>=0}function Xl(t,e){var n=[];while(t){var r=t.dataIndex;n.push({name:t.name,dataIndex:r,value:e.getRawValue(r)}),t=t.parentNode}return n.reverse(),n}var Zl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return Object(Kt["a"])(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},r=new Ei["a"](n,this,this.ecModel),i=Wl.createTree(e,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=r),t}))}var a=0;i.eachNode("preorder",(function(t){t.depth>a&&(a=t.depth)}));var s=t.expandAndCollapse,l=s&&t.initialTreeDepth>=0?t.initialTreeDepth:a;return i.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),i.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,n){var r=this.getData().tree,i=r.root.children[0],o=r.getNodeByDataIndex(t),a=o.getValue(),s=o.name;while(o&&o!==i)s=o.parentNode.name+"."+s,o=o.parentNode;return Object(Do["c"])("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=Xl(r,this),n.collapsed=!r.isExpand,n},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}(Jt["b"]),Kl=Zl;function $l(t,e,n){var r,i=[t],o=[];while(r=i.pop())if(o.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;s=0;o--)r.push(i[o])}}function Ql(t,e){t.eachSeriesByType("tree",(function(t){tc(t,e)}))}function tc(t,e){var n=ul(t,e);t.layoutInfo=n;var r=t.get("layout"),i=0,o=0,a=null;"radial"===r?(i=2*Math.PI,o=Math.min(n.height,n.width)/2,a=ll((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(i=n.width,o=n.height,a=ll());var s=t.getData().tree.root,l=s.children[0];if(l){ol(s),$l(l,al,a),s.hierNode.modifier=-l.hierNode.prelim,Jl(l,sl);var c=l,u=l,h=l;Jl(l,(function(t){var e=t.getLayout().x;eu.getLayout().x&&(u=t),t.depth>h.depth&&(h=t)}));var d=c===u?1:a(c,u)/2,p=d-c.getLayout().x,f=0,g=0,y=0,v=0;if("radial"===r)f=i/(u.getLayout().x+d+p),g=o/(h.depth-1||1),Jl(l,(function(t){y=(t.getLayout().x+p)*f,v=(t.depth-1)*g;var e=cl(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(u.getLayout().x+d+p),f=i/(h.depth-1||1),Jl(l,(function(t){v=(t.getLayout().x+p)*g,y="LR"===m?(t.depth-1)*f:i-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):"TB"!==m&&"BT"!==m||(f=i/(u.getLayout().x+d+p),g=o/(h.depth-1||1),Jl(l,(function(t){y=(t.getLayout().x+p)*f,v="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}function ec(t){t.eachSeriesByType("tree",(function(t){var e=t.getData(),n=e.tree;n.eachNode((function(t){var n=t.getModel(),r=n.getModel("itemStyle").getItemStyle(),i=e.ensureUniqueItemVisual(t.dataIndex,"style");Object(b["extend"])(i,r)}))}))}function nc(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,r=e.getData().tree,i=r.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var r=e.coordinateSystem,i=$s(r,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}function rc(t){t.registerChartView(Al),t.registerSeriesModel(Kl),t.registerLayout(Ql),t.registerVisual(ec),nc(t)}var ic=["treemapZoomToNode","treemapRender","treemapMove"];function oc(t){for(var e=0;e1)n=n.parentNode;var i=Object(ac["b"])(t.ecModel,n.name||n.dataIndex+"",r);e.setVisual("decal",i)}))}var lc=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return Object(Kt["a"])(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};cc(n);var r=t.levels||[],i=this.designatedVisualItemStyle={},o=new Ei["a"]({itemStyle:i},this,e);r=t.levels=uc(r,e);var a=b["map"](r||[],(function(t){return new Ei["a"](t,o,e)}),this),s=Wl.createTree(n,this,l);function l(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),r=n?a[n.depth]:null;return t.parentModel=r||o,t}))}return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),i=this.getRawValue(t),o=r.getName(t);return Object(Do["c"])("nameValue",{name:o,value:i})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=Xl(r,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},b["extend"](this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=b["createHashMap"](),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},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(){sc(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:"▶",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}(Jt["b"]);function cc(t){var e=0;b["each"](t.children,(function(t){cc(t);var n=t.value;b["isArray"](n)&&(n=n[0]),e+=n}));var n=t.value;b["isArray"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),b["isArray"](t.value)?t.value[0]=n:t.value=n}function uc(t,e){var n=Object(Ie["r"])(e.get("color")),r=Object(Ie["r"])(e.get(["aria","decal","decals"]));if(n){var i,o;t=t||[],b["each"](t,(function(t){var e=new Ei["a"](t),n=e.get("color"),r=e.get("decal");(e.get(["itemStyle","color"])||n&&"none"!==n)&&(i=!0),(e.get(["itemStyle","decal"])||r&&"none"!==r)&&(o=!0)}));var a=t[0]||(t[0]={});return i||(a.color=n.slice()),!o&&r&&(a.decal=r.slice()),t}}var hc=lc,dc=n("80f0"),pc=8,fc=8,gc=5,yc=function(){function t(t){this.group=new te["a"],t.add(this.group)}return t.prototype.render=function(t,e,n,r){var i=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&n){var a=i.getModel("itemStyle"),s=i.getModel("emphasis"),l=a.getModel("textStyle"),c=s.getModel(["itemStyle","textStyle"]),u={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(t,u,a,s,l,c,r),ar["i"](o,u.pos,u.box)}},t.prototype._prepare=function(t,e,n){for(var r=t;r;r=r.parentNode){var i=Object(Ie["e"])(r.getModel().get("name"),""),o=n.getTextRect(i),a=Math.max(o.width+2*pc,e.emptyItemWidth);e.totalWidth+=a+fc,e.renderList.push({node:r,text:i,width:a})}},t.prototype._renderContent=function(t,e,n,r,i,o,a){for(var s=0,l=e.emptyItemWidth,c=t.get(["breadcrumb","height"]),u=ar["e"](e.pos,e.box),h=e.totalWidth,d=e.renderList,p=r.getModel("itemStyle").getItemStyle(),f=d.length-1;f>=0;f--){var g=d[f],y=g.node,v=g.width,m=g.text;h>u.width&&(h-=v-l,v=l,m=null);var x=new Co["a"]({shape:{points:vc(s,0,v,c,f===d.length-1,0===f)},style:Object(b["defaults"])(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new tt["a"]({style:Object(ue["c"])(i,{text:m})}),textConfig:{position:"inside"},z2:1e4*ae["j"],onclick:Object(b["curry"])(a,y)});x.disableLabelAnimation=!0,x.getTextContent().ensureState("emphasis").style=Object(ue["c"])(o,{text:m}),x.ensureState("emphasis").style=p,Object(ae["J"])(x,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(x),mc(x,t,y),s+=v+fc}},t.prototype.remove=function(){this.group.removeAll()},t}();function vc(t,e,n,r,i,o){var a=[[i?t:t-gc,e],[t+n,e],[t+n,e+r],[i?t:t-gc,e+r]];return!o&&a.splice(2,0,[t+n+gc,e+r/2]),!i&&a.push([t,e+r/2]),a}function mc(t,e,n){Object(oe["a"])(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&Xl(n,e)}}var bc=yc,xc=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,r,i){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:r,easing:i}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},r=0,i=this._storage.length;rjc||Math.abs(t.dy)>jc)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var o=new Vr["a"](i.x,i.y,i.width,i.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var s=pi["create"]();pi["translate"](s,s,[-e,-n]),pi["scale"](s,s,[t.scale,t.scale]),pi["translate"](s,s,[e,n]),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 n=e.seriesModel.get("nodeClick",!0);if(n){var r=e.findTarget(t.offsetX,t.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)e._rootToNode(r);else if("zoomToNode"===n)e._zoomToNode(r);else if("link"===n){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Object(Ue["k"])(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var r=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new bc(this.group))).render(t,e,n.node,(function(e){"animating"!==r._state&&(Yl(t.getViewRoot(),e)?r._rootToNode({node:e}):r._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=Rc(),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 n,r=this.seriesModel.getViewRoot();return r.eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(t,e),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(Ne["a"]);function Rc(){return{nodeGroup:[],background:[],content:[]}}function Ec(t,e,n,r,i,o,a,s,l,c){if(a){var u=a.getLayout(),h=t.getData(),d=a.getModel();if(h.setItemGraphicEl(a.dataIndex,null),u&&u.isInView){var p=u.width,f=u.height,g=u.borderWidth,y=u.invisible,v=a.getRawIndex(),m=s&&s.getRawIndex(),x=a.viewChildren,_=u.upperHeight,O=x&&x.length,w=d.getModel("itemStyle"),S=d.getModel(["emphasis","itemStyle"]),j=d.getModel(["blur","itemStyle"]),M=d.getModel(["select","itemStyle"]),I=w.get("borderRadius")||0,C=F("nodeGroup",wc);if(C){if(l.add(C),C.x=u.x||0,C.y=u.y||0,C.markRedraw(),Lc(C).nodeWidth=p,Lc(C).nodeHeight=f,u.isAboveViewRoot)return C;var A=F("background",Sc,c,Ac);A&&E(C,A,O&&u.upperLabelHeight);var T=d.getModel("emphasis"),D=T.get("focus"),k=T.get("blurScope"),L=T.get("disabled"),P="ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():D;if(O)Object(ae["y"])(C)&&Object(ae["F"])(C,!1),A&&(Object(ae["F"])(A,!L),h.setItemGraphicEl(a.dataIndex,A),Object(ae["p"])(A,P,k));else{var R=F("content",Sc,c,Tc);R&&N(C,R),A.disableMorphing=!0,A&&Object(ae["y"])(A)&&Object(ae["F"])(A,!1),Object(ae["F"])(C,!L),h.setItemGraphicEl(a.dataIndex,C),Object(ae["p"])(C,P,k)}return C}}}function E(e,n,r){var i=Object(oe["a"])(n);if(i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:f,r:I}),y)z(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=kc(w);l.fill=s;var c=Dc(S);c.fill=S.get("borderColor");var u=Dc(j);u.fill=j.get("borderColor");var h=Dc(M);if(h.fill=M.get("borderColor"),r){var d=p-2*g;B(n,s,o.opacity,{x:g,y:0,width:d,height:_})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=c,n.ensureState("blur").style=u,n.ensureState("select").style=h,Object(ae["G"])(n)}e.add(n)}function N(e,n){var r=Object(oe["a"])(n);r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex;var i=Math.max(p-2*g,0),o=Math.max(f-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:i,height:o,r:I}),y)z(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,c=kc(w);c.fill=l,c.decal=s.decal;var u=Dc(S),h=Dc(j),d=Dc(M);B(n,l,s.opacity,null),n.setStyle(c),n.ensureState("emphasis").style=u,n.ensureState("blur").style=h,n.ensureState("select").style=d,Object(ae["G"])(n)}e.add(n)}function z(t){!t.invisible&&o.push(t)}function B(e,n,r,i){var o=d.getModel(i?Ic:Mc),s=Object(Ie["e"])(d.get("name"),null),l=o.getShallow("show");Object(ue["g"])(e,Object(ue["e"])(d,i?Ic:Mc),{defaultText:l?s:null,inheritColor:n,defaultOpacity:r,labelFetcher:t,labelDataIndex:a.dataIndex});var c=e.getTextContent();if(c){var h=c.style,p=Object(b["normalizeCssArray"])(h.padding||0);i&&(e.setTextConfig({layoutRect:i}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var t=Math.max((i?i.width:e.shape.width)-p[1]-p[3],0),n=Math.max((i?i.height:e.shape.height)-p[0]-p[2],0);h.width===t&&h.height===n||c.setStyle({width:t,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",V(h,i,u);var f=c.getState("emphasis");V(f?f.style:null,i,u)}}function V(e,n,r){var i=e?e.text:null;if(!n&&r.isLeafRoot&&null!=i){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+i:i}}function F(t,r,o,a){var s=null!=m&&n[t][m],l=i[t];return s?(n[t][m]=null,G(l,s)):y||(s=new r,s instanceof hs["c"]&&(s.z2=Nc(o,a)),H(l,s)),e[t][v]=s}function G(t,e){var n=t[v]={};e instanceof wc?(n.oldX=e.x,n.oldY=e.y):n.oldShape=Object(b["extend"])({},e.shape)}function H(t,e){var n=t[v]={},o=a.parentNode,s=e instanceof te["a"];if(o&&(!r||"drillDown"===r.direction)){var l=0,c=0,u=i.background[o.getRawIndex()];!r&&u&&u.oldShape&&(l=u.oldShape.width,c=u.oldShape.height),s?(n.oldX=0,n.oldY=c):n.oldShape={x:l,y:c,width:0,height:0}}n.fadein=!s}}function Nc(t,e){return t*Cc+e}var zc=Pc,Bc=n("edae"),Vc=b["each"],Fc=b["isObject"],Gc=-1,Hc=function(){function t(e){var n=e.mappingMethod,r=e.type,i=this.option=b["clone"](e);this.type=r,this.mappingMethod=n,this._normalizeData=eu[n];var o=t.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(qc(i),Wc(i)):"category"===n?i.categories?Uc(i):qc(i,!0):(b["assert"]("linear"!==n||i.dataExtent),qc(i))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return b["bind"](this._normalizeData,this)},t.listVisualTypes=function(){return b["keys"](t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){b["isObject"](t)?b["each"](t,e,n):e.call(n,t)},t.mapVisual=function(e,n,r){var i,o=b["isArray"](e)?[]:b["isObject"](e)?{}:(i=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(r,t,e);i?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,r={};return e&&Vc(t.visualHandlers,(function(t,i){e.hasOwnProperty(i)&&(r[i]=e[i],n=!0)})),n?r:null},t.prepareVisualTypes=function(t){if(b["isArray"](t))t=t.slice();else{if(!Fc(t))return[];var e=[];Vc(t,(function(t,n){e.push(n)})),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,n){for(var r,i=1/0,o=0,a=e.length;o=0;o--)null==r[o]&&(delete n[e[o]],e.pop())}function qc(t,e){var n=t.visual,r=[];b["isObject"](n)?Vc(n,(function(t){r.push(t)})):null!=n&&r.push(n);var i={color:1,symbol:1};e||1!==r.length||i.hasOwnProperty(t.type)||(r[1]=r[0]),tu(t,r)}function Yc(t){return{applyVisual:function(e,n,r){var i=this.mapValueToVisual(e);r("color",t(n("color"),i))},_normalizedToVisual:Jc([0,1])}}function Xc(t){var e=this.option.visual;return e[Math.round(Object(Ve["m"])(t,[0,1],[0,e.length-1],!0))]||{}}function Zc(t){return function(e,n,r){r(t,this.mapValueToVisual(e))}}function Kc(t){var e=this.option.visual;return e[this.option.loop&&t!==Gc?t%e.length:t]}function $c(){return this.option.visual[0]}function Jc(t){return{linear:function(e){return Object(Ve["m"])(e,t,this.option.visual,!0)},category:Kc,piecewise:function(e,n){var r=Qc.call(this,n);return null==r&&(r=Object(Ve["m"])(e,t,this.option.visual,!0)),r},fixed:$c}}function Qc(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var r=Hc.findPieceIndex(t,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function tu(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=b["map"](e,(function(t){var e=qe["parse"](t);return e||[0,0,0,1]}))),e}var eu={linear:function(t){return Object(Ve["m"])(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=Hc.findPieceIndex(t,e,!0);if(null!=n)return Object(Ve["m"])(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?Gc:e},fixed:b["noop"]};function nu(t,e,n){return t?e<=n:e=n.length||t===n[t.depth]){var o=fu(i,c,t,e,f,r);su(t,o,n,r)}}))}else s=cu(c),u.fill=s}}function lu(t,e,n){var r=Object(b["extend"])({},e),i=n.designatedVisualItemStyle;return Object(b["each"])(["color","colorAlpha","colorSaturation"],(function(n){i[n]=e[n];var o=t.get(n);i[n]=null,null!=o&&(r[n]=o)})),r}function cu(t){var e=hu(t,"color");if(e){var n=hu(t,"colorAlpha"),r=hu(t,"colorSaturation");return r&&(e=Object(qe["modifyHSL"])(e,null,null,r)),n&&(e=Object(qe["modifyAlpha"])(e,n)),e}}function uu(t,e){return null!=e?Object(qe["modifyHSL"])(e,null,null,t):null}function hu(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function du(t,e,n,r,i,o){if(o&&o.length){var a=pu(e,"color")||null!=i.color&&"none"!==i.color&&(pu(e,"colorAlpha")||pu(e,"colorSaturation"));if(a){var s=e.get("visualMin"),l=e.get("visualMax"),c=n.dataExtent.slice();null!=s&&sc[1]&&(c[1]=l);var u=e.get("colorMappingBy"),h={type:a.name,dataExtent:c,visual:a.range};"color"!==h.type||"index"!==u&&"id"!==u?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new ru(h);return ou(d).drColorMappingBy=u,d}}}function pu(t,e){var n=t.get(e);return Object(b["isArray"])(n)&&n.length?{name:e,range:n}:null}function fu(t,e,n,r,i,o){var a=Object(b["extend"])({},e);if(i){var s=i.type,l="color"===s&&ou(i).drColorMappingBy,c="index"===l?r:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=i.mapValueToVisual(c)}return a}var gu=Math.max,yu=Math.min,vu=b["retrieve"],mu=b["each"],bu=["itemStyle","borderWidth"],xu=["itemStyle","gapWidth"],_u=["upperLabel","show"],Ou=["upperLabel","height"],wu={seriesType:"treemap",reset:function(t,e,n,r){var i=n.getWidth(),o=n.getHeight(),a=t.option,s=ar["g"](t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],c=Object(Ve["q"])(vu(s.width,l[0]),i),u=Object(Ve["q"])(vu(s.height,l[1]),o),h=r&&r.type,d=["treemapZoomToNode","treemapRootToNode"],p=Ul(r,d,t),f="treemapRender"===h||"treemapMove"===h?r.rootRect:null,g=t.getViewRoot(),y=ql(g);if("treemapMove"!==h){var v="treemapZoomToNode"===h?Du(t,p,g,c,u):f?[f.width,f.height]:[c,u],m=a.sort;m&&"asc"!==m&&"desc"!==m&&(m="desc");var x={squareRatio:a.squareRatio,sort:m,leafDepth:a.leafDepth};g.hostTree.clearLayouts();var _={x:0,y:0,width:v[0],height:v[1],area:v[0]*v[1]};g.setLayout(_),Su(g,x,!1,0),_=g.getLayout(),mu(y,(function(t,e){var n=(y[e+1]||g).getValue();t.setLayout(b["extend"]({dataExtent:[n,n],borderWidth:0,upperHeight:0},_))}))}var O=t.getData().tree.root;O.setLayout(ku(s,f,p),!0),t.setLayoutInfo(s),Lu(O,new Vr["a"](-s.x,-s.y,i,o),y,g,0)}};function Su(t,e,n,r){var i,o;if(!t.isRemoved()){var a=t.getLayout();i=a.width,o=a.height;var s=t.getModel(),l=s.get(bu),c=s.get(xu)/2,u=Pu(s),h=Math.max(l,u),d=l-c,p=h-c;t.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:u},!0),i=gu(i-2*d,0),o=gu(o-d-p,0);var f=i*o,g=ju(t,s,f,e,n,r);if(g.length){var y={x:d,y:p,width:i,height:o},v=yu(i,o),m=1/0,b=[];b.area=0;for(var x=0,_=g.length;x<_;){var O=g[x];b.push(O),b.area+=O.getLayout().area;var w=Au(b,v,e.squareRatio);w<=m?(x++,m=w):(b.area-=b.pop().getLayout().area,Tu(b,v,y,c,!1),v=yu(y.width,y.height),b.length=b.area=0,m=1/0)}if(b.length&&Tu(b,v,y,c,!0),!n){var S=s.get("childrenVisibleMin");null!=S&&f=0;l--){var c=i["asc"===r?a-l-1:l].getValue();c/n*ea[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:r,dataExtent:a}}function Au(t,e,n){for(var r=0,i=1/0,o=0,a=void 0,s=t.length;or&&(r=a));var l=t.area*t.area,c=e*e*n;return l?gu(c*r/l,l/(c*i)):1/0}function Tu(t,e,n,r,i){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],c=n[s[o]],u=e?t.area/e:0;(i||u>n[l[a]])&&(u=n[l[a]]);for(var h=0,d=t.length;hVe["a"]&&(c=Ve["a"]),a=o}cr&&(r=e);var o=r%2?r+2:r+3;i=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var x=v[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var _=-Math.atan2(v[1],v[0]);c[0].8?"left":u[0]<-.8?"right":"center",d=u[1]>.8?"top":u[1]<-.8?"bottom":"middle";break;case"start":r.x=-u[0]*f+l[0],r.y=-u[1]*g+l[1],h=u[0]>.8?"right":u[0]<-.8?"left":"center",d=u[1]>.8?"bottom":u[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":r.x=f*x+l[0],r.y=l[1]+O,h=v[0]<0?"right":"left",r.originX=-f*x,r.originY=-O;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=b[0],r.y=b[1]+O,h="center",r.originY=-O;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-f*x+c[0],r.y=c[1]+O,h=v[0]>=0?"right":"left",r.originX=f*x,r.originY=-O;break}r.scaleX=r.scaleY=i,r.setStyle({verticalAlign:r.__verticalAlign||d,align:r.__align||h})}}}function w(t,e){var n=t.__specifiedRotation;if(null==n){var r=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else t.attr("rotation",n)}},e}(te["a"]),jh=Sh,Mh=function(){function t(t){this.group=new te["a"],this._LineCtor=t||jh}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,r=n.group,i=n._lineData;n._lineData=t,i||r.removeAll();var o=Ch(t);t.diff(i).add((function(n){e._doAdd(t,n,o)})).update((function(n,r){e._doUpdate(i,t,r,n,o)})).remove((function(t){r.remove(i.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Ch(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||Ih(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=t.start;r0}function Ch(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Object(ue["e"])(e)}}function Ah(t){return isNaN(t[0])||isNaN(t[1])}function Th(t){return t&&!Ah(t[0])&&!Ah(t[1])}var Dh=Mh,kh=[],Lh=[],Ph=[],Rh=Ce["h"],Eh=fi["distSquare"],Nh=Math.abs;function zh(t,e,n){for(var r,i=t[0],o=t[1],a=t[2],s=1/0,l=n*n,c=.1,u=.1;u<=.9;u+=.1){kh[0]=Rh(i[0],o[0],a[0],u),kh[1]=Rh(i[1],o[1],a[1],u);var h=Nh(Eh(kh,e)-l);h=0?r+=c:r-=c:f>=0?r-=c:r+=c}return r}function Bh(t,e){var n=[],r=Ce["n"],i=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),c=t.getVisual("fromSymbol"),u=t.getVisual("toSymbol");l.__original||(l.__original=[fi["clone"](l[0]),fi["clone"](l[1])],l[2]&&l.__original.push(fi["clone"](l[2])));var h=l.__original;if(null!=l[2]){if(fi["copy"](i[0],h[0]),fi["copy"](i[1],h[2]),fi["copy"](i[2],h[1]),c&&"none"!==c){var d=eh(t.node1),p=zh(i,h[0],d*e);r(i[0][0],i[1][0],i[2][0],p,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],p,n),i[0][1]=n[3],i[1][1]=n[4]}if(u&&"none"!==u){d=eh(t.node2),p=zh(i,h[1],d*e);r(i[0][0],i[1][0],i[2][0],p,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],p,n),i[1][1]=n[1],i[2][1]=n[2]}fi["copy"](l[0],i[0]),fi["copy"](l[1],i[2]),fi["copy"](l[2],i[1])}else{if(fi["copy"](o[0],h[0]),fi["copy"](o[1],h[1]),fi["sub"](a,o[1],o[0]),fi["normalize"](a,a),c&&"none"!==c){d=eh(t.node1);fi["scaleAndAdd"](o[0],o[0],a,d*e)}if(u&&"none"!==u){d=eh(t.node2);fi["scaleAndAdd"](o[1],o[1],a,-d*e)}fi["copy"](l[0],o[0]),fi["copy"](l[1],o[1])}}))}function Vh(t){return"view"===t.type}var Fh=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.init=function(t,e){var n=new me,r=new Dh,i=this.group;this._controller=new sa(e.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},e.prototype.render=function(t,e,n){var r=this,i=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(Vh(i)){var l={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?s.attr(l):re["h"](s,l,t)}Bh(t.getGraph(),th(t));var c=t.getData();o.updateData(c);var u=t.getEdgeData();a.updateData(u),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var h=t.forceLayout,d=t.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,d);var p=t.get("layout");c.graph.eachNode((function(e){var n=e.dataIndex,i=e.getGraphicEl(),o=e.getModel();if(i){i.off("drag").off("dragend");var a=o.get("draggable");a&&i.on("drag",(function(o){switch(p){case"force":h.warmUp(),!r._layouting&&r._startForceLayoutIteration(h,d),h.setFixed(n),c.setItemLayout(n,[i.x,i.y]);break;case"circular":c.setItemLayout(n,[i.x,i.y]),e.setLayout({fixed:!0},!0),ih(t,"symbolSize",e,[o.offsetX,o.offsetY]),r.updateLayout(t);break;case"none":default:c.setItemLayout(n,[i.x,i.y]),Ju(t.getGraph(),t),r.updateLayout(t);break}})).on("dragend",(function(){h&&h.setUnfixed(n)})),i.setDraggable(a,!!o.get("cursor"));var s=o.get(["emphasis","focus"]);"adjacency"===s&&(Object(oe["a"])(i).focus=e.getAdjacentDataIndices())}})),c.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(Object(oe["a"])(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=c.getLayout("cx"),y=c.getLayout("cy");c.graph.eachNode((function(t){ah(t,f,g,y)})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;(function r(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(r,16):r())}))})()},e.prototype._updateController=function(t,e,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(e,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!ha(e,n,t)})),Vh(t.coordinateSystem)?(i.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){la(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){ca(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),r._updateNodeAndLinkScale(),Bh(t.getGraph(),th(t)),r._lineDraw.updateLayout(),n.updateLabelLayout()}))):i.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=th(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){Bh(t.getGraph(),th(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}(Ne["a"]),Gh=Fh;function Hh(t){return"_EC_"+t}var Wh=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 n=this._nodesMap;if(!n[Hh(t)]){var r=new Uh(t,e);return r.hostGraph=this,this.nodes.push(r),n[Hh(t)]=r,r}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[Hh(t)]},t.prototype.addEdge=function(t,e,n){var r=this._nodesMap,i=this._edgesMap;if(b["isNumber"](t)&&(t=this.nodes[t]),b["isNumber"](e)&&(e=this.nodes[e]),t instanceof Uh||(t=r[Hh(t)]),e instanceof Uh||(e=r[Hh(e)]),t&&e){var o=t.id+"-"+e.id,a=new qh(t,e,n);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),i[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 Uh&&(t=t.id),e instanceof Uh&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,r=n.length,i=0;i=0&&t.call(e,n[i],i)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,r=n.length,i=0;i=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},t.prototype.breadthFirstTraverse=function(t,e,n,r){if(e instanceof Uh||(e=this._nodesMap[Hh(e)]),e){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(i=0,o=r.length;i=0&&this[t][e].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,r)},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)}}}b["mixin"](Uh,Yh("hostGraph","data")),b["mixin"](qh,Yh("hostGraph","edgeData"));var Xh=Wh,Zh=n("1f39");function Kh(t,e,n,r,i){for(var o=new Xh(r),a=0;a "+d)),c++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=Object($t["a"])(t,n);else{var g=Zh["a"].get(f),y=g&&g.dimensions||[];b["indexOf"](y,"value")<0&&y.concat(["value"]);var v=Object(Ir["b"])(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;p=new Cr["a"](v,n),p.initData(t)}var m=new Cr["a"](["value"],n);return m.initData(l,s),i&&i(p,m),Vl({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var $h=n("f6d8"),Jh=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Object(Kt["a"])(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new kr(r,r),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),Object(Ie["f"])(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],r=t.data||t.nodes||[],i=this;if(r&&n){Xu(this);var o=Kh(r,n,this,!0,a);return b["each"](o.edges,(function(t){Zu(t.node1,t.node2,this,t.dataIndex)}),this),o.data}function a(t,e){t.wrapMethod("getItemModel",(function(t){var e=i._categoriesModels,n=t.getShallow("category"),r=e[n];return r&&(r.parentModel=t.parentModel,t.parentModel=r),t}));var n=Ei["a"].prototype.getModel;function r(t,e){var r=n.call(this,t,e);return r.resolveParentPath=o,r}function o(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=o,t.getModel=r,t}))}},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,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(t,n),o=r.graph.getEdgeByIndex(t),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Object(Do["c"])("nameValue",{name:l.join(" > "),value:i.value,noValue:null==i.value})}var c=Object($h["a"])({series:this,dataIndex:t,multipleSeries:e});return c},e.prototype._updateCategoriesData=function(){var t=b["map"](this.option.categories||[],(function(t){return null!=t.value?t:b["extend"]({value:0},t)})),e=new Cr["a"](["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}(Jt["b"]),Qh=Jh,td={type:"graphRoam",event:"graphRoam",update:"none"};function ed(t){t.registerChartView(Gh),t.registerSeriesModel(Qh),t.registerProcessor(Eu),t.registerVisual(Nu),t.registerVisual(Bu),t.registerLayout(Qu),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,sh),t.registerLayout(uh),t.registerCoordinateSystem("graphView",{dimensions:Ns.dimensions,create:dh}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},b["noop"]),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},b["noop"]),t.registerAction(td,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var r=e.coordinateSystem,i=$s(r,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}var nd=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),rd=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return Object(Kt["a"])(e,t),e.prototype.getDefaultShape=function(){return new nd},e.prototype.buildPath=function(t,e){var n=Math.cos,r=Math.sin,i=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=i/3?1:2),l=e.y-r(a)*o*(o>=i/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+r(a)*o),t.lineTo(e.x+n(e.angle)*i,e.y+r(e.angle)*i),t.lineTo(e.x-n(a)*o,e.y-r(a)*o),t.lineTo(s,l)},e}(s["b"]),id=rd;function od(t,e){var n=t.get("center"),r=e.getWidth(),i=e.getHeight(),o=Math.min(r,i),a=Object(Ve["q"])(n[0],e.getWidth()),s=Object(Ve["q"])(n[1],e.getHeight()),l=Object(Ve["q"])(t.get("radius"),o/2);return{cx:a,cy:s,r:l}}function ad(t,e){var n=null==t?"":t+"";return e&&(Object(b["isString"])(e)?n=e.replace("{value}",n):Object(b["isFunction"])(e)&&(n=e(t))),n}var sd=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var r=t.get(["axisLine","lineStyle","color"]),i=od(t,n);this._renderMain(t,e,n,r,i),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,r,i){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,c=t.getModel("axisLine"),u=c.get("roundCap"),h=u?Cn:Be["a"],d=c.get("show"),p=c.getModel("lineStyle"),f=p.get("width"),g=[s,l];Object(G["b"])(g,!a),s=g[0],l=g[1];for(var y=l-s,v=s,m=[],x=0;d&&x=t&&(0===e?0:r[e-1][0])Math.PI/2&&(B+=Math.PI)):"tangential"===z?B=-j-Math.PI/2:Object(b["isNumber"])(z)&&(B=z*Math.PI/180),0===B?h.add(new tt["a"]({style:Object(ue["c"])(x,{text:P,x:E,y:N,verticalAlign:u<-.8?"top":u>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:R}),silent:!0})):h.add(new tt["a"]({style:Object(ue["c"])(x,{text:P,x:E,y:N,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:E,originY:N,rotation:B}))}if(m.get("show")&&D!==_){k=m.get("distance");k=k?k+l:l;for(var V=0;V<=O;V++){c=Math.cos(j),u=Math.sin(j);var F=new Ri["a"]({shape:{x1:c*(f-k)+d,y1:u*(f-k)+p,x2:c*(f-S-k)+d,y2:u*(f-S-k)+p},silent:!0,style:A});"auto"===A.stroke&&F.setStyle({stroke:r((D+V/O)/_)}),h.add(F),j+=I}j-=I}else j+=M}},e.prototype._renderPointer=function(t,e,n,r,i,o,a,s,c){var u=this.group,h=this._data,d=this._progressEls,p=[],f=t.get(["pointer","show"]),g=t.getModel("progress"),y=g.get("show"),v=t.getData(),m=v.mapDimension("value"),x=+t.get("min"),_=+t.get("max"),O=[x,_],w=[o,a];function S(e,n){var r,o=v.getItemModel(e),a=o.getModel("pointer"),s=Object(Ve["q"])(a.get("width"),i.r),l=Object(Ve["q"])(a.get("length"),i.r),c=t.get(["pointer","icon"]),u=a.get("offsetCenter"),h=Object(Ve["q"])(u[0],i.r),d=Object(Ve["q"])(u[1],i.r),p=a.get("keepAspect");return r=c?Object(Qt["a"])(c,h-s/2,d-l,s,l,null,p):new id({shape:{angle:-Math.PI/2,width:s,r:l,x:h,y:d}}),r.rotation=-(n+Math.PI/2),r.x=i.cx,r.y=i.cy,r}function j(t,e){var n=g.get("roundCap"),r=n?Cn:Be["a"],a=g.get("overlap"),l=a?g.get("width"):c/v.count(),u=a?i.r-l:i.r-(t+1)*l,h=a?i.r:i.r-t*l,d=new r({shape:{startAngle:o,endAngle:e,cx:i.cx,cy:i.cy,clockwise:s,r0:u,r:h}});return a&&(d.z2=_-v.get(m,t)%_),d}(y||f)&&(v.diff(h).add((function(e){var n=v.get(m,e);if(f){var r=S(e,o);re["c"](r,{rotation:-((isNaN(+n)?w[0]:Object(Ve["m"])(n,O,w,!0))+Math.PI/2)},t),u.add(r),v.setItemGraphicEl(e,r)}if(y){var i=j(e,o),a=g.get("clip");re["c"](i,{shape:{endAngle:Object(Ve["m"])(n,O,w,a)}},t),u.add(i),Object(oe["b"])(t.seriesIndex,v.dataType,e,i),p[e]=i}})).update((function(e,n){var r=v.get(m,e);if(f){var i=h.getItemGraphicEl(n),a=i?i.rotation:o,s=S(e,a);s.rotation=a,re["h"](s,{rotation:-((isNaN(+r)?w[0]:Object(Ve["m"])(r,O,w,!0))+Math.PI/2)},t),u.add(s),v.setItemGraphicEl(e,s)}if(y){var l=d[n],c=l?l.shape.endAngle:o,b=j(e,c),x=g.get("clip");re["h"](b,{shape:{endAngle:Object(Ve["m"])(r,O,w,x)}},t),u.add(b),Object(oe["b"])(t.seriesIndex,v.dataType,e,b),p[e]=b}})).execute(),v.each((function(t){var e=v.getItemModel(t),n=e.getModel("emphasis"),i=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(f){var s=v.getItemGraphicEl(t),c=v.getItemVisual(t,"style"),u=c.fill;if(s instanceof l["a"]){var h=s.style;s.useStyle(Object(b["extend"])({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},c))}else s.useStyle(c),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r(Object(Ve["m"])(v.get(m,t),O,[0,1],!0))),s.z2EmphasisLift=0,Object(ae["I"])(s,e),Object(ae["J"])(s,i,o,a)}if(y){var d=p[t];d.useStyle(v.getItemVisual(t,"style")),d.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,Object(ae["I"])(d,e),Object(ae["J"])(d,i,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor"),r=n.get("show");if(r){var i=n.get("size"),o=n.get("icon"),a=n.get("offsetCenter"),s=n.get("keepAspect"),l=Object(Qt["a"])(o,e.cx-i/2+Object(Ve["q"])(a[0],e.r),e.cy-i/2+Object(Ve["q"])(a[1],e.r),i,i,null,s);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,n,r,i){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),c=+t.get("max"),u=new te["a"],h=[],d=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){h[t]=new tt["a"]({silent:!0}),d[t]=new tt["a"]({silent:!0})})).update((function(t,e){h[t]=o._titleEls[e],d[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new te["a"],y=r(Object(Ve["m"])(o,[l,c],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),b=i.cx+Object(Ve["q"])(m[0],i.r),x=i.cy+Object(Ve["q"])(m[1],i.r),_=h[e];_.attr({z2:f?0:2,style:Object(ue["c"])(v,{x:b,y:x,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(_)}var O=n.getModel("detail");if(O.get("show")){var w=O.get("offsetCenter"),S=i.cx+Object(Ve["q"])(w[0],i.r),j=i.cy+Object(Ve["q"])(w[1],i.r),M=Object(Ve["q"])(O.get("width"),i.r),I=Object(Ve["q"])(O.get("height"),i.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,A=(_=d[e],O.get("formatter"));_.attr({z2:f?0:2,style:Object(ue["c"])(O,{x:S,y:j,text:ad(o,A),width:isNaN(M)?null:M,height:isNaN(I)?null:I,align:"center",verticalAlign:"middle"},{inheritColor:C})}),Object(ue["h"])(_,{normal:O},o,(function(t){return ad(t,A)})),p&&Object(ue["a"])(_,e,a,t,{getFormattedLabel:function(t,e,n,r,i,a){return ad(a?a.interpolatedValue:o,A)}}),g.add(_)}u.add(g)})),this.group.add(u),this._titleEls=h,this._detailEls=d},e.type="gauge",e}(Ne["a"]),ld=sd,cd=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return Object(Kt["a"])(e,t),e.prototype.getInitialData=function(t,e){return Ar(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}(Jt["b"]),ud=cd;function hd(t){t.registerChartView(ld),t.registerSeriesModel(ud)}var dd=["itemStyle","opacity"],pd=function(t){function e(e,n){var r=t.call(this)||this,i=r,o=new pr["a"],a=new tt["a"];return i.setTextContent(a),r.setTextGuideLine(o),r.updateData(e,n,!0),r}return Object(Kt["a"])(e,t),e.prototype.updateData=function(t,e,n){var r=this,i=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(dd);l=null==l?1:l,n||Object(re["g"])(r),r.useStyle(t.getItemVisual(e,"style")),r.style.lineJoin="round",n?(r.setShape({points:a.points}),r.style.opacity=0,re["c"](r,{style:{opacity:l}},i,e)):re["h"](r,{style:{opacity:l},shape:{points:a.points}},i,e),Object(ae["I"])(r,o),this._updateLabel(t,e),Object(ae["J"])(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,r=this.getTextGuideLine(),i=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,c=t.getItemVisual(e,"style"),u=c.fill;Object(ue["g"])(i,Object(ue["e"])(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:c.opacity,defaultText:t.getName(e)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:u,outsideFill:u});var h=l.linePoints;r.setShape({points:h}),n.textGuideLineConfig={anchor:h?new fr["a"](h[0][0],h[0][1]):null},re["h"](i,{style:{x:l.x,y:l.y}},o,e),i.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),Object(gr["d"])(n,Object(gr["a"])(a),{stroke:u})},e}(Co["a"]),fd=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this._data,o=this.group;r.diff(i).add((function(t){var e=new pd(r,t);r.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(r,t),o.add(n),r.setItemGraphicEl(t,n)})).remove((function(e){var n=i.getItemGraphicEl(e);re["f"](n,t,e)})).execute(),this._data=r},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Ne["a"]),gd=fd,yd=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new kr(b["bind"](this.getData,this),b["bind"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return Ar(this,{coordDimensions:["value"],encodeDefaulter:b["curry"](Tr["d"],this)})},e.prototype._defaultLabelLine=function(t){Object(Ie["f"])(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),r=t.prototype.getDataParams.call(this,e),i=n.mapDimension("value"),o=n.getSum(i);return r.percent=o?+(n.get(i,e)/o*100).toFixed(2):0,r.$vars.push("percent"),r},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}(Jt["b"]),vd=yd;function md(t,e){return ar["g"](t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function bd(t,e){for(var n=t.mapDimension("value"),r=t.mapArray(n,(function(t){return t})),i=[],o="ascending"===e,a=0,s=t.count();aGd)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&Ud(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function Ud(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var qd=Hd,Yd=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&b["merge"](e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){b["each"](["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=[],n=b["filter"](this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);b["each"](n,(function(n){t.push("dim"+n.get("dim")),e.push(n.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}(Zr["a"]),Xd=Yd,Zd=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n,r)||this;return a.type=i||"value",a.axisIndex=o,a}return Object(Kt["a"])(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(bi["a"]),Kd=Zd;function $d(t,e,n,r,i,o){t=t||0;var a=n[1]-n[0];if(null!=i&&(i=Qd(i,[0,a])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===r){var s=Math.abs(e[1]-e[0]);s=Qd(s,[0,a]),i=o=Qd(s,[i,o]),r=0}e[0]=Qd(e[0],n),e[1]=Qd(e[1],n);var l=Jd(e,r);e[r]+=t;var c,u=i||0,h=n.slice();return l.sign<0?h[0]+=u:h[1]-=u,e[r]=Qd(e[r],h),c=Jd(e,r),null!=i&&(c.sign!==l.sign||c.spano&&(e[1-r]=e[r]+c.sign*o),e}function Jd(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function Qd(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var tp=b["each"],ep=Math.min,np=Math.max,rp=Math.floor,ip=Math.ceil,op=Ve["w"],ap=Math.PI,sp=function(){function t(t,e,n){this.type="parallel",this._axesMap=b["createHashMap"](),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var r=t.dimensions,i=t.parallelAxisIndex;tp(r,(function(t,n){var r=i[n],o=e.getComponent("parallelAxis",r),a=this._axesMap.set(t,new Kd(t,ui["a"](o),[0,0],o.get("type"),r)),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(),n=e.axisBase,r=e.layoutBase,i=e.pixelDimIndex,o=t[1-i],a=t[i];return o>=n&&o<=n+e.axisLength&&a>=r&&a<=r+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var r=n.getData();tp(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),ui["i"](e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=ar["g"](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,n=this._rect,r=["x","y"],i=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],c=this.dimensions.length,u=lp(e.get("axisExpandWidth"),l),h=lp(e.get("axisExpandCount")||0,[0,c]),d=e.get("axisExpandable")&&c>3&&c>h&&h>1&&u>0&&s>0,p=e.get("axisExpandWindow");if(p)t=lp(p[1]-p[0],l),p[1]=p[0]+t;else{t=lp(u*(h-1),l);var f=e.get("axisExpandCenter")||rp(c/2);p=[u*f-t/2],p[1]=p[0]+t}var g=(s-t)/(c-h);g<3&&(g=0);var y=[rp(op(p[0]/u,1))+1,ip(op(p[1]/u,1))-1],v=g/u*p[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:d,axisExpandWidth:u,axisCollapseWidth:g,axisExpandWindow:p,axisCount:c,winInnerIndices:y,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;e.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),tp(n,(function(e,n){var o=(r.axisExpandable?up:cp)(n,r),a={horizontal:{x:o.position,y:r.axisLength},vertical:{x:0,y:o.position}},s={horizontal:ap/2,vertical:0},l=[a[i].x+t.x,a[i].y+t.y],c=s[i],u=pi["create"]();pi["rotate"](u,u,c),pi["translate"](u,u,l),this._axesLayout[e]={position:l,rotation:c,transform:u,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,n,r){null==n&&(n=0),null==r&&(r=t.count());var i=this._axesMap,o=this.dimensions,a=[],s=[];b["each"](o,(function(e){a.push(t.mapDimension(e)),s.push(i.get(e).model)}));for(var l=this.hasAxisBrushed(),c=n;ci*(1-u[0])?(l="jump",a=s-i*(1-u[2])):(a=s-i*u[1])>=0&&(a=s-i*(1-u[1]))<=0&&(a=0),a*=e.axisExpandWidth/c,a?$d(a,r,o,"all"):l="none";else{var d=r[1]-r[0],p=o[1]*s/d;r=[np(0,p-d/2)],r[1]=ep(o[1],r[0]+d),r[0]=r[1]-d}return{axisExpandWindow:r,behavior:l}},t}();function lp(t,e){return ep(np(t,e[0]),e[1])}function cp(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function up(t,e){var n,r,i=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,c=s,u=!1;return t=0;n--)Ve["c"](e[n])},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 n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var r=0,i=e.length;rOp}function Fp(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function Gp(t,e,n,r){var i=new te["a"];return i.add(new ze["a"]({name:"main",style:qp(n),silent:!0,draggable:!0,cursor:"move",drift:Object(b["curry"])($p,t,e,i,["n","s","w","e"]),ondragend:Object(b["curry"])(Bp,e,{isEnd:!0})})),Object(b["each"])(r,(function(n){i.add(new ze["a"]({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(b["curry"])($p,t,e,i,n),ondragend:Object(b["curry"])(Bp,e,{isEnd:!0})}))})),i}function Hp(t,e,n,r){var i=r.brushStyle.lineWidth||0,o=bp(i,wp),a=n[0][0],s=n[1][0],l=a-i/2,c=s-i/2,u=n[0][1],h=n[1][1],d=u-o+i/2,p=h-o+i/2,f=u-a,g=h-s,y=f+i,v=g+i;Up(t,e,"main",a,s,f,g),r.transformable&&(Up(t,e,"w",l,c,o,v),Up(t,e,"e",d,c,o,v),Up(t,e,"n",l,c,y,o),Up(t,e,"s",l,p,y,o),Up(t,e,"nw",l,c,o,o),Up(t,e,"ne",d,c,o,o),Up(t,e,"sw",l,p,o,o),Up(t,e,"se",d,p,o,o))}function Wp(t,e){var n=e.__brushOption,r=n.transformable,i=e.childAt(0);i.useStyle(qp(n)),i.attr({silent:!r,cursor:r?"move":"default"}),Object(b["each"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=e.childOfName(n.join("")),o=1===n.length?Zp(t,n[0]):Kp(t,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?Mp[o]+"-resize":null})}))}function Up(t,e,n,r,i,o,a){var s=e.childOfName(n);s&&s.setShape(ef(tf(t,e,[[r,i],[r+o,i+a]])))}function qp(t){return Object(b["defaults"])({strokeNoScale:!0},t.brushStyle)}function Yp(t,e,n,r){var i=[mp(t,n),mp(e,r)],o=[bp(t,n),bp(e,r)];return[[i[0],o[0]],[i[1],o[1]]]}function Xp(t){return ie["getTransform"](t.group)}function Zp(t,e){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=ie["transformDirection"](n[e],Xp(t));return r[i]}function Kp(t,e){var n=[Zp(t,e[0]),Zp(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function $p(t,e,n,r,i,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=Qp(e,i,o);Object(b["each"])(r,(function(t){var e=jp[t];s[e[0]][e[1]]+=l[e[0]]})),a.range=t.fromRectRange(Yp(s[0][0],s[1][0],s[0][1],s[1][1])),Pp(e,n),Bp(e,{isEnd:!1})}function Jp(t,e,n,r){var i=e.__brushOption.range,o=Qp(t,n,r);Object(b["each"])(i,(function(t){t[0]+=o[0],t[1]+=o[1]})),Pp(t,e),Bp(t,{isEnd:!1})}function Qp(t,e,n){var r=t.group,i=r.transformCoordToLocal(e,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function tf(t,e,n){var r=Np(t,e);return r&&r!==vp?r.clipPath(n,t._transform):Object(b["clone"])(n)}function ef(t){var e=mp(t[0][0],t[1][0]),n=mp(t[0][1],t[1][1]),r=bp(t[0][0],t[1][0]),i=bp(t[0][1],t[1][1]);return{x:e,y:n,width:r-e,height:i-n}}function nf(t,e,n){if(t._brushType&&!uf(t,e.offsetX,e.offsetY)){var r=t._zr,i=t._covers,o=Ep(t,e,n);if(!t._dragging)for(var a=0;ar.getWidth()||n<0||n>r.getHeight()}var hf={lineX:df(0),lineY:df(1),rect:{createCover:function(t,e){function n(t){return t}return Gp({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=Fp(t);return Yp(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,r){Hp(t,e,n,r)},updateCommon:Wp,contain:of},polygon:{createCover:function(t,e){var n=new te["a"];return n.add(new pr["a"]({name:"main",style:qp(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new Co["a"]({name:"main",draggable:!0,drift:Object(b["curry"])(Jp,t,e),ondragend:Object(b["curry"])(Bp,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,r){e.childAt(0).setShape({points:tf(t,e,n)})},updateCommon:Wp,contain:of}};function df(t){return{createCover:function(e,n){return Gp({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=Fp(e),r=mp(n[0][t],n[1][t]),i=bp(n[0][t],n[1][t]);return[r,i]},updateCoverShape:function(e,n,r,i){var o,a=Np(e,n);if(a!==vp&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[r,o];t&&l.reverse(),Hp(e,n,l,i)},updateCommon:Wp,contain:of}}var pf=Ap;function ff(t){return t=vf(t),function(e){return ie["clipPointsByRect"](e,t)}}function gf(t,e){return t=vf(t),function(n){var r=null!=e?e:n,i=r?t.width:t.height,o=r?t.x:t.y;return[o,o+(i||0)]}}function yf(t,e,n){var r=vf(t);return function(t,i){return r.contain(i[0],i[1])&&!ha(t,e,n)}}function vf(t){return Vr["a"].create(t)}var mf=["axisLine","axisTickLabel","axisName"],bf=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new pf(n.getZr())).on("brush",b["bind"](this._onBrush,this))},e.prototype.render=function(t,e,n,r){if(!xf(t,e,r)){this.axisModel=t,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new te["a"],this.group.add(this._axisGroup),t.get("show")){var o=Of(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,c=t.axis.dim,u=a.getAxisLayout(c),h=b["extend"]({strokeContainThreshold:l},u),d=new Zi(t,h);b["each"](mf,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(h,s,t,o,l,n),ie["groupTransition"](i,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,r,i,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),c=Vr["a"].create({x:a[0],y:-i/2,width:s,height:i});c.x-=l,c.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:ff(c),isTargetByCursor:yf(c,o,r),getLinearBrushOtherExtent:gf(c,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(_f(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,r=n.axis,i=b["map"](e,(function(t){return[r.coordToData(t.range[0],!0),r.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:i})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Xr["a"]);function xf(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}function _f(t){var e=t.axis;return b["map"](t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function Of(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var wf=bf,Sf={type:"axisAreaSelect",event:"axisAreaSelected"};function jf(t){t.registerAction(Sf,(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)}))}))}var Mf={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function If(t){t.registerComponentView(qd),t.registerComponentModel(Xd),t.registerCoordinateSystem("parallel",fp),t.registerPreprocessor(Bd),t.registerComponentModel(yp),t.registerComponentView(wf),li(t,"parallel",yp,Mf),jf(t)}function Cf(t){Object(r["a"])(If),t.registerChartView(Dd),t.registerSeriesModel(Rd),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,zd)}var Af=function(){function t(){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}return t}(),Tf=function(t){function e(e){return t.call(this,e)||this}return Object(Kt["a"])(e,t),e.prototype.getDefaultShape=function(){return new Af},e.prototype.buildPath=function(t,e){var n=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+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){Object(ae["r"])(this)},e.prototype.downplay=function(){Object(ae["C"])(this)},e}(s["b"]),Df=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r=this,i=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,c=t.getData(),u=t.getData("edge"),h=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,i.eachEdge((function(e){var n=new Tf,r=Object(oe["a"])(n);r.dataIndex=e.dataIndex,r.seriesIndex=t.seriesIndex,r.dataType="edge";var i,a,c,d,p,f,g,y,v=e.getModel(),m=v.getModel("lineStyle"),x=m.get("curveness"),_=e.node1.getLayout(),O=e.node1.getModel(),w=O.get("localX"),S=O.get("localY"),j=e.node2.getLayout(),M=e.node2.getModel(),I=M.get("localX"),C=M.get("localY"),A=e.getLayout();switch(n.shape.extent=Math.max(1,A.dy),n.shape.orient=h,"vertical"===h?(i=(null!=w?w*s:_.x)+A.sy,a=(null!=S?S*l:_.y)+_.dy,c=(null!=I?I*s:j.x)+A.ty,d=null!=C?C*l:j.y,p=i,f=a*(1-x)+d*x,g=c,y=a*x+d*(1-x)):(i=(null!=w?w*s:_.x)+_.dx,a=(null!=S?S*l:_.y)+A.sy,c=null!=I?I*s:j.x,d=(null!=C?C*l:j.y)+A.ty,p=i*(1-x)+c*x,f=a,g=i*x+c*(1-x),y=d),n.setShape({x1:i,y1:a,x2:c,y2:d,cpx1:p,cpy1:f,cpx2:g,cpy2:y}),n.useStyle(m.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var T=e.node1.getVisual("color"),D=e.node2.getVisual("color");Object(b["isString"])(T)&&Object(b["isString"])(D)&&(n.style.fill=new Me["a"](0,0,+("horizontal"===h),+("vertical"===h),[{color:T,offset:0},{color:D,offset:1}]))}Object(ue["g"])(n,Object(ue["e"])(v,"edgeLabel"),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:""+v.get("value")}),n.setTextConfig({position:"inside"});var k=v.getModel("emphasis");Object(ae["I"])(n,v,"lineStyle",(function(t){return t.getItemStyle()})),o.add(n),u.setItemGraphicEl(e.dataIndex,n);var L=k.get("focus");Object(ae["J"])(n,"adjacency"===L?e.getAdjacentDataIndices():L,k.get("blurScope"),k.get("disabled")),Object(oe["a"])(n).dataType="edge"})),i.eachNode((function(e){var n=e.getLayout(),r=e.getModel(),i=r.get("localX"),a=r.get("localY"),u=r.getModel("emphasis"),h=new ze["a"]({shape:{x:null!=i?i*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy},style:r.getModel("itemStyle").getItemStyle(),z2:10});Object(ue["g"])(h,Object(ue["e"])(r),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle("fill",e.getVisual("color")),h.setStyle("decal",e.getVisual("style").decal),Object(ae["I"])(h,r),o.add(h),c.setItemGraphicEl(e.dataIndex,h),Object(oe["a"])(h).dataType="node";var d=u.get("focus");Object(ae["J"])(h,"adjacency"===d?e.getAdjacentDataIndices():d,u.get("blurScope"),u.get("disabled"))})),c.eachItemGraphicEl((function(e,i){var o=c.getItemModel(i);o.get("draggable")&&(e.drift=function(e,o){r._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){r._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(kf(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Ne["a"]);function kf(t,e,n){var r=new ze["a"]({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return re["c"](r,{shape:{width:t.width+20}},e,n),r}var Lf=Df,Pf=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,r=t.data||t.nodes,i=t.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a=0&&(o[i[a].depth]=new Ei["a"](i[a],this,e));if(r&&n){var s=Kh(r,n,this,!0,l);return s.data}function l(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,r=n.getData().getItemLayout(e);if(r){var i=r.depth,o=n.levelModels[i];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,r=n.getGraph().getEdgeByIndex(e),i=r.node1.getLayout();if(i){var o=i.depth,a=n.levelModels[o];a&&(t.parentModel=a)}return t}))}},e.prototype.setNodePosition=function(t,e){var n=this.option.data||this.option.nodes,r=n[t];r.localX=e[0],r.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,n){function r(t){return isNaN(t)||null==t}if("edge"===n){var i=this.getDataParams(t,n),o=i.data,a=i.value,s=o.source+" -- "+o.target;return Object(Do["c"])("nameValue",{name:s,value:a,noValue:r(a)})}var l=this.getGraph().getNodeByIndex(t),c=l.getLayout().value,u=this.getDataParams(t,n).data.name;return Object(Do["c"])("nameValue",{name:null!=u?u+"":null,value:c,noValue:r(c)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var r=t.prototype.getDataParams.call(this,e,n);if(null==r.value&&"node"===n){var i=this.getGraph().getNodeByIndex(e),o=i.getLayout().value;r.value=o}return r},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}(Jt["b"]),Rf=Pf;function Ef(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),r=t.get("nodeGap"),i=Nf(t,e);t.layoutInfo=i;var o=i.width,a=i.height,s=t.getGraph(),l=s.nodes,c=s.edges;Bf(l);var u=b["filter"](l,(function(t){return 0===t.getLayout().value})),h=0!==u.length?0:t.get("layoutIterations"),d=t.get("orient"),p=t.get("nodeAlign");zf(l,c,n,r,o,a,h,d,p)}))}function Nf(t,e){return ar["g"](t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function zf(t,e,n,r,i,o,a,s,l){Vf(t,e,n,i,o,s,l),Uf(t,e,o,i,r,a,s),ig(t,s)}function Bf(t){b["each"](t,(function(t){var e=ng(t.outEdges,eg),n=ng(t.inEdges,eg),r=t.getValue()||0,i=Math.max(e,n,r);t.setLayout({value:i},!0)}))}function Vf(t,e,n,r,i,o,a){for(var s=[],l=[],c=[],u=[],h=0,d=0;d=0;v&&y.depth>p&&(p=y.depth),g.setLayout({depth:v?y.depth:h},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mh-1?p:h-1;a&&"left"!==a&&Gf(t,a,o,w);var S="vertical"===o?(i-n)/w:(r-n)/w;Wf(t,S,o)}function Ff(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function Gf(t,e,n,r){if("right"===e){var i=[],o=t,a=0;while(o.length){for(var s=0;s0;o--)l*=.99,Zf(s,l,a),Xf(s,i,n,r,a),rg(s,l,a),Xf(s,i,n,r,a)}function qf(t,e){var n=[],r="vertical"===e?"y":"x",i=Object(Ie["j"])(t,(function(t){return t.getLayout()[r]}));return i.keys.sort((function(t,e){return t-e})),b["each"](i.keys,(function(t){n.push(i.buckets.get(t))})),n}function Yf(t,e,n,r,i,o){var a=1/0;b["each"](t,(function(t){var e=t.length,s=0;b["each"](t,(function(t){s+=t.getLayout().value}));var l="vertical"===o?(r-(e-1)*i)/s:(n-(e-1)*i)/s;l0&&(a=s.getLayout()[o]+l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[o]+s.getLayout()[h]+e;var p="vertical"===i?r:n;if(l=c-e-p,l>0){a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0),c=a;for(d=u-2;d>=0;--d)s=t[d],l=s.getLayout()[o]+s.getLayout()[h]+e-c,l>0&&(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[o]}}))}function Zf(t,e,n){b["each"](t.slice().reverse(),(function(t){b["each"](t,(function(t){if(t.outEdges.length){var r=ng(t.outEdges,Kf,n)/ng(t.outEdges,eg);if(isNaN(r)){var i=t.outEdges.length;r=i?ng(t.outEdges,$f,n)/i:0}if("vertical"===n){var o=t.getLayout().x+(r-tg(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(r-tg(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function Kf(t,e){return tg(t.node2,e)*t.getValue()}function $f(t,e){return tg(t.node2,e)}function Jf(t,e){return tg(t.node1,e)*t.getValue()}function Qf(t,e){return tg(t.node1,e)}function tg(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function eg(t){return t.getValue()}function ng(t,e,n){var r=0,i=t.length,o=-1;while(++oo&&(o=e)})),b["each"](n,(function(e){var n=new ru({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:t.get("color")}),r=n.mapValueToVisual(e.getLayout().value),a=e.getModel().get(["itemStyle","color"]);null!=a?(e.setVisual("color",a),e.setVisual("style",{fill:a})):(e.setVisual("color",r),e.setVisual("style",{fill:r}))}))}r.length&&b["each"](r,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}function ag(t){t.registerChartView(Lf),t.registerSeriesModel(Rf),t.registerLayout(Ef),t.registerVisual(og),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])}))}))}var sg=n("2f45"),lg=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,r,i=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=i.getOrdinalMeta(),r=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),r=!0):t.layout=t.layout||"horizontal";var l=["x","y"],c="horizontal"===t.layout?0:1,u=this._baseAxisDim=l[c],h=l[1-c],d=[i,o],p=d[c].get("type"),f=d[1-c].get("type"),g=t.data;if(g&&r){var y=[];b["each"](g,(function(t,e){var n;b["isArray"](t)?(n=t.slice(),t.unshift(e)):b["isArray"](t.value)?(n=b["extend"]({},t),n.value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var v=this.defaultValueDimensions,m=[{name:u,type:Object(sg["a"])(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:Object(sg["a"])(f),dimsDef:v.slice()}];return Ar(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:b["curry"](Tr["c"],m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),cg=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return Object(Kt["a"])(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}(Jt["b"]);Object(b["mixin"])(cg,lg,!0);var ug=cg,hg=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===t.get("layout")?1:0;r.diff(o).add((function(t){if(r.hasValue(t)){var e=r.getItemLayout(t),n=fg(e,r,t,a,!0);r.setItemGraphicEl(t,n),i.add(n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var s=r.getItemLayout(t);n?(Object(re["g"])(n),gg(s,n,r,t)):n=fg(s,r,t,a),i.add(n),r.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=r},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Ne["a"]),dg=function(){function t(){}return t}(),pg=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return Object(Kt["a"])(e,t),e.prototype.getDefaultShape=function(){return new dg},e.prototype.buildPath=function(t,e){var n=e.points,r=0;for(t.moveTo(n[r][0],n[r][1]),r++;r<4;r++)t.lineTo(n[r][0],n[r][1]);for(t.closePath();rg){var _=[v,x];r.push(_)}}}return{boxData:n,outliers:r}}var Sg=n("07fd"),jg={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Sg["c"]){var n="";0,Object(Bc["c"])(n)}var r=wg(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:r.boxData},{data:r.outliers}]}};function Mg(t){t.registerSeriesModel(ug),t.registerChartView(vg),t.registerLayout(bg),t.registerTransform(jg)}var Ig=["color","borderColor"],Cg=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){ie["traverseElements"](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(),n=this._data,r=this.group,i=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||r.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&kg(s,a))return;var l=Dg(a,n,!0);re["c"](l,{shape:{points:a.ends}},t,n),Lg(l,e,n,i),r.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var c=n.getItemGraphicEl(l);if(e.hasValue(a)){var u=e.getItemLayout(a);o&&kg(s,u)?r.remove(c):(c?(re["h"](c,{shape:{points:u.ends}},t,a),Object(re["g"])(c)):c=Dg(u,a),Lg(c,e,a,i),r.add(c),e.setItemGraphicEl(a,c))}else r.remove(c)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),Ng(t,this.group);var e=t.get("clip",!0)?He(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){var n,r=e.getData(),i=r.getLayout("isSimpleBox");while(null!=(n=t.next())){var o=r.getItemLayout(n),a=Dg(o,n);Lg(a,r,n,i),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},e.prototype._incrementalRenderLarge=function(t,e){Ng(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}(Ne["a"]),Ag=function(){function t(){}return t}(),Tg=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return Object(Kt["a"])(e,t),e.prototype.getDefaultShape=function(){return new Ag},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(s["b"]);function Dg(t,e,n){var r=t.ends;return new Tg({shape:{points:n?Pg(r,t):r},z2:100})}function kg(t,e){for(var n=!0,r=0;r0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(i=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(Ig);e.useStyle(o),e.style.fill=null,e.style.stroke=i}var Bg=Cg,Vg=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return Object(Kt["a"])(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var r=e.getItemLayout(t);return r&&n.rect(r.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}(Jt["b"]);Object(b["mixin"])(Vg,lg,!0);var Fg=Vg;function Gg(t){t&&b["isArray"](t.series)&&b["each"](t.series,(function(t){b["isObject"](t)&&"k"===t.type&&(t.type="candlestick")}))}var Hg=["itemStyle","borderColor"],Wg=["itemStyle","borderColor0"],Ug=["itemStyle","borderColorDoji"],qg=["itemStyle","color"],Yg=["itemStyle","color0"],Xg={seriesType:"candlestick",plan:Object(pn["a"])(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?qg:Yg)}function r(t,e){return e.get(0===t?Ug:t>0?Hg:Wg)}if(!e.isSeriesFiltered(t)){var i=t.pipelineContext.large;return!i&&{progress:function(t,e){var i;while(null!=(i=t.next())){var o=e.getItemModel(i),a=e.getItemLayout(i).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=r(a,o)||s.fill;var l=e.ensureUniqueItemVisual(i,"style");Object(b["extend"])(l,s)}}}}}},Zg=Xg,Kg={seriesType:"candlestick",plan:Object(pn["a"])(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),r=Jg(t,n),i=0,o=1,a=["x","y"],s=n.getDimensionIndex(n.mapDimension(a[i])),l=Object(b["map"])(n.mapDimensionsAll(a[o]),n.getDimensionIndex,n),c=l[0],u=l[1],h=l[2],d=l[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(s<0||l.length<4))return{progress:t.pipelineContext.large?f:p};function p(t,n){var a,l=n.getStore();while(null!=(a=t.next())){var p=l.get(s,a),f=l.get(c,a),g=l.get(u,a),y=l.get(h,a),v=l.get(d,a),m=Math.min(f,g),b=Math.max(f,g),x=I(m,p),_=I(b,p),O=I(y,p),w=I(v,p),S=[];C(S,_,0),C(S,x,1),S.push(T(w),T(_),T(O),T(x));var j=n.getItemModel(a),M=!!j.get(["itemStyle","borderColorDoji"]);n.setItemLayout(a,{sign:$g(l,a,f,g,u,M),initBaseline:f>g?_[o]:x[o],ends:S,brushRect:A(y,v,p)})}function I(t,n){var r=[];return r[i]=n,r[o]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(r)}function C(t,e,n){var o=e.slice(),a=e.slice();o[i]=Object(ie["subPixelOptimize"])(o[i]+r/2,1,!1),a[i]=Object(ie["subPixelOptimize"])(a[i]-r/2,1,!0),n?t.push(o,a):t.push(a,o)}function A(t,e,n){var a=I(t,n),s=I(e,n);return a[i]-=r/2,s[i]-=r/2,{x:a[0],y:a[1],width:o?r:s[0]-a[0],height:o?s[1]-a[1]:r}}function T(t){return t[i]=Object(ie["subPixelOptimize"])(t[i],1),t}}function f(n,r){var a,l,p=Object(we["a"])(4*n.count),f=0,g=[],y=[],v=r.getStore(),m=!!t.get(["itemStyle","borderColorDoji"]);while(null!=(l=n.next())){var b=v.get(s,l),x=v.get(c,l),_=v.get(u,l),O=v.get(h,l),w=v.get(d,l);isNaN(b)||isNaN(O)||isNaN(w)?(p[f++]=NaN,f+=3):(p[f++]=$g(v,l,x,_,u,m),g[i]=b,g[o]=O,a=e.dataToPoint(g,null,y),p[f++]=a?a[0]:NaN,p[f++]=a?a[1]:NaN,g[o]=w,a=e.dataToPoint(g,null,y),p[f++]=a?a[1]:NaN)}r.setLayout("largePoints",p)}}};function $g(t,e,n,r,i,o){var a;return a=n>r?-1:n0?t.get(i,e-1)<=r?1:-1:1,a}function Jg(t,e){var n,r=t.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=Object(Ve["q"])(Object(b["retrieve2"])(t.get("barMaxWidth"),i),i),a=Object(Ve["q"])(Object(b["retrieve2"])(t.get("barMinWidth"),1),i),s=t.get("barWidth");return null!=s?Object(Ve["q"])(s,i):Math.max(Math.min(i/2,o),a)}var Qg=Kg;function ty(t){t.registerChartView(Bg),t.registerSeriesModel(Fg),t.registerPreprocessor(Gg),t.registerVisual(Zg),t.registerLayout(Qg)}function ey(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var ny=function(t){function e(e,n){var r=t.call(this)||this,i=new pe(e,n),o=new te["a"];return r.add(i),r.add(o),r.updateData(e,n),r}return Object(Kt["a"])(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,r=t.rippleNumber,i=this.childAt(1),o=0;o0&&(o=this._getLineLength(r)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){r.stopAnimation();var u=void 0;u=b["isFunction"](c)?c(n):c,r.__t>0&&(u=-o*r.__t),this._animateSymbol(r,o,u,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,r,i){if(e>0){t.__t=0;var o=this,a=t.animate("",r).when(i?2*e:e,{__t:i?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));r||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return fi["dist"](t.__p1,t.__cp1)+fi["dist"](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,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,r=t.__cp1,i=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Ce["h"],l=Ce["i"];o[0]=s(e[0],r[0],n[0],i),o[1]=s(e[1],r[1],n[1],i);var c=t.__t<1?l(e[0],r[0],n[0],i):l(n[0],r[0],e[0],1-i),u=t.__t<1?l(e[1],r[1],n[1],i):l(n[1],r[1],e[1],1-i);t.rotation=-Math.atan2(u,c)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0;o--)if(r[o]<=e)break;o=Math.min(o,i-2)}else{for(o=a;oe)break;o=Math.min(o-1,i-2)}var l=(e-r[o])/(r[o+1]-r[o]),c=n[o],u=n[o+1];t.x=c[0]*(1-l)+l*u[0],t.y=c[1]*(1-l)+l*u[1];var h=t.__t<1?u[0]-c[0]:c[0]-u[0],d=t.__t<1?u[1]-c[1]:c[1]-u[1];t.rotation=-Math.atan2(d,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(uy),fy=py,gy=n("9680"),yy=n("68ab"),vy=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),my=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return Object(Kt["a"])(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 vy},e.prototype.buildPath=function(t,e){var n,r=e.segs,i=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(r[n++],r[n++]);for(var a=1;a0){var h=(s+c)/2-(l-u)*i,d=(l+u)/2-(c-s)*i;t.quadraticCurveTo(h,d,c,u)}else t.lineTo(c,u)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,r=n.segs,i=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var c=r[s++],u=r[s++],h=1;h0){var f=(c+d)/2-(u-p)*i,g=(u+p)/2-(d-c)*i;if(yy["a"](c,u,f,g,d,p,o,t,e))return a}else if(gy["a"](c,u,d,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect();if(t=n[0],e=n[1],r.contain(t,e)){var i=this.hoverDataIdx=this.findDataIndex(t,e);return i>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.segs,r=1/0,i=1/0,o=-1/0,a=-1/0,s=0;s0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),xy=by,_y={seriesType:"lines",plan:Object(pn["a"])(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),r=t.pipelineContext.large;return{progress:function(i,o){var a=[];if(r){var s=void 0,l=i.end-i.start;if(n){for(var c=0,u=i.start;u0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var c=t.get("clip",!0)&&He(t.coordinateSystem,!1,t);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var r=t.getData(),i=this._updateLineDraw(r,t);i.incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){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,n){var r=t.getData(),i=t.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=Oy.reset(t,e,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,r=this._showEffect(e),i=!!e.get("polyline"),o=e.pipelineContext,a=o.large;return n&&r===this._hasEffet&&i===this._isPolyline&&a===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=a?new xy:new Dh(i?r?fy:dy:r?uy:jh),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=a),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr(),n="svg"===e.painter.getType();n||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}(Ne["a"]),Sy=wy,jy="undefined"===typeof Uint32Array?Array:Uint32Array,My="undefined"===typeof Float64Array?Array:Float64Array;function Iy(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=Object(b["map"])(e,(function(t){var e=[t[0].coord,t[1].coord],n={coords:e};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),Object(b["mergeAll"])([n,t[0],t[1]])})))}var Cy=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return Object(Kt["a"])(e,t),e.prototype.init=function(e){e.data=e.data||[],Iy(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(Iy(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=Object(b["concatArray"])(this._flatCoords,e.flatCoords),this._flatCoordsOffset=Object(b["concatArray"])(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),n=e.option instanceof Array?e.option:e.getShallow("coords");return n},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 n=this._flatCoordsOffset[2*t],r=this._flatCoordsOffset[2*t+1],i=0;i ")})},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}(Jt["b"]),Ay=Cy;function Ty(t){return t instanceof Array||(t=[t,t]),t}var Dy={seriesType:"lines",reset:function(t){var e=Ty(t.get("symbol")),n=Ty(t.get("symbolSize")),r=t.getData();function i(t,e){var n=t.getItemModel(e),r=Ty(n.getShallow("symbol",!0)),i=Ty(n.getShallow("symbolSize",!0));r[0]&&t.setItemVisual(e,"fromSymbol",r[0]),r[1]&&t.setItemVisual(e,"toSymbol",r[1]),i[0]&&t.setItemVisual(e,"fromSymbolSize",i[0]),i[1]&&t.setItemVisual(e,"toSymbolSize",i[1])}return r.setVisual("fromSymbol",e&&e[0]),r.setVisual("toSymbol",e&&e[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?i:null}}},ky=Dy;function Ly(t){t.registerChartView(Sy),t.registerSeriesModel(Ay),t.registerLayout(Oy),t.registerVisual(ky)}var Py=256,Ry=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=et["d"].createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,r,i,o){var a=this._getBrush(),s=this._getGradient(i,"inRange"),l=this._getGradient(i,"outOfRange"),c=this.pointSize+this.blurSize,u=this.canvas,h=u.getContext("2d"),d=t.length;u.width=e,u.height=n;for(var p=0;p0){var I=o(m)?s:l;m>0&&(m=m*j+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*m*256}else _+=4}return h.putImageData(b,0,0),u},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=et["d"].createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var r=t.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-e,e,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,r=n[e]||(n[e]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,i),r[o++]=i[0],r[o++]=i[1],r[o++]=i[2],r[o++]=i[3];return r},t}(),Ey=Ry;function Ny(t,e,n){var r=t[1]-t[0];e=b["map"](e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}));var i=e.length,o=0;return function(t){var r;for(r=o;r=0;r--){a=e[r].interval;if(a[0]<=t&&t<=a[1]){o=r;break}}return r>=0&&r=e[0]&&t<=e[1]}}function By(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var Vy=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(r=e)}))})),this._progressiveEls=null,this.group.removeAll();var i=t.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):By(i)&&this._renderOnGeo(i,t,r,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,r){var i=e.coordinateSystem;i&&(By(i)?this.render(e,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,r,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){ie["traverseElements"](this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,r,i){var o,a,s,l,c=t.coordinateSystem,u=We(c,"cartesian2d");if(u){var h=c.getAxis("x"),d=c.getAxis("y");0,o=h.getBandWidth()+.5,a=d.getBandWidth()+.5,s=h.scale.getExtent(),l=d.scale.getExtent()}for(var p=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),b=Object(ue["e"])(t),x=t.getModel("emphasis"),_=x.get("focus"),O=x.get("blurScope"),w=x.get("disabled"),S=u?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],j=n;js[1]||Al[1])continue;var T=c.dataToPoint([C,A]);M=new ze["a"]({shape:{x:T[0]-o/2,y:T[1]-a/2,width:o,height:a},style:I})}else{if(isNaN(f.get(S[1],j)))continue;M=new ze["a"]({z2:1,shape:c.dataToRect([f.get(S[0],j)]).contentShape,style:I})}if(f.hasItemOption){var D=f.getItemModel(j),k=D.getModel("emphasis");g=k.getModel("itemStyle").getItemStyle(),y=D.getModel(["blur","itemStyle"]).getItemStyle(),v=D.getModel(["select","itemStyle"]).getItemStyle(),m=D.get(["itemStyle","borderRadius"]),_=k.get("focus"),O=k.get("blurScope"),w=k.get("disabled"),b=Object(ue["e"])(D)}M.shape.r=m;var L=t.getRawValue(j),P="-";L&&null!=L[2]&&(P=L[2]+""),Object(ue["g"])(M,b,{labelFetcher:t,labelDataIndex:j,defaultOpacity:I.opacity,defaultText:P}),M.ensureState("emphasis").style=g,M.ensureState("blur").style=y,M.ensureState("select").style=v,Object(ae["J"])(M,_,O,w),M.incremental=i,i&&(M.states.emphasis.hoverLayer=!0),p.add(M),f.setItemGraphicEl(j,M),this._progressiveEls&&this._progressiveEls.push(M)}},e.prototype._renderOnGeo=function(t,e,n,r){var i=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new Ey;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var c=t.getViewRect().clone(),u=t.getRoamTransform();c.applyTransform(u);var h=Math.max(c.x,0),d=Math.max(c.y,0),p=Math.min(c.width+c.x,r.getWidth()),f=Math.min(c.height+c.y,r.getHeight()),g=p-h,y=f-d,v=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],m=a.mapArray(v,(function(e,n,r){var i=t.dataToPoint([e,n]);return i[0]-=h,i[1]-=d,i.push(r),i})),b=n.getExtent(),x="visualMap.continuous"===n.type?zy(b,n.option.range):Ny(b,n.getPieceList(),n.option.selected);s.update(m,g,y,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:o.color.getColorMapper()},x);var _=new l["a"]({style:{width:g,height:y,x:h,y:d,image:s.canvas},silent:!0});this.group.add(_)},e.type="heatmap",e}(Ne["a"]),Fy=Vy,Gy=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.getInitialData=function(t,e){return Object($t["a"])(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=Zh["a"].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}(Jt["b"]),Hy=Gy;function Wy(t){t.registerChartView(Fy),t.registerSeriesModel(Hy)}var Uy=["itemStyle","borderWidth"],qy=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],Yy=new zo["a"],Xy=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r=this.group,i=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis(),l=s.isHorizontal(),c=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:l,valueDim:qy[+l],categoryDim:qy[1-+l]};return i.diff(o).add((function(t){if(i.hasValue(t)){var e=av(i,t),n=Zy(i,t,e,u),o=cv(i,u,n);i.setItemGraphicEl(t,o),r.add(o),gv(o,u,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var a=av(i,t),s=Zy(i,t,a,u),l=dv(i,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(t,null),n=null),n?uv(n,u,s):n=cv(i,u,s,!0),i.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,r.add(n),gv(n,u,s)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&hv(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=i,this.group},e.prototype.remove=function(t,e){var n=this.group,r=this._data;t.get("animation")?r&&r.eachItemGraphicEl((function(e){hv(r,Object(oe["a"])(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(Ne["a"]);function Zy(t,e,n,r){var i=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=n.get("symbolRotate"),c=(l||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,h=n.isAnimationEnabled(),d={dataIndex:e,layout:i,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:c,animationModel:h?n:null,hoverScale:h&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};Ky(n,o,i,r,d),Jy(t,e,i,o,a,d.boundingLength,d.pxSign,u,r,d),Qy(n,d.symbolScale,c,r,d);var p=d.symbolSize,f=Object(Qt["b"])(n.get("symbolOffset"),p);return tv(n,p,i,o,a,f,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,r,d),d}function Ky(t,e,n,r,i){var o,a=r.valueDim,s=t.get("symbolBoundingData"),l=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),c=l.toGlobalCoord(l.dataToCoord(0)),u=1-+(n[a.wh]<=0);if(b["isArray"](s)){var h=[$y(l,s[0])-c,$y(l,s[1])-c];h[1]0?1:-1}function $y(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function Jy(t,e,n,r,i,o,a,s,l,c){var u,h=l.valueDim,d=l.categoryDim,p=Math.abs(n[d.wh]),f=t.getItemVisual(e,"symbolSize");u=b["isArray"](f)?f.slice():null==f?["100%","100%"]:[f,f],u[d.index]=Object(Ve["q"])(u[d.index],p),u[h.index]=Object(Ve["q"])(u[h.index],r?p:Math.abs(o)),c.symbolSize=u;var g=c.symbolScale=[u[0]/s,u[1]/s];g[h.index]*=(l.isHorizontal?-1:1)*a}function Qy(t,e,n,r,i){var o=t.get(Uy)||0;o&&(Yy.attr({scaleX:e[0],scaleY:e[1],rotation:n}),Yy.updateTransform(),o/=Yy.getLineScale(),o*=e[r.valueDim.index]),i.valueLineWidth=o||0}function tv(t,e,n,r,i,o,a,s,l,c,u,h){var d=u.categoryDim,p=u.valueDim,f=h.pxSign,g=Math.max(e[p.index]+s,0),y=g;if(r){var v=Math.abs(l),m=b["retrieve"](t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=Object(Ve["q"])(m,e[p.index]),O=Math.max(g+2*_,0),w=x?0:2*_,S=Object(Ve["k"])(r),j=S?r:yv((v+w)/O),M=v-j*g;_=M/2/(x?j:Math.max(j-1,1)),O=g+2*_,w=x?0:2*_,S||"fixed"===r||(j=c?yv((Math.abs(c)+w)/O):0),y=j*O-w,h.repeatTimes=j,h.symbolMargin=_}var I=f*(y/2),C=h.pathPosition=[];C[d.index]=n[d.wh]/2,C[p.index]="start"===a?I:"end"===a?l-I:l/2,o&&(C[0]+=o[0],C[1]+=o[1]);var A=h.bundlePosition=[];A[d.index]=n[d.xy],A[p.index]=n[p.xy];var T=h.barRectShape=b["extend"]({},n);T[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(C[p.index]+I)),T[d.wh]=n[d.wh];var D=h.clipShape={};D[d.xy]=-n[d.xy],D[d.wh]=u.ecSize[d.wh],D[p.xy]=0,D[p.wh]=n[p.wh]}function ev(t){var e=t.symbolPatternSize,n=Object(Qt["a"])(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function nv(t,e,n,r){var i=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,c=n.repeatTimes||0,u=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(pv(t,(function(t){t.__pictorialAnimationIndex=u,t.__pictorialRepeatTimes=c,u0:r<0)&&(i=c-1-t),e[l.index]=h*(i-c/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function rv(t,e,n,r){var i=t.__pictorialBundle,o=t.__pictorialMainPath;o?fv(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=t.__pictorialMainPath=ev(n),i.add(o),fv(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function iv(t,e,n){var r=b["extend"]({},e.barRectShape),i=t.__pictorialBarRect;i?fv(i,null,{shape:r},e,n):(i=t.__pictorialBarRect=new ze["a"]({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,t.add(i))}function ov(t,e,n,r){if(n.symbolClip){var i=t.__pictorialClipPath,o=b["extend"]({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(i)re["h"](i,{shape:o},s,l);else{o[a.wh]=0,i=new ze["a"]({shape:o}),t.__pictorialBundle.setClipPath(i),t.__pictorialClipPath=i;var c={};c[a.wh]=n.clipShape[a.wh],ie[r?"updateProps":"initProps"](i,{shape:c},s,l)}}}function av(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=sv,n.isAnimationEnabled=lv,n}function sv(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function lv(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function cv(t,e,n,r){var i=new te["a"],o=new te["a"];return i.add(o),i.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?nv(i,e,n):rv(i,e,n),iv(i,n,r),ov(i,e,n,r),i.__pictorialShapeStr=dv(t,n),i.__pictorialSymbolMeta=n,i}function uv(t,e,n){var r=n.animationModel,i=n.dataIndex,o=t.__pictorialBundle;re["h"](o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?nv(t,e,n,!0):rv(t,e,n,!0),iv(t,n,!0),ov(t,e,n,!0)}function hv(t,e,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];pv(r,(function(t){o.push(t)})),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),b["each"](o,(function(t){re["e"](t,{scaleX:0,scaleY:0},n,e,(function(){r.parent&&r.parent.remove(r)}))})),t.setItemGraphicEl(e,null)}function dv(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function pv(t,e,n){b["each"](t.__pictorialBundle.children(),(function(r){r!==t.__pictorialBarRect&&e.call(n,r)}))}function fv(t,e,n,r,i,o){e&&t.attr(e),r.symbolClip&&!i?n&&t.attr(n):n&&ie[i?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,o)}function gv(t,e,n){var r=n.dataIndex,i=n.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),c=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),h=o.get("focus"),d=o.get("blurScope"),p=o.get("scale");pv(t,(function(t){if(t instanceof l["a"]){var e=t.style;t.useStyle(b["extend"]({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var r=t.ensureState("emphasis");r.style=a,p&&(r.scaleX=1.1*t.scaleX,r.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=c,u&&(t.cursor=u),t.z2=n.z2}));var f=e.valueDim.posDesc[+(n.boundingLength>0)],g=t.__pictorialBarRect;Object(ue["g"])(g,Object(ue["e"])(i),{labelFetcher:e.seriesModel,labelDataIndex:r,defaultText:le(e.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),Object(ae["J"])(t,h,d,o.get("disabled"))}function yv(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var vv=Xy,mv=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return Object(Kt["a"])(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=Object(On["d"])(_n.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}(_n),bv=mv;function xv(t){t.registerChartView(vv),t.registerSeriesModel(bv),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Object(b["curry"])(bn["c"],"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Object(bn["a"])("pictorialBar"))}var _v=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this,o=this.group,a=t.getLayerSeries(),s=r.getLayout("layoutInfo"),l=s.rect,c=s.boundaryGap;function u(t){return t.name}o.x=0,o.y=l.y+c[0];var h=new dc["a"](this._layersSeries||[],a,u,u),d=[];function p(e,n,s){var l=i._layers;if("remove"!==e){for(var c,u,h=[],p=[],f=a[n].indices,g=0;go&&(o=s),r.push(s)}for(var c=0;co&&(o=h)}return{y0:i,max:o}}function Tv(t){t.registerChartView(wv),t.registerSeriesModel(Mv),t.registerLayout(Iv),t.registerProcessor(dr("themeRiver"))}var Dv=2,kv=4,Lv=function(t){function e(e,n,r,i){var o=t.call(this)||this;o.z2=Dv,o.textConfig={inside:!0},Object(oe["a"])(o).seriesIndex=n.seriesIndex;var a=new tt["a"]({z2:kv,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,r,i),o}return Object(Kt["a"])(e,t),e.prototype.updateData=function(t,e,n,r,i){this.node=e,e.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var o=this;Object(oe["a"])(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),c=b["extend"]({},l);c.label=null;var u=e.getVisual("style");u.lineJoin="bevel";var h=e.getVisual("decal");h&&(u.decal=Object(us["a"])(h,i));var d=wr(a.getModel("itemStyle"),c,!0);b["extend"](c,d),b["each"](ae["g"],(function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var r=wr(n,c);r&&(e.shape=r)})),t?(o.setShape(c),o.shape.r=l.r0,re["h"](o,{shape:{r:l.r}},n,e.dataIndex)):(re["h"](o,{shape:c},n),Object(re["g"])(o)),o.useStyle(u),this._updateLabel(n);var p=a.getShallow("cursor");p&&o.attr("cursor",p),this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel;var f=s.get("focus"),g="ancestor"===f?e.getAncestorsIndices():"descendant"===f?e.getDescendantIndices():f;Object(ae["J"])(this,g,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),r=n.getModel("label"),i=this.node.getLayout(),o=i.endAngle-i.startAngle,a=(i.startAngle+i.endAngle)/2,s=Math.cos(a),l=Math.sin(a),c=this,u=c.getTextContent(),h=this.node.dataIndex,d=r.get("minAngle")/180*Math.PI,p=r.get("show")&&!(null!=d&&Math.abs(o)Math.PI/2?"right":"left"):S&&"center"!==S?"left"===S?(m=i.r0+w,a>Math.PI/2&&(S="right")):"right"===S&&(m=i.r-w,a>Math.PI/2&&(S="left")):(m=o===2*Math.PI&&0===i.r0?0:(i.r+i.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=f(d,"verticalAlign")||"middle",g.x=m*s+i.cx,g.y=m*l+i.cy;var j=f(d,"rotate"),M=0;"radial"===j?(M=-a,M<-Math.PI/2&&(M+=Math.PI)):"tangential"===j?(M=Math.PI/2-a,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):b["isNumber"](j)&&(M=j*Math.PI/180),g.rotation=M})),u.dirtyStyle()},e}(Be["a"]),Pv=Lv,Rv="sunburstRootToNode",Ev="sunburstHighlight",Nv="sunburstUnhighlight";function zv(t){t.registerAction({type:Rv,update:"updateView"},(function(t,e){function n(e,n){var r=Ul(t,[Rv],e);if(r){var i=e.getViewRoot();i&&(t.direction=Yl(i,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)})),t.registerAction({type:Ev,update:"none"},(function(t,e,n){function r(e){var n=Ul(t,[Ev],e);n&&(t.dataIndex=n.node.dataIndex)}t=Object(b["extend"])({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},r),n.dispatchAction(Object(b["extend"])(t,{type:"highlight"}))})),t.registerAction({type:Nv,update:"updateView"},(function(t,e,n){t=Object(b["extend"])({},t),n.dispatchAction(Object(b["extend"])(t,{type:"downplay"}))}))}var Bv=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n,r){var i=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,c=t.get("renderLabelForZeroData"),u=[];s.eachNode((function(t){u.push(t)}));var h=this._oldChildren||[];function d(t,e){function n(t){return t.getId()}function r(n,r){var i=null==n?null:t[n],o=null==r?null:e[r];p(i,o)}0===t.length&&0===e.length||new dc["a"](e,t,n,n).add(r).update(r).remove(b["curry"](r,null)).execute()}function p(r,i){if(c||!r||r.getValue()||(r=null),r!==a&&i!==a)if(i&&i.piece)r?(i.piece.updateData(!1,r,t,e,n),o.setItemGraphicEl(r.dataIndex,i.piece)):f(i);else if(r){var s=new Pv(r,t,e,n);l.add(s),o.setItemGraphicEl(r.dataIndex,s)}}function f(t){t&&t.piece&&(l.remove(t.piece),t.piece=null)}function g(r,o){o.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,r,t,e,n):(i.virtualPiece=new Pv(r,t,e,n),l.add(i.virtualPiece)),o.piece.off("click"),i.virtualPiece.on("click",(function(t){i._rootToNode(o.parentNode)}))):i.virtualPiece&&(l.remove(i.virtualPiece),i.virtualPiece=null)}d(u,h),g(a,s),this._initEvents(),this._oldChildren=u},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1,r=t.seriesModel.getViewRoot();r.eachNode((function(r){if(!n&&r.piece&&r.piece===e.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)t._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";Object(Ue["k"])(a,s)}}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:Rv,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData(),r=n.getItemLayout(0);if(r){var i=t[0]-r.cx,o=t[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}},e.type="sunburst",e}(Ne["a"]),Vv=Bv,Fv=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return Object(Kt["a"])(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};Gv(n);var r=this._levelModels=b["map"](t.levels||[],(function(t){return new Ei["a"](t,this,e)}),this),i=Wl.createTree(n,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e),o=r[n.depth];return o&&(t.parentModel=o),t}))}return i.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=Xl(r,this),n},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(){sc(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}(Jt["b"]);function Gv(t){var e=0;b["each"](t.children,(function(t){Gv(t);var n=t.value;b["isArray"](n)&&(n=n[0]),e+=n}));var n=t.value;b["isArray"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),b["isArray"](t.value)?t.value[0]=n:t.value=n}var Hv=Fv,Wv=Math.PI/180;function Uv(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),r=t.get("radius");b["isArray"](r)||(r=[0,r]),b["isArray"](e)||(e=[e,e]);var i=n.getWidth(),o=n.getHeight(),a=Math.min(i,o),s=Object(Ve["q"])(e[0],i),l=Object(Ve["q"])(e[1],o),c=Object(Ve["q"])(r[0],a/2),u=Object(Ve["q"])(r[1],a/2),h=-t.get("startAngle")*Wv,d=t.get("minAngle")*Wv,p=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&qv(f,y);var v=0;b["each"](f.children,(function(t){!isNaN(t.getValue())&&v++}));var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,O=f.height-(_?-1:1),w=(u-c)/(O||1),S=t.get("clockwise"),j=t.get("stillShowZeroSum"),M=S?1:-1,I=function(e,n){if(e){var r=n;if(e!==p){var i=e.getValue(),o=0===m&&j?x:i*x;o1)i=i.parentNode;var o=n.getColorFromPalette(i.name||i.dataIndex+"",e);return t.depth>1&&Object(b["isString"])(o)&&(o=Object(qe["lift"])(o,(t.depth-1)/(r-1)*.5)),o}t.eachSeriesByType("sunburst",(function(t){var e=t.getData(),r=e.tree;r.eachNode((function(i){var o=i.getModel(),a=o.getModel("itemStyle").getItemStyle();a.fill||(a.fill=n(i,t,r.root.height));var s=e.ensureUniqueItemVisual(i.dataIndex,"style");Object(b["extend"])(s,a)}))}))}function Zv(t){t.registerChartView(Vv),t.registerSeriesModel(Hv),t.registerLayout(Object(b["curry"])(Uv,"sunburst")),t.registerProcessor(Object(b["curry"])(dr,"sunburst")),t.registerVisual(Xv),zv(t)}var Kv={color:"fill",borderColor:"stroke"},$v={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Jv=Object(Ie["o"])(),Qv=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(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 Object($t["a"])(null,this)},e.prototype.getDataParams=function(e,n,r){var i=t.prototype.getDataParams.call(this,e,n);return r&&(i.info=Jv(r).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Jt["b"]),tm=Qv;function em(t,e){return e=e||[0,0],b["map"](["x","y"],(function(n,r){var i=this.getAxis(n),o=e[r],a=t[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}function nm(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:b["bind"](em,t)}}}function rm(t,e){return e=e||[0,0],b["map"]([0,1],(function(n){var r=e[n],i=t[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function im(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:b["bind"](rm,t)}}}function om(t,e){var n=this.getAxis(),r=e instanceof Array?e[0]:e,i=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function am(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:Object(b["bind"])(om,t)}}}function sm(t,e){return e=e||[0,0],b["map"](["Radius","Angle"],(function(n,r){var i="get"+n+"Axis",o=this[i](),a=e[r],s=t[r]/2,l="category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-s)-o.dataToCoord(a+s));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function lm(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=e.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=t.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:b["bind"](sm,t)}}}function cm(t){var e=t.getRect(),n=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:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}function um(t,e,n,r){return t&&(t.legacy||!1!==t.legacy&&!n&&!r&&"tspan"!==e&&("text"===e||Object(b["hasOwn"])(t,"text")))}function hm(t,e,n){var r,i,o,a=t;if("text"===e)o=a;else{o={},Object(b["hasOwn"])(a,"text")&&(o.text=a.text),Object(b["hasOwn"])(a,"rich")&&(o.rich=a.rich),Object(b["hasOwn"])(a,"textFill")&&(o.fill=a.textFill),Object(b["hasOwn"])(a,"textStroke")&&(o.stroke=a.textStroke),Object(b["hasOwn"])(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Object(b["hasOwn"])(a,"fontSize")&&(o.fontSize=a.fontSize),Object(b["hasOwn"])(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Object(b["hasOwn"])(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},r={};var s=Object(b["hasOwn"])(a,"textPosition");n?r.position=s?a.textPosition:"inside":s&&(r.position=a.textPosition),Object(b["hasOwn"])(a,"textPosition")&&(r.position=a.textPosition),Object(b["hasOwn"])(a,"textOffset")&&(r.offset=a.textOffset),Object(b["hasOwn"])(a,"textRotation")&&(r.rotation=a.textRotation),Object(b["hasOwn"])(a,"textDistance")&&(r.distance=a.textDistance)}return dm(o,t),Object(b["each"])(o.rich,(function(t){dm(t,t)})),{textConfig:r,textContent:i}}function dm(t,e){e&&(e.font=e.textFont||e.font,Object(b["hasOwn"])(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Object(b["hasOwn"])(e,"textAlign")&&(t.align=e.textAlign),Object(b["hasOwn"])(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Object(b["hasOwn"])(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Object(b["hasOwn"])(e,"textWidth")&&(t.width=e.textWidth),Object(b["hasOwn"])(e,"textHeight")&&(t.height=e.textHeight),Object(b["hasOwn"])(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),Object(b["hasOwn"])(e,"textPadding")&&(t.padding=e.textPadding),Object(b["hasOwn"])(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Object(b["hasOwn"])(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Object(b["hasOwn"])(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Object(b["hasOwn"])(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Object(b["hasOwn"])(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Object(b["hasOwn"])(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Object(b["hasOwn"])(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function pm(t,e,n){var r=t;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,o=t.fill||"#000";fm(r,e);var a=null==r.textFill;return i?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(a&&(r.textFill=t.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=e.text,r.rich=e.rich,Object(b["each"])(e.rich,(function(t){fm(t,t)})),r}function fm(t,e){e&&(Object(b["hasOwn"])(e,"fill")&&(t.textFill=e.fill),Object(b["hasOwn"])(e,"stroke")&&(t.textStroke=e.fill),Object(b["hasOwn"])(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Object(b["hasOwn"])(e,"font")&&(t.font=e.font),Object(b["hasOwn"])(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Object(b["hasOwn"])(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Object(b["hasOwn"])(e,"fontSize")&&(t.fontSize=e.fontSize),Object(b["hasOwn"])(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Object(b["hasOwn"])(e,"align")&&(t.textAlign=e.align),Object(b["hasOwn"])(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Object(b["hasOwn"])(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Object(b["hasOwn"])(e,"width")&&(t.textWidth=e.width),Object(b["hasOwn"])(e,"height")&&(t.textHeight=e.height),Object(b["hasOwn"])(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Object(b["hasOwn"])(e,"padding")&&(t.textPadding=e.padding),Object(b["hasOwn"])(e,"borderColor")&&(t.textBorderColor=e.borderColor),Object(b["hasOwn"])(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Object(b["hasOwn"])(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Object(b["hasOwn"])(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Object(b["hasOwn"])(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Object(b["hasOwn"])(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Object(b["hasOwn"])(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Object(b["hasOwn"])(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Object(b["hasOwn"])(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Object(b["hasOwn"])(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Object(b["hasOwn"])(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var gm=n("06ad"),ym={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},vm=Object(b["keys"])(ym),mm=(Object(b["reduce"])(F["a"],(function(t,e){return t[e]=1,t}),{}),F["a"].join(", "),["","style","shape","extra"]),bm=Object(Ie["o"])();function xm(t,e,n,r,i){var o=t+"Animation",a=Object(re["a"])(t,r,i)||{},s=bm(e).userDuring;return a.duration>0&&(a.during=s?Object(b["bind"])(Tm,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),Object(b["extend"])(a,n[o]),a}function _m(t,e,n,r){r=r||{};var i=r.dataIndex,o=r.isInit,a=r.clearStyle,s=n.isAnimationEnabled(),l=bm(t),c=e.style;l.userDuring=e.during;var u={},h={};if(Pm(t,e,h),km("shape",e,h),km("extra",e,h),!o&&s&&(Lm(t,e,u),Dm("shape",t,e,u),Dm("extra",t,e,u),Rm(t,e,c,u)),h.style=c,jm(t,h,a),Im(t,e),s)if(o){var d={};Object(b["each"])(mm,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(d[t]=d[t]||{}),Object(b["extend"])(t?d[t]:d,n.enterFrom))}));var p=xm("enter",t,e,n,i);p.duration>0&&t.animateFrom(d,p)}else Mm(t,e,i||0,n,u);Om(t,e),c?t.dirty():t.markRedraw()}function Om(t,e){for(var n=bm(t).leaveToProps,r=0;r0&&t.animateFrom(i,o)}}function Im(t,e){Object(b["hasOwn"])(e,"silent")&&(t.silent=e.silent),Object(b["hasOwn"])(e,"ignore")&&(t.ignore=e.ignore),t instanceof hs["c"]&&Object(b["hasOwn"])(e,"invisible")&&(t.invisible=e.invisible),t instanceof s["b"]&&Object(b["hasOwn"])(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}var Cm={},Am={setTransform:function(t,e){return Cm.el[t]=e,this},getTransform:function(t){return Cm.el[t]},setShape:function(t,e){var n=Cm.el,r=n.shape||(n.shape={});return r[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=Cm.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=Cm.el,r=n.style;return r&&(r[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=Cm.el.style;if(e)return e[t]},setExtra:function(t,e){var n=Cm.el.extra||(Cm.el.extra={});return n[t]=e,this},getExtra:function(t){var e=Cm.el.extra;if(e)return e[t]}};function Tm(){var t=this,e=t.el;if(e){var n=bm(e).userDuring,r=t.userDuring;n===r?(Cm.el=e,r(Am)):t.el=t.userDuring=null}}function Dm(t,e,n,r){var i=n[t];if(i){var o,a=e[t];if(a){var s=n.transition,l=i.transition;if(l)if(!o&&(o=r[t]={}),Sm(l))Object(b["extend"])(o,a);else for(var c=Object(Ie["r"])(l),u=0;u=0){!o&&(o=r[t]={});var p=Object(b["keys"])(a);for(u=0;u=0)){var d=t.getAnimationStyleProps(),p=d?d.style:null;if(p){!i&&(i=r.style={});var f=Object(b["keys"])(n);for(c=0;c=0?e.getStore().get(i,n):void 0}var o=e.get(r.name,n),a=r&&r.ordinalMeta;return a?a.categories[o]:o}function w(n,r){null==r&&(r=s);var i=e.getItemVisual(r,"style"),o=i&&i.fill,a=i&&i.opacity,l=m(r,Gm).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var c={inheritColor:Object(b["isString"])(o)?o:"#000"},u=x(r,Gm),h=ue["c"](u,null,c,!1,!0);h.text=u.getShallow("show")?Object(b["retrieve2"])(t.getFormattedLabel(r,Gm),le(e,r)):null;var d=ue["b"](u,c,!1);return M(n,l),l=pm(l,h,d),n&&j(l,n),l.legacy=!0,l}function S(n,r){null==r&&(r=s);var i=m(r,Fm).getItemStyle(),o=x(r,Fm),a=ue["c"](o,null,null,!0,!0);a.text=o.getShallow("show")?Object(b["retrieve3"])(t.getFormattedLabel(r,Fm),t.getFormattedLabel(r,Gm),le(e,r)):null;var l=ue["b"](o,null,!0);return M(n,i),i=pm(i,a,l),n&&j(i,n),i.legacy=!0,i}function j(t,e){for(var n in e)Object(b["hasOwn"])(e,n)&&(t[n]=e[n])}function M(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function I(t,n){if(null==n&&(n=s),Object(b["hasOwn"])(Kv,t)){var r=e.getItemVisual(n,"style");return r?r[Kv[t]]:null}if(Object(b["hasOwn"])($v,t))return e.getItemVisual(n,t)}function C(t){if("cartesian2d"===o.type){var e=o.getBaseAxis();return Object(bn["b"])(Object(b["defaults"])({axis:e},t))}}function A(){return n.getCurrentSeriesIndices()}function T(t){return ue["d"](t,n)}}function cb(t){var e={};return Object(b["each"])(t.dimensions,(function(n){var r=t.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim,o=e[i]=e[i]||[];o[r.coordDimIndex]=t.getDimensionIndex(n)}})),e}function ub(t,e,n,r,i,o,a){if(r){var s=hb(t,e,n,r,i,o);return s&&a.setItemGraphicEl(n,s),s&&Object(ae["J"])(s,r.focus,r.blurScope,r.emphasisDisabled),s}o.remove(e)}function hb(t,e,n,r,i,o){var a=-1,s=e;e&&db(e,r,i)&&(a=Object(b["indexOf"])(o.childrenRef(),e),e=null);var l=!e,c=e;c?c.clearStates():(c=rb(r),s&&tb(s,c)),!1===r.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),Km.normal.cfg=Km.normal.conOpt=Km.emphasis.cfg=Km.emphasis.conOpt=Km.blur.cfg=Km.blur.conOpt=Km.select.cfg=Km.select.conOpt=null,Km.isLegacy=!1,fb(c,n,r,i,l,Km),pb(c,n,r,i,l),ib(t,c,n,r,Km,i,l),Object(b["hasOwn"])(r,"info")&&(Jv(c).info=r.info);for(var u=0;u=0?o.replaceAt(c,a):o.add(c),c}function db(t,e,n){var r=Jv(t),i=e.type,o=e.shape,a=e.style;return n.isUniversalTransitionEnabled()||null!=i&&i!==r.customGraphicType||"path"===i&&jb(o)&&Sb(o)!==r.customPathData||"image"===i&&Object(b["hasOwn"])(a,"image")&&a.image!==r.customImagePath}function pb(t,e,n,r,i){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&db(a,o,r)&&(a=null),a||(a=rb(o),t.setClipPath(a)),ib(null,a,e,o,null,r,i)}}function fb(t,e,n,r,i,o){if(!t.isGroup){gb(n,null,o),gb(n,Fm,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,c=o.select.conOpt;if(null!=a||null!=s||null!=c||null!=l){var u=t.getTextContent();if(!1===a)u&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},u?u.clearStates():(u=rb(a),t.setTextContent(u)),ib(null,u,e,a,null,r,i);for(var h=a&&a.style,d=0;d=u;p--){var f=e.childAt(p);bb(e,f,i)}}}function bb(t,e,n){e&&wm(e,Jv(t).option,n)}function xb(t){new dc["a"](t.oldChildren,t.newChildren,_b,_b,t).add(Ob).update(Ob).remove(wb).execute()}function _b(t,e){var n=t&&t.name;return null!=n?n:Zm+e}function Ob(t,e){var n=this.context,r=null!=t?n.newChildren[t]:null,i=null!=e?n.oldChildren[e]:null;hb(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function wb(t){var e=this.context,n=e.oldChildren[t];n&&wm(n,Jv(n).option,e.seriesModel)}function Sb(t){return t&&(t.pathData||t.d)}function jb(t){return t&&(Object(b["hasOwn"])(t,"pathData")||Object(b["hasOwn"])(t,"d"))}function Mb(t){t.registerChartView(nb),t.registerSeriesModel(tm)}var Ib=Object(Ie["o"])(),Cb=b["clone"],Ab=b["bind"],Tb=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,r){var i=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,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,i,t,e,n);var c=l.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var u=this._moveAnimation=this.determineAnimation(t,e);if(a){var h=b["curry"](Db,e,u);this.updatePointerEl(a,l,h),this.updateLabelEl(a,l,h,e)}else a=this._group=new te["a"],this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);Rb(a,e,!0),this._renderHandle(i)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),r=t.axis,i="category"===r.type,o=e.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(i&&r.getBandWidth()>a)return!0;if(o){var s=ro(t).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,r,i){},t.prototype.createPointerEl=function(t,e,n,r){var i=e.pointer;if(i){var o=Ib(t).pointerEl=new ie[i.type](Cb(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,r){if(e.label){var i=Ib(t).labelEl=new tt["a"](Cb(e.label));t.add(i),Lb(i,r)}},t.prototype.updatePointerEl=function(t,e,n){var r=Ib(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,r){var i=Ib(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),Lb(i,r))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return i&&r.remove(i),void(this._handle=null);this._handle||(e=!0,i=this._handle=ie["createIcon"](o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Ko["g"](t.event)},onmousedown:Ab(this._onHandleDragMove,this,0,0),drift:Ab(this._onHandleDragMove,this),ondragend:Ab(this._onHandleDragEnd,this)}),r.add(i)),Rb(i,n,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");b["isArray"](s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,jn["b"](this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){Db(this._axisPointerModel,!e&&this._moveAnimation,this._handle,Pb(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(Pb(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(Pb(r)),Ib(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),jn["a"](this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},t}();function Db(t,e,n,r){kb(Ib(n).lastProp,r)||(Ib(n).lastProp=r,e?re["h"](n,r,t):(n.stopAnimation(),n.attr(r)))}function kb(t,e){if(b["isObject"](t)&&b["isObject"](e)){var n=!0;return b["each"](e,(function(e,r){n=n&&kb(t[r],e)})),!!n}return t===e}function Lb(t,e){t[e.get(["label","show"])?"show":"hide"]()}function Pb(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function Rb(t,e,n){var r=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=i&&(t.zlevel=i),t.silent=n)}))}var Eb=Tb;function Nb(t){var e,n=t.get("type"),r=t.getModel(n+"Style");return"line"===n?(e=r.getLineStyle(),e.fill=null):"shadow"===n&&(e=r.getAreaStyle(),e.stroke=null),e}function zb(t,e,n,r,i){var o=n.get("value"),a=Vb(o,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=Ue["i"](s.get("padding")||0),u=s.getFont(),h=c["d"](a,u),d=i.position,p=h.width+l[1]+l[3],f=h.height+l[0]+l[2],g=i.align;"right"===g&&(d[0]-=p),"center"===g&&(d[0]-=p/2);var y=i.verticalAlign;"bottom"===y&&(d[1]-=f),"middle"===y&&(d[1]-=f/2),Bb(d,p,f,r);var v=s.get("backgroundColor");v&&"auto"!==v||(v=e.get(["axisLine","lineStyle","color"])),t.label={x:d[0],y:d[1],style:Object(ue["c"])(s,{text:a,font:u,fill:s.getTextColor(),padding:l,backgroundColor:v}),z2:10}}function Bb(t,e,n,r){var i=r.getWidth(),o=r.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function Vb(t,e,n,r,i){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:i.precision}),a=i.formatter;if(a){var s={value:ui["c"](e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};b["each"](r,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),r=t.dataIndexInside,i=e&&e.getDataParams(r);i&&s.seriesData.push(i)})),b["isString"](a)?o=a.replace("{value}",o):b["isFunction"](a)&&(o=a(s))}return o}function Fb(t,e,n){var r=pi["create"]();return pi["rotate"](r,r,n.rotation),pi["translate"](r,r,n.position),ie["applyTransform"]([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function Gb(t,e,n,r,i,o){var a=Zi.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),zb(e,r,i,o,{position:Fb(r.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function Hb(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function Wb(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function Ub(t,e,n,r,i,o){return{cx:t,cy:e,r0:n,r:r,startAngle:i,endAngle:o,clockwise:!0}}var qb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=Yb(a,o).getOtherAxis(o).getGlobalExtent(),c=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var u=Nb(r),h=Xb[s](o,c,l);h.style=u,t.graphicKey=h.type,t.pointer=h}var d=Oi(a.model,n);Gb(e,t,d,n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=Oi(e.axis.grid.model,e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=Fb(e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=Yb(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,c=[t.x,t.y];c[l]+=e[l],c[l]=Math.min(a[1],c[l]),c[l]=Math.max(a[0],c[l]);var u=(s[1]+s[0])/2,h=[u,u];h[l]=c[l];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:c[0],y:c[1],rotation:t.rotation,cursorPoint:h,tooltipOption:d[l]}},e}(Eb);function Yb(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var Xb={line:function(t,e,n){var r=Hb([e,n[0]],[e,n[1]],Zb(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,e,n){var r=Math.max(1,t.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:Wb([e-r/2,n[0]],[r,i],Zb(t))}}};function Zb(t){return"x"===t.dim?0:1}var Kb=qb,$b=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(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}(Zr["a"]),Jb=$b,Qb=n("22d1"),tx=Object(Ie["o"])(),ex=b["each"];function nx(t,e,n){if(!Qb["a"].node){var r=e.getZr();tx(r).records||(tx(r).records={}),rx(r,e);var i=tx(r).records[t]||(tx(r).records[t]={});i.handler=n}}function rx(t,e){function n(n,r){t.on(n,(function(n){var i=sx(e);ex(tx(t).records,(function(t){t&&r(t,n,i.dispatchAction)})),ix(i.pendings,e)}))}tx(t).initialized||(tx(t).initialized=!0,n("click",b["curry"](ax,"click")),n("mousemove",b["curry"](ax,"mousemove")),n("globalout",ox))}function ix(t,e){var n,r=t.showTip.length,i=t.hideTip.length;r?n=t.showTip[r-1]:i&&(n=t.hideTip[i-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function ox(t,e,n){t.handler("leave",null,n)}function ax(t,e,n,r){e.handler(t,n,r)}function sx(t){var e={showTip:[],hideTip:[]},n=function(r){var i=e[r.type];i?i.push(r):(r.dispatchAction=n,t.dispatchAction(r))};return{dispatchAction:n,pendings:e}}function lx(t,e){if(!Qb["a"].node){var n=e.getZr(),r=(tx(n).records||{})[t];r&&(tx(n).records[t]=null)}}var cx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r=e.getComponent("tooltip"),i=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";nx("axisPointer",n,(function(t,e,n){"none"!==i&&("leave"===t||i.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){lx("axisPointer",e)},e.prototype.dispose=function(t,e){lx("axisPointer",e)},e.type="axisPointer",e}(Xr["a"]),ux=cx;function hx(t,e){var n,r=[],i=t.seriesIndex;if(null==i||!(n=e.getSeriesByIndex(i)))return{point:[]};var o=n.getData(),a=Ie["u"](o,t);if(null==a||a<0||b["isArray"](a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var c=l.getBaseAxis(),u=l.getOtherAxis(c),h=u.dim,d=c.dim,p="x"===h||"radius"===h?1:0,f=o.mapDimension(d),g=[];g[p]=o.get(f,a),g[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),r=l.dataToPoint(g)||[]}else r=l.dataToPoint(o.getValues(b["map"](l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var y=s.getBoundingRect().clone();y.applyTransform(s.transform),r=[y.x+y.width/2,y.y+y.height/2]}return{point:r,el:s}}var dx=Object(Ie["o"])();function px(t,e,n){var r=t.currTrigger,i=[t.x,t.y],o=t,a=t.dispatchAction||Object(b["bind"])(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){wx(i)&&(i=hx({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=wx(i),c=o.axesInfo,u=s.axesInfo,h="leave"===r||wx(i),d={},p={},f={list:[],map:{}},g={showPointer:Object(b["curry"])(yx,p),showTooltip:Object(b["curry"])(vx,f)};Object(b["each"])(s.coordSysMap,(function(t,e){var n=l||t.containPoint(i);Object(b["each"])(s.coordSysAxesInfo[e],(function(t,e){var r=t.axis,o=_x(c,t);if(!h&&n&&(!c||o)){var a=o&&o.value;null!=a||l||(a=r.pointToData(i)),null!=a&&fx(t,a,g,!1,d)}}))}));var y={};return Object(b["each"])(u,(function(t,e){var n=t.linkGroup;n&&!p[e]&&Object(b["each"])(n.axesInfo,(function(e,r){var i=p[r];if(e!==t&&i){var o=i.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,Ox(e),Ox(t)))),y[t.key]=o}}))})),Object(b["each"])(y,(function(t,e){fx(u[e],t,g,!0,d)})),mx(p,u,d),bx(f,i,t,a),xx(u,a,n),d}}function fx(t,e,n,r,i){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=gx(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==i.seriesIndex&&Object(b["extend"])(i,s[0]),!r&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function gx(t,e){var n=e.axis,r=n.dim,i=t,o=[],a=Number.MAX_VALUE,s=-1;return Object(b["each"])(e.seriesModels,(function(e,l){var c,u,h=e.getData().mapDimensionsAll(r);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(h,t,n);u=d.dataIndices,c=d.nestestValue}else{if(u=e.getData().indicesOfNearest(h[0],t,"category"===n.type?.5:null),!u.length)return;c=e.getData().get(h[0],u[0])}if(null!=c&&isFinite(c)){var p=t-c,f=Math.abs(p);f<=a&&((f=0&&s<0)&&(a=f,s=p,i=c,o.length=0),Object(b["each"])(u,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:i}}function yx(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function vx(t,e,n,r){var i=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&i.length){var l=e.coordSys.model,c=ao(l),u=t.map[c];u||(u=t.map[c]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(u)),u.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function mx(t,e,n){var r=n.axesInfo=[];Object(b["each"])(e,(function(e,n){var i=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}function bx(t,e,n,r){if(!wx(e)&&t.list.length){var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}else r({type:"hideTip"})}function xx(t,e,n){var r=n.getZr(),i="axisPointerLastHighlights",o=dx(r)[i]||{},a=dx(r)[i]={};Object(b["each"])(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&Object(b["each"])(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];Object(b["each"])(o,(function(t,e){!a[e]&&l.push(t)})),Object(b["each"])(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function _x(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function Ox(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function wx(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function Sx(t){co.registerAxisPointerClass("CartesianAxisPointer",Kb),t.registerComponentModel(Jb),t.registerComponentView(ux),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Object(b["isArray"])(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=Ki(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},px)}function jx(t){Object(r["a"])(Oo),Object(r["a"])(Sx)}var Mx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o),l=s.getExtent(),c=o.dataToCoord(e),u=r.get("type");if(u&&"none"!==u){var h=Nb(r),d=Cx[u](o,a,c,l);d.style=h,t.graphicKey=d.type,t.pointer=d}var p=r.get(["label","margin"]),f=Ix(e,n,r,a,p);zb(t,n,r,i,f)},e}(Eb);function Ix(t,e,n,r,i){var o=e.axis,a=o.dataToCoord(t),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,c,u,h=r.getRadiusAxis().getExtent();if("radius"===o.dim){var d=pi["create"]();pi["rotate"](d,d,s),pi["translate"](d,d,[r.cx,r.cy]),l=ie["applyTransform"]([a,-i],d);var p=e.getModel("axisLabel").get("rotate")||0,f=Zi.innerTextLayout(s,p*Math.PI/180,-1);c=f.textAlign,u=f.textVerticalAlign}else{var g=h[1];l=r.coordToPoint([g+i,a]);var y=r.cx,v=r.cy;c=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",u=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:c,verticalAlign:u}}var Cx={line:function(t,e,n,r){return"angle"===t.dim?{type:"Line",shape:Hb(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r){var i=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:Ub(e.cx,e.cy,r[0],r[1],(-n-i/2)*o,(i/2-n)*o)}:{type:"Sector",shape:Ub(e.cx,e.cy,n-i/2,n+i/2,0,2*Math.PI)}}},Ax=Mx,Tx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.findAxisModel=function(t){var e,n=this.ecModel;return n.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}(Zr["a"]),Dx=Tx,kx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Ie["b"]).models[0]},e.type="polarAxis",e}(Zr["a"]);b["mixin"](kx,Jr["a"]);var Lx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.type="angleAxis",e}(kx),Px=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.type="radiusAxis",e}(kx),Rx=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return Object(Kt["a"])(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(bi["a"]);Rx.prototype.dataToRadius=bi["a"].prototype.dataToCoord,Rx.prototype.radiusToData=bi["a"].prototype.coordToData;var Ex=Rx,Nx=Object(Ie["o"])(),zx=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return Object(Kt["a"])(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(),n=t.scale,r=n.getExtent(),i=n.count();if(r[1]-r[0]<1)return 0;var o=r[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=c["d"](null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7),h=u/s;isNaN(h)&&(h=1/0);var d=Math.max(0,Math.floor(h)),p=Nx(t.model),f=p.lastAutoInterval,g=p.lastTickCount;return null!=f&&null!=g&&Math.abs(f-d)<=1&&Math.abs(g-i)<=1&&f>d?d=f:(p.lastTickCount=i,p.lastAutoInterval=d),d},e}(bi["a"]);zx.prototype.dataToAngle=bi["a"].prototype.dataToCoord,zx.prototype.angleToData=bi["a"].prototype.coordToData;var Bx=zx,Vx=["radius","angle"],Fx=function(){function t(t){this.dimensions=Vx,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Ex,this._angleAxis=new Bx,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){var e="_"+t+"Axis";return this[e]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===t&&e.push(n),r.scale.type===t&&e.push(r),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 n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;var l=Math.atan2(-n,e)/Math.PI*180,c=la)l+=360*c;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI,r=Math.cos(n)*e+this.cx,i=-Math.sin(n)*e+this.cy;return[r,i]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var r=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-r[0]*i,endAngle:-r[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,r=e-this.cy,i=n*n+r*r-1e-4,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}},t.prototype.convertToPixel=function(t,e,n){var r=Gx(e);return r===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var r=Gx(e);return r===this?this.pointToData(n):null},t}();function Gx(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var Hx=Fx;function Wx(t,e,n){var r=e.get("center"),i=n.getWidth(),o=n.getHeight();t.cx=Object(Ve["q"])(r[0],i),t.cy=Object(Ve["q"])(r[1],o);var a=t.getRadiusAxis(),s=Math.min(i,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:b["isArray"](l)||(l=[0,l]);var c=[Object(Ve["q"])(l[0],s),Object(Ve["q"])(l[1],s)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}function Ux(t,e){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();b["each"](Object(ui["d"])(e,"radius"),(function(t){i.scale.unionExtentFromData(e,t)})),b["each"](Object(ui["d"])(e,"angle"),(function(t){r.scale.unionExtentFromData(e,t)}))}})),Object(ui["i"])(r.scale,r.model),Object(ui["i"])(i.scale,i.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),a=360/r.scale.count();r.inverse?o[1]+=a:o[1]-=a,r.setExtent(o[0],o[1])}}function qx(t){return"angleAxis"===t.mainType}function Yx(t,e){if(t.type=e.get("type"),t.scale=Object(ui["a"])(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),qx(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var Xx={dimensions:Vx,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,r){var i=new Hx(r+"");i.update=Ux;var o=i.getRadiusAxis(),a=i.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");Yx(o,s),Yx(a,l),Wx(i,t,e),n.push(i),t.coordinateSystem=i,i.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Ie["b"]).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},Zx=Xx,Kx=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function $x(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var r=t.coordToPoint([e[0],n]),i=t.coordToPoint([e[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function Jx(t){var e=t.getRadiusAxis();return e.inverse?0:1}function Qx(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var t_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=b["map"](n.getViewLabels(),(function(t){t=b["clone"](t);var e=n.scale,r="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(r),t}));Qx(s),Qx(o),b["each"](Kx,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||e_[e](this.group,t,r,o,a,i,s)}),this)}},e.type="angleAxis",e}(co),e_={axisLine:function(t,e,n,r,i,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=Jx(n),c=l?0:1;a=0===o[c]?new zo["a"]({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new Bo["a"]({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[c]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,t.add(a)},axisTick:function(t,e,n,r,i,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[Jx(n)],c=b["map"](r,(function(t){return new Ri["a"]({shape:$x(n,[l,l+s],t.coord)})}));t.add(ie["mergePath"](c,{style:b["defaults"](a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,r,i,o){if(i.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),c=o[Jx(n)],u=[],h=0;hf?"left":"right",v=Math.abs(p[1]-g)/d<.3?"middle":p[1]>g?"top":"bottom";if(s&&s[h]){var m=s[h];b["isObject"](m)&&m.textStyle&&(a=new Ei["a"](m.textStyle,l,l.ecModel))}var x=new tt["a"]({silent:Zi.isLabelSilent(e),style:Object(ue["c"])(a,{x:p[0],y:p[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),u){var _=Zi.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=r.rawLabel,Object(oe["a"])(x).eventData=_}}),this)},splitLine:function(t,e,n,r,i,o){var a=e.getModel("splitLine"),s=a.getModel("lineStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var u=[],h=0;h=0?"p":"n",M=x;m&&(r[s][S]||(r[s][S]={p:x,n:x}),M=r[s][S][j]);var I=void 0,C=void 0,A=void 0,T=void 0;if("radius"===h.dim){var D=h.dataToCoord(w)-x,k=o.dataToCoord(S);Math.abs(D)=T})}}}))}function d_(t){var e={};b["each"](t,(function(t,n){var r=t.getData(),i=t.coordinateSystem,o=i.getBaseAxis(),a=u_(i,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/r.count(),c=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},u=c.stacks;e[a]=c;var h=c_(t);u[h]||c.autoWidthCount++,u[h]=u[h]||{width:0,maxWidth:0};var d=Object(Ve["q"])(t.get("barWidth"),l),p=Object(Ve["q"])(t.get("barMaxWidth"),l),f=t.get("barGap"),g=t.get("barCategoryGap");d&&!u[h].width&&(d=Math.min(c.remainedWidth,d),u[h].width=d,c.remainedWidth-=d),p&&(u[h].maxWidth=p),null!=f&&(c.gap=f),null!=g&&(c.categoryGap=g)}));var n={};return b["each"](e,(function(t,e){n[e]={};var r=t.stacks,i=t.bandWidth,o=Object(Ve["q"])(t.categoryGap,i),a=Object(Ve["q"])(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,c=(s-o)/(l+(l-1)*a);c=Math.max(c,0),b["each"](r,(function(t,e){var n=t.maxWidth;n&&n=e.y&&t[1]<=e.y+e.height:n.contain(n.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(),n=this.getRect(),r=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),r[i]=e.toGlobalCoord(e.dataToCoord(+t)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r},t.prototype.convertToPixel=function(t,e,n){var r=T_(e);return r===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var r=T_(e);return r===this?this.pointToData(n):null},t}();function T_(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var D_=A_;function k_(t,e){var n=[];return t.eachComponent("singleAxis",(function(r,i){var o=new D_(r,t,e);o.name="single_"+i,o.resize(r,e),r.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Ie["b"]).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n}var L_={create:k_,dimensions:C_},P_=L_,R_=["x","y"],E_=["width","height"],N_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var o=n.axis,a=o.coordinateSystem,s=V_(a,1-B_(o)),l=a.dataToPoint(e)[0],c=r.get("type");if(c&&"none"!==c){var u=Nb(r),h=z_[c](o,l,s);h.style=u,t.graphicKey=h.type,t.pointer=h}var d=m_(n);Gb(e,t,d,n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=m_(e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=Fb(e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,o=i.coordinateSystem,a=B_(i),s=V_(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 c=V_(o,1-a),u=(c[1]+c[0])/2,h=[u,u];return h[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(Eb),z_={line:function(t,e,n){var r=Hb([e,n[0]],[e,n[1]],B_(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,e,n){var r=t.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:Wb([e-r/2,n[0]],[r,i],B_(t))}}};function B_(t){return t.isHorizontal()?0:1}function V_(t,e){var n=t.getRect();return[n[R_[e]],n[R_[e]]+n[E_[e]]]}var F_=N_,G_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.type="single",e}(Xr["a"]);function H_(t){Object(r["a"])(Sx),co.registerAxisPointerClass("SingleAxisPointer",F_),t.registerComponentView(G_),t.registerComponentView(w_),t.registerComponentModel(j_),li(t,"single",j_,j_.defaultOption),t.registerCoordinateSystem("single",P_)}var W_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.init=function(e,n,r){var i=Object(ar["f"])(e);t.prototype.init.apply(this,arguments),U_(e,i)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),U_(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}(Zr["a"]);function U_(t,e){var n,r=t.cellSize;n=b["isArray"](r)?r:t.cellSize=[r,r],1===n.length&&(n[1]=n[0]);var i=b["map"]([0,1],(function(t){return Object(ar["j"])(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Object(ar["h"])(t,e,{type:"box",ignoreSize:i})}var q_=W_,Y_=n("ef59"),X_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r=this.group;r.removeAll();var i=t.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,r),this._renderLines(t,o,a,r),this._renderYearText(t,o,a,r),this._renderMonthText(t,s,a,r),this._renderWeekText(t,s,o,a,r)},e.prototype._renderDayRect=function(t,e,n){for(var r=t.coordinateSystem,i=t.getModel("itemStyle").getItemStyle(),o=r.getCellWidth(),a=r.getCellHeight(),s=e.start.time;s<=e.end.time;s=r.getNextNDay(s,1).time){var l=r.dataToRect([s],!1).tl,c=new ze["a"]({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:i});n.add(c)}},e.prototype._renderLines=function(t,e,n,r){var i=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 c=e.start,u=0;c.time<=e.end.time;u++){d(c.formatedDate),0===u&&(c=o.getDateInfo(e.start.y+"-"+e.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=o.getDateInfo(h)}function d(e){i._firstDayOfMonth.push(o.getDateInfo(e)),i._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=i._getLinePointsOfOneWeek(t,e,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},e.prototype._getEdgesPoints=function(t,e,n){var r=[t[0].slice(),t[t.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-e/2,r[1][i]=r[1][i]+e/2,r},e.prototype._drawSplitline=function(t,e,n){var r=new pr["a"]({z2:20,shape:{points:t},style:e});n.add(r)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var r=t.coordinateSystem,i=r.getDateInfo(e),o=[],a=0;a<7;a++){var s=r.getNextNDay(i.time,a),l=r.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return Object(b["isString"])(t)&&t?Object(Ue["f"])(t,e):Object(b["isFunction"])(t)?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,n,r,i){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===r?(a+=i,s=["center","top"]):"left"===r?o-=i:"right"===r?(o+=i,s=["center","top"]):a-=i;var l=0;return"left"!==r&&"right"!==r||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,r){var i=t.getModel("yearLabel");if(i.get("show")){var o=i.get("margin"),a=i.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,c=(s[0][1]+s[1][1])/2,u="horizontal"===n?0:1,h={top:[l,s[u][1]],bottom:[l,s[1-u][1]],left:[s[1-u][0],c],right:[s[u][0],c]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=i.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),y=new tt["a"]({z2:30,style:Object(ue["c"])(i,{text:g})});y.attr(this._yearTextPositionControl(y,h[a],n,a,o)),r.add(y)}},e.prototype._monthTextPositionControl=function(t,e,n,r,i){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=i,e&&(o="center"),"start"===r&&(a="bottom")):(s+=i,e&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,r){var i=t.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),a=i.get("margin"),s=i.get("position"),l=i.get("align"),c=[this._tlpoints,this._blpoints];o&&!Object(b["isString"])(o)||(o&&(e=Object(Y_["d"])(o)||e),o=e.get(["time","monthAbbr"])||[]);var u="start"===s?0:1,h="horizontal"===n?0:1;a="start"===s?-a:a;for(var d="center"===l,p=0;p=r.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var r=Math.floor(n[1].time/K_)-Math.floor(n[0].time/K_)+1,i=new Date(n[0].time),o=i.getDate(),a=n[1].date.getDate();i.setDate(o+r-1);var s=i.getDate();if(s!==a){var l=i.getTime()-n[1].time>0?1:-1;while((s=i.getDate())!==a&&(i.getTime()-n[1].time)*l>0)r-=l,i.setDate(s-l)}var c=Math.floor((r+n[0].day+6)/7),u=e?1-c:c-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:c,nthWeek:u,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var r=this._getRangeInfo(n);if(t>r.weeks||0===t&&er.lweek)return null;var i=7*(t-1)-r.fweek+e,o=new Date(r.start.time);return o.setDate(+r.start.d+i),this.getDateInfo(o)},t.create=function(e,n){var r=[];return e.eachComponent("calendar",(function(i){var o=new t(i,e,n);r.push(o),i.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=r[t.get("calendarIndex")||0])})),r},t.dimensions=["time","value"],t}();function J_(t){var e=t.calendarModel,n=t.seriesModel,r=e?e.coordinateSystem:n?n.coordinateSystem:null;return r}var Q_=$_;function tO(t){t.registerComponentModel(q_),t.registerComponentView(Z_),t.registerCoordinateSystem("calendar",Q_)}function eO(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var r=e.parentOption;r?e.parentId=r.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function nO(t,e){var n;return b["each"](e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}function rO(t,e,n){var r=b["extend"]({},n),i=t[e],o=n.$action||"merge";"merge"===o?i?(b["merge"](i,r,!0),Object(ar["h"])(i,r,{ignoreSize:!0}),Object(ar["c"])(n,i),aO(n,i),aO(n,i,"shape"),aO(n,i,"style"),aO(n,i,"extra"),n.clipPath=i.clipPath):t[e]=r:"replace"===o?t[e]=r:"remove"===o&&i&&(t[e]=null)}var iO=["transition","enterFrom","leaveTo"],oO=iO.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function aO(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var r=n?iO:oO,i=0;i=0;l--){c=n[l],u=Ie["e"](c.id,null),h=null!=u?i.get(u):null;if(h){d=h.parent,g=uO(d);var y=d===r?{width:o,height:a}:{width:g.width,height:g.height},v={},m=ar["i"](h,c,y,null,{hv:c.hv,boundingMode:c.bounding},v);if(!uO(h).isNew&&m){for(var x=c.transition,_={},O=0;O=0)?_[w]=S:h[w]=S}Object(re["h"])(h,_,t,0)}else h.attr(v)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){fO(n,uO(n).option,e,t._lastGraphicModel)})),this._elMap=b["createHashMap"]()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Xr["a"]);function dO(t){var e=b["hasOwn"](cO,t)?cO[t]:ie["getShapeClass"](t);var n=new e({});return uO(n).type=t,n}function pO(t,e,n,r){var i=dO(n);return e.add(i),r.set(t,i),uO(i).id=t,uO(i).isNew=!0,i}function fO(t,e,n,r){var i=t&&t.parent;i&&("group"===t.type&&t.traverse((function(t){fO(t,e,n,r)})),wm(t,e,r),n.removeKey(uO(t).id))}function gO(t,e,n,r){t.isGroup||b["each"]([["cursor",hs["c"].prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],(function(n){var r=n[0];b["hasOwn"](e,r)?t[r]=b["retrieve2"](e[r],n[1]):null==t[r]&&(t[r]=n[1])})),b["each"](b["keys"](e),(function(n){if(0===n.indexOf("on")){var r=e[n];t[n]=b["isFunction"](r)?r:null}})),b["hasOwn"](e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}function yO(t){return t=b["extend"]({},t),b["each"](["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(ar["a"]),(function(e){delete t[e]})),t}function vO(t,e,n){var r=Object(oe["a"])(t).eventData;t.silent||t.ignore||r||(r=Object(oe["a"])(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),r&&(r.info=n.info)}function mO(t){t.registerComponentModel(lO),t.registerComponentView(hO),t.registerPreprocessor((function(t){var e=t.graphic;Object(b["isArray"])(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))}var bO=["x","y","radius","angle","single"],xO=["cartesian2d","polar","singleAxis"];function _O(t){var e=t.get("coordinateSystem");return Object(b["indexOf"])(xO,e)>=0}function OO(t){return t+"Axis"}function wO(t,e){var n,r=Object(b["createHashMap"])(),i=[],o=Object(b["createHashMap"])();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&l(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),i.push(t),c(t)}function l(t){var e=!1;return t.eachTargetAxis((function(t,n){var i=r.get(t);i&&i[n]&&(e=!0)})),e}function c(t){t.eachTargetAxis((function(t,e){(r.get(t)||r.set(t,[]))[e]=!0}))}return i}function SO(t){var e=t.ecModel,n={infoList:[],infoMap:Object(b["createHashMap"])()};return t.eachTargetAxis((function(t,r){var i=e.getComponent(OO(t),r);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(i)}}})),n}var jO=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}(),MO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return Object(Kt["a"])(e,t),e.prototype.init=function(t,e,n){var r=IO(t);this.settledOption=r,this.mergeDefaultAndTheme(t,n),this._doInit(r)},e.prototype.mergeOption=function(t){var e=IO(t);Object(b["merge"])(this.option,t,!0),Object(b["merge"])(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;Object(b["each"])([["start","startValue"],["end","endValue"]],(function(t,r){"value"===this._rangePropMode[r]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=Object(b["createHashMap"])(),n=this._fillSpecifiedTargetAxis(e);n?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 Object(b["each"])(bO,(function(n){var r=this.getReferringComponents(OO(n),Ie["a"]);if(r.specified){e=!0;var i=new jO;Object(b["each"])(r.models,(function(t){i.add(t.componentIndex)})),t.set(n,i)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,r=!0;if(r){var i="vertical"===e?"y":"x",o=n.findComponents({mainType:i+"Axis"});a(o,i)}if(r){o=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});a(o,"single")}function a(e,n){var i=e[0];if(i){var o=new jO;if(o.add(i.componentIndex),t.set(n,o),r=!1,"x"===n||"y"===n){var a=i.getReferringComponents("grid",Ie["b"]).models[0];a&&Object(b["each"])(e,(function(t){i.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Ie["b"]).models[0]&&o.add(t.componentIndex)}))}}}r&&Object(b["each"])(bO,(function(e){if(r){var i=n.findComponents({mainType:OO(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var o=new jO;o.add(i[0].componentIndex),t.set(e,o),r=!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,n=this.get("rangeMode");Object(b["each"])([["start","startValue"],["end","endValue"]],(function(r,i){var o=null!=t[r[0]],a=null!=t[r[1]];o&&!a?e[i]="percent":!o&&a?e[i]="value":n?e[i]=n[i]:o&&(e[i]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(OO(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,r){Object(b["each"])(n.indexList,(function(n){t.call(e,r,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(OO(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;Object(b["each"])([["start","startValue"],["end","endValue"]],(function(r){null==t[r[0]]&&null==t[r[1]]||(e[r[0]]=n[r[0]]=t[r[0]],e[r[1]]=n[r[1]]=t[r[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;Object(b["each"])(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},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 n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),r=0;ro[1];if(u&&!h&&!d)return!0;u&&(i=!0),h&&(e=!0),d&&(n=!0)}return i&&e&&n}))}else EO(r,(function(n){if("empty"===i)t.setData(e=e.map(n,(function(t){return a(t)?t:NaN})));else{var r={};r[n]=o,e.selectRange(r)}}));EO(r,(function(t){e.setApproximateExtent(o,t)}))}}))}function a(t){return t>=o[0]&&t<=o[1]}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;EO(["min","max"],(function(r){var i=e.get(r+"Span"),o=e.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=Ve["m"](n[0]+o,n,[0,100],!0):null!=i&&(o=Ve["m"](i,[0,100],n,!0)-n[0]),t[r+"Span"]=i,t[r+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var r=Ve["g"](n,[0,500]);r=Math.min(r,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==e[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},t}();function BO(t,e,n){var r=[1/0,-1/0];EO(n,(function(t){Object(ui["k"])(r,t.getData(),e)}));var i=t.getAxisModel(),o=Object(RO["a"])(i.axis.scale,i,r).calculate();return[o.min,o.max]}var VO=zO,FO={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,i){var o=t.getComponent(OO(r),i);e(r,i,o,n)}))}))}e((function(t,e,n,r){n.__dzAxisProxy=null}));var n=[];e((function(e,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new VO(e,r,o,t),n.push(i.__dzAxisProxy))}));var r=Object(b["createHashMap"])();return Object(b["each"])(n,(function(t){Object(b["each"])(t.getTargetSeriesModels(),(function(t){r.set(t.uid,t)}))})),r},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,r){t.getAxisProxy(n,r).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),r=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}},GO=FO;function HO(t){t.registerAction("dataZoom",(function(t,e){var n=wO(e,t);Object(b["each"])(n,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var WO=!1;function UO(t){WO||(WO=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,GO),HO(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function qO(t){t.registerComponentModel(TO),t.registerComponentView(PO),UO(t)}var YO=function(){function t(){}return t}(),XO={};function ZO(t,e){XO[t]=e}function KO(t){return XO[t]}var $O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;b["each"](this.option.feature,(function(t,n){var r=KO(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(e)),b["merge"](t,r.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}(Zr["a"]),JO=$O;function QO(t,e,n){var r=e.getBoxLayoutParams(),i=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Object(ar["g"])(r,o,i);Object(ar["b"])(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Object(ar["i"])(t,r,o,i)}function tw(t,e){var n=Ue["i"](e.get("padding")),r=e.getItemStyle(["color","opacity"]);return r.fill=e.get("backgroundColor"),t=new ze["a"]({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:r,silent:!0,z2:-1}),t}var ew=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n,r){var i=this.group;if(i.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];b["each"](s,(function(t,e){u.push(e)})),new dc["a"](this._featureNames||[],u).add(h).update(h).remove(b["curry"](h,null)).execute(),this._featureNames=u,QO(i,t,n),i.add(tw(i.getBoundingRect(),t)),a||i.eachChild((function(t){var e=t.__title,r=t.ensureState("emphasis"),a=r.textConfig||(r.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!b["isFunction"](l)&&e){var u=l.style||(l.style={}),h=c["d"](e,tt["a"].makeFont(u)),d=t.x+i.x,p=t.y+i.y+o,f=!1;p+h.height>n.getHeight()&&(a.position="top",f=!0);var g=f?-5-h.height:o+10;d+h.width/2>n.getWidth()?(a.position=["100%",g],u.align="right"):d-h.width/2<0&&(a.position=[0,g],u.align="left")}}))}function h(i,o){var a,c=u[i],h=u[o],p=s[c],f=new Ei["a"](p,t,t.ecModel);if(r&&null!=r.newTitle&&r.featureName===c&&(p.title=r.newTitle),c&&!h){if(nw(c))a={onclick:f.option.onclick,featureName:c};else{var g=KO(c);if(!g)return;a=new g}l[c]=a}else if(a=l[h],!a)return;a.uid=Object(On["c"])("toolbox-feature"),a.model=f,a.ecModel=e,a.api=n;var y=a instanceof YO;c||!h?!f.get("show")||y&&a.unusable?y&&a.remove&&a.remove(e,n):(d(f,a,c),f.setIconStatus=function(t,e){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,r[t]&&("emphasis"===e?ae["r"]:ae["C"])(r[t])},a instanceof YO&&a.render&&a.render(f,e,n,r)):y&&a.dispose&&a.dispose(e,n)}function d(r,s,l){var c,u,h=r.getModel("iconStyle"),d=r.getModel(["emphasis","iconStyle"]),p=s instanceof YO&&s.getIcons?s.getIcons():r.get("icon"),f=r.get("title")||{};b["isString"](p)?(c={},c[l]=p):c=p,b["isString"](f)?(u={},u[l]=f):u=f;var g=r.iconPaths={};b["each"](c,(function(l,c){var p=ie["createIcon"](l,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(h.getItemStyle());var f=p.ensureState("emphasis");f.style=d.getItemStyle();var y=new tt["a"]({style:{text:u[c],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null},ignore:!0});p.setTextContent(y),ie["setTooltipConfig"]({el:p,componentModel:t,itemName:c,formatterParamsExtra:{title:u[c]}}),p.__title=u[c],p.on("mouseover",(function(){var e=d.getItemStyle(),r=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";y.setStyle({fill:d.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),p.setTextConfig({position:d.get("textPosition")||r}),y.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",c])&&n.leaveEmphasis(this),y.hide()})),("emphasis"===r.get(["iconStatus",c])?ae["r"]:ae["C"])(p),i.add(p),p.on("click",b["bind"](s.onclick,s,e,n,c)),g[c]=p}))}},e.prototype.updateView=function(t,e,n,r){b["each"](this._features,(function(t){t instanceof YO&&t.updateView&&t.updateView(t.model,e,n,r)}))},e.prototype.remove=function(t,e){b["each"](this._features,(function(n){n instanceof YO&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){b["each"](this._features,(function(n){n instanceof YO&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Xr["a"]);function nw(t){return 0===t.indexOf("my")}var rw=ew,iw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",i="svg"===e.getZr().painter.getType(),o=i?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=Qb["a"].browser;if(Object(b["isFunction"])(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=r+"."+o,l.target="_blank",l.href=a;var c=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob||i){var u=a.split(","),h=u[0].indexOf("base64")>-1,d=i?decodeURIComponent(u[1]):u[1];h&&(d=window.atob(d));var p=r+"."+o;if(window.navigator.msSaveOrOpenBlob){var f=d.length,g=new Uint8Array(f);while(f--)g[f]=d.charCodeAt(f);var y=new Blob([g]);window.navigator.msSaveOrOpenBlob(y,p)}else{var v=document.createElement("iframe");document.body.appendChild(v);var m=v.contentWindow,x=m.document;x.open("image/svg+xml","replace"),x.write(d),x.close(),m.focus(),x.execCommand("SaveAs",!0,p),document.body.removeChild(v)}}else{var _=n.get("lang"),O='',w=window.open();w.document.write(O),w.document.title=r}},e.getDefaultOption=function(t){var e={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"])};return e},e}(YO),ow=iw,aw="__ec_magicType_stack__",sw=[["line","bar"],["stack"]],lw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return b["each"](t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){var e={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:{}};return e},e.prototype.onclick=function(t,e,n){var r=this.model,i=r.get(["seriesIndex",n]);if(cw[n]){var o,a={series:[]},s=function(t){var e=t.subType,i=t.id,o=cw[n](e,i,t,r);o&&(b["defaults"](o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var c=l.dim,u=c+"Axis",h=t.getReferringComponents(u,Ie["b"]).models[0],d=h.componentIndex;a[u]=a[u]||[];for(var p=0;p<=d;p++)a[u][d]=a[u][d]||{};a[u][d].boundaryGap="bar"===n}}};b["each"](sw,(function(t){b["indexOf"](t,n)>=0&&b["each"](t,(function(t){r.setIconStatus(t,"normal")}))})),r.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},s);var l=n;"stack"===n&&(o=b["merge"]({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(l="tiled")),e.dispatchAction({type:"changeMagicType",currentType:l,newOption:a,newTitle:o,featureName:"magicType"})}},e}(YO),cw={line:function(t,e,n,r){if("bar"===t)return b["merge"]({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(t,e,n,r){if("line"===t)return b["merge"]({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(t,e,n,r){var i=n.get("stack")===aw;if("line"===t||"bar"===t)return r.setIconStatus("stack",i?"normal":"emphasis"),b["merge"]({id:e,stack:i?"":aw},r.get(["option","stack"])||{},!0)}};$o["m"]({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var uw=lw,hw=new Array(60).join("-"),dw="\t";function pw(t){var e={},n=[],r=[];return t.eachRawSeries((function(t){var i=t.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(t);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:r}}function fw(t){var e=[];return b["each"](t,(function(t,n){var r=t.categoryAxis,i=t.valueAxis,o=i.dim,a=[" "].concat(b["map"](t.series,(function(t){return t.name}))),s=[r.model.getCategories()];b["each"](t.series,(function(t){var e=t.getRawData();s.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var l=[a.join(dw)],c=0;c=0)return!0}var bw=new RegExp("["+dw+"]+","g");function xw(t){for(var e=t.split(/\n+/g),n=vw(e.shift()).split(bw),r=[],i=b["map"](n,(function(t){return{name:t,data:[]}})),o=0;o=0;i--){var o=n[i];if(o[r])break}if(i<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var s=a.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}})),n.push(e)}function Aw(t){var e=kw(t),n=e[e.length-1];e.length>1&&e.pop();var r={};return Mw(n,(function(t,n){for(var i=e.length-1;i>=0;i--)if(t=e[i][n],t){r[n]=t;break}})),r}function Tw(t){Iw(t).snapshots=null}function Dw(t){return kw(t).length}function kw(t){var e=Iw(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var Lw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.onclick=function(t,e){Tw(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var e={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"])};return e},e}(YO);$o["m"]({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var Pw=Lw,Rw=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],Ew=function(){function t(t,e,n){var r=this;this._targetInfoList=[];var i=zw(e,t);Object(b["each"])(Bw,(function(t,e){(!n||!n.include||Object(b["indexOf"])(n.include,e)>=0)&&t(i,r._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var r=Gw[t.brushType](0,n,e);t.__rangeOffset={offset:Ww[t.brushType](r.values,t.range,[1,1]),xyMinMax:r.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){Object(b["each"])(t,(function(t){var r=this.findTargetInfo(t,e);r&&!0!==r&&Object(b["each"])(r.coordSyses,(function(r){var i=Gw[t.brushType](1,r,t.range,!0);n(t,i.values,r,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Object(b["each"])(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var r=Gw[t.brushType](0,n.coordSys,t.coordRange),i=t.__rangeOffset;t.range=i?Ww[t.brushType](r.values,i.offset,qw(r.xyMinMax,i.xyMinMax)):r.values}}),this)},t.prototype.makePanelOpts=function(t,e){return Object(b["map"])(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:ff(r),isTargetByCursor:yf(r,t,n.coordSysModel),getLinearBrushOtherExtent:gf(r)}}))},t.prototype.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&Object(b["indexOf"])(r.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,r=zw(e,t),i=0;it[1]&&t.reverse(),t}function zw(t,e){return Object(Ie["s"])(t,e,{includeMainTypes:Rw})}var Bw={grid:function(t,e){var n=t.xAxisModels,r=t.yAxisModels,i=t.gridModels,o=Object(b["createHashMap"])(),a={},s={};(n||r||i)&&(Object(b["each"])(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),Object(b["each"])(r,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),Object(b["each"])(i,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var i=t.coordinateSystem,o=[];Object(b["each"])(i.getCartesians(),(function(t,e){(Object(b["indexOf"])(n,t.getAxis("x").model)>=0||Object(b["indexOf"])(r,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:Fw.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){Object(b["each"])(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:Fw.geo})}))}},Vw=[function(t,e){var n=t.xAxisModel,r=t.yAxisModel,i=t.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],Fw={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(ie["getTransform"](t)),e}},Gw={lineX:Object(b["curry"])(Hw,0),lineY:Object(b["curry"])(Hw,1),rect:function(t,e,n,r){var i=t?e.pointToData([n[0][0],n[1][0]],r):e.dataToPoint([n[0][0],n[1][0]],r),o=t?e.pointToData([n[0][1],n[1][1]],r):e.dataToPoint([n[0][1],n[1][1]],r),a=[Nw([i[0],o[0]]),Nw([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],o=Object(b["map"])(n,(function(n){var o=t?e.pointToData(n,r):e.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o}));return{values:o,xyMinMax:i}}};function Hw(t,e,n,r){var i=n.getAxis(["x","y"][t]),o=Nw(Object(b["map"])([0,1],(function(t){return e?i.coordToData(i.toLocalCoord(r[t]),!0):i.toGlobalCoord(i.dataToCoord(r[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var Ww={lineX:Object(b["curry"])(Uw,0),lineY:Object(b["curry"])(Uw,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return Object(b["map"])(t,(function(t,r){return[t[0]-n[0]*e[r][0],t[1]-n[1]*e[r][1]]}))}};function Uw(t,e,n,r){return[e[0]-r[t]*n[0],e[1]-r[t]*n[1]]}function qw(t,e){var n=Yw(t),r=Yw(e),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function Yw(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var Xw=Ew,Zw=n("2f1f"),Kw=b["each"],$w=Object(Ie["p"])("toolbox-dataZoom_"),Jw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n,r){this._brushController||(this._brushController=new pf(n.getZr()),this._brushController.on("brush",b["bind"](this._onBrush,this)).mount()),nS(t,e,this,r,n),eS(t,e)},e.prototype.onclick=function(t,e,n){Qw[n].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 n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new Xw(tS(this.model),r,{include:["grid"]});i.matchOutputRanges(e,r,(function(t,e,n){if("cartesian2d"===n.type){var r=t.brushType;"rect"===r?(o("x",n,e[0]),o("y",n,e[1])):o({lineX:"x",lineY:"y"}[r],n,e)}})),Cw(r,n),this._dispatchZoomAction(n)}function o(t,e,i){var o=e.getAxis(t),s=o.model,l=a(t,s,r),c=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(i=$d(0,i.slice(),o.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function a(t,e,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var i=n.getAxisModel(t,e.componentIndex);i&&(r=n)})),r}},e.prototype._dispatchZoomAction=function(t){var e=[];Kw(t,(function(t,n){e.push(b["clone"](t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){var e={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)"}};return e},e}(YO),Qw={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(Aw(this.ecModel))}};function tS(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}function eS(t,e){t.setIconStatus("back",Dw(e)>1?"emphasis":"normal")}function nS(t,e,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new Xw(tS(t),e,{include:["grid"]}),s=a.makePanelOpts(i,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}Object(Zw["b"])("dataZoom",(function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var r=e.getModel(n),i=[],o=tS(r),a=Object(Ie["s"])(t,o);return Kw(a.xAxisModels,(function(t){return s(t,"xAxis","xAxisIndex")})),Kw(a.yAxisModels,(function(t){return s(t,"yAxis","yAxisIndex")})),i}function s(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:$w+e+o};a[n]=o,i.push(a)}}));var rS=Jw;function iS(t){t.registerComponentModel(JO),t.registerComponentView(rw),ZO("saveAsImage",ow),ZO("magicType",uw),ZO("dataView",jw),ZO("dataZoom",rS),ZO("restore",Pw),Object(r["a"])(qO)}var oS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(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}(Zr["a"]),aS=oS;function sS(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function lS(t){if(Qb["a"].domSupported)for(var e=document.documentElement.style,n=0,r=t.length;n-1?(l+="top:50%",c+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(l+="left:50%",c+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var u=o*Math.PI/180,h=s+i,d=h*Math.abs(Math.cos(u))+h*Math.abs(Math.sin(u)),p=Math.round(100*((d-Math.SQRT2*i)/2+Math.SQRT2*i-(d-h)/2))/100;l+=";"+a+":-"+p+"px";var f=e+" solid "+i+"px;",g=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",l+";"+c+";","border-bottom:"+f,"border-right:"+f,"background-color:"+r+";"];return'
'}function mS(t,e){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+t/2+"s "+n,i="opacity"+r+",visibility"+r;return e||(r=" "+t+"s "+n,i+=Qb["a"].transformSupported?","+fS+r:",left"+r+",top"+r),pS+":"+i}function bS(t,e,n){var r=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!Qb["a"].transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=Qb["a"].transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+fS+":"+a+";":[["top",0],["left",0],[cS,a]]}function xS(t){var e=[],n=t.get("fontSize"),r=t.getTextColor();r&&e.push("color:"+r),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var i=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return i&&o&&e.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),Object(b["each"])(["decoration","align"],(function(n){var r=t.get(n);r&&e.push("text-"+n+":"+r)})),e.join(";")}function _S(t,e,n){var r=[],i=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),c=t.get("shadowOffsetY"),u=t.getModel("textStyle"),h=Object(Do["d"])(t,"html"),d=l+"px "+c+"px "+a+"px "+s;return r.push("box-shadow:"+d),e&&i&&r.push(mS(i,n)),o&&r.push("background-color:"+o),Object(b["each"])(["width","color","radius"],(function(e){var n="border-"+e,i=Object(Ue["j"])(n),o=t.get(i);null!=o&&r.push(n+":"+o+("color"===e?"":"px"))})),r.push(xS(u)),null!=h&&r.push("padding:"+Object(Ue["i"])(h).join("px ")+"px"),r.join(";")+";"}function OS(t,e,n,r,i){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&Object(I["d"])(t,a,document.body,r,i)}else{t[0]=r,t[1]=i;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 wS=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,Qb["a"].wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;OS(this._styleCoord,i,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(r):t.appendChild(r),this._container=t;var a=this;r.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},r.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();Object(Ko["e"])(n,t,!0),e.dispatch("mousemove",t)}},r.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){var e=this._container,n=dS(e,"position"),r=e.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative");var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=gS+_S(t,!this._firstShow,this._longHide)+bS(i[0],i[1],!0)+"border-color:"+Object(Ue["c"])(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,r,i){var o=this.el;if(null!=t){var a="";if(Object(b["isString"])(i)&&"item"===n.get("trigger")&&!sS(n)&&(a=vS(n,r,i)),Object(b["isString"])(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Object(b["isArray"])(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,r):"leave"===t&&this._hide(r))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,r=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,r){if(r.from!==this.uid&&!Qb["a"].node&&n.getDom()){var i=RS(r,n);this._ticket="";var o=r.dataByCoordSys,a=VS(r,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var l=kS;l.x=r.x,l.y=r.y,l.update(),Object(oe["a"])(l).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:l},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var c=hx(r,e),u=c.point[0],h=c.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,target:c.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},e.prototype.manuallyHideTip=function(t,e,n,r){var i=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(RS(r,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,r){var i=r.seriesIndex,o=r.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=e.getSeriesByIndex(i);if(s){var l=s.getData(),c=PS([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===c.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,r=this._tooltipModel;if(r){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var o,a;this._lastDataByCoordSys=null,Object(Js["a"])(n,(function(t){return null!=Object(oe["a"])(t).dataIndex?(o=t,!0):null!=Object(oe["a"])(t).tooltipConfig?(a=t,!0):void 0}),!0),o?this._showSeriesItemTooltip(t,o,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=Object(b["bind"])(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,r=this._tooltipModel,i=[e.offsetX,e.offsetY],o=PS([e.tooltipOption],r),a=this._renderMode,s=[],l=Object(Do["c"])("section",{blocks:[],noHeader:!0}),c=[],u=new Do["a"];Object(b["each"])(t,(function(t){Object(b["each"])(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var o=Vb(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),h=Object(Do["c"])("section",{header:o,noHeader:!Object(b["trim"])(o),sortBlocks:!0,blocks:[]});l.blocks.push(h),Object(b["each"])(t.seriesDataIndices,(function(l){var d=n.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,f=d.getDataParams(p);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=ui["c"](e.axis,{value:i}),f.axisValueLabel=o,f.marker=u.makeTooltipMarker("item",Object(Ue["c"])(f.color),a);var g=Object(DS["b"])(d.formatTooltip(p,!0,null)),y=g.frag;if(y){var v=PS([d],r).get("valueFormatter");h.blocks.push(v?Object(b["extend"])({valueFormatter:v},y):y)}g.text&&c.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),c.reverse();var h=e.position,d=o.get("order"),p=Object(Do["b"])(l,u,a,d,n.get("useUTC"),o.get("textStyle"));p&&c.unshift(p);var f="richText"===a?"\n\n":"
",g=c.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,h,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",i[0],i[1],h,null,u)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var r=this._ecModel,i=Object(oe["a"])(e),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,l=i.dataIndex,c=i.dataType,u=s.getData(c),h=this._renderMode,d=t.positionDefault,p=PS([u.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),f=p.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,c),y=new Do["a"];g.marker=y.makeTooltipMarker("item",Object(Ue["c"])(g.color),h);var v=Object(DS["b"])(s.formatTooltip(l,!1,c)),m=p.get("order"),x=p.get("valueFormatter"),_=v.frag,O=_?Object(Do["b"])(x?Object(b["extend"])({valueFormatter:x},_):_,y,h,m,r.get("useUTC"),p.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(p,(function(){this._showTooltipContent(p,O,g,w,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var r=Object(oe["a"])(e),i=r.tooltipConfig,o=i.option||{};if(Object(b["isString"])(o)){var a=o;o={content:a,formatter:a}}var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var c=t.positionDefault,u=PS(s,this._tooltipModel,c?{position:c}:null),h=u.get("content"),d=Math.random()+"",p=new Do["a"];this._showOrMove(u,(function(){var n=Object(b["clone"])(u.get("formatterParams")||{});this._showTooltipContent(u,h,n,d,t.offsetX,t.offsetY,t.position,e,p)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,r,i,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var u=t.get("formatter");a=a||t.get("position");var h=e,d=this._getNearestPoint([i,o],n,t.get("trigger"),t.get("borderColor")),p=d.color;if(u)if(Object(b["isString"])(u)){var f=t.ecModel.get("useUTC"),g=Object(b["isArray"])(n)?n[0]:n,y=g&&g.axisType&&g.axisType.indexOf("time")>=0;h=u,y&&(h=Object(TS["h"])(g.axisValue,h,f)),h=Object(Ue["e"])(h,n,!0)}else if(Object(b["isFunction"])(u)){var v=Object(b["bind"])((function(e,r){e===this._ticket&&(c.setContent(r,l,t,p,a),this._updatePosition(t,a,i,o,c,n,s))}),this);this._ticket=r,h=u(n,r,v)}else h=u;c.setContent(h,l,t,p,a),c.show(t,p),this._updatePosition(t,a,i,o,c,n,s)}},e.prototype._getNearestPoint=function(t,e,n,r){return"axis"===n||Object(b["isArray"])(e)?{color:r||("html"===this._renderMode?"#fff":"none")}:Object(b["isArray"])(e)?void 0:{color:r||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,r,i,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var c=i.getSize(),u=t.get("align"),h=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),Object(b["isFunction"])(e)&&(e=e([n,r],o,i.el,d,{viewSize:[s,l],contentSize:c.slice()})),Object(b["isArray"])(e))n=Object(Ve["q"])(e[0],s),r=Object(Ve["q"])(e[1],l);else if(Object(b["isObject"])(e)){var p=e;p.width=c[0],p.height=c[1];var f=Object(ar["g"])(p,{width:s,height:l});n=f.x,r=f.y,u=null,h=null}else if(Object(b["isString"])(e)&&a){var g=zS(e,d,c,t.get("borderWidth"));n=g[0],r=g[1]}else{g=ES(n,r,i,s,l,u?null:20,h?null:20);n=g[0],r=g[1]}if(u&&(n-=BS(u)?c[0]/2:"right"===u?c[0]:0),h&&(r-=BS(h)?c[1]/2:"bottom"===h?c[1]:0),sS(t)){g=NS(n,r,i,s,l);n=g[0],r=g[1]}i.moveTo(n,r)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===t.length;return i&&Object(b["each"])(n,(function(n,o){var a=n.dataByAxis||[],s=t[o]||{},l=s.dataByAxis||[];i=i&&a.length===l.length,i&&Object(b["each"])(a,(function(t,n){var o=l[n]||{},a=t.seriesDataIndices||[],s=o.seriesDataIndices||[];i=i&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===s.length,i&&Object(b["each"])(a,(function(t,e){var n=s[e];i=i&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),r&&Object(b["each"])(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!i},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!Qb["a"].node&&e.getDom()&&(Object(jn["a"])(this,"_updatePosition"),this._tooltipContent.dispose(),lx("itemTooltip",e))},e.type="tooltip",e}(Xr["a"]);function PS(t,e,n){var r,i=e.ecModel;n?(r=new Ei["a"](n,i,i),r=new Ei["a"](e.option,r,i)):r=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Ei["a"]&&(a=a.get("tooltip",!0)),Object(b["isString"])(a)&&(a={formatter:a}),a&&(r=new Ei["a"](a,r,i)))}return r}function RS(t,e){return t.dispatchAction||Object(b["bind"])(e.dispatchAction,e)}function ES(t,e,n,r,i,o,a){var s=n.getSize(),l=s[0],c=s[1];return null!=o&&(t+l+o+2>r?t-=l+o:t+=o),null!=a&&(e+c+a>i?e-=c+a:e+=a),[t,e]}function NS(t,e,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,r)-a,e=Math.min(e+s,i)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function zS(t,e,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,c=e.width,u=e.height;switch(t){case"inside":s=e.x+c/2-i/2,l=e.y+u/2-o/2;break;case"top":s=e.x+c/2-i/2,l=e.y-o-a;break;case"bottom":s=e.x+c/2-i/2,l=e.y+u+a;break;case"left":s=e.x-i-a,l=e.y+u/2-o/2;break;case"right":s=e.x+c+a,l=e.y+u/2-o/2}return[s,l]}function BS(t){return"center"===t||"middle"===t}function VS(t,e,n){var r=Object(Ie["t"])(t).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o=Object(Ie["v"])(e,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(e){var n=Object(oe["a"])(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:i,componentIndex:a.componentIndex,el:s}:void 0}}}var FS=LS;function GS(t){Object(r["a"])(Sx),t.registerComponentModel(aS),t.registerComponentView(FS),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},b["noop"]),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},b["noop"])}var HS=["rect","polygon","keep","clear"];function WS(t,e){var n=Object(Ie["r"])(t?t.brush:[]);if(n.length){var r=[];b["each"](n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(r=r.concat(e))}));var i=t&&t.toolbox;b["isArray"](i)&&(i=i[0]),i||(i={feature:{}},t.toolbox=[i]);var o=i.feature||(i.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,r),US(s),e&&!s.length&&s.push.apply(s,HS)}}function US(t){var e={};b["each"](t,(function(t){e[t]=1})),t.length=0,b["each"](e,(function(e,n){t.push(n)}))}var qS=n("0924"),YS=b["each"];function XS(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function ZS(t,e,n){var r={};return YS(e,(function(e){var o=r[e]=i();YS(t[e],(function(t,r){if(ru.isValidType(r)){var i={type:r,visual:t};n&&n(i,e),o[r]=new ru(i),"opacity"===r&&(i=b["clone"](i),i.type="colorAlpha",o.__hidden.__alphaForOpacity=new ru(i))}}))})),r;function i(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function KS(t,e,n){var r;b["each"](n,(function(t){e.hasOwnProperty(t)&&XS(e[t])&&(r=!0)})),r&&b["each"](n,(function(n){e.hasOwnProperty(n)&&XS(e[n])?t[n]=b["clone"](e[n]):delete t[n]}))}function $S(t,e,n,r,i,o){var a,s={};function l(t){return Object(qS["a"])(n,a,t)}function c(t,e){Object(qS["c"])(n,a,t,e)}function u(t,u){a=null==o?t:u;var h=n.getRawDataItem(a);if(!h||!1!==h.visualMap)for(var d=r.call(i,t),p=e[d],f=s[d],g=0,y=f.length;ge[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&fj(e)}};function fj(t){return new Vr["a"](t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var gj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new pf(e.getZr())).on("brush",b["bind"](this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,r){this.model=t,this._updateController(t,e,n,r)},e.prototype.updateTransform=function(t,e,n,r){sj(e),this._updateController(t,e,n,r)},e.prototype.updateVisual=function(t,e,n,r){this.updateTransform(t,e,n,r)},e.prototype.updateView=function(t,e,n,r){this._updateController(t,e,n,r)},e.prototype._updateController=function(t,e,n,r){(!r||r.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:b["clone"](n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:b["clone"](n),$from:e})},e.type="brush",e}(Xr["a"]),yj=gj,vj="#ddd",mj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return Object(Kt["a"])(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&KS(n,t,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:vj},r.hasOwnProperty("liftZ")||(r.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=b["map"](t,(function(t){return bj(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=bj(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}(Zr["a"]);function bj(t,e){return b["merge"]({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Ei["a"](t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var xj=mj,_j=["rect","polygon","lineX","lineY","keep","clear"],Oj=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){var r,i,o;e.eachComponent({mainType:"brush"},(function(t){r=t.brushType,i=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=r,this._brushMode=i,b["each"](t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===i:"clear"===e?o:e===r)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return b["each"](t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var r=this._brushType,i=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},e.getDefaultOption=function(t){var e={show:!0,type:_j.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"])};return e},e}(YO),wj=Oj;function Sj(t){t.registerComponentView(yj),t.registerComponentModel(xj),t.registerPreprocessor(WS),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,lj),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"},b["noop"]),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},b["noop"]),ZO("brush",wj)}var jj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return Object(Kt["a"])(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}(Zr["a"]),Mj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var r=this.group,i=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=b["retrieve2"](t.get("textBaseline"),t.get("textVerticalAlign")),l=new tt["a"]({style:Object(ue["c"])(i,{text:t.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),c=l.getBoundingRect(),u=t.get("subtext"),h=new tt["a"]({style:Object(ue["c"])(o,{text:u,fill:o.getTextColor(),y:c.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!d&&!f,h.silent=!p&&!f,d&&l.on("click",(function(){Object(Ue["k"])(d,"_"+t.get("target"))})),p&&h.on("click",(function(){Object(Ue["k"])(p,"_"+t.get("subtarget"))})),Object(oe["a"])(l).eventData=Object(oe["a"])(h).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,r.add(l),u&&r.add(h);var g=r.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=Object(ar["g"])(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||(a=t.get("left")||t.get("right"),"middle"===a&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||(s=t.get("top")||t.get("bottom"),"center"===s&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),r.x=v.x,r.y=v.y,r.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),h.setStyle(m),g=r.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var O=new ze["a"]({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});r.add(O)}},e.type="title",e}(Xr["a"]);function Ij(t){t.registerComponentModel(jj),t.registerComponentView(Mj)}var Cj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return Object(Kt["a"])(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),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,n=e.data||[],r=e.axisType,i=this._names=[];"category"===r?(t=[],Object(b["each"])(n,(function(e,n){var r,o=Object(Ie["e"])(Object(Ie["h"])(e),"");Object(b["isObject"])(e)?(r=Object(b["clone"])(e),r.value=n):r=n,t.push(r),i.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[r]||"number",a=this._data=new Cr["a"]([{name:"value",type:o}],this);a.initData(t,i)},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}(Zr["a"]),Aj=Cj,Tj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.type="timeline.slider",e.defaultOption=Object(On["d"])(Aj.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}(Aj);Object(b["mixin"])(Tj,DS["a"].prototype);var Dj=Tj,kj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.type="timeline",e}(Xr["a"]),Lj=kj,Pj=function(t){function e(e,n,r,i){var o=t.call(this,e,n,r)||this;return o.type=i||"value",o}return Object(Kt["a"])(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(bi["a"]),Rj=Pj,Ej=n("18c0"),Nj=n("216a"),zj=Math.PI,Bj=Object(Ie["o"])(),Vj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,n),i=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){var e=a.scale.getLabel({value:t});return Object(Do["c"])("nameValue",{noName:!0,value:e})},Object(b["each"])(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](r,i,a,t)}),this),this._renderAxisLabel(r,o,a,t),this._position(r,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 n,r=t.get(["label","position"]),i=t.get("orient"),o=Gj(t,e);n=null==r||"auto"===r?"horizontal"===i?o.y+o.height/2=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:zj/2},d="vertical"===i?o.height:o.width,p=t.getModel("controlStyle"),f=p.get("show",!0),g=f?p.get("itemSize"):0,y=f?p.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*zj/180;var x=p.get("position",!0),_=f&&p.get("showPlayBtn",!0),O=f&&p.get("showPrevBtn",!0),w=f&&p.get("showNextBtn",!0),S=0,j=d;"left"===x||"bottom"===x?(_&&(a=[0,0],S+=v),O&&(s=[S,0],S+=v),w&&(l=[j-g,0],j-=v)):(_&&(a=[j-g,0],j-=v),O&&(s=[0,0],S+=v),w&&(l=[j-g,0],j-=v));var M=[S,j];return t.get("inverse")&&M.reverse(),{viewRect:o,mainLength:d,orient:i,rotation:h[i],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||c[i],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[i],playPosition:a,prevBtnPosition:s,nextBtnPosition:l,axisExtent:M,controlSize:g,controlGap:y}},e.prototype._position=function(t,e){var n=this._mainGroup,r=this._labelGroup,i=t.viewRect;if("vertical"===t.orient){var o=pi["create"](),a=i.x,s=i.y+i.height;pi["translate"](o,o,[-a,-s]),pi["rotate"](o,o,-zj/2),pi["translate"](o,o,[a,s]),i=i.clone(),i.applyTransform(o)}var l=y(i),c=y(n.getBoundingRect()),u=y(r.getBoundingRect()),h=[n.x,n.y],d=[r.x,r.y];d[0]=h[0]=l[0][0];var p=t.labelPosOpt;if(null==p||Object(b["isString"])(p)){var f="+"===p?0:1;v(h,c,l,1,f),v(d,u,l,1,1-f)}else{f=p>=0?0:1;v(h,c,l,1,f),d[1]=h[1]+p}function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,r,i){t[r]+=n[r][i]-e[r][i]}n.setPosition(h),r.setPosition(d),n.rotation=r.rotation=t.rotation,g(n),g(r)},e.prototype._createAxis=function(t,e){var n=e.getData(),r=e.get("axisType"),i=Fj(e,r);i.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.calcNiceTicks();var a=new Rj("value",i,t.axisExtent,r);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new te["a"];return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,r){var i=n.getExtent();if(r.get(["lineStyle","show"])){var o=new Ri["a"]({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:Object(b["extend"])({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Ri["a"]({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:Object(b["defaults"])({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,r){var i=this,o=r.getData(),a=n.scale.getTicks();this._tickSymbols=[],Object(b["each"])(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),c=s.getModel(["emphasis","itemStyle"]),u=s.getModel(["progress","itemStyle"]),h={x:a,y:0,onclick:Object(b["bind"])(i._changeTimeline,i,t.value)},d=Wj(s,l,e,h);d.ensureState("emphasis").style=c.getItemStyle(),d.ensureState("progress").style=u.getItemStyle(),Object(ae["o"])(d);var p=Object(oe["a"])(d);s.get("tooltip")?(p.dataIndex=t.value,p.dataModel=r):p.dataIndex=p.dataModel=null,i._tickSymbols.push(d)}))},e.prototype._renderAxisLabel=function(t,e,n,r){var i=this,o=n.getLabelModel();if(o.get("show")){var a=r.getData(),s=n.getViewLabels();this._tickLabels=[],Object(b["each"])(s,(function(r){var o=r.tickValue,s=a.getItemModel(o),l=s.getModel("label"),c=s.getModel(["emphasis","label"]),u=s.getModel(["progress","label"]),h=n.dataToCoord(r.tickValue),d=new tt["a"]({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:Object(b["bind"])(i._changeTimeline,i,o),silent:!1,style:Object(ue["c"])(l,{text:r.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=Object(ue["c"])(c),d.ensureState("progress").style=Object(ue["c"])(u),e.add(d),Object(ae["o"])(d),Bj(d).dataIndex=o,i._tickLabels.push(d)}))}},e.prototype._renderControl=function(t,e,n,r){var i=t.controlSize,o=t.rotation,a=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),l=r.getPlayState(),u=r.get("inverse",!0);function h(t,n,l,u){if(t){var h=Object(c["g"])(Object(b["retrieve2"])(r.get(["controlStyle",n+"BtnSize"]),i),i),d=[0,-h/2,h,h],p=Hj(r,n+"Icon",d,{x:t[0],y:t[1],originX:i/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});p.ensureState("emphasis").style=s,e.add(p),Object(ae["o"])(p)}}h(t.nextBtnPosition,"next",Object(b["bind"])(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",Object(b["bind"])(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",Object(b["bind"])(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=Object(b["bind"])(s._handlePointerDrag,s),t.ondragend=Object(b["bind"])(s._handlePointerDragend,s),Uj(t,s._progressLine,o,n,r,!0)},onUpdate:function(t){Uj(t,s._progressLine,o,n,r)}};this._currentPointer=Wj(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,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],r=this._axis,i=Ve["c"](r.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(d)),[a,h]}var uM={min:Object(b["curry"])(cM,"min"),max:Object(b["curry"])(cM,"max"),average:Object(b["curry"])(cM,"average"),median:Object(b["curry"])(cM,"median")};function hM(t,e){if(e){var n=t.getData(),r=t.coordinateSystem,i=r.dimensions;if(!lM(e)&&!Object(b["isArray"])(e.coord)&&r){var o=dM(e,n,r,t);if(e=Object(b["clone"])(e),e.type&&uM[e.type]&&o.baseAxis&&o.valueAxis){var a=Object(b["indexOf"])(i,o.baseAxis.dim),s=Object(b["indexOf"])(i,o.valueAxis.dim),l=uM[e.type](n,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 c=e.coord,u=0;u<2;u++)uM[c[u]]&&(c[u]=vM(n,n.mapDimension(i[u]),c[u]));return e}}function dM(t,e,n,r){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=n.getAxis(pM(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function pM(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}function fM(t,e){return!(t&&t.containData&&e.coord&&!sM(e))||t.containData(e.coord)}function gM(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!sM(e)&&!sM(n))||t.containZone(e.coord,n.coord)}function yM(t,e){return t?function(t,n,r,i){var o=i<2?t.coord&&t.coord[i]:t.value;return Object(aM["d"])(o,e[i])}:function(t,n,r,i){return Object(aM["d"])(t.value,e[i])}}function vM(t,e,n){if("average"===n){var r=0,i=0;return t.each(e,(function(t,e){isNaN(t)||(r+=t,i++)})),r/i}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var mM=Object(Ie["o"])(),bM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.init=function(){this.markerGroupMap=Object(b["createHashMap"])()},e.prototype.render=function(t,e,n){var r=this,i=this.markerGroupMap;i.each((function(t){mM(t).keep=!1})),e.eachSeries((function(t){var i=rM.getMarkerModelFromSeries(t,r.type);i&&r.renderSeries(t,i,e,n)})),i.each((function(t){!mM(t).keep&&r.group.remove(t.group)}))},e.prototype.markKeep=function(t){mM(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;Object(b["each"])(t,(function(t){var r=rM.getMarkerModelFromSeries(t,n.type);if(r){var i=r.getData();i.eachItemGraphicEl((function(t){t&&(e?Object(ae["q"])(t):Object(ae["B"])(t))}))}}))},e.type="marker",e}(Xr["a"]),xM=bM;function _M(t,e,n){var r=e.coordinateSystem;t.each((function(i){var o,a=t.getItemModel(i),s=Ve["q"](a.get("x"),n.getWidth()),l=Ve["q"](a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(r){var c=t.get(r.dimensions[0],i),u=t.get(r.dimensions[1],i);o=r.dataToPoint([c,u])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(i,o)}))}var OM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=rM.getMarkerModelFromSeries(t,"markPoint");e&&(_M(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new me),c=wM(i,t,e);e.setData(c),_M(e.getData(),t,r),c.each((function(t){var n=c.getItemModel(t),r=n.getShallow("symbol"),i=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Object(b["isFunction"])(r)||Object(b["isFunction"])(i)||Object(b["isFunction"])(o)||Object(b["isFunction"])(s)){var u=e.getRawValue(t),h=e.getDataParams(t);Object(b["isFunction"])(r)&&(r=r(u,h)),Object(b["isFunction"])(i)&&(i=i(u,h)),Object(b["isFunction"])(o)&&(o=o(u,h)),Object(b["isFunction"])(s)&&(s=s(u,h))}var d=n.getModel("itemStyle").getItemStyle(),p=Object(qS["b"])(a,"color");d.fill||(d.fill=p),c.setItemVisual(t,{symbol:r,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:d})})),l.updateData(c),this.group.add(l.group),c.eachItemGraphicEl((function(t){t.traverse((function(t){Object(oe["a"])(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(xM);function wM(t,e,n){var r;r=t?Object(b["map"])(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(b["extend"])(Object(b["extend"])({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Cr["a"](r,n),o=Object(b["map"])(n.get("data"),Object(b["curry"])(hM,e));t&&(o=Object(b["filter"])(o,Object(b["curry"])(fM,t)));var a=yM(!!t,r);return i.initData(o,null,a),i}var SM=OM;function jM(t){t.registerComponentModel(oM),t.registerComponentView(SM),t.registerPreprocessor((function(t){Qj(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))}var MM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},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}(rM),IM=MM,CM=Object(Ie["o"])(),AM=function(t,e,n,r){var i,o=t.getData();if(Object(b["isArray"])(r))i=r;else{var a=r.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=r.xAxis||null!=r.yAxis){var s=void 0,l=void 0;if(null!=r.yAxis||null!=r.xAxis)s=e.getAxis(null!=r.yAxis?"y":"x"),l=Object(b["retrieve"])(r.yAxis,r.xAxis);else{var c=dM(r,o,e,t);s=c.valueAxis;var u=Object(be["b"])(o,c.valueDataDim);l=vM(o,u,a)}var h="x"===s.dim?0:1,d=1-h,p=Object(b["clone"])(r),f={coord:[]};p.type=null,p.coord=[],p.coord[d]=-1/0,f.coord[d]=1/0;var g=n.get("precision");g>=0&&Object(b["isNumber"])(l)&&(l=+l.toFixed(Math.min(g,20))),p.coord[h]=f.coord[h]=l,i=[p,f,{type:a,valueIndex:r.valueIndex,value:l}]}else i=[]}var y=[hM(t,i[0]),hM(t,i[1]),Object(b["extend"])({},i[2])];return y[2].type=y[2].type||null,Object(b["merge"])(y[2],y[0]),Object(b["merge"])(y[2],y[1]),y};function TM(t){return!isNaN(t)&&!isFinite(t)}function DM(t,e,n,r){var i=1-t,o=r.dimensions[t];return TM(e[i])&&TM(n[i])&&e[t]===n[t]&&r.getAxis(o).containData(e[t])}function kM(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(DM(1,n,r,t)||DM(0,n,r,t)))return!0}return fM(t,e[0])&&fM(t,e[1])}function LM(t,e,n,r,i){var o,a=r.coordinateSystem,s=t.getItemModel(e),l=Ve["q"](s.get("x"),i.getWidth()),c=Ve["q"](s.get("y"),i.getHeight());if(isNaN(l)||isNaN(c)){if(r.getMarkerPosition)o=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var u=a.dimensions,h=t.get(u[0],e),d=t.get(u[1],e);o=a.dataToPoint([h,d])}if(We(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");u=a.dimensions;TM(t.get(u[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):TM(t.get(u[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];t.setItemLayout(e,o)}var PM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=rM.getMarkerModelFromSeries(t,"markLine");if(e){var r=e.getData(),i=CM(e).from,o=CM(e).to;i.each((function(e){LM(i,e,!0,t,n),LM(o,e,!1,t,n)})),r.each((function(t){r.setItemLayout(t,[i.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new Dh);this.group.add(l.group);var c=RM(i,t,e),u=c.from,h=c.to,d=c.line;CM(e).from=u,CM(e).to=h,e.setData(d);var p=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,i){var o=e.getItemModel(n);LM(e,n,i,t,r);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Object(qS["b"])(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Object(b["retrieve2"])(o.get("symbolOffset",!0),y[i?0:1]),symbolRotate:Object(b["retrieve2"])(o.get("symbolRotate",!0),g[i?0:1]),symbolSize:Object(b["retrieve2"])(o.get("symbolSize"),f[i?0:1]),symbol:Object(b["retrieve2"])(o.get("symbol",!0),p[i?0:1]),style:s})}Object(b["isArray"])(p)||(p=[p,p]),Object(b["isArray"])(f)||(f=[f,f]),Object(b["isArray"])(g)||(g=[g,g]),Object(b["isArray"])(y)||(y=[y,y]),c.from.each((function(t){v(u,t,!0),v(h,t,!1)})),d.each((function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[u.getItemLayout(t),h.getItemLayout(t)]),null==e.stroke&&(e.stroke=u.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:u.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:u.getItemVisual(t,"symbolOffset"),fromSymbolRotate:u.getItemVisual(t,"symbolRotate"),fromSymbolSize:u.getItemVisual(t,"symbolSize"),fromSymbol:u.getItemVisual(t,"symbol"),toSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(t,"symbolOffset"),toSymbolRotate:h.getItemVisual(t,"symbolRotate"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol"),style:e})})),l.updateData(d),c.line.eachItemGraphicEl((function(t){Object(oe["a"])(t).dataModel=e,t.traverse((function(t){Object(oe["a"])(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(xM);function RM(t,e,n){var r;r=t?Object(b["map"])(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(b["extend"])(Object(b["extend"])({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Cr["a"](r,n),o=new Cr["a"](r,n),a=new Cr["a"]([],n),s=Object(b["map"])(n.get("data"),Object(b["curry"])(AM,e,t,n));t&&(s=Object(b["filter"])(s,Object(b["curry"])(kM,t)));var l=yM(!!t,r);return i.initData(Object(b["map"])(s,(function(t){return t[0]})),null,l),o.initData(Object(b["map"])(s,(function(t){return t[1]})),null,l),a.initData(Object(b["map"])(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:i,to:o,line:a}}var EM=PM;function NM(t){t.registerComponentModel(IM),t.registerComponentView(EM),t.registerPreprocessor((function(t){Qj(t.series,"markLine")&&(t.markLine=t.markLine||{})}))}var zM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},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}(rM),BM=zM,VM=Object(Ie["o"])(),FM=function(t,e,n,r){var i=r[0],o=r[1];if(i&&o){var a=hM(t,i),s=hM(t,o),l=a.coord,c=s.coord;l[0]=Object(b["retrieve"])(l[0],-1/0),l[1]=Object(b["retrieve"])(l[1],-1/0),c[0]=Object(b["retrieve"])(c[0],1/0),c[1]=Object(b["retrieve"])(c[1],1/0);var u=Object(b["mergeAll"])([{},a,s]);return u.coord=[a.coord,s.coord],u.x0=a.x,u.y0=a.y,u.x1=s.x,u.y1=s.y,u}};function GM(t){return!isNaN(t)&&!isFinite(t)}function HM(t,e,n,r){var i=1-t;return GM(e[i])&&GM(n[i])}function WM(t,e){var n=e.coord[0],r=e.coord[1],i={coord:n,x:e.x0,y:e.y0},o={coord:r,x:e.x1,y:e.y1};return We(t,"cartesian2d")?!(!n||!r||!HM(1,n,r,t)&&!HM(0,n,r,t))||gM(t,i,o):fM(t,i)||fM(t,o)}function UM(t,e,n,r,i){var o,a=r.coordinateSystem,s=t.getItemModel(e),l=Ve["q"](s.get(n[0]),i.getWidth()),c=Ve["q"](s.get(n[1]),i.getHeight());if(isNaN(l)||isNaN(c)){if(r.getMarkerPosition){var u=t.getValues(["x0","y0"],e),h=t.getValues(["x1","y1"],e),d=a.clampData(u),p=a.clampData(h),f=[];"x0"===n[0]?f[0]=d[0]>p[0]?h[0]:u[0]:f[0]=d[0]>p[0]?u[0]:h[0],"y0"===n[1]?f[1]=d[1]>p[1]?h[1]:u[1]:f[1]=d[1]>p[1]?u[1]:h[1],o=r.getMarkerPosition(f,n,!0)}else{var g=t.get(n[0],e),y=t.get(n[1],e),v=[g,y];a.clampData&&a.clampData(v,v),o=a.dataToPoint(v,!0)}if(We(a,"cartesian2d")){var m=a.getAxis("x"),b=a.getAxis("y");g=t.get(n[0],e),y=t.get(n[1],e);GM(g)?o[0]=m.toGlobalCoord(m.getExtent()["x0"===n[0]?0:1]):GM(y)&&(o[1]=b.toGlobalCoord(b.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];return o}var qM=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],YM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=rM.getMarkerModelFromSeries(t,"markArea");if(e){var r=e.getData();r.each((function(e){var i=Object(b["map"])(qM,(function(i){return UM(r,e,i,t,n)}));r.setItemLayout(e,i);var o=r.getItemGraphicEl(e);o.setShape("points",i)}))}}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new te["a"]});this.group.add(l.group),this.markKeep(l);var c=XM(i,t,e);e.setData(c),c.each((function(e){var n=Object(b["map"])(qM,(function(n){return UM(c,e,n,t,r)})),o=i.getAxis("x").scale,s=i.getAxis("y").scale,l=o.getExtent(),u=s.getExtent(),h=[o.parse(c.get("x0",e)),o.parse(c.get("x1",e))],d=[s.parse(c.get("y0",e)),s.parse(c.get("y1",e))];Ve["c"](h),Ve["c"](d);var p=!(l[0]>h[1]||l[1]d[1]||u[1]=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}(Zr["a"]),QM=JM,tI=b["curry"],eI=b["each"],nI=te["a"],rI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return Object(Kt["a"])(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new nI),this.group.add(this._selectorGroup=new nI),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var i=t.get("align"),o=t.get("orient");i&&"auto"!==i||(i="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(i,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},u=t.get("padding"),h=ar["g"](l,c,u),d=this.layoutInner(t,i,h,r,a,s),p=ar["g"](b["defaults"]({width:d.width,height:d.height},l),c,u);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=tw(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,r,i,o,a){var s=this.getContentGroup(),l=b["createHashMap"](),c=e.get("selectedMode"),u=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&u.push(t.id)})),eI(e.getData(),(function(i,o){var a=i.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var h=new nI;return h.newline=!0,void s.add(h)}var d=n.getSeriesByName(a)[0];if(!l.get(a)){if(d){var p=d.getData(),f=p.getVisual("legendLineStyle")||{},g=p.getVisual("legendIcon"),y=p.getVisual("style"),v=this._createItem(d,a,o,i,e,t,f,y,g,c,r);v.on("click",tI(aI,a,null,r,u)).on("mouseover",tI(lI,d.name,null,r,u)).on("mouseout",tI(cI,d.name,null,r,u)),l.set(a,!0)}else n.eachRawSeries((function(n){if(!l.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var h=s.indexOfName(a),d=s.getItemVisual(h,"style"),p=s.getItemVisual(h,"legendIcon"),f=Object(qe["parse"])(d.fill);f&&0===f[3]&&(f[3]=.2,d=b["extend"](b["extend"]({},d),{fill:Object(qe["stringify"])(f,"rgba")}));var g=this._createItem(n,a,o,i,e,t,{},d,p,c,r);g.on("click",tI(aI,null,a,r,u)).on("mouseover",tI(lI,null,a,r,u)).on("mouseout",tI(cI,null,a,r,u)),l.set(a,!0)}}),this);0}}),this),i&&this._createSelector(i,e,r,o,a)},e.prototype._createSelector=function(t,e,n,r,i){var o=this.getSelectorGroup();eI(t,(function(t){var r=t.type,i=new tt["a"]({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);Object(ue["g"])(i,{normal:a,emphasis:s},{defaultText:t.title}),Object(ae["o"])(i)}))},e.prototype._createItem=function(t,e,n,r,i,o,a,s,l,c,u){var h=t.visualDrawType,d=i.get("itemWidth"),p=i.get("itemHeight"),f=i.isSelected(e),g=r.get("symbolRotate"),y=r.get("symbolKeepAspect"),v=r.get("icon");l=v||l||"roundRect";var m=iI(l,r,a,s,h,f,u),x=new nI,_=r.getModel("textStyle");if(!b["isFunction"](t.getLegendIcon)||v&&"inherit"!==v){var O="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(oI({itemWidth:d,itemHeight:p,icon:l,iconRotate:O,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:d,itemHeight:p,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}));var w="left"===o?d+5:-5,S=o,j=i.get("formatter"),M=e;b["isString"](j)&&j?M=j.replace("{name}",null!=e?e:""):b["isFunction"](j)&&(M=j(e));var I=r.get("inactiveColor");x.add(new tt["a"]({style:Object(ue["c"])(_,{text:M,x:w,y:p/2,fill:f?_.getTextColor():I,align:S,verticalAlign:"middle"})}));var C=new ze["a"]({shape:x.getBoundingRect(),invisible:!0}),A=r.getModel("tooltip");return A.get("show")&&ie["setTooltipConfig"]({el:C,componentModel:i,itemName:e,itemTooltipOption:A.option}),x.add(C),x.eachChild((function(t){t.silent=!0})),C.silent=!c,this.getContentGroup().add(x),Object(ae["o"])(x),x.__legendDataIndex=n,x},e.prototype.layoutInner=function(t,e,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();ar["b"](t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),c=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){ar["b"]("horizontal",s,t.get("selectorItemGap",!0));var u=s.getBoundingRect(),h=[-u.x,-u.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",y=0===p?"y":"x";"end"===o?h[p]+=l[f]+d:c[p]+=u[f]+d,h[1-p]+=l[g]/2-u[g]/2,s.x=h[0],s.y=h[1],a.x=c[0],a.y=c[1];var v={x:0,y:0};return v[f]=l[f]+d+u[f],v[g]=Math.max(l[g],u[g]),v[y]=Math.min(0,u[y]+h[1-p]),v}return a.x=c[0],a.y=c[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Xr["a"]);function iI(t,e,n,r,i,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),eI(t,(function(n,r){"inherit"===t[r]&&(t[r]=e[r])}))}var l=e.getModel("itemStyle"),c=l.getItemStyle(),u=0===t.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");c.decal=h&&"inherit"!==h?Object(us["a"])(h,a):r.decal,"inherit"===c.fill&&(c.fill=r[i]),"inherit"===c.stroke&&(c.stroke=r[u]),"inherit"===c.opacity&&(c.opacity=("fill"===i?r:n).opacity),s(c,r);var d=e.getModel("lineStyle"),p=d.getLineStyle();if(s(p,n),"auto"===c.fill&&(c.fill=r.fill),"auto"===c.stroke&&(c.stroke=r.fill),"auto"===p.stroke&&(p.stroke=r.fill),!o){var f=e.get("inactiveBorderWidth"),g=c[u];c.lineWidth="auto"===f?r.lineWidth>0&&g?2:0:c.lineWidth,c.fill=e.get("inactiveColor"),c.stroke=e.get("inactiveBorderColor"),p.stroke=d.get("inactiveColor"),p.lineWidth=d.get("inactiveWidth")}return{itemStyle:c,lineStyle:p}}function oI(t){var e=t.icon||"roundRect",n=Object(Qt["a"])(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function aI(t,e,n,r){cI(t,e,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),lI(t,e,n,r)}function sI(t){var e,n=t.getZr().storage.getDisplayList(),r=0,i=n.length;while(rn[i],f=[-h.x,-h.y];e||(f[r]=l[s]);var g=[0,0],y=[-d.x,-d.y],v=b["retrieve2"](t.get("pageButtonGap",!0),t.get("itemGap",!0));if(p){var m=t.get("pageButtonPosition",!0);"end"===m?y[r]+=n[i]-d[i]:g[r]+=d[i]+v}y[1-r]+=h[o]/2-d[o]/2,l.setPosition(f),c.setPosition(g),u.setPosition(y);var x={x:0,y:0};if(x[i]=p?n[i]:h[i],x[o]=Math.max(h[o],d[o]),x[a]=Math.min(0,d[a]+y[1-r]),c.__rectSize=n[i],p){var _={x:0,y:0};_[i]=Math.max(n[i]-d[i]-v,0),_[o]=x[o],c.setClipPath(new ze["a"]({shape:_})),c.__rectSize=_[i]}else u.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var O=this._getPageInfo(t);return null!=O.pageIndex&&re["h"](l,{x:O.contentPosition[0],y:O.contentPosition[1]},p?t:null),this._updatePageInfoView(t,O),x},e.prototype._pageGo=function(t,e,n){var r=this._getPageInfo(e)[t];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;b["each"](["pagePrev","pageNext"],(function(r){var i=r+"DataIndex",o=null!=e[i],a=n.childOfName(r);a&&(a.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var r=n.childOfName("pageText"),i=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;r&&i&&r.setStyle("text",b["isString"](i)?i.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):i({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=t.getOrient().index,o=bI[i],a=xI[i],s=this._findTargetItemIndex(e),l=n.children(),c=l[s],u=l.length,h=u?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return d;var p=m(c);d.contentPosition[i]=-p.s;for(var f=s+1,g=p,y=p,v=null;f<=u;++f)v=m(l[f]),(!v&&y.e>g.s+r||v&&!b(v,g.s))&&(g=y.i>g.i?y:v,g&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount)),y=v;for(f=s-1,g=p,y=p,v=null;f>=-1;--f)v=m(l[f]),v&&b(y,v.s)||!(g.i=e&&t.s<=e+r}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,n,r=this.getContentGroup();return r.eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===t&&(e=i)})),null!=e?e:n},e.type="legend.scroll",e}(uI),OI=_I;function wI(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}function SI(t){Object(r["a"])(fI),t.registerComponentModel(vI),t.registerComponentView(OI),wI(t)}function jI(t){Object(r["a"])(fI),Object(r["a"])(SI)}var MI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.type="dataZoom.inside",e.defaultOption=Object(On["d"])(CO.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(CO),II=MI,CI=Object(Ie["o"])();function AI(t,e,n){CI(t).coordSysRecordMap.each((function(t){var r=t.dataZoomInfoMap.get(e.uid);r&&(r.getRange=n)}))}function TI(t,e){for(var n=CI(t).coordSysRecordMap,r=n.keys(),i=0;ir[n+e]&&(e=a),i=i&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function EI(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=CI(e),r=n.coordSysRecordMap||(n.coordSysRecordMap=Object(b["createHashMap"])());r.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){var n=SO(t);Object(b["each"])(n.infoList,(function(n){var i=n.model.uid,o=r.get(i)||r.set(i,kI(e,n.model)),a=o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(b["createHashMap"])());a.set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),r.each((function(t){var e,n=t.controller,i=t.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(e=i.get(o))}if(e){var a=RI(i);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),jn["b"](t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else DI(r,t)}))}))}var NI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return Object(Kt["a"])(e,t),e.prototype.render=function(e,n,r){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),AI(r,e,{pan:Object(b["bind"])(zI.pan,this),zoom:Object(b["bind"])(zI.zoom,this),scrollMove:Object(b["bind"])(zI.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){TI(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(kO),zI={zoom:function(t,e,n,r){var i=this.range,o=i.slice(),a=t.axisModels[0];if(a){var s=VI[e](null,[r.originX,r.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/r.scale,0);o[0]=(o[0]-l)*c+l,o[1]=(o[1]-l)*c+l;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return $d(0,o,[0,100],0,u.minSpan,u.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:BI((function(t,e,n,r,i,o){var a=VI[r]([o.oldX,o.oldY],[o.newX,o.newY],e,i,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:BI((function(t,e,n,r,i,o){var a=VI[r]([0,0],[o.scrollDelta,o.scrollDelta],e,i,n);return a.signal*(t[1]-t[0])*o.scrollDelta}))};function BI(t){return function(e,n,r,i){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s){var l=t(a,s,e,n,r,i);return $d(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}}var VI={grid:function(t,e,n,r,i){var o=n.axis,a={},s=i.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,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.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=c[1]-c[0],a.pixelStart=c[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,r,i){var o=n.axis,a=i.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}},FI=NI;function GI(t){UO(t),t.registerComponentModel(II),t.registerComponentView(FI),EI(t)}var HI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Object(On["d"])(CO.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}(CO),WI=HI,UI=ze["a"],qI=7,YI=1,XI=30,ZI=7,KI="horizontal",$I="vertical",JI=5,QI=["line","bar","candlestick","scatter"],tC={easing:"cubicOut",duration:100,delay:0},eC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return Object(Kt["a"])(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=Object(b["bind"])(this._onBrush,this),this._onBrushEnd=Object(b["bind"])(this._onBrushEnd,this)},e.prototype.render=function(e,n,r,i){if(t.prototype.render.apply(this,arguments),jn["b"](this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.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(){jn["a"](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 te["a"];this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),r=n?ZI:0,i=this._findCoordRect(),o={width:e.getWidth(),height:e.getHeight()},a=this._orient===KI?{right:o.width-i.x-i.width,top:o.height-XI-qI-r,width:i.width,height:XI}:{right:qI,top:i.y,width:XI,height:i.height},s=ar["f"](t.option);Object(b["each"])(["right","top","width","height"],(function(t){"ph"===s[t]&&(s[t]=a[t])}));var l=ar["g"](s,o);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===$I&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==KI||i?n===KI&&i?{scaleY:a?1:-1,scaleX:-1}:n!==$I||i?{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,n=this._displayables.sliderGroup,r=t.get("brushSelect");n.add(new UI({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new UI({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:Object(b["bind"])(this._onClickPanel,this)}),o=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(i)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],r=t.series,i=r.getRawData(),o=r.getShadowDim&&r.getShadowDim(),a=o&&i.getDimensionInfo(o)?r.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var c=i.getDataExtent(a),u=.3*(c[1]-c[0]);c=[c[0]-u,c[1]+u];var h,d=[0,e[1]],p=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=p[1]/(i.count()-1),v=0,m=Math.round(i.count()/e[0]);i.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||""===t,r=n?0:Object(Ve["m"])(t,c,d,!0);n&&!h&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&h&&(f.push([v,0]),g.push([v,0])),f.push([v,r]),g.push([v,r]),v+=y,h=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=i,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var b=this.dataZoomModel,x=0;x<3;x++){var _=O(1===x);this._displayables.sliderGroup.add(_),this._displayables.dataShadowSegs.push(_)}}}function O(t){var e=b.getModel(t?"selectedDataBackground":"dataBackground"),n=new te["a"],r=new Co["a"]({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new pr["a"]({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,r=this.ecModel;return t.eachTargetAxis((function(i,o){var a=t.getAxisProxy(i,o).getTargetSeriesModels();Object(b["each"])(a,(function(t){if(!n&&!(!0!==e&&Object(b["indexOf"])(QI,t.get("type"))<0)){var a,s=r.getComponent(OO(i),o).axis,l=nC(i),c=t.coordinateSystem;null!=l&&c.getOtherAxis&&(a=c.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:i,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],r=e.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,c=a.get("brushSelect"),u=e.filler=new UI({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});i.add(u),i.add(new UI({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:YI,fill:"rgba(0,0,0,0)"}})),Object(b["each"])([0,1],(function(e){var o=a.get("handleIcon");!Qt["d"][o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=Object(Qt["a"])(o,-1,0,2,2,null,!0);s.attr({cursor:rC(this._orient),draggable:!0,drift:Object(b["bind"])(this._onDragMove,this,e),ondragend:Object(b["bind"])(this._onDragEnd,this),onmouseover:Object(b["bind"])(this._showDataInfo,this,!0),onmouseout:Object(b["bind"])(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),c=a.get("handleSize");this._handleHeight=Object(Ve["q"])(c,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(),Object(ae["o"])(s);var u=a.get("handleColor");null!=u&&(s.style.fill=u),i.add(n[e]=s);var h=a.getModel("textStyle");t.add(r[e]=new tt["a"]({silent:!0,invisible:!0,style:Object(ue["c"])(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))}),this);var h=u;if(c){var d=Object(Ve["q"])(a.get("moveHandleSize"),o[1]),p=e.moveHandle=new ze["a"]({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:d}}),f=.8*d,g=e.moveHandleIcon=Object(Qt["a"])(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+d/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(d,10));h=e.moveZone=new ze["a"]({invisible:!0,shape:{y:o[1]-y,height:d+y}}),h.on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),i.add(p),i.add(g),i.add(h)}h.attr({draggable:!0,cursor:rC(this._orient),drift:Object(b["bind"])(this._onDragMove,this,"all"),ondragstart:Object(b["bind"])(this._showDataInfo,this,!0),ondragend:Object(b["bind"])(this._onDragEnd,this),onmouseover:Object(b["bind"])(this._showDataInfo,this,!0),onmouseout:Object(b["bind"])(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Object(Ve["m"])(t[0],[0,100],e,!0),Object(Ve["m"])(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];$d(e,r,i,n.get("zoomLock")?"all":t,null!=o.minSpan?Object(Ve["m"])(o.minSpan,a,i,!0):null,null!=o.maxSpan?Object(Ve["m"])(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=Object(Ve["c"])([Object(Ve["m"])(r[0],i,a,!0),Object(Ve["m"])(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,r=Object(Ve["c"])(n.slice()),i=this._size;Object(b["each"])([0,1],(function(t){var r=e.handles[t],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:i[1]/2-o/2})}),this),e.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var o={x:r[0],width:r[1]-r[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,r[0],r[1],i[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new fr["a"](e,n),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 n=e.shape,r=+new Date;if(!(r-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),o=[0,100];this._range=Object(Ve["c"])([Object(Ve["m"])(n.x,i,o,!0),Object(Ve["m"])(n.x+n.width,i,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(Ko["g"](t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new UI({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),c=this._size;s[0]=Math.max(Math.min(c[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:c[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?tC:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=SO(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var r=this.api.getWidth(),i=this.api.getHeight();t={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return t},e.type="dataZoom.slider",e}(kO);function nC(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function rC(t){return"vertical"===t?"ns-resize":"ew-resize"}var iC=eC;function oC(t){t.registerComponentModel(WI),t.registerComponentView(iC),UO(t)}function aC(t){Object(r["a"])(GI),Object(r["a"])(oC)}var sC={get:function(t,e,n){var r=b["clone"]((lC[t]||{})[e]);return n&&b["isArray"](r)?r[r.length-1]:r}},lC={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]}},cC=sC,uC=ru.mapVisual,hC=ru.eachVisual,dC=b["isArray"],pC=b["each"],fC=Ve["c"],gC=Ve["m"],yC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return Object(Kt["a"])(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&KS(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=b["bind"](t,this),this.controllerVisuals=ZS(this.option.controller,e,t),this.targetVisuals=ZS(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,n){e.push(n)})):e=Ie["r"](t),e},e.prototype.eachTargetSeries=function(t,e){b["each"](this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&t.call(e,r)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var r,i=this.option,o=i.precision,a=this.dataBound,s=i.formatter;n=n||["<",">"],b["isArray"](t)&&(t=t.slice(),r=!0);var l=e?t:r?[c(t[0]),c(t[1])]:c(t);return b["isString"](s)?s.replace("{value}",r?l[0]:l).replace("{value2}",r?l[1]:l):b["isFunction"](s)?r?s(t[0],t[1]):s(t):r?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function c(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=fC([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 n=t.dimensions,r=n.length-1;r>=0;r--){var i=n[r],o=t.getDimensionInfo(i);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,n={inRange:e.inRange,outOfRange:e.outOfRange},r=e.target||(e.target={}),i=e.controller||(e.controller={});b["merge"](r,n),b["merge"](i,n);var o=this.isCategory();function a(n){dC(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}function s(t,e,n){var r=t[e],i=t[n];r&&!i&&(i=t[n]={},pC(r,(function(t,e){if(ru.isValidType(e)){var n=cC.get(e,"inactive",o);null!=n&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}function l(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),i=this.getItemSymbol(),a=i||"roundRect";pC(this.stateList,(function(i){var s=this.itemSize,l=t[i];l||(l=t[i]={color:o?r:[r]}),null==l.symbol&&(l.symbol=e&&b["clone"](e)||(o?a:[a])),null==l.symbolSize&&(l.symbolSize=n&&b["clone"](n)||(o?s[0]:[s[0],s[0]])),l.symbol=uC(l.symbol,(function(t){return"none"===t?a:t}));var c=l.symbolSize;if(null!=c){var u=-1/0;hC(c,(function(t){t>u&&(u=t)})),l.symbolSize=uC(c,(function(t){return gC(t,[0,u],[0,s[0]],!0)}))}}),this)}a.call(this,r),a.call(this,i),s.call(this,r,"inRange","outOfRange"),l.call(this,i)},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}(Zr["a"]),vC=yC,mC=[20,140],bC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.optionUpdated=function(e,n){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]=mC[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=mC[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):b["isArray"](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),b["each"](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=Ve["c"]((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimensionIndex(i),(function(e,n){t[0]<=e&&e<=t[1]&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},e.prototype.getVisualMeta=function(t){var e=xC(this,"outOfRange",this.getExtent()),n=xC(this,"inRange",this.option.range.slice()),r=[];function i(e,n){r.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;r.push({color:this.getControllerVisual(a,"color",e),offset:o/n})}return r.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),r},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new te["a"]("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{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 n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels,a=r.itemSize,s=r.getExtent();CC([0,1],(function(l){var c=i[l];c.setStyle("fill",e.handlesColor[l]),c.y=t[l];var u=IC(t[l],[0,a[1]],s,!0),h=this.getControllerVisual(u,"symbolSize");c.scaleX=c.scaleY=h/a[0],c.x=a[0]-h/2;var d=ie["applyTransform"](n.handleLabelPoints[l],ie["getTransform"](c,this.group));o[l].setStyle({x:d[0],y:d[1],text:r.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,s=[0,a[1]],l=this._shapes,c=l.indicator;if(c){c.attr("invisible",!1);var u={convertOpacityToAlpha:!0},h=this.getControllerVisual(t,"color",u),d=this.getControllerVisual(t,"symbolSize"),p=IC(t,o,s,!0),f=a[0]-d/2,g={x:c.x,y:c.y};c.y=p,c.x=f;var y=ie["applyTransform"](l.indicatorLabelPoint,ie["getTransform"](c,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),b=this._orient,x="horizontal"===b;v.setStyle({text:(n||"")+i.formatValueText(e),verticalAlign:x?m:"middle",align:x?"center":m});var _={x:f,y:p,style:{fill:h}},O={style:{x:y[0],y:y[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var w={duration:100,easing:"cubicInOut",additive:!0};c.x=g.x,c.y=g.y,c.animateTo(_,w),v.animateTo(O,w)}else c.attr(_),v.attr(O);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var j=0;ji[1]&&(c[1]=1/0),e&&(c[0]===-1/0?this._showIndicator(l,c[1],"< ",a):c[1]===1/0?this._showIndicator(l,c[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var u=this._hoverLinkDataIndices,h=[];(e||EC(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var d=Ie["d"](u,h);this._dispatchHighDown("downplay",MC(d[0],n)),this._dispatchHighDown("highlight",MC(d[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(Object(Js["a"])(t.target,(function(t){var n=Object(oe["a"])(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var i=n.getData(e.dataType),o=i.getStore().get(r.getDataDimensionIndex(i),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 n=0;n=0&&(i.dimension=o,r.push(i))}})),t.getData().setVisual("visualMeta",r)}}];function GC(t,e,n,r){for(var i=e.targetVisuals[r],o=ru.prepareVisualTypes(i),a={color:Object(qS["b"])(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(BC,VC),Object(b["each"])(FC,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(WC))}function XC(t){t.registerComponentModel(_C),t.registerComponentView(zC),YC(t)}var ZC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return Object(Kt["a"])(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],KC[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var i=this.option.categories;this.resetVisual((function(t,e){"categories"===r?(t.mappingMethod="category",t.categories=b["clone"](i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=b["map"](this._pieceList,(function(t){return t=b["clone"](t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},r=ru.listVisualTypes(),i=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}b["each"](e.pieces,(function(t){b["each"](r,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),b["each"](n,(function(t,n){var r=!1;b["each"](this.stateList,(function(t){r=r||o(e,t,n)||o(e.target,t,n)}),this),!r&&b["each"](this.stateList,(function(t){(e[t]||(e[t]={}))[n]=cC.get(n,"inRange"===t?"active":"inactive",i)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,r=this._pieceList,i=(e?n:t).selected||{};if(n.selected=i,b["each"](r,(function(t,e){var n=this.getSelectedMapKey(t);i.hasOwnProperty(n)||(i[n]=!0)}),this),"single"===n.selectedMode){var o=!1;b["each"](r,(function(t,e){var n=this.getSelectedMapKey(t);i[n]&&(o?i[n]=!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=b["clone"](t)},e.prototype.getValueState=function(t){var e=ru.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(r){var i=[],o=r.getData();o.each(this.getDataDimensionIndex(o),(function(e,r){var o=ru.findPieceIndex(e,n);o===t&&i.push(r)}),this),e.push({seriesId:r.id,dataIndex:i})}),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 n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],r=this,i=this._pieceList.slice();if(i.length){var o=i[0].interval[0];o!==-1/0&&i.unshift({interval:[-1/0,o]}),o=i[i.length-1].interval[1],o!==1/0&&i.push({interval:[o,1/0]})}else i.push({interval:[-1/0,1/0]});var a=-1/0;return b["each"](i,(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:n}}function s(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=t(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:e.push({value:i[0],color:s},{value:i[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Object(On["d"])(vC.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}(vC),KC={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),r=this.getExtent(),i=e.splitNumber;i=Math.max(parseInt(i,10),1),e.splitNumber=i;var o=(r[1]-r[0])/i;while(+o.toFixed(n)!==o&&n<5)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,s=r[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function $C(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var JC=ZC,QC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Object(Kt["a"])(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),r=e.textStyleModel,i=r.getFont(),o=r.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),c=l.endsText,u=b["retrieve"](e.get("showLabel",!0),!c);c&&this._renderEndsText(t,c[0],s,u,a),b["each"](l.viewPieceList,(function(r){var l=r.piece,c=new te["a"];c.onclick=b["bind"](this._onItemClick,this,l),this._enableHoverLink(c,r.indexInModelPieceList);var h=e.getRepresentValue(l);if(this._createItemSymbol(c,h,[0,0,s[0],s[1]]),u){var d=this.visualMapModel.getValueState(h);c.add(new tt["a"]({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:i,fill:o,opacity:"outOfRange"===d?.5:1}}))}t.add(c)}),this),c&&this._renderEndsText(t,c[1],s,u,a),ar["b"](e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return r("highlight")})).on("mouseout",(function(){return r("downplay")}));var r=function(t){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:t,batch:MC(r.findTargetDataIndices(e),r)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return jC(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,r,i){if(e){var o=new te["a"],a=this.visualMapModel.textStyleModel;o.add(new tt["a"]({style:Object(ue["c"])(a,{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?i:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=b["map"](t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),r=t.get("orient"),i=t.get("inverse");return("horizontal"===r?i:!i)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(Object(Qt["a"])(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,r=n.selectedMode;if(r){var i=b["clone"](n.selected),o=e.getSelectedMapKey(t);"single"===r||!0===r?(i[o]=!0,b["each"](i,(function(t,e){i[e]=e===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},e.type="visualMap.piecewise",e}(wC),tA=QC;function eA(t){t.registerComponentModel(JC),t.registerComponentView(tA),YC(t)}function nA(t){Object(r["a"])(XC),Object(r["a"])(eA)}var rA={label:{enabled:!0},decal:{show:!1}},iA=Object(Ie["o"])(),oA={};function aA(t,e){var n=t.getModel("aria");if(n.get("enabled")){var r=b["clone"](rA);b["merge"](r.label,t.getLocaleModel().get("aria"),!1),b["merge"](n.option,r,!1),i(),o()}function i(){var e=n.getModel("decal"),r=e.get("show");if(r){var i=b["createHashMap"]();t.eachSeries((function(t){if(!t.isColorBySeries()){var e=i.get(t.type);e||(e={},i.set(t.type,e)),iA(t).scope=e}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(b["isFunction"](e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var r=Object(ac["b"])(e.ecModel,e.name,oA,t.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",c(i,r))}else{var o=e.getRawData(),a={},s=iA(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var r=a[t],i=o.getName(t)||t+"",u=Object(ac["b"])(e.ecModel,i,s,l),h=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",c(h,u))}))}}function c(t,e){var n=t?b["extend"](b["extend"]({},e),t):e;return n.dirty=!0,n}}))}}function o(){var r=t.getLocaleModel().get("aria"),i=n.getModel("label");if(i.option=b["defaults"](i.option,r),i.get("enabled")){var o=e.getZr().dom;if(i.get("description"))o.setAttribute("aria-label",i.get("description"));else{var c,u=t.getSeriesCount(),h=i.get(["data","maxCount"])||10,d=i.get(["series","maxCount"])||10,p=Math.min(u,d);if(!(u<1)){var f=s();if(f){var g=i.get(["general","withTitle"]);c=a(g,{title:f})}else c=i.get(["general","withoutTitle"]);var y=[],v=u>1?i.get(["series","multiple","prefix"]):i.get(["series","single","prefix"]);c+=a(v,{seriesCount:u}),t.eachSeries((function(t,e){if(e1?i.get(["series","multiple",o]):i.get(["series","single",o]),n=a(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:l(t.subType)});var s=t.getData();if(s.count()>h){var c=i.get(["data","partialData"]);n+=a(c,{displayCnt:h})}else n+=i.get(["data","allData"]);for(var d=i.get(["data","separator","middle"]),f=i.get(["data","separator","end"]),g=[],v=0;v":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},uA=function(){function t(t){var e=this._condVal=Object(b["isString"])(t)?new RegExp(t):Object(b["isRegExp"])(t)?t:null;if(null==e){var n="";0,Object(Bc["c"])(n)}}return t.prototype.evaluate=function(t){var e=typeof t;return Object(b["isString"])(e)?this._condVal.test(t):!!Object(b["isNumber"])(e)&&this._condVal.test(t+"")},t}(),hA=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),dA=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,r,i){CA(t,r)&&CA(n,i)||e.push(t,n,r,i,r,i)}function g(t,n,r,i,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,c=nS:I2&&l.push(e),l}function TA(t,e,n,r,i,o,a,s,l,c){if(CA(t,n)&&CA(e,r)&&CA(i,a)&&CA(o,s))l.push(a,s);else{var u=2/c,h=u*u,d=a-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var g=n-t,y=r-e,v=i-a,m=o-s,b=g*g+y*y,x=v*v+m*m;if(b=0&&S=0)l.push(a,s);else{var j=[],M=[];Object(Ce["g"])(t,n,i,a,.5,j),Object(Ce["g"])(e,r,o,s,.5,M),TA(j[0],M[0],j[1],M[1],j[2],M[2],j[3],M[3],l,c),TA(j[4],M[4],j[5],M[5],j[6],M[6],j[7],M[7],l,c)}}}}function DA(t,e){var n=AA(t),r=[];e=e||1;for(var i=0;i0)for(c=0;cMath.abs(c),h=kA([l,c],u?0:1,e),d=(u?s:c)/h.length,p=0;pi,a=kA([r,i],o?0:1,e),s=o?"width":"height",l=o?"height":"width",c=o?"x":"y",u=o?"y":"x",h=t[s]/a.length,d=0;d1?null:new fr["a"](g*l+t,g*c+e)}function NA(t,e,n){var r=new fr["a"];fr["a"].sub(r,n,e),r.normalize();var i=new fr["a"];fr["a"].sub(i,t,e);var o=i.dot(r);return o}function zA(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function BA(t,e,n){for(var r=t.length,i=[],o=0;oa?(c.x=u.x=s+o/2,c.y=l,u.y=l+a):(c.y=u.y=l+a/2,c.x=s,u.x=s+o),BA(e,c,u)}function FA(t,e,n,r){if(1===n)r.push(e);else{var i=Math.floor(n/2),o=t(e);FA(t,o[0],i,r),FA(t,o[1],n-i,r)}return r}function GA(t,e){for(var n=[],r=0;r0)for(var _=r/n,O=-r/2;O<=r/2;O+=_){var w=Math.sin(O),S=Math.cos(O),j=0;for(b=0;b0;c/=2){var u=0,h=0;(t&c)>0&&(u=1),(e&c)>0&&(h=1),l+=c*c*(3*u^h),0===h&&(1===u&&(t=c-1-t,e=c-1-e),s=t,t=e,e=s)}return l}function sT(t){var e=1/0,n=1/0,r=-1/0,i=-1/0,o=Object(b["map"])(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),n=Math.min(l,n),r=Math.max(s,r),i=Math.max(l,i),[s,l]})),a=Object(b["map"])(o,(function(o,a){return{cp:o,z:aT(o[0],o[1],e,n,r,i),path:t[a]}}));return a.sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function lT(t){return UA(t.path,t.count)}function cT(){return{fromIndividuals:[],toIndividuals:[],count:0}}function uT(t,e,n){var r=[];function i(t){for(var e=0;e=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var c=Math.ceil(o/2);n[i].many=l.slice(c,o),n[s].many=l.slice(0,c),s++}return n}var fT={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),r=0;r0){var s,l,c=r.getModel("universalTransition").get("delay"),u=Object.assign({setToFinal:!0},a);dT(t)&&(s=t,l=e),dT(e)&&(s=e,l=t);for(var h=s?s===t:t.length>e.length,d=s?pT(l,s):pT(h?e:t,[h?t:e]),p=0,f=0;fvT))for(var r=n.getIndices(),i=bT(n),o=0;o0&&i.group.traverse((function(t){t instanceof s["b"]&&!t.animators.length&&t.animateFrom({style:{opacity:0}},o)}))}))}function IT(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function CT(t){return Object(b["isArray"])(t)?t.sort().join(","):t}function AT(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function TT(t,e){var n=Object(b["createHashMap"])(),r=Object(b["createHashMap"])(),i=Object(b["createHashMap"])();return Object(b["each"])(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=IT(e),l=CT(s);r.set(l,{dataGroupId:o,data:a}),Object(b["isArray"])(s)&&Object(b["each"])(s,(function(t){i.set(t,{key:l,dataGroupId:o,data:a})}))})),Object(b["each"])(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=IT(t),s=CT(a),l=r.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:AT(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:AT(o),data:o}]});else if(Object(b["isArray"])(a)){0;var c=[];Object(b["each"])(a,(function(t){var e=r.get(t);e.data&&c.push({dataGroupId:e.dataGroupId,divide:AT(e.data),data:e.data})})),c.length&&n.set(s,{oldSeries:c,newSeries:[{dataGroupId:e,data:o,divide:AT(o)}]})}else{var u=i.get(a);if(u){var h=n.get(u.key);h||(h={oldSeries:[{dataGroupId:u.dataGroupId,data:u.data,divide:AT(u.data)}],newSeries:[]},n.set(u.key,h)),h.newSeries.push({dataGroupId:e,data:o,divide:AT(o)})}}}})),n}function DT(t,e){for(var n=0;n=0&&i.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:AT(e.oldData[n]),dim:t.dimension})})),Object(b["each"])(Object(Ie["r"])(t.to),(function(t){var r=DT(n.updatedSeries,t);if(r>=0){var i=n.updatedSeries[r].getData();o.push({dataGroupId:e.oldDataGroupIds[r],data:i,divide:AT(i),dim:t.dimension})}})),i.length>0&&o.length>0&&MT(i,o,r)}function LT(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){Object(b["each"])(Object(Ie["r"])(n.seriesTransition),(function(t){Object(b["each"])(Object(Ie["r"])(t.to),(function(t){for(var e=n.updatedSeries,r=0;r1&&(a*=p(x),s*=p(x));var _=(i===o?-1:1)*p((a*a*(s*s)-a*a*(v*v)-s*s*(d*d))/(a*a*(v*v)+s*s*(d*d)))||0,O=_*a*v/s,w=_*-s*d/a,S=(t+n)/2+g(h)*O-f(h)*w,j=(e+r)/2+f(h)*O+g(h)*w,M=b([1,0],[(d-O)/a,(v-w)/s]),I=[(d-O)/a,(v-w)/s],C=[(-1*d-O)/a,(-1*v-w)/s],A=b(I,C);if(m(I,C)<=-1&&(A=y),m(I,C)>=1&&(A=0),A<0){var T=Math.round(A/y*1e6)/1e6;A=2*y+T%2*y}u.addData(c,S,j,a,s,M,A,h,o)}var _=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,O=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function w(t){var e=new o["a"];if(!t)return e;var n,r=0,i=0,a=r,s=i,l=o["a"].CMD,c=t.match(_);if(!c)return e;for(var u=0;u=0&&r(c)?c:.5;var u=t.createRadialGradient(s,l,0,s,l,c);return u}function a(t,e,n){for(var r="radial"===e.type?o(t,e,n):i(t,e,n),a=e.colorStops,s=0;s0){if(t<=i)return a;if(t>=o)return s}else{if(t>=i)return a;if(t<=o)return s}else{if(t===i)return a;if(t===o)return s}return(t-i)/l*c+a}function l(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return r["isString"](t)?a(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function c(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),o),t=(+t).toFixed(e),n?t:+t}function u(t){return t.sort((function(t,e){return t-e})),t}function h(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return d(t)}function d(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),r=n>0?+e.slice(n+1):0,i=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function p(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),o=Math.round(n(Math.abs(e[1]-e[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function f(t,e,n){if(!t[e])return 0;var r=g(t,n);return r[e]||0}function g(t,e){var n=r["reduce"](t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];var i=Math.pow(10,e),o=r["map"](t,(function(t){return(isNaN(t)?0:t)/n*i*100})),a=100*i,s=r["map"](o,(function(t){return Math.floor(t)})),l=r["reduce"](s,(function(t,e){return t+e}),0),c=r["map"](o,(function(t,e){return t-s[e]}));while(lu&&(u=c[d],h=d);++s[h],c[h]=0,++l}return r["map"](s,(function(t){return t/i}))}function y(t,e){var n=Math.max(h(t),h(e)),r=t+e;return n>o?r:c(r,n)}var v=9007199254740991;function m(t){var e=2*Math.PI;return(t%e+e)%e}function b(t){return t>-i&&t=10&&e++,e}function S(t,e){var n,r=w(t),i=Math.pow(10,r),o=t/i;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=n*i,r>=-20?+t.toFixed(r<0?-r:0):t}function j(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i}function M(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,r=0;r=0&&(s=c.interpolatedValue[l])}return null!=s?s+"":""}))}},t.prototype.getRawValue=function(t,e){return Object(i["e"])(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return r["isObject"](t)?t.type&&(n=t):e=t,{text:e,frag:n}}},3901:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r=n("282b"),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=Object(r["a"])(i),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},"392f":function(t,e,n){"use strict";var r=n("21a1"),i=n("19eb"),o=n("9850"),a=[],s=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 Object(r["a"])(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 n=0;n{t===this.plugin.id&&this.fallbacks.setSettings(e)}),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise(n=>{this.targetQueue.push({method:e,args:t,resolve:n})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function l(t,e){const n=t,o=Object(r["b"])(),a=Object(r["a"])(),l=r["c"]&&n.enableEarlyProxy;if(!a||!o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&l){const t=l?new s(n,a):null,r=o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[];r.push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else a.emit(i,t,e)}},"401b":function(t,e,n){"use strict";function r(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function i(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,n){return t[0]=e,t[1]=n,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function l(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function u(t){return Math.sqrt(d(t))}n.r(e),n.d(e,"create",(function(){return r})),n.d(e,"copy",(function(){return i})),n.d(e,"clone",(function(){return o})),n.d(e,"set",(function(){return a})),n.d(e,"add",(function(){return s})),n.d(e,"scaleAndAdd",(function(){return l})),n.d(e,"sub",(function(){return c})),n.d(e,"len",(function(){return u})),n.d(e,"length",(function(){return h})),n.d(e,"lenSquare",(function(){return d})),n.d(e,"lengthSquare",(function(){return p})),n.d(e,"mul",(function(){return f})),n.d(e,"div",(function(){return g})),n.d(e,"dot",(function(){return y})),n.d(e,"scale",(function(){return v})),n.d(e,"normalize",(function(){return m})),n.d(e,"distance",(function(){return b})),n.d(e,"dist",(function(){return x})),n.d(e,"distanceSquare",(function(){return _})),n.d(e,"distSquare",(function(){return O})),n.d(e,"negate",(function(){return w})),n.d(e,"lerp",(function(){return S})),n.d(e,"applyTransform",(function(){return j})),n.d(e,"min",(function(){return M})),n.d(e,"max",(function(){return I}));var h=u;function d(t){return t[0]*t[0]+t[1]*t[1]}var p=d;function f(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function g(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function y(t,e){return t[0]*e[0]+t[1]*e[1]}function v(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function m(t,e){var n=u(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function b(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var x=b;function _(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var O=_;function w(t,e){return t[0]=-e[0],t[1]=-e[1],t}function S(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function j(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function M(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function I(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},4041:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a}));var r=n("e0d3"),i=Object(r["o"])(),o=Object(r["o"])(),a=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var o=Object(r["r"])(this.get("color",!0)),a=this.get("colorLayer",!0);return c(this,i,o,a,t,e,n)},t.prototype.clearColorPalette=function(){u(this,i)},t}();function s(t,e,n,i){var a=Object(r["r"])(t.get(["aria","decal","decals"]));return c(t,o,a,null,e,n,i)}function l(t,e){for(var n=t.length,r=0;re)return t[r];return t[n-1]}function c(t,e,n,r,i,o,a){o=o||t;var s=e(o),c=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var h=null!=a&&r?l(r,a):n;if(h=h||n,h&&h.length){var d=h[c];return i&&(u[i]=d),s.paletteIdx=(c+1)%h.length,d}}function u(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}},"41ef":function(t,e,n){"use strict";n.r(e),n.d(e,"parse",(function(){return v})),n.d(e,"lift",(function(){return x})),n.d(e,"toHex",(function(){return _})),n.d(e,"fastLerp",(function(){return O})),n.d(e,"fastMapToColor",(function(){return w})),n.d(e,"lerp",(function(){return S})),n.d(e,"mapToColor",(function(){return j})),n.d(e,"modifyHSL",(function(){return M})),n.d(e,"modifyAlpha",(function(){return I})),n.d(e,"stringify",(function(){return C})),n.d(e,"lum",(function(){return A})),n.d(e,"random",(function(){return T}));var r=n("d51b"),i={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 o(t){return t=Math.round(t),t<0?0:t>255?255:t}function a(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function c(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function u(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n){return t+(e-t)*n}function d(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new r["a"](20),g=null;function y(t,e){g&&p(g,e),g=f.put(t,g||e.slice())}function v(t,e){if(t){e=e||[];var n=f.get(t);if(n)return p(e,n);t+="";var r=t.replace(/ /g,"").toLowerCase();if(r in i)return p(e,i[r]),y(t,e),e;var o=r.length;if("#"!==r.charAt(0)){var a=r.indexOf("("),s=r.indexOf(")");if(-1!==a&&s+1===o){var u=r.substr(0,a),h=r.substr(a+1,s-(a+1)).split(","),g=1;switch(u){case"rgba":if(4!==h.length)return 3===h.length?d(e,+h[0],+h[1],+h[2],1):d(e,0,0,0,1);g=c(h.pop());case"rgb":return h.length>=3?(d(e,l(h[0]),l(h[1]),l(h[2]),3===h.length?g:c(h[3])),y(t,e),e):void d(e,0,0,0,1);case"hsla":return 4!==h.length?void d(e,0,0,0,1):(h[3]=c(h[3]),m(h,e),y(t,e),e);case"hsl":return 3!==h.length?void d(e,0,0,0,1):(m(h,e),y(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===o||5===o){var v=parseInt(r.slice(1,4),16);return v>=0&&v<=4095?(d(e,(3840&v)>>4|(3840&v)>>8,240&v|(240&v)>>4,15&v|(15&v)<<4,5===o?parseInt(r.slice(4),16)/15:1),y(t,e),e):void d(e,0,0,0,1)}if(7===o||9===o){v=parseInt(r.slice(1,7),16);return v>=0&&v<=16777215?(d(e,(16711680&v)>>16,(65280&v)>>8,255&v,9===o?parseInt(r.slice(7),16)/255:1),y(t,e),e):void d(e,0,0,0,1)}}}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=c(t[1]),i=c(t[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return e=e||[],d(e,o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function b(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,c=(s+a)/2;if(0===l)e=0,n=0;else{n=c<.5?l/(s+a):l/(2-s-a);var u=((s-r)/6+l/2)/l,h=((s-i)/6+l/2)/l,d=((s-o)/6+l/2)/l;r===s?e=d-h:i===s?e=1/3+u-d:o===s&&(e=2/3+h-u),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,c];return null!=t[3]&&p.push(t[3]),p}}function x(t,e){var n=v(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return C(n,4===n.length?"rgba":"rgb")}}function _(t){var e=v(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function O(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),l=e[i],c=e[a],u=r-i;return n[0]=o(h(l[0],c[0],u)),n[1]=o(h(l[1],c[1],u)),n[2]=o(h(l[2],c[2],u)),n[3]=s(h(l[3],c[3],u)),n}}var w=O;function S(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),l=v(e[i]),c=v(e[a]),u=r-i,d=C([o(h(l[0],c[0],u)),o(h(l[1],c[1],u)),o(h(l[2],c[2],u)),s(h(l[3],c[3],u))],"rgba");return n?{color:d,leftIndex:i,rightIndex:a,value:r}:d}}var j=S;function M(t,e,n,r){var i=v(t);if(t)return i=b(i),null!=e&&(i[0]=a(e)),null!=n&&(i[1]=c(n)),null!=r&&(i[2]=c(r)),C(m(i),"rgba")}function I(t,e){var n=v(t);if(n&&null!=e)return n[3]=s(e),C(n,"rgba")}function C(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function A(t,e){var n=v(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function T(){return C([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}},"42e5":function(t,e,n){"use strict";var r=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();e["a"]=r},4319:function(t,e,n){"use strict";var r=n("22d1"),i=n("625e"),o=n("282b"),a=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],s=Object(o["a"])(a),l=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return s(this,t,e)},t}(),c=n("7837"),u=n("76a5"),h=["textStyle","color"],d=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],p=new u["a"],f=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(h):null)},t.prototype.getFont=function(){return Object(c["d"])({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")},n=0;n=3&&(!s||s>=3)?3:g>=2&&(!s||s>=2)?2:1:1,l=1/s}if(i.setAttribute("data-dpr",s),!o)if(o=r.createElement("meta"),o.setAttribute("name","viewport"),o.setAttribute("content","initial-scale="+l+", maximum-scale="+l+", minimum-scale="+l+", user-scalable=no"),i.firstElementChild)i.firstElementChild.appendChild(o);else{var y=r.createElement("div");y.appendChild(o),r.write(y.innerHTML)}function v(){var e=i.getBoundingClientRect().width;e/s<1366?e=1366*s:e/s>2560&&(e=2560*s);var n=e/24;i.style.fontSize=n+"px",c.rem=t.rem=n}t.addEventListener("resize",(function(){clearTimeout(n),n=setTimeout(v,300)}),!1),t.addEventListener("pageshow",(function(t){t.persisted&&(clearTimeout(n),n=setTimeout(v,300))}),!1),"complete"===r.readyState?r.body.style.fontSize=12*s+"px":r.addEventListener("DOMContentLoaded",(function(t){r.body.style.fontSize=12*s+"px"}),!1),v(),c.dpr=t.dpr=s,c.refreshRem=v,c.rem2px=function(t){var e=parseFloat(t)*this.rem;return"string"===typeof t&&t.match(/rem$/)&&(e+="px"),e},c.px2rem=function(t){var e=parseFloat(t)/this.rem;return"string"===typeof t&&t.match(/px$/)&&(e+="rem"),e}})(window,window["lib"]||(window["lib"]={}))},"4a3f":function(t,e,n){"use strict";n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return y})),n.d(e,"f",(function(){return v})),n.d(e,"c",(function(){return m})),n.d(e,"g",(function(){return b})),n.d(e,"e",(function(){return x})),n.d(e,"d",(function(){return _})),n.d(e,"h",(function(){return O})),n.d(e,"i",(function(){return w})),n.d(e,"m",(function(){return S})),n.d(e,"j",(function(){return j})),n.d(e,"n",(function(){return M})),n.d(e,"l",(function(){return I})),n.d(e,"k",(function(){return C}));var r=n("401b"),i=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,l=o(3),c=1/3,u=Object(r["create"])(),h=Object(r["create"])(),d=Object(r["create"])();function p(t){return t>-a&&ta||t<-a}function g(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function y(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function v(t,e,n,r,a,s){var u=r+3*(e-n)-t,h=3*(n-2*e+t),d=3*(e-t),f=t-a,g=h*h-3*u*d,y=h*d-9*u*f,v=d*d-3*h*f,m=0;if(p(g)&&p(y))if(p(h))s[0]=0;else{var b=-d/h;b>=0&&b<=1&&(s[m++]=b)}else{var x=y*y-4*g*v;if(p(x)){var _=y/g,O=(b=-h/u+_,-_/2);b>=0&&b<=1&&(s[m++]=b),O>=0&&O<=1&&(s[m++]=O)}else if(x>0){var w=o(x),S=g*h+1.5*u*(-y+w),j=g*h+1.5*u*(-y-w);S=S<0?-i(-S,c):i(S,c),j=j<0?-i(-j,c):i(j,c);b=(-h-(S+j))/(3*u);b>=0&&b<=1&&(s[m++]=b)}else{var M=(2*g*h-3*u*y)/(2*o(g*g*g)),I=Math.acos(M)/3,C=o(g),A=Math.cos(I),T=(b=(-h-2*C*A)/(3*u),O=(-h+C*(A+l*Math.sin(I)))/(3*u),(-h+C*(A-l*Math.sin(I)))/(3*u));b>=0&&b<=1&&(s[m++]=b),O>=0&&O<=1&&(s[m++]=O),T>=0&&T<=1&&(s[m++]=T)}}return m}function m(t,e,n,r,i){var a=6*n-12*e+6*t,s=9*e+3*r-3*t-9*n,l=3*e-3*t,c=0;if(p(s)){if(f(a)){var u=-l/a;u>=0&&u<=1&&(i[c++]=u)}}else{var h=a*a-4*s*l;if(p(h))i[0]=-a/(2*s);else if(h>0){var d=o(h),g=(u=(-a+d)/(2*s),(-a-d)/(2*s));u>=0&&u<=1&&(i[c++]=u),g>=0&&g<=1&&(i[c++]=g)}}return c}function b(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,l=(r-n)*i+n,c=(s-a)*i+a,u=(l-s)*i+s,h=(u-c)*i+c;o[0]=t,o[1]=a,o[2]=c,o[3]=h,o[4]=h,o[5]=u,o[6]=l,o[7]=r}function x(t,e,n,i,a,l,c,p,f,y,v){var m,b,x,_,O,w=.005,S=1/0;u[0]=f,u[1]=y;for(var j=0;j<1;j+=.05)h[0]=g(t,n,a,c,j),h[1]=g(e,i,l,p,j),_=Object(r["distSquare"])(u,h),_=0&&_=0&&u<=1&&(i[c++]=u)}}else{var h=s*s-4*a*l;if(p(h)){u=-s/(2*a);u>=0&&u<=1&&(i[c++]=u)}else if(h>0){var d=o(h),g=(u=(-s+d)/(2*a),(-s-d)/(2*a));u>=0&&u<=1&&(i[c++]=u),g>=0&&g<=1&&(i[c++]=g)}}return c}function j(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function M(t,e,n,r,i){var o=(e-t)*r+t,a=(n-e)*r+e,s=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function I(t,e,n,i,a,l,c,p,f){var g,y=.005,v=1/0;u[0]=c,u[1]=p;for(var m=0;m<1;m+=.05){h[0]=O(t,n,a,m),h[1]=O(e,i,l,m);var b=Object(r["distSquare"])(u,h);b=0&&bk*k+L*L&&(M=C,I=A),{cx:M,cy:I,x0:-u,y0:-h,x1:M*(i/w-1),y1:I*(i/w-1)}}function b(t){var e;if(Object(o["isArray"])(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function x(t,e){var n,r=f(e.r,0),i=f(e.r0||0,0),o=r>0,x=i>0;if(o||x){if(o||(r=i,i=0),i>r){var _=r;r=i,i=_}var O=e.startAngle,w=e.endAngle;if(!isNaN(O)&&!isNaN(w)){var S=e.cx,j=e.cy,M=!!e.clockwise,I=d(w-O),C=I>s&&I%s;if(C>y&&(I=C),r>y)if(I>s-y)t.moveTo(S+r*c(O),j+r*l(O)),t.arc(S,j,r,O,w,!M),i>y&&(t.moveTo(S+i*c(w),j+i*l(w)),t.arc(S,j,i,w,O,M));else{var A=void 0,T=void 0,D=void 0,k=void 0,L=void 0,P=void 0,R=void 0,E=void 0,N=void 0,z=void 0,B=void 0,V=void 0,F=void 0,G=void 0,H=void 0,W=void 0,U=r*c(O),q=r*l(O),Y=i*c(w),X=i*l(w),Z=I>y;if(Z){var K=e.cornerRadius;K&&(n=b(K),A=n[0],T=n[1],D=n[2],k=n[3]);var $=d(r-i)/2;if(L=g($,D),P=g($,k),R=g($,A),E=g($,T),B=N=f(L,P),V=z=f(R,E),(N>y||z>y)&&(F=r*c(w),G=r*l(w),H=i*c(O),W=i*l(O),Iy){var ot=g(D,B),at=g(k,B),st=m(H,W,U,q,r,ot,M),lt=m(F,G,Y,X,r,at,M);t.moveTo(S+st.cx+st.x0,j+st.cy+st.y0),B0&&t.arc(S+st.cx,j+st.cy,ot,h(st.y0,st.x0),h(st.y1,st.x1),!M),t.arc(S,j,r,h(st.cy+st.y1,st.cx+st.x1),h(lt.cy+lt.y1,lt.cx+lt.x1),!M),at>0&&t.arc(S+lt.cx,j+lt.cy,at,h(lt.y1,lt.x1),h(lt.y0,lt.x0),!M))}else t.moveTo(S+U,j+q),t.arc(S,j,r,O,w,!M);else t.moveTo(S+U,j+q);if(i>y&&Z)if(V>y){ot=g(A,V),at=g(T,V),st=m(Y,X,F,G,i,-at,M),lt=m(U,q,H,W,i,-ot,M);t.lineTo(S+st.cx+st.x0,j+st.cy+st.y0),V0&&t.arc(S+st.cx,j+st.cy,at,h(st.y0,st.x0),h(st.y1,st.x1),!M),t.arc(S,j,i,h(st.cy+st.y1,st.cx+st.x1),h(lt.cy+lt.y1,lt.cx+lt.x1),M),ot>0&&t.arc(S+lt.cx,j+lt.cy,ot,h(lt.y1,lt.x1),h(lt.y0,lt.x0),!M))}else t.lineTo(S+Y,j+X),t.arc(S,j,i,w,O,M);else t.lineTo(S+Y,j+X)}else t.moveTo(S,j);t.closePath()}}}var _=function(){function t(){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}return t}(),O=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultShape=function(){return new _},e.prototype.buildPath=function(t,e){x(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i["b"]);O.prototype.type="sector";e["a"]=O},"4bc4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o}));var r=1,i=2,o=4},"4f85":function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n("7fae"),i=n("6d8b"),o=n("22d1"),a=n("e0d3"),s=n("6cb7"),l=n("4041"),c=n("38a2"),u=n("f934"),h=n("9fbc"),d=n("625e"),p=n("f72b"),f=n("f6d8"),g=a["o"]();function y(t,e){return t.getName(e)||t.getId(e)}var v="__universalTransitionEnabled",m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return Object(r["a"])(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Object(h["a"])({count:_,reset:O}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var r=g(this).sourceManager=new p["a"](this);r.prepareSource();var i=this.getInitialData(t,n);S(i,this),this.dataTask.context.data=i,g(this).dataBeforeProcessed=i,b(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Object(u["d"])(this),r=n?Object(u["f"])(t):{},o=this.subType;s["a"].hasClass(o)&&(o+="Series"),i["merge"](t,e.getTheme().get(this.subType)),i["merge"](t,this.getDefaultOption()),a["f"](t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Object(u["h"])(t,r,n)},e.prototype.mergeOption=function(t,e){t=i["merge"](this.option,t,!0),this.fillDataTextStyle(t.data);var n=Object(u["d"])(this);n&&Object(u["h"])(this.option,t,n);var r=g(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(t,e);S(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,g(this).dataBeforeProcessed=o,b(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!i["isTypedArray"](t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var r=this.ecModel,i=l["a"].prototype.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},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 n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(e);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(o)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e);return("all"===n||n[y(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[v])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,r,o=this.option,a=o.selectedMode,s=e.length;if(a&&s)if("series"===a)o.selectedMap="all";else if("multiple"===a){i["isObject"](o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,c=0;c0&&this._innerSelect(t,e)}},e.registerClass=function(t){return s["a"].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}(s["a"]);function b(t){var e=t.name;a["n"](t)||(t.name=x(t)||e)}function x(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),r=[];return i["each"](n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}function _(t){return t.model.getRawData().count()}function O(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),w}function w(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function S(t,e){i["each"](i["concatArray"](t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,i["curry"](j,e))}))}function j(t,e){var n=M(t);return n&&n.setOutputEnd((e||this).count()),e}function M(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}i["mixin"](m,c["a"]),i["mixin"](m,l["a"]),Object(d["e"])(m,s["a"]),e["b"]=m},"4fac":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("401b");function i(t,e,n,i){var o,a,s,l,c=[],u=[],h=[],d=[];if(i){s=[1/0,1/0],l=[-1/0,-1/0];for(var p=0,f=t.length;p=2){if(r){var a=i(o,r,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var c=a[2*l],u=a[2*l+1],h=o[(l+1)%s];t.bezierCurveTo(c[0],c[1],u[0],u[1],h[0],h[1])}}else{t.moveTo(o[0][0],o[0][1]);l=1;for(var d=o.length;l0))}function y(t){return"string"===typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function b(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function x(t,e,n){var r=Object(o["a"])(e.image,e.__image,n);if(Object(o["c"])(r)){var i=t.createPattern(r,e.repeat||"repeat");if("function"===typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*u["RADIAN_TO_DEGREE"]),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}function _(t,e,n,r){var i,o=g(n),s=v(n),l=n.strokePercent,c=l<1,u=!e.path;e.silent&&!c||!u||e.createPathProxy();var p=e.path||f,y=e.__dirty;if(!r){var _=n.fill,O=n.stroke,w=s&&!!_.colorStops,S=o&&!!O.colorStops,j=s&&!!_.image,M=o&&!!O.image,I=void 0,C=void 0,A=void 0,T=void 0,D=void 0;(w||S)&&(D=e.getBoundingRect()),w&&(I=y?Object(a["a"])(t,_,D):e.__canvasFillGradient,e.__canvasFillGradient=I),S&&(C=y?Object(a["a"])(t,O,D):e.__canvasStrokeGradient,e.__canvasStrokeGradient=C),j&&(A=y||!e.__canvasFillPattern?x(t,_,e):e.__canvasFillPattern,e.__canvasFillPattern=A),M&&(T=y||!e.__canvasStrokePattern?x(t,O,e):e.__canvasStrokePattern,e.__canvasStrokePattern=A),w?t.fillStyle=I:j&&(A?t.fillStyle=A:s=!1),S?t.strokeStyle=C:M&&(T?t.strokeStyle=T:o=!1)}var k,L,P=e.getGlobalScale();p.setScale(P[0],P[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(i=Object(h["a"])(e),k=i[0],L=i[1]);var R=!0;(u||y&d["b"])&&(p.setDPR(t.dpr),c?p.setContext(null):(p.setContext(t),R=!1),p.reset(),e.buildPath(p,e.shape,r),p.toStatic(),e.pathUpdated()),R&&p.rebuildPath(t,c?l:1),k&&(t.setLineDash(k),t.lineDashOffset=L),r||(n.strokeFirst?(o&&b(t,n),s&&m(t,n)):(s&&m(t,n),o&&b(t,n))),k&&t.setLineDash([])}function O(t,e,n){var r=e.__image=Object(o["a"])(n.image,e.__image,e,e.onload);if(r&&Object(o["c"])(r)){var i=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),c=r.width/r.height;if(null==s&&null!=l?s=l*c:null==l&&null!=s?l=s/c:null==s&&null==l&&(s=r.width,l=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,h=n.sy||0;t.drawImage(r,u,h,n.sWidth,n.sHeight,i,a,s,l)}else if(n.sx&&n.sy){u=n.sx,h=n.sy;var d=s-u,p=l-h;t.drawImage(r,u,h,d,p,i,a,s,l)}else t.drawImage(r,i,a,s,l)}}function w(t,e,n){var r,i=n.text;if(null!=i&&(i+=""),i){t.font=n.font||p["a"],t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(r=Object(h["a"])(e),o=r[0],a=r[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(g(n)&&t.strokeText(i,n.x,n.y),v(n)&&t.fillText(i,n.x,n.y)):(v(n)&&t.fillText(i,n.x,n.y),g(n)&&t.strokeText(i,n.x,n.y)),o&&t.setLineDash([])}}var S=["shadowBlur","shadowOffsetX","shadowOffsetY"],j=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function M(t,e,n,i,o){var a=!1;if(!i&&(n=n||{},e===n))return!1;if(i||e.opacity!==n.opacity){N(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?r["b"].opacity:s}(i||e.blend!==n.blend)&&(a||(N(t,o),a=!0),t.globalCompositeOperation=e.blend||r["b"].blend);for(var l=0;l0&&l>0&&!c&&(s=0),s<0&&l<0&&!u&&(l=0));var d=this._determinedMin,p=this._determinedMax;return null!=d&&(s=d,c=!0),null!=p&&(l=p,u=!0),{min:s,max:l,minFixed:c,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=a[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(t,e,n){var r=t.rawExtentInfo;return r||(r=new o(t,e,n),t.rawExtentInfo=r,r)}function c(t,e){return null==e?null:Object(r["eqNaN"])(e)?NaN:t.parse(e)}},5502:function(t,e,n){"use strict";n.d(e,"a",(function(){return Z}));var r=n("7a23"),i=n("3f4e"),o="store";function a(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function s(t){return null!==t&&"object"===typeof t}function l(t){return t&&"function"===typeof t.then}function c(t,e){if(!t)throw new Error("[vuex] "+e)}function u(t,e){return function(){return t(e)}}function h(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function d(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;f(t,n,[],t._modules.root,!0),p(t,n,e)}function p(t,e,n){var i=t._state,o=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var s=t._wrappedGetters,l={},c={},h=Object(r["i"])(!0);h.run((function(){a(s,(function(e,n){l[n]=u(e,t),c[n]=Object(r["b"])((function(){return l[n]()})),Object.defineProperty(t.getters,n,{get:function(){return c[n].value},enumerable:!0})}))})),t._state=Object(r["v"])({data:e}),t._scope=h,t.strict&&x(t),i&&n&&t._withCommit((function(){i.data=null})),o&&o.stop()}function f(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]&&console.error("[vuex] duplicate namespace "+a+" for the namespaced module "+n.join("/")),t._modulesNamespaceMap[a]=r),!o&&!i){var s=_(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){l in s&&console.warn('[vuex] state field "'+l+'" was overridden by a module with the same name at "'+n.join(".")+'"'),s[l]=r.state}))}var c=r.context=g(t,a,n);r.forEachMutation((function(e,n){var r=a+n;v(t,r,e,c)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,i=e.handler||e;m(t,r,i,c)})),r.forEachGetter((function(e,n){var r=a+n;b(t,r,e,c)})),r.forEachChild((function(r,o){f(t,e,n.concat(o),r,i)}))}function g(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,l=o.type;if(s&&s.root||(l=e+l,t._actions[l]))return t.dispatch(l,a);console.error("[vuex] unknown local action type: "+o.type+", global type: "+l)},commit:r?t.commit:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l,t._mutations[l])?t.commit(l,a,s):console.error("[vuex] unknown local mutation type: "+o.type+", global type: "+l)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return y(t,e)}},state:{get:function(){return _(t.state,n)}}}),i}function y(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function v(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))}function m(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return l(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}function b(t,e,n,r){t._wrappedGetters[e]?console.error("[vuex] duplicate getter key: "+e):t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}function x(t){Object(r["D"])((function(){return t._state.data}),(function(){c(t._committing,"do not mutate vuex store state outside mutation handlers.")}),{deep:!0,flush:"sync"})}function _(t,e){return e.reduce((function(t,e){return t[e]}),t)}function O(t,e,n){return s(t)&&t.type&&(n=e,e=t,t=t.type),c("string"===typeof t,"expects string as the type, but found "+typeof t+"."),{type:t,payload:e,options:n}}var w="vuex bindings",S="vuex:mutations",j="vuex:actions",M="vuex",I=0;function C(t,e){Object(i["a"])({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[w]},(function(n){n.addTimelineLayer({id:S,label:"Vuex Mutations",color:A}),n.addTimelineLayer({id:j,label:"Vuex Actions",color:A}),n.addInspector({id:M,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===t&&n.inspectorId===M)if(n.filter){var r=[];R(r,e._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[P(e._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===t&&n.inspectorId===M){var r=n.nodeId;y(e,r),n.state=E(z(e._modules,r),"root"===r?e.getters:e._makeLocalGettersCache,r)}})),n.on.editInspectorState((function(n){if(n.app===t&&n.inspectorId===M){var r=n.nodeId,i=n.path;"root"!==r&&(i=r.split("/").filter(Boolean).concat(i)),e._withCommit((function(){n.set(e._state.data,i,n.state.value)}))}})),e.subscribe((function(t,e){var r={};t.payload&&(r.payload=t.payload),r.state=e,n.notifyComponentUpdate(),n.sendInspectorTree(M),n.sendInspectorState(M),n.addTimelineEvent({layerId:S,event:{time:Date.now(),title:t.type,data:r}})})),e.subscribeAction({before:function(t,e){var r={};t.payload&&(r.payload=t.payload),t._id=I++,t._time=Date.now(),r.state=e,n.addTimelineEvent({layerId:j,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:r}})},after:function(t,e){var r={},i=Date.now()-t._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},t.payload&&(r.payload=t.payload),r.state=e,n.addTimelineEvent({layerId:j,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:r}})}})}))}var A=8702998,T=6710886,D=16777215,k={label:"namespaced",textColor:D,backgroundColor:T};function L(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function P(t,e){return{id:e||"root",label:L(e),tags:t.namespaced?[k]:[],children:Object.keys(t._children).map((function(n){return P(t._children[n],e+n+"/")}))}}function R(t,e,n,r){r.includes(n)&&t.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:e.namespaced?[k]:[]}),Object.keys(e._children).forEach((function(i){R(t,e._children[i],n,r+i+"/")}))}function E(t,e,n){e="root"===n?e:e[n];var r=Object.keys(e),i={state:Object.keys(t.state).map((function(e){return{key:e,editable:!0,value:t.state[e]}}))};if(r.length){var o=N(e);i.getters=Object.keys(o).map((function(t){return{key:t.endsWith("/")?L(t):t,editable:!1,value:B((function(){return o[t]}))}}))}return i}function N(t){var e={};return Object.keys(t).forEach((function(n){var r=n.split("/");if(r.length>1){var i=e,o=r.pop();r.forEach((function(t){i[t]||(i[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),i=i[t]._custom.value})),i[o]=B((function(){return t[n]}))}else e[n]=B((function(){return t[n]}))})),e}function z(t,e){var n=e.split("/").filter((function(t){return t}));return n.reduce((function(t,r,i){var o=t[r];if(!o)throw new Error('Missing module "'+r+'" for path "'+e+'".');return i===n.length-1?o:o._children}),"root"===e?t:t.root._children)}function B(t){try{return t()}catch(e){return e}}var V=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},F={namespaced:{configurable:!0}};F.namespaced.get=function(){return!!this._rawModule.namespaced},V.prototype.addChild=function(t,e){this._children[t]=e},V.prototype.removeChild=function(t){delete this._children[t]},V.prototype.getChild=function(t){return this._children[t]},V.prototype.hasChild=function(t){return t in this._children},V.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)},V.prototype.forEachChild=function(t){a(this._children,t)},V.prototype.forEachGetter=function(t){this._rawModule.getters&&a(this._rawModule.getters,t)},V.prototype.forEachAction=function(t){this._rawModule.actions&&a(this._rawModule.actions,t)},V.prototype.forEachMutation=function(t){this._rawModule.mutations&&a(this._rawModule.mutations,t)},Object.defineProperties(V.prototype,F);var G=function(t){this.register([],t,!1)};function H(t,e,n){if(Y(t,n),e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void console.warn("[vuex] trying to add a new module '"+r+"' on hot reloading, manual reload is needed");H(t.concat(r),e.getChild(r),n.modules[r])}}G.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},G.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},G.prototype.update=function(t){H([],this.root,t)},G.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0),Y(t,e);var i=new V(e,n);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&a(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},G.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r?r.runtime&&e.removeChild(n):console.warn("[vuex] trying to unregister module '"+n+"', which is not registered")},G.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var W={assert:function(t){return"function"===typeof t},expected:"function"},U={assert:function(t){return"function"===typeof t||"object"===typeof t&&"function"===typeof t.handler},expected:'function or object with "handler" function'},q={getters:W,mutations:W,actions:U};function Y(t,e){Object.keys(q).forEach((function(n){if(e[n]){var r=q[n];a(e[n],(function(e,i){c(r.assert(e),X(t,n,i,e,r.expected))}))}}))}function X(t,e,n,r,i){var o=e+" should be "+i+' but "'+e+"."+n+'"';return t.length>0&&(o+=' in module "'+t.join(".")+'"'),o+=" is "+JSON.stringify(r)+".",o}function Z(t){return new K(t)}var K=function t(e){var n=this;void 0===e&&(e={}),c("undefined"!==typeof Promise,"vuex requires a Promise polyfill in this browser."),c(this instanceof t,"store must be called with the new operator.");var r=e.plugins;void 0===r&&(r=[]);var i=e.strict;void 0===i&&(i=!1);var o=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new G(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var a=this,s=this,l=s.dispatch,u=s.commit;this.dispatch=function(t,e){return l.call(a,t,e)},this.commit=function(t,e,n){return u.call(a,t,e,n)},this.strict=i;var h=this._modules.root.state;f(this,h,[],this._modules.root),p(this,h),r.forEach((function(t){return t(n)}))},$={state:{configurable:!0}};K.prototype.install=function(t,e){t.provide(e||o,this),t.config.globalProperties.$store=this;var n=void 0===this._devtools||this._devtools;n&&C(t,this)},$.state.get=function(){return this._state.data},$.state.set=function(t){c(!1,"use store.replaceState() to explicit replace store state.")},K.prototype.commit=function(t,e,n){var r=this,i=O(t,e,n),o=i.type,a=i.payload,s=i.options,l={type:o,payload:a},c=this._mutations[o];c?(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(l,r.state)})),s&&s.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools")):console.error("[vuex] unknown mutation type: "+o)},K.prototype.dispatch=function(t,e){var n=this,r=O(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(c){console.warn("[vuex] error in before action subscribers: "),console.error(c)}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{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(c){console.warn("[vuex] error in after action subscribers: "),console.error(c)}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(c){console.warn("[vuex] error in error action subscribers: "),console.error(c)}e(t)}))}))}console.error("[vuex] unknown action type: "+i)},K.prototype.subscribe=function(t,e){return h(t,this._subscribers,e)},K.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return h(n,this._actionSubscribers,e)},K.prototype.watch=function(t,e,n){var i=this;return c("function"===typeof t,"store.watch only accepts a function."),Object(r["D"])((function(){return t(i.state,i.getters)}),e,Object.assign({},n))},K.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},K.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),c(Array.isArray(t),"module path must be a string or an Array."),c(t.length>0,"cannot register the root module by using registerModule."),this._modules.register(t,e),f(this,this.state,t,this._modules.get(t),n.preserveState),p(this,this.state)},K.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),c(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit((function(){var n=_(e.state,t.slice(0,-1));delete n[t[t.length-1]]})),d(this)},K.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),c(Array.isArray(t),"module path must be a string or an Array."),this._modules.isRegistered(t)},K.prototype.hotUpdate=function(t){this._modules.update(t),d(this,!0)},K.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(K.prototype,$);tt((function(t,e){var n={};return Q(e)||console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),J(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=et(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),tt((function(t,e){var n={};return Q(e)||console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),J(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=et(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),tt((function(t,e){var n={};return Q(e)||console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),J(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||et(this.$store,"mapGetters",t)){if(i in this.$store.getters)return this.$store.getters[i];console.error("[vuex] unknown getter: "+i)}},n[r].vuex=!0})),n})),tt((function(t,e){var n={};return Q(e)||console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),J(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=et(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n}));function J(t){return Q(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 Q(t){return Array.isArray(t)||s(t)}function tt(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function et(t,e,n){var r=t._modulesNamespaceMap[n];return r||console.error("[vuex] module namespace not found in "+e+"(): "+n),r}},"551f":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r=n("282b"),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=Object(r["a"])(i),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},"58c9":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var r={};function i(t,e){r[t]=e}function o(t){return r[t]}},"5e76":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return c}));var r=n("d51b"),i=n("726e"),o=new r["a"](50);function a(t){if("string"===typeof t){var e=o.get(t);return e&&e.image}return t}function s(t,e,n,r,a){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),u={hostEl:n,cb:r,cbPayload:a};return s?(e=s.image,!c(e)&&s.pending.push(u)):(e=i["d"].loadImage(t,l,l),e.__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[u]})),e}return t}return e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=0;if(i){var a="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];a&&l(t,a,e,n)}else{l(t,e,e,n);var s=d(e);e.zrDelta=s?s/120:-(e.detail||0)/3}var c=e.button;return null==e.which&&void 0!==c&&o.test(e.type)&&(e.which=1&c?1:2&c?3:4&c?2:0),e}function d(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,r=t.deltaY;if(null==n||null==r)return e;var i=0!==r?Math.abs(r):Math.abs(n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*i*o}function p(t,e,n,r){t.addEventListener(e,n,r)}function f(t,e,n,r){t.removeEventListener(e,n,r)}var g=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function y(t){return 2===t.which||3===t.which}},"625e":function(t,e,n){"use strict";n.d(e,"f",(function(){return l})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return m}));var r=n("7fae"),i=n("6d8b"),o=".",a="___EC__COMPONENT__CONTAINER___",s="___EC__EXTENDED_CLASS___";function l(t){var e={main:"",sub:""};if(t){var n=t.split(o);e.main=n[0]||"",e.sub=n[1]||""}return e}function c(t){i["assert"](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function u(t){return!(!t||!t[s])}function h(t,e){t.$constructor=t,t.extend=function(t){var e,n=this;return d(n)?e=function(t){function e(){return t.apply(this,arguments)||this}return Object(r["a"])(e,t),e}(n):(e=function(){(t.$constructor||n).apply(this,arguments)},i["inherits"](e,this)),i["extend"](e.prototype,t),e[s]=!0,e.extend=this.extend,e.superCall=y,e.superApply=v,e.superClass=n,e}}function d(t){return i["isFunction"](t)&&/^class\s/.test(Function.prototype.toString.call(t))}function p(t,e){t.extend=e.extend}var f=Math.round(10*Math.random());function g(t){var e=["__\0is_clz",f++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function y(t,e){for(var n=[],r=2;r>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[c]+":0",r[1-l]+":auto",i[1-c]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function d(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],o=e.srcCoords,s=[],l=[],c=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),d=2*u,p=h.left,f=h.top;s.push(p,f),c=c&&o&&p===o[d]&&f===o[d+1],l.push(t[u].offsetLeft,t[u].offsetTop)}return c&&i?i:(e.srcCoords=s,e[r]=n?a(l,s):a(s,l))}function p(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,g={"&":"&","<":"<",">":">",'"':""","'":"'"};function y(t){return null==t?"":(t+"").replace(f,(function(t,e){return g[e]}))}},6605:function(t,e,n){"use strict";n.d(e,"a",(function(){return ee})),n.d(e,"b",(function(){return B}));var r=n("7a23");n("3f4e"); /*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT */ const i="undefined"!==typeof window;function o(t){return t.__esModule||"Module"===t[Symbol.toStringTag]}const a=Object.assign;function s(t,e){const n={};for(const r in e){const i=e[r];n[r]=c(i)?i.map(t):t(i)}return n}const l=()=>{},c=Array.isArray;const u=/\/$/,h=t=>t.replace(u,"");function d(t,e,n="/"){let r,i={},o="",a="";const s=e.indexOf("#");let l=e.indexOf("?");return s=0&&(l=-1),l>-1&&(r=e.slice(0,l),o=e.slice(l+1,s>-1?s:e.length),i=t(o)),s>-1&&(r=r||e.slice(0,s),a=e.slice(s,e.length)),r=x(null!=r?r:e,n),{fullPath:r+(o&&"?")+o+a,path:r,query:i,hash:a}}function p(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function f(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function g(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&y(e.matched[r],n.matched[i])&&v(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function y(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function v(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!m(t[n],e[n]))return!1;return!0}function m(t,e){return c(t)?b(t,e):c(e)?b(e,t):t===e}function b(t,e){return c(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):1===t.length&&t[0]===e}function x(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let i,o,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var _,O;(function(t){t["pop"]="pop",t["push"]="push"})(_||(_={})),function(t){t["back"]="back",t["forward"]="forward",t["unknown"]=""}(O||(O={}));function w(t){if(!t)if(i){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),h(t)}const S=/^[^#]+#/;function j(t,e){return t.replace(S,"#")+e}function M(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const I=()=>({left:window.pageXOffset,top:window.pageYOffset});function C(t){let e;if("el"in t){const n=t.el,r="string"===typeof n&&n.startsWith("#");0;const i="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=M(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function A(t,e){const n=history.state?history.state.position-e:-1;return n+t}const T=new Map;function D(t,e){T.set(t,e)}function k(t){const e=T.get(t);return T.delete(t),e}let L=()=>location.protocol+"//"+location.host;function P(t,e){const{pathname:n,search:r,hash:i}=e,o=t.indexOf("#");if(o>-1){let e=i.includes(t.slice(o))?t.slice(o).length:1,n=i.slice(e);return"/"!==n[0]&&(n="/"+n),f(n,"")}const a=f(n,t);return a+r+i}function R(t,e,n,r){let i=[],o=[],s=null;const l=({state:o})=>{const a=P(t,location),l=n.value,c=e.value;let u=0;if(o){if(n.value=a,e.value=o,s&&s===l)return void(s=null);u=c?o.position-c.position:0}else r(a);i.forEach(t=>{t(n.value,l,{delta:u,type:_.pop,direction:u?u>0?O.forward:O.back:O.unknown})})};function c(){s=n.value}function u(t){i.push(t);const e=()=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)};return o.push(e),e}function h(){const{history:t}=window;t.state&&t.replaceState(a({},t.state,{scroll:I()}),"")}function d(){for(const t of o)t();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",h),{pauseListeners:c,listen:u,destroy:d}}function E(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?I():null}}function N(t){const{history:e,location:n}=window,r={value:P(t,n)},i={value:e.state};function o(r,o,a){const s=t.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?t:t.slice(s))+r:L()+t+r;try{e[a?"replaceState":"pushState"](o,"",l),i.value=o}catch(c){console.error(c),n[a?"replace":"assign"](l)}}function s(t,n){const s=a({},e.state,E(i.value.back,t,i.value.forward,!0),n,{position:i.value.position});o(t,s,!0),r.value=t}function l(t,n){const s=a({},i.value,e.state,{forward:t,scroll:I()});o(s.current,s,!0);const l=a({},E(r.value,t,null),{position:s.position+1},n);o(t,l,!1),r.value=t}return i.value||o(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:l,replace:s}}function z(t){t=w(t);const e=N(t),n=R(t,e.state,e.location,e.replace);function r(t,e=!0){e||n.pauseListeners(),history.go(t)}const i=a({location:"",base:t,go:r,createHref:j.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function B(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),z(t)}function V(t){return"string"===typeof t||t&&"object"===typeof t}function F(t){return"string"===typeof t||"symbol"===typeof t}const G={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},H=Symbol("");var W;(function(t){t[t["aborted"]=4]="aborted",t[t["cancelled"]=8]="cancelled",t[t["duplicated"]=16]="duplicated"})(W||(W={}));function U(t,e){return a(new Error,{type:t,[H]:!0},e)}function q(t,e){return t instanceof Error&&H in t&&(null==e||!!(t.type&e))}const Y="[^/]+?",X={sensitive:!1,strict:!1,start:!0,end:!0},Z=/[.+*?^${}()[\]/\\]/g;function K(t,e){const n=a({},X,e),r=[];let i=n.start?"^":"";const o=[];for(const a of t){const t=a.length?[]:[90];n.strict&&!a.length&&(i+="/");for(let e=0;ee.length?1===e.length&&80===e[0]?1:-1:0}function J(t,e){let n=0;const r=t.score,i=e.score;while(n0&&e[e.length-1]<0}const tt={type:0,value:""},et=/[a-zA-Z0-9_]/;function nt(t){if(!t)return[[]];if("/"===t)return[[tt]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=0,r=n;const i=[];let o;function a(){o&&i.push(o),o=[]}let s,l=0,c="",u="";function h(){c&&(0===n?o.push({type:0,value:c}):1===n||2===n||3===n?(o.length>1&&("*"===s||"+"===s)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):e("Invalid state to consume buffer"),c="")}function d(){c+=s}while(l{s(f)}:l}function s(t){if(F(t)){const e=r.get(t);e&&(r.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&r.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}function c(){return n}function u(t){let e=0;while(e=0&&(t.record.path!==n[e].record.path||!ht(t,n[e])))e++;n.splice(e,0,t),t.record.name&&!lt(t)&&r.set(t.record.name,t)}function h(t,e){let i,o,s,l={};if("name"in t&&t.name){if(i=r.get(t.name),!i)throw U(1,{location:t});0,s=i.record.name,l=a(ot(e.params,i.keys.filter(t=>!t.optional).map(t=>t.name)),t.params&&ot(t.params,i.keys.map(t=>t.name))),o=i.stringify(l)}else if("path"in t)o=t.path,i=n.find(t=>t.re.test(o)),i&&(l=i.parse(o),s=i.record.name);else{if(i=e.name?r.get(e.name):n.find(t=>t.re.test(e.path)),!i)throw U(1,{location:t,currentLocation:e});s=i.record.name,l=a({},e.params,t.params),o=i.stringify(l)}const c=[];let u=i;while(u)c.unshift(u.record),u=u.parent;return{name:s,path:o,params:l,matched:c,meta:ct(c)}}return e=ut({strict:!1,end:!0,sensitive:!1},e),t.forEach(t=>o(t)),{addRoute:o,resolve:h,removeRoute:s,getRoutes:c,getRecordMatcher:i}}function ot(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function at(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:st(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function st(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]="boolean"===typeof n?n:n[r];return e}function lt(t){while(t){if(t.record.aliasOf)return!0;t=t.parent}return!1}function ct(t){return t.reduce((t,e)=>a(t,e.meta),{})}function ut(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function ht(t,e){return e.children.some(e=>e===t||ht(t,e))}const dt=/#/g,pt=/&/g,ft=/\//g,gt=/=/g,yt=/\?/g,vt=/\+/g,mt=/%5B/g,bt=/%5D/g,xt=/%5E/g,_t=/%60/g,Ot=/%7B/g,wt=/%7C/g,St=/%7D/g,jt=/%20/g;function Mt(t){return encodeURI(""+t).replace(wt,"|").replace(mt,"[").replace(bt,"]")}function It(t){return Mt(t).replace(Ot,"{").replace(St,"}").replace(xt,"^")}function Ct(t){return Mt(t).replace(vt,"%2B").replace(jt,"+").replace(dt,"%23").replace(pt,"%26").replace(_t,"`").replace(Ot,"{").replace(St,"}").replace(xt,"^")}function At(t){return Ct(t).replace(gt,"%3D")}function Tt(t){return Mt(t).replace(dt,"%23").replace(yt,"%3F")}function Dt(t){return null==t?"":Tt(t).replace(ft,"%2F")}function kt(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function Lt(t){const e={};if(""===t||"?"===t)return e;const n="?"===t[0],r=(n?t.slice(1):t).split("&");for(let i=0;it&&Ct(t)):[r&&Ct(r)];i.forEach(t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))})}return e}function Rt(t){const e={};for(const n in t){const r=t[n];void 0!==r&&(e[n]=c(r)?r.map(t=>null==t?null:""+t):null==r?r:""+r)}return e}const Et=Symbol(""),Nt=Symbol(""),zt=Symbol(""),Bt=Symbol(""),Vt=Symbol("");function Ft(){let t=[];function e(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function Gt(t,e,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,s)=>{const l=t=>{!1===t?s(U(4,{from:n,to:e})):t instanceof Error?s(t):V(t)?s(U(2,{from:e,to:t})):(o&&r.enterCallbacks[i]===o&&"function"===typeof t&&o.push(t),a())},c=t.call(r&&r.instances[i],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(t=>s(t))})}function Ht(t,e,n,r){const i=[];for(const a of t){0;for(const t in a.components){let s=a.components[t];if("beforeRouteEnter"===e||a.instances[t])if(Wt(s)){const o=s.__vccOpts||s,l=o[e];l&&i.push(Gt(l,n,r,a,t))}else{let l=s();0,i.push(()=>l.then(i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${t}" at "${a.path}"`));const s=o(i)?i.default:i;a.components[t]=s;const l=s.__vccOpts||s,c=l[e];return c&&Gt(c,n,r,a,t)()}))}}}return i}function Wt(t){return"object"===typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}function Ut(t){const e=Object(r["l"])(zt),n=Object(r["l"])(Bt),i=Object(r["b"])(()=>e.resolve(Object(r["B"])(t.to))),o=Object(r["b"])(()=>{const{matched:t}=i.value,{length:e}=t,r=t[e-1],o=n.matched;if(!r||!o.length)return-1;const a=o.findIndex(y.bind(null,r));if(a>-1)return a;const s=Kt(t[e-2]);return e>1&&Kt(r)===s&&o[o.length-1].path!==s?o.findIndex(y.bind(null,t[e-2])):a}),a=Object(r["b"])(()=>o.value>-1&&Zt(n.params,i.value.params)),s=Object(r["b"])(()=>o.value>-1&&o.value===n.matched.length-1&&v(n.params,i.value.params));function c(n={}){return Xt(n)?e[Object(r["B"])(t.replace)?"replace":"push"](Object(r["B"])(t.to)).catch(l):Promise.resolve()}return{route:i,href:Object(r["b"])(()=>i.value.href),isActive:a,isExactActive:s,navigate:c}}const qt=Object(r["h"])({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ut,setup(t,{slots:e}){const n=Object(r["v"])(Ut(t)),{options:i}=Object(r["l"])(zt),o=Object(r["b"])(()=>({[$t(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[$t(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&e.default(n);return t.custom?i:Object(r["k"])("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),Yt=qt;function Xt(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Zt(t,e){for(const n in e){const r=e[n],i=t[n];if("string"===typeof r){if(r!==i)return!1}else if(!c(i)||i.length!==r.length||r.some((t,e)=>t!==i[e]))return!1}return!0}function Kt(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const $t=(t,e,n)=>null!=t?t:null!=e?e:n,Jt=Object(r["h"])({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=Object(r["l"])(Vt),o=Object(r["b"])(()=>t.route||i.value),s=Object(r["l"])(Nt,0),l=Object(r["b"])(()=>{let t=Object(r["B"])(s);const{matched:e}=o.value;let n;while((n=e[t])&&!n.components)t++;return t}),c=Object(r["b"])(()=>o.value.matched[l.value]);Object(r["t"])(Nt,Object(r["b"])(()=>l.value+1)),Object(r["t"])(Et,c),Object(r["t"])(Vt,o);const u=Object(r["w"])();return Object(r["D"])(()=>[u.value,c.value,t.name],([t,e,n],[r,i,o])=>{e&&(e.instances[n]=t,i&&i!==e&&t&&t===r&&(e.leaveGuards.size||(e.leaveGuards=i.leaveGuards),e.updateGuards.size||(e.updateGuards=i.updateGuards))),!t||!e||i&&y(e,i)&&r||(e.enterCallbacks[n]||[]).forEach(e=>e(t))},{flush:"post"}),()=>{const i=o.value,s=t.name,l=c.value,h=l&&l.components[s];if(!h)return Qt(n.default,{Component:h,route:i});const d=l.props[s],p=d?!0===d?i.params:"function"===typeof d?d(i):d:null,f=t=>{t.component.isUnmounted&&(l.instances[s]=null)},g=Object(r["k"])(h,a({},p,e,{onVnodeUnmounted:f,ref:u}));return Qt(n.default,{Component:g,route:i})||g}}});function Qt(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const te=Jt;function ee(t){const e=it(t.routes,t),n=t.parseQuery||Lt,o=t.stringifyQuery||Pt,u=t.history;const h=Ft(),f=Ft(),y=Ft(),v=Object(r["z"])(G);let m=G;i&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const b=s.bind(null,t=>""+t),x=s.bind(null,Dt),O=s.bind(null,kt);function w(t,n){let r,i;return F(t)?(r=e.getRecordMatcher(t),i=n):i=t,e.addRoute(i,r)}function S(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)}function j(){return e.getRoutes().map(t=>t.record)}function M(t){return!!e.getRecordMatcher(t)}function T(t,r){if(r=a({},r||v.value),"string"===typeof t){const i=d(n,t,r.path),o=e.resolve({path:i.path},r),s=u.createHref(i.fullPath);return a(i,o,{params:O(o.params),hash:kt(i.hash),redirectedFrom:void 0,href:s})}let i;if("path"in t)i=a({},t,{path:d(n,t.path,r.path).path});else{const e=a({},t.params);for(const t in e)null==e[t]&&delete e[t];i=a({},t,{params:x(t.params)}),r.params=x(r.params)}const s=e.resolve(i,r),l=t.hash||"";s.params=b(O(s.params));const c=p(o,a({},t,{hash:It(l),path:s.path})),h=u.createHref(c);return a({fullPath:c,hash:l,query:o===Pt?Rt(t.query):t.query||{}},s,{redirectedFrom:void 0,href:h})}function L(t){return"string"===typeof t?d(n,t,v.value.path):a({},t)}function P(t,e){if(m!==t)return U(8,{from:e,to:t})}function R(t){return z(t)}function E(t){return R(a(L(t),{replace:!0}))}function N(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let r="function"===typeof n?n(t):n;return"string"===typeof r&&(r=r.includes("?")||r.includes("#")?r=L(r):{path:r},r.params={}),a({query:t.query,hash:t.hash,params:"path"in r?{}:t.params},r)}}function z(t,e){const n=m=T(t),r=v.value,i=t.state,s=t.force,l=!0===t.replace,c=N(n);if(c)return z(a(L(c),{state:"object"===typeof c?a({},i,c.state):i,force:s,replace:l}),e||n);const u=n;let h;return u.redirectedFrom=e,!s&&g(o,r,n)&&(h=U(16,{to:u,from:r}),et(r,r,!0,!1)),(h?Promise.resolve(h):V(u,r)).catch(t=>q(t)?q(t,2)?t:tt(t):J(t,u,r)).then(t=>{if(t){if(q(t,2))return z(a({replace:l},L(t.to),{state:"object"===typeof t.to?a({},i,t.to.state):i,force:s}),e||u)}else t=W(u,r,!0,l,i);return H(u,r,t),t})}function B(t,e){const n=P(t,e);return n?Promise.reject(n):Promise.resolve()}function V(t,e){let n;const[r,i,o]=re(t,e);n=Ht(r.reverse(),"beforeRouteLeave",t,e);for(const s of r)s.leaveGuards.forEach(r=>{n.push(Gt(r,t,e))});const a=B.bind(null,t,e);return n.push(a),ne(n).then(()=>{n=[];for(const r of h.list())n.push(Gt(r,t,e));return n.push(a),ne(n)}).then(()=>{n=Ht(i,"beforeRouteUpdate",t,e);for(const r of i)r.updateGuards.forEach(r=>{n.push(Gt(r,t,e))});return n.push(a),ne(n)}).then(()=>{n=[];for(const r of t.matched)if(r.beforeEnter&&!e.matched.includes(r))if(c(r.beforeEnter))for(const i of r.beforeEnter)n.push(Gt(i,t,e));else n.push(Gt(r.beforeEnter,t,e));return n.push(a),ne(n)}).then(()=>(t.matched.forEach(t=>t.enterCallbacks={}),n=Ht(o,"beforeRouteEnter",t,e),n.push(a),ne(n))).then(()=>{n=[];for(const r of f.list())n.push(Gt(r,t,e));return n.push(a),ne(n)}).catch(t=>q(t,8)?t:Promise.reject(t))}function H(t,e,n){for(const r of y.list())r(t,e,n)}function W(t,e,n,r,o){const s=P(t,e);if(s)return s;const l=e===G,c=i?history.state:{};n&&(r||l?u.replace(t.fullPath,a({scroll:l&&c&&c.scroll},o)):u.push(t.fullPath,o)),v.value=t,et(t,e,n,l),tt()}let Y;function X(){Y||(Y=u.listen((t,e,n)=>{if(!at.listening)return;const r=T(t),o=N(r);if(o)return void z(a(o,{replace:!0}),r).catch(l);m=r;const s=v.value;i&&D(A(s.fullPath,n.delta),I()),V(r,s).catch(t=>q(t,12)?t:q(t,2)?(z(t.to,r).then(t=>{q(t,20)&&!n.delta&&n.type===_.pop&&u.go(-1,!1)}).catch(l),Promise.reject()):(n.delta&&u.go(-n.delta,!1),J(t,r,s))).then(t=>{t=t||W(r,s,!1),t&&(n.delta&&!q(t,8)?u.go(-n.delta,!1):n.type===_.pop&&q(t,20)&&u.go(-1,!1)),H(r,s,t)}).catch(l)}))}let Z,K=Ft(),$=Ft();function J(t,e,n){tt(t);const r=$.list();return r.length?r.forEach(r=>r(t,e,n)):console.error(t),Promise.reject(t)}function Q(){return Z&&v.value!==G?Promise.resolve():new Promise((t,e)=>{K.add([t,e])})}function tt(t){return Z||(Z=!t,X(),K.list().forEach(([e,n])=>t?n(t):e()),K.reset()),t}function et(e,n,o,a){const{scrollBehavior:s}=t;if(!i||!s)return Promise.resolve();const l=!o&&k(A(e.fullPath,0))||(a||!o)&&history.state&&history.state.scroll||null;return Object(r["m"])().then(()=>s(e,n,l)).then(t=>t&&C(t)).catch(t=>J(t,e,n))}const nt=t=>u.go(t);let rt;const ot=new Set,at={currentRoute:v,listening:!0,addRoute:w,removeRoute:S,hasRoute:M,getRoutes:j,resolve:T,options:t,push:R,replace:E,go:nt,back:()=>nt(-1),forward:()=>nt(1),beforeEach:h.add,beforeResolve:f.add,afterEach:y.add,onError:$.add,isReady:Q,install(t){const e=this;t.component("RouterLink",Yt),t.component("RouterView",te),t.config.globalProperties.$router=e,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>Object(r["B"])(v)}),i&&!rt&&v.value===G&&(rt=!0,R(u.location).catch(t=>{0}));const n={};for(const i in G)n[i]=Object(r["b"])(()=>v.value[i]);t.provide(zt,e),t.provide(Bt,Object(r["v"])(n)),t.provide(Vt,v);const o=t.unmount;ot.add(t),t.unmount=function(){ot.delete(t),ot.size<1&&(m=G,Y&&Y(),Y=null,v.value=G,rt=!1,Z=!1),o()}}};return at}function ne(t){return t.reduce((t,e)=>t.then(()=>e()),Promise.resolve())}function re(t,e){const n=[],r=[],i=[],o=Math.max(e.matched.length,t.matched.length);for(let a=0;ay(t,o))?r.push(o):n.push(o));const s=t.matched[a];s&&(e.matched.find(t=>y(t,s))||i.push(s))}return[n,r,i]}},"68ab":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("4a3f");function i(t,e,n,i,o,a,s,l,c){if(0===s)return!1;var u=s;if(c>e+u&&c>i+u&&c>a+u||ct+u&&l>n+u&&l>o+u||l0)r*=10;var o=[h["w"](v(e[0]/r)*r),h["w"](y(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){f.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 t=b(t)/b(this.base),d["a"](t,this._extent)},e.prototype.normalize=function(t){return t=b(t)/b(this.base),d["f"](t,this._extent)},e.prototype.scale=function(t){return t=d["g"](t,this._extent),m(this.base,t)},e.type="log",e}(a["a"]),_=x.prototype;function O(t,e){return g(t,h["h"](e))}_.getMinorTicks=f.getMinorTicks,_.getLabel=f.getLabel,a["a"].registerClass(x);var w=x,S=n("ee1a"),j=n("538f");function M(t,e){var n=t.type,i=Object(j["a"])(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var o=i.min,a=i.max,l=e.ecModel;if(l&&"time"===n){var c=Object(s["e"])("bar",l),u=!1;if(r["each"](c,(function(t){u=u||t.getBaseAxis()===e.axis})),u){var h=Object(s["d"])(c),d=I(o,a,e,h);o=d.min,a=d.max}}return{extent:[o,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function I(t,e,n,i){var o=n.axis.getExtent(),a=o[1]-o[0],l=Object(s["f"])(i,n.axis);if(void 0===l)return{min:t,max:e};var c=1/0;r["each"](l,(function(t){c=Math.min(t.offset,c)}));var u=-1/0;r["each"](l,(function(t){u=Math.max(t.offset+t.width,u)})),c=Math.abs(c),u=Math.abs(u);var h=c+u,d=e-t,p=1-(c+u)/a,f=d/p-d;return e+=f*(u/h),t-=f*(c/h),{min:t,max:e}}function C(t,e){var n=e,r=M(t,n),i=r.extent,o=n.get("splitNumber");t instanceof w&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function A(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new i["a"]({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new c["a"]({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(a["a"].getClass(e)||o["a"])}}function T(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)}function D(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,r){return t.scale.getFormattedLabel(n,r,e)}}(e):r["isString"](e)?function(e){return function(n){var r=t.scale.getLabel(n),i=e.replace("{value}",null!=r?r:"");return i}}(e):r["isFunction"](e)?function(e){return function(r,i){return null!=n&&(i=r.value-n),e(k(t,r),i,null!=r.level?{level:r.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function k(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function L(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var r,o,a=n.getExtent();n instanceof i["a"]?o=n.count():(r=n.getTicks(),o=r.length);var s,l=t.getLabelModel(),c=D(t),u=1;o>40&&(u=Math.ceil(o/40));for(var h=0;ht[1]&&(t[1]=r[1])}))}},"697e7":function(t,e,n){"use strict";n.r(e),n.d(e,"init",(function(){return gt})),n.d(e,"dispose",(function(){return yt})),n.d(e,"disposeAll",(function(){return vt})),n.d(e,"getInstance",(function(){return mt})),n.d(e,"registerPainter",(function(){return bt})),n.d(e,"version",(function(){return xt}));var r=n("22d1"),i=n("6d8b"),o=n("21a1"),a=n("401b"),s=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),l=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){var e=t.target;while(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 s(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,e.drift(i,o,t),this.handler.dispatchToElement(new s(e,t),"drag",t.event);var a=this.handler.findHover(n,r,e).target,l=this._dropTarget;this._dropTarget=a,e!==a&&(l&&a!==l&&this.handler.dispatchToElement(new s(l,t),"dragleave",t.event),a&&a!==l&&this.handler.dispatchToElement(new s(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new s(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new s(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),c=l,u=n("6fd3"),h=n("607d"),d=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var r=t.touches;if(r){for(var i={points:[],touches:[],target:e,event:t},o=0,a=r.length;o1&&r&&r.length>1){var o=p(r)/p(i);!isFinite(o)&&(o=1),e.pinchScale=o;var a=f(r);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},y=n("9850"),v="silent";function m(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:b}}function b(){h["g"](this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Object(o["a"])(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(u["a"]),_=function(){function t(t,e){this.x=t,this.y=e}return t}(),O=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],w=new y["a"](0,0,0,0),S=function(t){function e(e,n,r,i,o){var a=t.call(this)||this;return a._hovered=new _(0,0),a.storage=e,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new x,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new c(a),a}return Object(o["a"])(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(i["each"](O,(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,n=t.zrY,r=I(this,e,n),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=r?new _(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"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 _(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.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,n){t=t||{};var r=t.target;if(!r||!r.silent){var i="on"+e,o=m(e,t,n);while(r)if(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(e,o),r=r.__hostTarget?r.__hostTarget:r.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[i]&&t[i].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var r=this.storage.getDisplayList(),i=new _(t,e);if(M(r,i,t,e,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new y["a"](t-s,e-s,a,a),c=r.length-1;c>=0;c--){var u=r[c];u===n||u.ignore||u.ignoreCoarsePointer||u.parent&&u.parent.ignoreCoarsePointer||(w.copy(u.getBoundingRect()),u.transform&&w.applyTransform(u.transform),w.intersect(l)&&o.push(u))}if(o.length)for(var h=4,d=Math.PI/12,p=2*Math.PI,f=0;f=0;o--){var a=t[o],s=void 0;if(a!==i&&!a.ignore&&(s=j(a,n,r))&&(!e.topTarget&&(e.topTarget=a),s!==v)){e.target=a;break}}}function I(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}i["each"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){S.prototype[t]=function(e){var n,r,i=e.zrX,o=e.zrY,s=I(this,i,o);if("mouseup"===t&&s||(n=this.findHover(i,o),r=n.target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a["dist"](this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var C=S,A=n("04f6"),T=n("4bc4"),D=!1;function k(){D||(D=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function L(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var P=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=L}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(c.__clipPaths=[]),isNaN(c.z)&&(k(),c.z=0),isNaN(c.z2)&&(k(),c.z2=0),isNaN(c.zlevel)&&(k(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,n)}},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,n=t.length;e=0&&this._roots.splice(r,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}(),R=P,E=n("98b7"),N=n("06ad");function z(){return(new Date).getTime()}var B=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return Object(o["a"])(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,n=t.next;e?e.next=n:this._head=n,n?n.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){var e=z()-this._pausedTime,n=e-this._time,r=this._head;while(r){var i=r.next,o=r.step(e,n);o?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(Object(E["a"])(e),!t._paused&&t.update())}this._running=!0,Object(E["a"])(e)},e.prototype.start=function(){this._running||(this._time=z(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=z(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=z()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(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 n=new N["b"](t,e.loop);return this.addAnimator(n),n},e}(u["a"]),V=B,F=300,G=r["a"].domSupported,H=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=i["map"](t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:r}}(),W={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},U=!1;function q(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Y(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function X(t){t&&(t.zrByTouch=!0)}function Z(t,e){return Object(h["e"])(t.dom,new $(t,e),!0)}function K(t,e){var n=e,r=!1;while(n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return r}var $=function(){function t(t,e){this.stopPropagation=i["noop"],this.stopImmediatePropagation=i["noop"],this.preventDefault=i["noop"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),J={mousedown:function(t){t=Object(h["e"])(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Object(h["e"])(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=Object(h["e"])(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=Object(h["e"])(this.dom,t);var e=t.toElement||t.relatedTarget;K(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){U=!0,t=Object(h["e"])(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){U||(t=Object(h["e"])(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Object(h["e"])(this.dom,t),X(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),J.mousemove.call(this,t),J.mousedown.call(this,t)},touchmove:function(t){t=Object(h["e"])(this.dom,t),X(t),this.handler.processGesture(t,"change"),J.mousemove.call(this,t)},touchend:function(t){t=Object(h["e"])(this.dom,t),X(t),this.handler.processGesture(t,"end"),J.mouseup.call(this,t),+new Date-+this.__lastTouchMoment0&&(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,n){return this.handler.on(t,e,n),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=0;l--)a=i["merge"](a,n[l],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",r=t+"Id";return Object(l["v"])(this.ecModel,t,{index:this.get(n,!0),id:this.get(r,!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}(o["a"]);function d(t){var e=[];return i["each"](h.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=i["map"](e,(function(t){return Object(s["f"])(t).main})),"dataset"!==t&&i["indexOf"](e,"dataset")<=0&&e.unshift("dataset"),e}Object(s["e"])(h,o["a"]),Object(s["c"])(h),a["a"](h),a["b"](h,d),e["a"]=h},"6d8b":function(t,e,n){"use strict";n.r(e),n.d(e,"guid",(function(){return y})),n.d(e,"logError",(function(){return v})),n.d(e,"clone",(function(){return m})),n.d(e,"merge",(function(){return b})),n.d(e,"mergeAll",(function(){return x})),n.d(e,"extend",(function(){return _})),n.d(e,"defaults",(function(){return O})),n.d(e,"createCanvas",(function(){return w})),n.d(e,"indexOf",(function(){return S})),n.d(e,"inherits",(function(){return j})),n.d(e,"mixin",(function(){return M})),n.d(e,"isArrayLike",(function(){return I})),n.d(e,"each",(function(){return C})),n.d(e,"map",(function(){return A})),n.d(e,"reduce",(function(){return T})),n.d(e,"filter",(function(){return D})),n.d(e,"find",(function(){return k})),n.d(e,"keys",(function(){return L})),n.d(e,"bind",(function(){return R})),n.d(e,"curry",(function(){return E})),n.d(e,"isArray",(function(){return N})),n.d(e,"isFunction",(function(){return z})),n.d(e,"isString",(function(){return B})),n.d(e,"isStringSafe",(function(){return V})),n.d(e,"isNumber",(function(){return F})),n.d(e,"isObject",(function(){return G})),n.d(e,"isBuiltInObject",(function(){return H})),n.d(e,"isTypedArray",(function(){return W})),n.d(e,"isDom",(function(){return U})),n.d(e,"isGradientObject",(function(){return q})),n.d(e,"isImagePatternObject",(function(){return Y})),n.d(e,"isRegExp",(function(){return X})),n.d(e,"eqNaN",(function(){return Z})),n.d(e,"retrieve",(function(){return K})),n.d(e,"retrieve2",(function(){return $})),n.d(e,"retrieve3",(function(){return J})),n.d(e,"slice",(function(){return Q})),n.d(e,"normalizeCssArray",(function(){return tt})),n.d(e,"assert",(function(){return et})),n.d(e,"trim",(function(){return nt})),n.d(e,"setAsPrimitive",(function(){return it})),n.d(e,"isPrimitive",(function(){return ot})),n.d(e,"HashMap",(function(){return ct})),n.d(e,"createHashMap",(function(){return ut})),n.d(e,"concatArray",(function(){return ht})),n.d(e,"createObject",(function(){return dt})),n.d(e,"disableUserSelect",(function(){return pt})),n.d(e,"hasOwn",(function(){return ft})),n.d(e,"noop",(function(){return gt})),n.d(e,"RADIAN_TO_DEGREE",(function(){return yt}));var r=n("726e"),i=T(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=T(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,c=s.filter,u=s.slice,h=s.map,d=function(){}.constructor,p=d?d.prototype:null,f="__proto__",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e=0)c=l*n.length;else for(var d=0;d0,z=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),B=a.calculatedLineHeight,V=0;V=0&&(k=O[D],"right"===k.align))this._placeToken(k,t,S,v,T,"right",b),j-=k.width,T-=k.width,D--;I+=(r-(I-y)-(m-T)-j)/2;while(M<=D)k=O[M],this._placeToken(k,t,S,v,I+k.width/2,"center",b),I+=k.width,M++;v+=S}},e.prototype._placeToken=function(t,e,n,r,i,l,c){var h=e.rich[t.styleName]||{};h.text=t.text;var p=t.verticalAlign,g=r+n/2;"top"===p?g=r+t.height/2:"bottom"===p&&(g=r+n-t.height/2);var y=!t.isLineHolder&&A(h);y&&this._renderBackground(h,e,"right"===l?i-t.width:"center"===l?i-t.width/2:i,g-t.height/2,t.width,t.height);var v=!!h.backgroundColor,m=t.textPadding;m&&(i=I(i,l,m),g-=t.height/2-m[0]-t.innerHeight/2);var b=this._getOrCreateChild(o["a"]),x=b.createStyle();b.useStyle(x);var O=this._defaultStyle,w=!1,S=0,C=M("fill"in h?h.fill:"fill"in e?e.fill:(w=!0,O.fill)),T=j("stroke"in h?h.stroke:"stroke"in e?e.stroke:v||c||O.autoStroke&&!w?null:(S=f,O.stroke)),D=h.textShadowBlur>0||e.textShadowBlur>0;x.text=t.text,x.x=i,x.y=g,D&&(x.shadowBlur=h.textShadowBlur||e.textShadowBlur||0,x.shadowColor=h.textShadowColor||e.textShadowColor||"transparent",x.shadowOffsetX=h.textShadowOffsetX||e.textShadowOffsetX||0,x.shadowOffsetY=h.textShadowOffsetY||e.textShadowOffsetY||0),x.textAlign=l,x.textBaseline="middle",x.font=t.font||d["a"],x.opacity=Object(a["retrieve3"])(h.opacity,e.opacity,1),_(x,h),T&&(x.lineWidth=Object(a["retrieve3"])(h.lineWidth,e.lineWidth,S),x.lineDash=Object(a["retrieve2"])(h.lineDash,e.lineDash),x.lineDashOffset=e.lineDashOffset||0,x.stroke=T),C&&(x.fill=C);var k=t.contentWidth,L=t.contentHeight;b.setBoundingRect(new u["a"](Object(s["a"])(x.x,k,x.textAlign),Object(s["b"])(x.y,L,x.textBaseline),k,L))},e.prototype._renderBackground=function(t,e,n,r,i,o){var s,u,h=t.backgroundColor,d=t.borderWidth,p=t.borderColor,f=h&&h.image,g=h&&!f,y=t.borderRadius,v=this;if(g||t.lineHeight||d&&p){s=this._getOrCreateChild(c["a"]),s.useStyle(s.createStyle()),s.style.fill=null;var m=s.shape;m.x=n,m.y=r,m.width=i,m.height=o,m.r=y,s.dirtyShape()}if(g){var b=s.style;b.fill=h||null,b.fillOpacity=Object(a["retrieve2"])(t.fillOpacity,1)}else if(f){u=this._getOrCreateChild(l["a"]),u.onload=function(){v.dirtyStyle()};var x=u.style;x.image=h.image,x.x=n,x.y=r,x.width=i,x.height=o}if(d&&p){b=s.style;b.lineWidth=d,b.stroke=p,b.strokeOpacity=Object(a["retrieve2"])(t.strokeOpacity,1),b.lineDash=t.borderDash,b.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(b.strokeFirst=!0,b.lineWidth*=2)}var _=(s||u).style;_.shadowBlur=t.shadowBlur||0,_.shadowColor=t.shadowColor||"transparent",_.shadowOffsetX=t.shadowOffsetX||0,_.shadowOffsetY=t.shadowOffsetY||0,_.opacity=Object(a["retrieve3"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return O(t)&&(e=[t.fontStyle,t.fontWeight,x(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Object(a["trim"])(e)||t.textFont||t.font},e}(h["c"]),v={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1},b=["fontStyle","fontWeight","fontSize","fontFamily"];function x(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?d["c"]+"px":t+"px":t}function _(t,e){for(var n=0;n{a[t]={value:t}}),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=(t,e,n,a,s,l)=>{const c=Object.create(o);return r["a"].toFlatObject(t,c,(function(t){return t!==Error.prototype}),t=>"isAxiosError"!==t),i.call(c,t.message,e,n,a,s),c.cause=t,c.name=t.name,l&&Object.assign(c,l),c},e["a"]=i},"7a23":function(t,e,n){"use strict";n.d(e,"i",(function(){return a})),n.d(e,"v",(function(){return wt})),n.d(e,"w",(function(){return zt})),n.d(e,"z",(function(){return Bt})),n.d(e,"B",(function(){return Gt})),n.d(e,"n",(function(){return r["L"]})),n.d(e,"A",(function(){return r["O"]})),n.d(e,"a",(function(){return Or})),n.d(e,"b",(function(){return vi})),n.d(e,"d",(function(){return Lr})),n.d(e,"e",(function(){return Br})),n.d(e,"f",(function(){return Ur})),n.d(e,"g",(function(){return Vr})),n.d(e,"h",(function(){return Qe})),n.d(e,"j",(function(){return ei})),n.d(e,"k",(function(){return mi})),n.d(e,"l",(function(){return Ee})),n.d(e,"m",(function(){return se})),n.d(e,"o",(function(){return rn})),n.d(e,"p",(function(){return on})),n.d(e,"q",(function(){return vn})),n.d(e,"r",(function(){return Cr})),n.d(e,"s",(function(){return je})),n.d(e,"t",(function(){return Re})),n.d(e,"u",(function(){return Se})),n.d(e,"x",(function(){return An})),n.d(e,"y",(function(){return jn})),n.d(e,"D",(function(){return ze})),n.d(e,"E",(function(){return On})),n.d(e,"c",(function(){return Io})),n.d(e,"C",(function(){return Oo}));var r=n("9ff4");let i;class o{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=i,!t&&i&&(this.index=(i.scopes||(i.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=i;try{return i=this,t()}finally{i=e}}else 0}on(){i=this}off(){i=this.parent}stop(t){if(this._active){let e,n;for(e=0,n=this.effects.length;e{const e=new Set(t);return e.w=0,e.n=0,e},u=t=>(t.w&y)>0,h=t=>(t.n&y)>0,d=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r{("length"===n||n>=t)&&l.push(e)})}else switch(void 0!==n&&l.push(s.get(n)),e){case"add":Object(r["o"])(t)?Object(r["t"])(n)&&l.push(s.get("length")):(l.push(s.get(b)),Object(r["u"])(t)&&l.push(s.get(x)));break;case"delete":Object(r["o"])(t)||(l.push(s.get(b)),Object(r["u"])(t)&&l.push(s.get(x)));break;case"set":Object(r["u"])(t)&&l.push(s.get(b));break}if(1===l.length)l[0]&&T(l[0]);else{const t=[];for(const e of l)e&&t.push(...e);T(c(t))}}function T(t,e){const n=Object(r["o"])(t)?t:[...t];for(const r of n)r.computed&&D(r,e);for(const r of n)r.computed||D(r,e)}function D(t,e){(t!==m||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const k=Object(r["K"])("__proto__,__v_isRef,__isVue"),L=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(r["G"])),P=V(),R=V(!1,!0),E=V(!0),N=z();function z(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...t){const n=Dt(this);for(let e=0,i=this.length;e{t[e]=function(...t){j();const n=Dt(this)[e].apply(this,t);return M(),n}}),t}function B(t){const e=Dt(this);return I(e,"has",t),e.hasOwnProperty(t)}function V(t=!1,e=!1){return function(n,i,o){if("__v_isReactive"===i)return!t;if("__v_isReadonly"===i)return t;if("__v_isShallow"===i)return e;if("__v_raw"===i&&o===(t?e?xt:bt:e?mt:vt).get(n))return n;const a=Object(r["o"])(n);if(!t){if(a&&Object(r["k"])(N,i))return Reflect.get(N,i,o);if("hasOwnProperty"===i)return B}const s=Reflect.get(n,i,o);return(Object(r["G"])(i)?L.has(i):k(i))?s:(t||I(n,"get",i),e?s:Nt(s)?a&&Object(r["t"])(i)?s:s.value:Object(r["w"])(s)?t?jt(s):wt(s):s)}}const F=H(),G=H(!0);function H(t=!1){return function(e,n,i,o){let a=e[n];if(Ct(a)&&Nt(a)&&!Nt(i))return!1;if(!t&&(At(i)||Ct(i)||(a=Dt(a),i=Dt(i)),!Object(r["o"])(e)&&Nt(a)&&!Nt(i)))return a.value=i,!0;const s=Object(r["o"])(e)&&Object(r["t"])(n)?Number(n)t,$=t=>Reflect.getPrototypeOf(t);function J(t,e,n=!1,r=!1){t=t["__v_raw"];const i=Dt(t),o=Dt(e);n||(e!==o&&I(i,"get",e),I(i,"get",o));const{has:a}=$(i),s=r?K:n?Pt:Lt;return a.call(i,e)?s(t.get(e)):a.call(i,o)?s(t.get(o)):void(t!==i&&t.get(e))}function Q(t,e=!1){const n=this["__v_raw"],r=Dt(n),i=Dt(t);return e||(t!==i&&I(r,"has",t),I(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function tt(t,e=!1){return t=t["__v_raw"],!e&&I(Dt(t),"iterate",b),Reflect.get(t,"size",t)}function et(t){t=Dt(t);const e=Dt(this),n=$(e),r=n.has.call(e,t);return r||(e.add(t),A(e,"add",t,t)),this}function nt(t,e){e=Dt(e);const n=Dt(this),{has:i,get:o}=$(n);let a=i.call(n,t);a||(t=Dt(t),a=i.call(n,t));const s=o.call(n,t);return n.set(t,e),a?Object(r["j"])(e,s)&&A(n,"set",t,e,s):A(n,"add",t,e),this}function rt(t){const e=Dt(this),{has:n,get:r}=$(e);let i=n.call(e,t);i||(t=Dt(t),i=n.call(e,t));const o=r?r.call(e,t):void 0,a=e.delete(t);return i&&A(e,"delete",t,void 0,o),a}function it(){const t=Dt(this),e=0!==t.size,n=void 0,r=t.clear();return e&&A(t,"clear",void 0,void 0,n),r}function ot(t,e){return function(n,r){const i=this,o=i["__v_raw"],a=Dt(o),s=e?K:t?Pt:Lt;return!t&&I(a,"iterate",b),o.forEach((t,e)=>n.call(r,s(t),s(e),i))}}function at(t,e,n){return function(...i){const o=this["__v_raw"],a=Dt(o),s=Object(r["u"])(a),l="entries"===t||t===Symbol.iterator&&s,c="keys"===t&&s,u=o[t](...i),h=n?K:e?Pt:Lt;return!e&&I(a,"iterate",c?x:b),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:l?[h(t[0]),h(t[1])]:h(t),done:e}},[Symbol.iterator](){return this}}}}function st(t){return function(...e){return"delete"!==t&&this}}function lt(){const t={get(t){return J(this,t)},get size(){return tt(this)},has:Q,add:et,set:nt,delete:rt,clear:it,forEach:ot(!1,!1)},e={get(t){return J(this,t,!1,!0)},get size(){return tt(this)},has:Q,add:et,set:nt,delete:rt,clear:it,forEach:ot(!1,!0)},n={get(t){return J(this,t,!0)},get size(){return tt(this,!0)},has(t){return Q.call(this,t,!0)},add:st("add"),set:st("set"),delete:st("delete"),clear:st("clear"),forEach:ot(!0,!1)},r={get(t){return J(this,t,!0,!0)},get size(){return tt(this,!0)},has(t){return Q.call(this,t,!0)},add:st("add"),set:st("set"),delete:st("delete"),clear:st("clear"),forEach:ot(!0,!0)},i=["keys","values","entries",Symbol.iterator];return i.forEach(i=>{t[i]=at(i,!1,!1),n[i]=at(i,!0,!1),e[i]=at(i,!1,!0),r[i]=at(i,!0,!0)}),[t,n,e,r]}const[ct,ut,ht,dt]=lt();function pt(t,e){const n=e?t?dt:ht:t?ut:ct;return(e,i,o)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(Object(r["k"])(n,i)&&i in e?n:e,i,o)}const ft={get:pt(!1,!1)},gt={get:pt(!1,!0)},yt={get:pt(!0,!1)};const vt=new WeakMap,mt=new WeakMap,bt=new WeakMap,xt=new WeakMap;function _t(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ot(t){return t["__v_skip"]||!Object.isExtensible(t)?0:_t(Object(r["R"])(t))}function wt(t){return Ct(t)?t:Mt(t,!1,Y,ft,vt)}function St(t){return Mt(t,!1,Z,gt,mt)}function jt(t){return Mt(t,!0,X,yt,bt)}function Mt(t,e,n,i,o){if(!Object(r["w"])(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const a=o.get(t);if(a)return a;const s=Ot(t);if(0===s)return t;const l=new Proxy(t,2===s?i:n);return o.set(t,l),l}function It(t){return Ct(t)?It(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function Ct(t){return!(!t||!t["__v_isReadonly"])}function At(t){return!(!t||!t["__v_isShallow"])}function Tt(t){return It(t)||Ct(t)}function Dt(t){const e=t&&t["__v_raw"];return e?Dt(e):t}function kt(t){return Object(r["g"])(t,"__v_skip",!0),t}const Lt=t=>Object(r["w"])(t)?wt(t):t,Pt=t=>Object(r["w"])(t)?jt(t):t;function Rt(t){w&&m&&(t=Dt(t),C(t.dep||(t.dep=c())))}function Et(t,e){t=Dt(t);const n=t.dep;n&&T(n)}function Nt(t){return!(!t||!0!==t.__v_isRef)}function zt(t){return Vt(t,!1)}function Bt(t){return Vt(t,!0)}function Vt(t,e){return Nt(t)?t:new Ft(t,e)}class Ft{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Dt(t),this._value=e?t:Lt(t)}get value(){return Rt(this),this._value}set value(t){const e=this.__v_isShallow||At(t)||Ct(t);t=e?t:Dt(t),Object(r["j"])(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:Lt(t),Et(this,t))}}function Gt(t){return Nt(t)?t.value:t}const Ht={get:(t,e,n)=>Gt(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Nt(i)&&!Nt(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Wt(t){return It(t)?t:new Proxy(t,Ht)}var Ut;class qt{constructor(t,e,n,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[Ut]=!1,this._dirty=!0,this.effect=new _(t,()=>{this._dirty||(this._dirty=!0,Et(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const t=Dt(this);return Rt(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Yt(t,e,n=!1){let i,o;const a=Object(r["q"])(t);a?(i=t,o=r["d"]):(i=t.get,o=t.set);const s=new qt(i,o,a||!o,n);return s}Ut="__v_isReadonly";function Xt(t,e,n,r){let i;try{i=r?t(...r):t()}catch(o){Kt(o,e,n)}return i}function Zt(t,e,n,i){if(Object(r["q"])(t)){const o=Xt(t,e,n,i);return o&&Object(r["z"])(o)&&o.catch(t=>{Kt(t,e,n)}),o}const o=[];for(let r=0;r>>1,i=ge(te[r]);iee&&te.splice(e,1)}function de(t){Object(r["o"])(t)?ne.push(...t):re&&re.includes(t,t.allowRecurse?ie+1:ie)||ne.push(t),ue()}function pe(t,e=(Jt?ee+1:0)){for(0;ege(t)-ge(e)),ie=0;ienull==t.id?1/0:t.id,ye=(t,e)=>{const n=ge(t)-ge(e);if(0===n){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function ve(t){Qt=!1,Jt=!0,te.sort(ye);r["d"];try{for(ee=0;eeObject(r["F"])(t)?t.trim():t)),e&&(o=n.map(r["J"]))}let l;let c=i[l=Object(r["P"])(e)]||i[l=Object(r["P"])(Object(r["e"])(e))];!c&&a&&(c=i[l=Object(r["P"])(Object(r["l"])(e))]),c&&Zt(c,t,6,o);const u=i[l+"Once"];if(u){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,Zt(u,t,6,o)}}function be(t,e,n=!1){const i=e.emitsCache,o=i.get(t);if(void 0!==o)return o;const a=t.emits;let s={},l=!1;if(!Object(r["q"])(t)){const i=t=>{const n=be(t,e,!0);n&&(l=!0,Object(r["h"])(s,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return a||l?(Object(r["o"])(a)?a.forEach(t=>s[t]=null):Object(r["h"])(s,a),Object(r["w"])(t)&&i.set(t,s),s):(Object(r["w"])(t)&&i.set(t,null),null)}function xe(t,e){return!(!t||!Object(r["x"])(e))&&(e=e.slice(2).replace(/Once$/,""),Object(r["k"])(t,e[0].toLowerCase()+e.slice(1))||Object(r["k"])(t,Object(r["l"])(e))||Object(r["k"])(t,e))}let _e=null,Oe=null;function we(t){const e=_e;return _e=t,Oe=t&&t.type.__scopeId||null,e}function Se(t){Oe=t}function je(){Oe=null}function Me(t,e=_e,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&Dr(-1);const i=we(e);let o;try{o=t(...n)}finally{we(i),r._d&&Dr(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Ie(t){const{type:e,vnode:n,proxy:i,withProxy:o,props:a,propsOptions:[s],slots:l,attrs:c,emit:u,render:h,renderCache:d,data:p,setupState:f,ctx:g,inheritAttrs:y}=t;let v,m;const b=we(t);try{if(4&n.shapeFlag){const t=o||i;v=qr(h.call(t,t,d,a,f,p,g)),m=c}else{const t=e;0,v=qr(t.length>1?t(a,{attrs:c,slots:l,emit:u}):t(a,null)),m=e.props?c:Ce(c)}}catch(_){Mr.length=0,Kt(_,t,1),v=Vr(Sr)}let x=v;if(m&&!1!==y){const t=Object.keys(m),{shapeFlag:e}=x;t.length&&7&e&&(s&&t.some(r["v"])&&(m=Ae(m,s)),x=Hr(x,m))}return n.dirs&&(x=Hr(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),v=x,we(b),v}const Ce=t=>{let e;for(const n in t)("class"===n||"style"===n||Object(r["x"])(n))&&((e||(e={}))[n]=t[n]);return e},Ae=(t,e)=>{const n={};for(const i in t)Object(r["v"])(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function Te(t,e,n){const{props:r,children:i,component:o}=t,{props:a,children:s,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||r!==a&&(r?!a||De(r,a,c):!!a);if(1024&l)return!0;if(16&l)return r?De(r,a,c):!!a;if(8&l){const t=e.dynamicProps;for(let e=0;et.__isSuspense;function Pe(t,e){e&&e.pendingBranch?Object(r["o"])(t)?e.effects.push(...t):e.effects.push(t):de(t)}function Re(t,e){if(ti){let n=ti.provides;const r=ti.parent&&ti.parent.provides;r===n&&(n=ti.provides=Object.create(r)),n[t]=e}else 0}function Ee(t,e,n=!1){const i=ti||_e;if(i){const o=null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Object(r["q"])(e)?e.call(i.proxy):e}else 0}const Ne={};function ze(t,e,n){return Be(t,e,n)}function Be(t,e,{immediate:n,deep:i,flush:o,onTrack:a,onTrigger:s}=r["b"]){const c=l()===(null===ti||void 0===ti?void 0:ti.scope)?ti:null;let u,h,d=!1,p=!1;if(Nt(t)?(u=()=>t.value,d=At(t)):It(t)?(u=()=>t,i=!0):Object(r["o"])(t)?(p=!0,d=t.some(t=>It(t)||At(t)),u=()=>t.map(t=>Nt(t)?t.value:It(t)?Ge(t):Object(r["q"])(t)?Xt(t,c,2):void 0)):u=Object(r["q"])(t)?e?()=>Xt(t,c,2):()=>{if(!c||!c.isUnmounted)return h&&h(),Zt(t,c,3,[g])}:r["d"],e&&i){const t=u;u=()=>Ge(t())}let f,g=t=>{h=b.onStop=()=>{Xt(t,c,4)}};if(si){if(g=r["d"],e?n&&Zt(e,c,3,[u(),p?[]:void 0,g]):u(),"sync"!==o)return r["d"];{const t=xi();f=t.__watcherHandles||(t.__watcherHandles=[])}}let y=p?new Array(t.length).fill(Ne):Ne;const v=()=>{if(b.active)if(e){const t=b.run();(i||d||(p?t.some((t,e)=>Object(r["j"])(t,y[e])):Object(r["j"])(t,y)))&&(h&&h(),Zt(e,c,3,[t,y===Ne?void 0:p&&y[0]===Ne?[]:y,g]),y=t)}else b.run()};let m;v.allowRecurse=!!e,"sync"===o?m=v:"post"===o?m=()=>gr(v,c&&c.suspense):(v.pre=!0,c&&(v.id=c.uid),m=()=>ce(v));const b=new _(u,m);e?n?v():y=b.run():"post"===o?gr(b.run.bind(b),c&&c.suspense):b.run();const x=()=>{b.stop(),c&&c.scope&&Object(r["N"])(c.scope.effects,b)};return f&&f.push(x),x}function Ve(t,e,n){const i=this.proxy,o=Object(r["F"])(t)?t.includes(".")?Fe(i,t):()=>i[t]:t.bind(i,i);let a;Object(r["q"])(e)?a=e:(a=e.handler,n=e);const s=ti;ni(this);const l=Be(o,a.bind(i),n);return s?ni(s):ri(),l}function Fe(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t{Ge(t,e)});else if(Object(r["y"])(t))for(const n in t)Ge(t[n],e);return t}function He(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pn(()=>{t.isMounted=!0}),yn(()=>{t.isUnmounting=!0}),t}const We=[Function,Array],Ue={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:We,onEnter:We,onAfterEnter:We,onEnterCancelled:We,onBeforeLeave:We,onLeave:We,onAfterLeave:We,onLeaveCancelled:We,onBeforeAppear:We,onAppear:We,onAfterAppear:We,onAppearCancelled:We},setup(t,{slots:e}){const n=ei(),r=He();let i;return()=>{const o=e.default&&Je(e.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){let t=!1;for(const e of o)if(e.type!==Sr){0,a=e,t=!0;break}}const s=Dt(t),{mode:l}=s;if(r.isLeaving)return Ze(a);const c=Ke(a);if(!c)return Ze(a);const u=Xe(c,s,r,n);$e(c,u);const h=n.subTree,d=h&&Ke(h);let p=!1;const{getTransitionKey:f}=c.type;if(f){const t=f();void 0===i?i=t:t!==i&&(i=t,p=!0)}if(d&&d.type!==Sr&&(!Rr(c,d)||p)){const t=Xe(d,s,r,n);if($e(d,t),"out-in"===l)return r.isLeaving=!0,t.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&n.update()},Ze(a);"in-out"===l&&c.type!==Sr&&(t.delayLeave=(t,e,n)=>{const i=Ye(r,d);i[String(d.key)]=d,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return a}}},qe=Ue;function Ye(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Xe(t,e,n,i){const{appear:o,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:y,onAppear:v,onAfterAppear:m,onAppearCancelled:b}=e,x=String(t.key),_=Ye(n,t),O=(t,e)=>{t&&Zt(t,i,9,e)},w=(t,e)=>{const n=e[1];O(t,e),Object(r["o"])(t)?t.every(t=>t.length<=1)&&n():t.length<=1&&n()},S={mode:a,persisted:s,beforeEnter(e){let r=l;if(!n.isMounted){if(!o)return;r=y||l}e._leaveCb&&e._leaveCb(!0);const i=_[x];i&&Rr(t,i)&&i.el._leaveCb&&i.el._leaveCb(),O(r,[e])},enter(t){let e=c,r=u,i=h;if(!n.isMounted){if(!o)return;e=v||c,r=m||u,i=b||h}let a=!1;const s=t._enterCb=e=>{a||(a=!0,O(e?i:r,[t]),S.delayedLeave&&S.delayedLeave(),t._enterCb=void 0)};e?w(e,[t,s]):s()},leave(e,r){const i=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();O(d,[e]);let o=!1;const a=e._leaveCb=n=>{o||(o=!0,r(),O(n?g:f,[e]),e._leaveCb=void 0,_[i]===t&&delete _[i])};_[i]=t,p?w(p,[e,a]):a()},clone(t){return Xe(t,e,n,i)}};return S}function Ze(t){if(en(t))return t=Hr(t),t.children=null,t}function Ke(t){return en(t)?t.children?t.children[0]:void 0:t}function $e(t,e){6&t.shapeFlag&&t.component?$e(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Je(t,e=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;o!!t.type.__asyncLoader;const en=t=>t.type.__isKeepAlive;RegExp,RegExp;function nn(t,e){return Object(r["o"])(t)?t.some(t=>nn(t,e)):Object(r["F"])(t)?t.split(",").includes(e):!!Object(r["A"])(t)&&t.test(e)}function rn(t,e){an(t,"a",e)}function on(t,e){an(t,"da",e)}function an(t,e,n=ti){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if(un(e,r,n),n){let t=n.parent;while(t&&t.parent)en(t.parent.vnode)&&sn(r,e,n,t),t=t.parent}}function sn(t,e,n,i){const o=un(e,t,i,!0);vn(()=>{Object(r["N"])(i[e],o)},n)}function ln(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function cn(t){return 128&t.shapeFlag?t.ssContent:t}function un(t,e,n=ti,r=!1){if(n){const i=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{if(n.isUnmounted)return;j(),ni(n);const i=Zt(e,n,t,r);return ri(),M(),i});return r?i.unshift(o):i.push(o),o}}const hn=t=>(e,n=ti)=>(!si||"sp"===t)&&un(t,(...t)=>e(...t),n),dn=hn("bm"),pn=hn("m"),fn=hn("bu"),gn=hn("u"),yn=hn("bum"),vn=hn("um"),mn=hn("sp"),bn=hn("rtg"),xn=hn("rtc");function _n(t,e=ti){un("ec",t,e)}function On(t,e){const n=_e;if(null===n)return t;const i=fi(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let a=0;ae(t,n,void 0,a&&a[n]));else{const n=Object.keys(t);o=new Array(n.length);for(let r=0,i=n.length;rt?ii(t)?fi(t)||t.proxy:Tn(t.parent):null,Dn=Object(r["h"])(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Tn(t.parent),$root:t=>Tn(t.root),$emit:t=>t.emit,$options:t=>Bn(t),$forceUpdate:t=>t.f||(t.f=()=>ce(t.update)),$nextTick:t=>t.n||(t.n=se.bind(t.proxy)),$watch:t=>Ve.bind(t)}),kn=(t,e)=>t!==r["b"]&&!t.__isScriptSetup&&Object(r["k"])(t,e),Ln={get({_:t},e){const{ctx:n,setupState:i,data:o,props:a,accessCache:s,type:l,appContext:c}=t;let u;if("$"!==e[0]){const l=s[e];if(void 0!==l)switch(l){case 1:return i[e];case 2:return o[e];case 4:return n[e];case 3:return a[e]}else{if(kn(i,e))return s[e]=1,i[e];if(o!==r["b"]&&Object(r["k"])(o,e))return s[e]=2,o[e];if((u=t.propsOptions[0])&&Object(r["k"])(u,e))return s[e]=3,a[e];if(n!==r["b"]&&Object(r["k"])(n,e))return s[e]=4,n[e];Pn&&(s[e]=0)}}const h=Dn[e];let d,p;return h?("$attrs"===e&&I(t,"get",e),h(t)):(d=l.__cssModules)&&(d=d[e])?d:n!==r["b"]&&Object(r["k"])(n,e)?(s[e]=4,n[e]):(p=c.config.globalProperties,Object(r["k"])(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:i,setupState:o,ctx:a}=t;return kn(o,e)?(o[e]=n,!0):i!==r["b"]&&Object(r["k"])(i,e)?(i[e]=n,!0):!Object(r["k"])(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(a[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:o,propsOptions:a}},s){let l;return!!n[s]||t!==r["b"]&&Object(r["k"])(t,s)||kn(e,s)||(l=a[0])&&Object(r["k"])(l,s)||Object(r["k"])(i,s)||Object(r["k"])(Dn,s)||Object(r["k"])(o.config.globalProperties,s)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:Object(r["k"])(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Pn=!0;function Rn(t){const e=Bn(t),n=t.proxy,i=t.ctx;Pn=!1,e.beforeCreate&&Nn(e.beforeCreate,t,"bc");const{data:o,computed:a,methods:s,watch:l,provide:c,inject:u,created:h,beforeMount:d,mounted:p,beforeUpdate:f,updated:g,activated:y,deactivated:v,beforeDestroy:m,beforeUnmount:b,destroyed:x,unmounted:_,render:O,renderTracked:w,renderTriggered:S,errorCaptured:j,serverPrefetch:M,expose:I,inheritAttrs:C,components:A,directives:T,filters:D}=e,k=null;if(u&&En(u,i,k,t.appContext.config.unwrapInjectedRef),s)for(const P in s){const t=s[P];Object(r["q"])(t)&&(i[P]=t.bind(n))}if(o){0;const e=o.call(n,n);0,Object(r["w"])(e)&&(t.data=wt(e))}if(Pn=!0,a)for(const P in a){const t=a[P],e=Object(r["q"])(t)?t.bind(n,n):Object(r["q"])(t.get)?t.get.bind(n,n):r["d"];0;const o=!Object(r["q"])(t)&&Object(r["q"])(t.set)?t.set.bind(n):r["d"],s=vi({get:e,set:o});Object.defineProperty(i,P,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t})}if(l)for(const r in l)zn(l[r],i,n,r);if(c){const t=Object(r["q"])(c)?c.call(n):c;Reflect.ownKeys(t).forEach(e=>{Re(e,t[e])})}function L(t,e){Object(r["o"])(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(h&&Nn(h,t,"c"),L(dn,d),L(pn,p),L(fn,f),L(gn,g),L(rn,y),L(on,v),L(_n,j),L(xn,w),L(bn,S),L(yn,b),L(vn,_),L(mn,M),Object(r["o"])(I))if(I.length){const e=t.exposed||(t.exposed={});I.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})})}else t.exposed||(t.exposed={});O&&t.render===r["d"]&&(t.render=O),null!=C&&(t.inheritAttrs=C),A&&(t.components=A),T&&(t.directives=T)}function En(t,e,n=r["d"],i=!1){Object(r["o"])(t)&&(t=Wn(t));for(const o in t){const n=t[o];let a;a=Object(r["w"])(n)?"default"in n?Ee(n.from||o,n.default,!0):Ee(n.from||o):Ee(n),Nt(a)&&i?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t}):e[o]=a}}function Nn(t,e,n){Zt(Object(r["o"])(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function zn(t,e,n,i){const o=i.includes(".")?Fe(n,i):()=>n[i];if(Object(r["F"])(t)){const n=e[t];Object(r["q"])(n)&&ze(o,n)}else if(Object(r["q"])(t))ze(o,t.bind(n));else if(Object(r["w"])(t))if(Object(r["o"])(t))t.forEach(t=>zn(t,e,n,i));else{const i=Object(r["q"])(t.handler)?t.handler.bind(n):e[t.handler];Object(r["q"])(i)&&ze(o,i,t)}else 0}function Bn(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:o,optionsCache:a,config:{optionMergeStrategies:s}}=t.appContext,l=a.get(e);let c;return l?c=l:o.length||n||i?(c={},o.length&&o.forEach(t=>Vn(c,t,s,!0)),Vn(c,e,s)):c=e,Object(r["w"])(e)&&a.set(e,c),c}function Vn(t,e,n,r=!1){const{mixins:i,extends:o}=e;o&&Vn(t,o,n,!0),i&&i.forEach(e=>Vn(t,e,n,!0));for(const a in e)if(r&&"expose"===a);else{const r=Fn[a]||n&&n[a];t[a]=r?r(t[a],e[a]):e[a]}return t}const Fn={data:Gn,props:qn,emits:qn,methods:qn,computed:qn,beforeCreate:Un,created:Un,beforeMount:Un,mounted:Un,beforeUpdate:Un,updated:Un,beforeDestroy:Un,beforeUnmount:Un,destroyed:Un,unmounted:Un,activated:Un,deactivated:Un,errorCaptured:Un,serverPrefetch:Un,components:qn,directives:qn,watch:Yn,provide:Gn,inject:Hn};function Gn(t,e){return e?t?function(){return Object(r["h"])(Object(r["q"])(t)?t.call(this,this):t,Object(r["q"])(e)?e.call(this,this):e)}:e:t}function Hn(t,e){return qn(Wn(t),Wn(e))}function Wn(t){if(Object(r["o"])(t)){const e={};for(let n=0;n0)||16&s){let i;Kn(t,e,o,a)&&(u=!0);for(const a in l)e&&(Object(r["k"])(e,a)||(i=Object(r["l"])(a))!==a&&Object(r["k"])(e,i))||(c?!n||void 0===n[a]&&void 0===n[i]||(o[a]=$n(c,l,a,void 0,t,!0)):delete o[a]);if(a!==l)for(const t in a)e&&Object(r["k"])(e,t)||(delete a[t],u=!0)}else if(8&s){const n=t.vnode.dynamicProps;for(let i=0;i{c=!0;const[n,i]=Jn(t,e,!0);Object(r["h"])(s,n),i&&l.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!a&&!c)return Object(r["w"])(t)&&i.set(t,r["a"]),r["a"];if(Object(r["o"])(a))for(let h=0;h-1,i[1]=n<0||t-1||Object(r["k"])(i,"default"))&&l.push(e)}}}}const u=[s,l];return Object(r["w"])(t)&&i.set(t,u),u}function Qn(t){return"$"!==t[0]}function tr(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:null===t?"null":""}function er(t,e){return tr(t)===tr(e)}function nr(t,e){return Object(r["o"])(e)?e.findIndex(e=>er(e,t)):Object(r["q"])(e)&&er(e,t)?0:-1}const rr=t=>"_"===t[0]||"$stable"===t,ir=t=>Object(r["o"])(t)?t.map(qr):[qr(t)],or=(t,e,n)=>{if(e._n)return e;const r=Me((...t)=>ir(e(...t)),n);return r._c=!1,r},ar=(t,e,n)=>{const i=t._ctx;for(const o in t){if(rr(o))continue;const n=t[o];if(Object(r["q"])(n))e[o]=or(o,n,i);else if(null!=n){0;const t=ir(n);e[o]=()=>t}}},sr=(t,e)=>{const n=ir(e);t.slots.default=()=>n},lr=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=Dt(e),Object(r["g"])(e,"_",n)):ar(e,t.slots={})}else t.slots={},e&&sr(t,e);Object(r["g"])(t.slots,Er,1)},cr=(t,e,n)=>{const{vnode:i,slots:o}=t;let a=!0,s=r["b"];if(32&i.shapeFlag){const t=e._;t?n&&1===t?a=!1:(Object(r["h"])(o,e),n||1!==t||delete o._):(a=!e.$stable,ar(e,o)),s=e}else e&&(sr(t,e),s={default:1});if(a)for(const r in o)rr(r)||r in s||delete o[r]};function ur(){return{app:null,config:{isNativeTag:r["c"],performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let hr=0;function dr(t,e){return function(n,i=null){Object(r["q"])(n)||(n=Object.assign({},n)),null==i||Object(r["w"])(i)||(i=null);const o=ur(),a=new Set;let s=!1;const l=o.app={_uid:hr++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:_i,get config(){return o.config},set config(t){0},use(t,...e){return a.has(t)||(t&&Object(r["q"])(t.install)?(a.add(t),t.install(l,...e)):Object(r["q"])(t)&&(a.add(t),t(l,...e))),l},mixin(t){return o.mixins.includes(t)||o.mixins.push(t),l},component(t,e){return e?(o.components[t]=e,l):o.components[t]},directive(t,e){return e?(o.directives[t]=e,l):o.directives[t]},mount(r,a,c){if(!s){0;const u=Vr(n,i);return u.appContext=o,a&&e?e(u,r):t(u,r,c),s=!0,l._container=r,r.__vue_app__=l,fi(u.component)||u.component.proxy}},unmount(){s&&(t(null,l._container),delete l._container.__vue_app__)},provide(t,e){return o.provides[t]=e,l}};return l}}function pr(t,e,n,i,o=!1){if(Object(r["o"])(t))return void t.forEach((t,a)=>pr(t,e&&(Object(r["o"])(e)?e[a]:e),n,i,o));if(tn(i)&&!o)return;const a=4&i.shapeFlag?fi(i.component)||i.component.proxy:i.el,s=o?null:a,{i:l,r:c}=t;const u=e&&e.r,h=l.refs===r["b"]?l.refs={}:l.refs,d=l.setupState;if(null!=u&&u!==c&&(Object(r["F"])(u)?(h[u]=null,Object(r["k"])(d,u)&&(d[u]=null)):Nt(u)&&(u.value=null)),Object(r["q"])(c))Xt(c,l,12,[s,h]);else{const e=Object(r["F"])(c),i=Nt(c);if(e||i){const l=()=>{if(t.f){const n=e?Object(r["k"])(d,c)?d[c]:h[c]:c.value;o?Object(r["o"])(n)&&Object(r["N"])(n,a):Object(r["o"])(n)?n.includes(a)||n.push(a):e?(h[c]=[a],Object(r["k"])(d,c)&&(d[c]=h[c])):(c.value=[a],t.k&&(h[t.k]=c.value))}else e?(h[c]=s,Object(r["k"])(d,c)&&(d[c]=s)):i&&(c.value=s,t.k&&(h[t.k]=s))};s?(l.id=-1,gr(l,n)):l()}else 0}}function fr(){}const gr=Pe;function yr(t){return vr(t)}function vr(t,e){fr();const n=Object(r["i"])();n.__VUE__=!0;const{insert:i,remove:o,patchProp:a,createElement:s,createText:l,createComment:c,setText:u,setElementText:h,parentNode:d,nextSibling:p,setScopeId:f=r["d"],insertStaticContent:g}=t,y=(t,e,n,r=null,i=null,o=null,a=!1,s=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!Rr(t,e)&&(r=Y(t),G(t,i,o,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=e;switch(c){case wr:v(t,e,n,r);break;case Sr:m(t,e,n,r);break;case jr:null==t&&b(e,n,r,a);break;case Or:k(t,e,n,r,i,o,a,s,l);break;default:1&h?w(t,e,n,r,i,o,a,s,l):6&h?L(t,e,n,r,i,o,a,s,l):(64&h||128&h)&&c.process(t,e,n,r,i,o,a,s,l,Z)}null!=u&&i&&pr(u,t&&t.ref,o,e||t,!e)},v=(t,e,n,r)=>{if(null==t)i(e.el=l(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&u(n,e.children)}},m=(t,e,n,r)=>{null==t?i(e.el=c(e.children||""),n,r):e.el=t.el},b=(t,e,n,r)=>{[t.el,t.anchor]=g(t.children,e,n,r,t.el,t.anchor)},x=({el:t,anchor:e},n,r)=>{let o;while(t&&t!==e)o=p(t),i(t,n,r),t=o;i(e,n,r)},O=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=p(t),o(t),t=n;o(e)},w=(t,e,n,r,i,o,a,s,l)=>{a=a||"svg"===e.type,null==t?S(e,n,r,i,o,a,s,l):A(t,e,i,o,a,s,l)},S=(t,e,n,o,l,c,u,d)=>{let p,f;const{type:g,props:y,shapeFlag:v,transition:m,dirs:b}=t;if(p=t.el=s(t.type,c,y&&y.is,y),8&v?h(p,t.children):16&v&&C(t.children,p,null,o,l,c&&"foreignObject"!==g,u,d),b&&wn(t,null,o,"created"),I(p,t,t.scopeId,u,o),y){for(const e in y)"value"===e||Object(r["B"])(e)||a(p,e,null,y[e],c,t.children,o,l,q);"value"in y&&a(p,"value",null,y.value),(f=y.onVnodeBeforeMount)&&Kr(f,o,t)}b&&wn(t,null,o,"beforeMount");const x=(!l||l&&!l.pendingBranch)&&m&&!m.persisted;x&&m.beforeEnter(p),i(p,e,n),((f=y&&y.onVnodeMounted)||x||b)&&gr(()=>{f&&Kr(f,o,t),x&&m.enter(p),b&&wn(t,null,o,"mounted")},l)},I=(t,e,n,r,i)=>{if(n&&f(t,n),r)for(let o=0;o{for(let c=l;c{const c=e.el=t.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=e;u|=16&t.patchFlag;const f=t.props||r["b"],g=e.props||r["b"];let y;n&&mr(n,!1),(y=g.onVnodeBeforeUpdate)&&Kr(y,n,e,t),p&&wn(e,t,n,"beforeUpdate"),n&&mr(n,!0);const v=o&&"foreignObject"!==e.type;if(d?T(t.dynamicChildren,d,c,n,i,v,s):l||z(t,e,c,null,n,i,v,s,!1),u>0){if(16&u)D(c,e,f,g,n,i,o);else if(2&u&&f.class!==g.class&&a(c,"class",null,g.class,o),4&u&&a(c,"style",f.style,g.style,o),8&u){const r=e.dynamicProps;for(let e=0;e{y&&Kr(y,n,e,t),p&&wn(e,t,n,"updated")},i)},T=(t,e,n,r,i,o,a)=>{for(let s=0;s{if(n!==i){if(n!==r["b"])for(const c in n)Object(r["B"])(c)||c in i||a(t,c,n[c],null,l,e.children,o,s,q);for(const c in i){if(Object(r["B"])(c))continue;const u=i[c],h=n[c];u!==h&&"value"!==c&&a(t,c,h,u,l,e.children,o,s,q)}"value"in i&&a(t,"value",n.value,i.value)}},k=(t,e,n,r,o,a,s,c,u)=>{const h=e.el=t?t.el:l(""),d=e.anchor=t?t.anchor:l("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=e;g&&(c=c?c.concat(g):g),null==t?(i(h,n,r),i(d,n,r),C(e.children,n,d,o,a,s,c,u)):p>0&&64&p&&f&&t.dynamicChildren?(T(t.dynamicChildren,f,n,o,a,s,c),(null!=e.key||o&&e===o.subTree)&&br(t,e,!0)):z(t,e,n,d,o,a,s,c,u)},L=(t,e,n,r,i,o,a,s,l)=>{e.slotScopeIds=s,null==t?512&e.shapeFlag?i.ctx.activate(e,n,r,a,l):P(e,n,r,i,o,a,l):R(t,e,l)},P=(t,e,n,r,i,o,a)=>{const s=t.component=Qr(t,r,i);if(en(t)&&(s.ctx.renderer=Z),li(s),s.asyncDep){if(i&&i.registerDep(s,E),!t.el){const t=s.subTree=Vr(Sr);m(null,t,e,n)}}else E(s,t,e,n,i,o,a)},R=(t,e,n)=>{const r=e.component=t.component;if(Te(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void N(r,e,n);r.next=e,he(r.update),r.update()}else e.el=t.el,r.vnode=e},E=(t,e,n,i,o,a,s)=>{const l=()=>{if(t.isMounted){let e,{next:n,bu:i,u:l,parent:c,vnode:u}=t,h=n;0,mr(t,!1),n?(n.el=u.el,N(t,n,s)):n=u,i&&Object(r["n"])(i),(e=n.props&&n.props.onVnodeBeforeUpdate)&&Kr(e,c,n,u),mr(t,!0);const p=Ie(t);0;const f=t.subTree;t.subTree=p,y(f,p,d(f.el),Y(f),t,o,a),n.el=p.el,null===h&&ke(t,p.el),l&&gr(l,o),(e=n.props&&n.props.onVnodeUpdated)&&gr(()=>Kr(e,c,n,u),o)}else{let s;const{el:l,props:c}=e,{bm:u,m:h,parent:d}=t,p=tn(e);if(mr(t,!1),u&&Object(r["n"])(u),!p&&(s=c&&c.onVnodeBeforeMount)&&Kr(s,d,e),mr(t,!0),l&&$){const n=()=>{t.subTree=Ie(t),$(l,t.subTree,t,o,null)};p?e.type.__asyncLoader().then(()=>!t.isUnmounted&&n()):n()}else{0;const r=t.subTree=Ie(t);0,y(null,r,n,i,t,o,a),e.el=r.el}if(h&&gr(h,o),!p&&(s=c&&c.onVnodeMounted)){const t=e;gr(()=>Kr(s,d,t),o)}(256&e.shapeFlag||d&&tn(d.vnode)&&256&d.vnode.shapeFlag)&&t.a&&gr(t.a,o),t.isMounted=!0,e=n=i=null}},c=t.effect=new _(l,()=>ce(u),t.scope),u=t.update=()=>c.run();u.id=t.uid,mr(t,!0),u()},N=(t,e,n)=>{e.component=t;const r=t.vnode.props;t.vnode=e,t.next=null,Zn(t,e.props,r,n),cr(t,e.children,n),j(),pe(),M()},z=(t,e,n,r,i,o,a,s,l=!1)=>{const c=t&&t.children,u=t?t.shapeFlag:0,d=e.children,{patchFlag:p,shapeFlag:f}=e;if(p>0){if(128&p)return void V(c,d,n,r,i,o,a,s,l);if(256&p)return void B(c,d,n,r,i,o,a,s,l)}8&f?(16&u&&q(c,i,o),d!==c&&h(n,d)):16&u?16&f?V(c,d,n,r,i,o,a,s,l):q(c,i,o,!0):(8&u&&h(n,""),16&f&&C(d,n,r,i,o,a,s,l))},B=(t,e,n,i,o,a,s,l,c)=>{t=t||r["a"],e=e||r["a"];const u=t.length,h=e.length,d=Math.min(u,h);let p;for(p=0;ph?q(t,o,a,!0,!1,d):C(e,n,i,o,a,s,l,c,d)},V=(t,e,n,i,o,a,s,l,c)=>{let u=0;const h=e.length;let d=t.length-1,p=h-1;while(u<=d&&u<=p){const r=t[u],i=e[u]=c?Yr(e[u]):qr(e[u]);if(!Rr(r,i))break;y(r,i,n,null,o,a,s,l,c),u++}while(u<=d&&u<=p){const r=t[d],i=e[p]=c?Yr(e[p]):qr(e[p]);if(!Rr(r,i))break;y(r,i,n,null,o,a,s,l,c),d--,p--}if(u>d){if(u<=p){const t=p+1,r=tp)while(u<=d)G(t[u],o,a,!0),u++;else{const f=u,g=u,v=new Map;for(u=g;u<=p;u++){const t=e[u]=c?Yr(e[u]):qr(e[u]);null!=t.key&&v.set(t.key,u)}let m,b=0;const x=p-g+1;let _=!1,O=0;const w=new Array(x);for(u=0;u=x){G(r,o,a,!0);continue}let i;if(null!=r.key)i=v.get(r.key);else for(m=g;m<=p;m++)if(0===w[m-g]&&Rr(r,e[m])){i=m;break}void 0===i?G(r,o,a,!0):(w[i-g]=u+1,i>=O?O=i:_=!0,y(r,e[i],n,null,o,a,s,l,c),b++)}const S=_?xr(w):r["a"];for(m=S.length-1,u=x-1;u>=0;u--){const t=g+u,r=e[t],d=t+1{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=t;if(6&u)return void F(t.component.subTree,e,n,r);if(128&u)return void t.suspense.move(e,n,r);if(64&u)return void s.move(t,e,n,Z);if(s===Or){i(a,e,n);for(let t=0;tl.enter(a),o);else{const{leave:t,delayLeave:r,afterLeave:o}=l,s=()=>i(a,e,n),c=()=>{t(a,()=>{s(),o&&o()})};r?r(a,s,c):c()}else i(a,e,n)},G=(t,e,n,r=!1,i=!1)=>{const{type:o,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:h,dirs:d}=t;if(null!=s&&pr(s,null,n,t,!0),256&u)return void e.ctx.deactivate(t);const p=1&u&&d,f=!tn(t);let g;if(f&&(g=a&&a.onVnodeBeforeUnmount)&&Kr(g,e,t),6&u)U(t.component,n,r);else{if(128&u)return void t.suspense.unmount(n,r);p&&wn(t,null,e,"beforeUnmount"),64&u?t.type.remove(t,e,n,i,Z,r):c&&(o!==Or||h>0&&64&h)?q(c,e,n,!1,!0):(o===Or&&384&h||!i&&16&u)&&q(l,e,n),r&&H(t)}(f&&(g=a&&a.onVnodeUnmounted)||p)&&gr(()=>{g&&Kr(g,e,t),p&&wn(t,null,e,"unmounted")},n)},H=t=>{const{type:e,el:n,anchor:r,transition:i}=t;if(e===Or)return void W(n,r);if(e===jr)return void O(t);const a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&t.shapeFlag&&i&&!i.persisted){const{leave:e,delayLeave:r}=i,o=()=>e(n,a);r?r(t.el,a,o):o()}else a()},W=(t,e)=>{let n;while(t!==e)n=p(t),o(t),t=n;o(e)},U=(t,e,n)=>{const{bum:i,scope:o,update:a,subTree:s,um:l}=t;i&&Object(r["n"])(i),o.stop(),a&&(a.active=!1,G(s,t,e,n)),l&&gr(l,e),gr(()=>{t.isUnmounted=!0},e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},q=(t,e,n,r=!1,i=!1,o=0)=>{for(let a=o;a6&t.shapeFlag?Y(t.component.subTree):128&t.shapeFlag?t.suspense.next():p(t.anchor||t.el),X=(t,e,n)=>{null==t?e._vnode&&G(e._vnode,null,null,!0):y(e._vnode||null,t,e,null,null,null,n),pe(),fe(),e._vnode=t},Z={p:y,um:G,m:F,r:H,mt:P,mc:C,pc:z,pbc:T,n:Y,o:t};let K,$;return e&&([K,$]=e(Z)),{render:X,hydrate:K,createApp:dr(X,K)}}function mr({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function br(t,e,n=!1){const i=t.children,o=e.children;if(Object(r["o"])(i)&&Object(r["o"])(o))for(let r=0;r>1,t[n[s]]0&&(e[r]=n[o-1]),n[o]=r)}}o=n.length,a=n[o-1];while(o-- >0)n[o]=a,a=e[a];return n}const _r=t=>t.__isTeleport;const Or=Symbol(void 0),wr=Symbol(void 0),Sr=Symbol(void 0),jr=Symbol(void 0),Mr=[];let Ir=null;function Cr(t=!1){Mr.push(Ir=t?null:[])}function Ar(){Mr.pop(),Ir=Mr[Mr.length-1]||null}let Tr=1;function Dr(t){Tr+=t}function kr(t){return t.dynamicChildren=Tr>0?Ir||r["a"]:null,Ar(),Tr>0&&Ir&&Ir.push(t),t}function Lr(t,e,n,r,i,o){return kr(Br(t,e,n,r,i,o,!0))}function Pr(t){return!!t&&!0===t.__v_isVNode}function Rr(t,e){return t.type===e.type&&t.key===e.key}const Er="__vInternal",Nr=({key:t})=>null!=t?t:null,zr=({ref:t,ref_key:e,ref_for:n})=>null!=t?Object(r["F"])(t)||Nt(t)||Object(r["q"])(t)?{i:_e,r:t,k:e,f:!!n}:t:null;function Br(t,e=null,n=null,i=0,o=null,a=(t===Or?0:1),s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Nr(e),ref:e&&zr(e),scopeId:Oe,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:_e};return l?(Xr(c,n),128&a&&t.normalize(c)):n&&(c.shapeFlag|=Object(r["F"])(n)?8:16),Tr>0&&!s&&Ir&&(c.patchFlag>0||6&a)&&32!==c.patchFlag&&Ir.push(c),c}const Vr=Fr;function Fr(t,e=null,n=null,i=0,o=null,a=!1){if(t&&t!==Mn||(t=Sr),Pr(t)){const r=Hr(t,e,!0);return n&&Xr(r,n),Tr>0&&!a&&Ir&&(6&r.shapeFlag?Ir[Ir.indexOf(t)]=r:Ir.push(r)),r.patchFlag|=-2,r}if(yi(t)&&(t=t.__vccOpts),e){e=Gr(e);let{class:t,style:n}=e;t&&!Object(r["F"])(t)&&(e.class=Object(r["L"])(t)),Object(r["w"])(n)&&(Tt(n)&&!Object(r["o"])(n)&&(n=Object(r["h"])({},n)),e.style=Object(r["M"])(n))}const s=Object(r["F"])(t)?1:Le(t)?128:_r(t)?64:Object(r["w"])(t)?4:Object(r["q"])(t)?2:0;return Br(t,e,n,i,o,s,a,!0)}function Gr(t){return t?Tt(t)||Er in t?Object(r["h"])({},t):t:null}function Hr(t,e,n=!1){const{props:i,ref:o,patchFlag:a,children:s}=t,l=e?Zr(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:l,key:l&&Nr(l),ref:e&&e.ref?n&&o?Object(r["o"])(o)?o.concat(zr(e)):[o,zr(e)]:zr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Or?-1===a?16:16|a:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Hr(t.ssContent),ssFallback:t.ssFallback&&Hr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c}function Wr(t=" ",e=0){return Vr(wr,null,t,e)}function Ur(t,e){const n=Vr(jr,null,t);return n.staticCount=e,n}function qr(t){return null==t||"boolean"===typeof t?Vr(Sr):Object(r["o"])(t)?Vr(Or,null,t.slice()):"object"===typeof t?Yr(t):Vr(wr,null,String(t))}function Yr(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:Hr(t)}function Xr(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(Object(r["o"])(e))n=16;else if("object"===typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),Xr(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||Er in e?3===r&&_e&&(1===_e.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=_e}}else Object(r["q"])(e)?(e={default:e,_ctx:_e},n=32):(e=String(e),64&i?(n=16,e=[Wr(e)]):n=8);t.children=e,t.shapeFlag|=n}function Zr(...t){const e={};for(let n=0;nti||_e,ni=t=>{ti=t,t.scope.on()},ri=()=>{ti&&ti.scope.off(),ti=null};function ii(t){return 4&t.vnode.shapeFlag}let oi,ai,si=!1;function li(t,e=!1){si=e;const{props:n,children:r}=t.vnode,i=ii(t);Xn(t,n,i,e),lr(t,r);const o=i?ci(t,e):void 0;return si=!1,o}function ci(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=kt(new Proxy(t.ctx,Ln));const{setup:i}=n;if(i){const n=t.setupContext=i.length>1?pi(t):null;ni(t),j();const o=Xt(i,t,0,[t.props,n]);if(M(),ri(),Object(r["z"])(o)){if(o.then(ri,ri),e)return o.then(n=>{ui(t,n,e)}).catch(e=>{Kt(e,t,0)});t.asyncDep=o}else ui(t,o,e)}else hi(t,e)}function ui(t,e,n){Object(r["q"])(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Object(r["w"])(e)&&(t.setupState=Wt(e)),hi(t,n)}function hi(t,e,n){const i=t.type;if(!t.render){if(!e&&oi&&!i.render){const e=i.template||Bn(t).template;if(e){0;const{isCustomElement:n,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:s}=i,l=Object(r["h"])(Object(r["h"])({isCustomElement:n,delimiters:a},o),s);i.render=oi(e,l)}}t.render=i.render||r["d"],ai&&ai(t)}ni(t),j(),Rn(t),M(),ri()}function di(t){return new Proxy(t.attrs,{get(e,n){return I(t,"get","$attrs"),e[n]}})}function pi(t){const e=e=>{t.exposed=e||{}};let n;return{get attrs(){return n||(n=di(t))},slots:t.slots,emit:t.emit,expose:e}}function fi(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Wt(kt(t.exposed)),{get(e,n){return n in e?e[n]:n in Dn?Dn[n](t):void 0},has(t,e){return e in t||e in Dn}}))}function gi(t,e=!0){return Object(r["q"])(t)?t.displayName||t.name:t.name||e&&t.__name}function yi(t){return Object(r["q"])(t)&&"__vccOpts"in t}const vi=(t,e)=>Yt(t,e,si);function mi(t,e,n){const i=arguments.length;return 2===i?Object(r["w"])(e)&&!Object(r["o"])(e)?Pr(e)?Vr(t,null,[e]):Vr(t,e):Vr(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Pr(n)&&(n=[n]),Vr(t,e,n))}const bi=Symbol(""),xi=()=>{{const t=Ee(bi);return t}};const _i="3.2.47",Oi="http://www.w3.org/2000/svg",wi="undefined"!==typeof document?document:null,Si=wi&&wi.createElement("template"),ji={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?wi.createElementNS(Oi,t):wi.createElement(t,n?{is:n}:void 0);return"select"===t&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:t=>wi.createTextNode(t),createComment:t=>wi.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>wi.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,o){const a=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling)){while(1)if(e.insertBefore(i.cloneNode(!0),n),i===o||!(i=i.nextSibling))break}else{Si.innerHTML=r?`${t}`:t;const i=Si.content;if(r){const t=i.firstChild;while(t.firstChild)i.appendChild(t.firstChild);i.removeChild(t)}e.insertBefore(i,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function Mi(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function Ii(t,e,n){const i=t.style,o=Object(r["F"])(n);if(n&&!o){if(e&&!Object(r["F"])(e))for(const t in e)null==n[t]&&Ai(i,t,"");for(const t in n)Ai(i,t,n[t])}else{const r=i.display;o?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=r)}}const Ci=/\s*!important$/;function Ai(t,e,n){if(Object(r["o"])(n))n.forEach(n=>Ai(t,e,n));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=ki(t,e);Ci.test(n)?t.setProperty(Object(r["l"])(i),n.replace(Ci,""),"important"):t[i]=n}}const Ti=["Webkit","Moz","ms"],Di={};function ki(t,e){const n=Di[e];if(n)return n;let i=Object(r["e"])(e);if("filter"!==i&&i in t)return Di[e]=i;i=Object(r["f"])(i);for(let r=0;rFi||(Gi.then(()=>Fi=0),Fi=Date.now());function Wi(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();Zt(Ui(t,n.value),e,5,[t])};return n.value=t,n.attached=Hi(),n}function Ui(t,e){if(Object(r["o"])(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(t=>e=>!e._stopped&&t&&t(e))}return e}const qi=/^on[a-z]/,Yi=(t,e,n,i,o=!1,a,s,l,c)=>{"class"===e?Mi(t,i,o):"style"===e?Ii(t,n,i):Object(r["x"])(e)?Object(r["v"])(e)||zi(t,e,n,i,s):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):Xi(t,e,i,o))?Ri(t,e,i,a,s,l,c):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),Pi(t,e,i,o))};function Xi(t,e,n,i){return i?"innerHTML"===e||"textContent"===e||!!(e in t&&qi.test(e)&&Object(r["q"])(n)):"spellcheck"!==e&&"draggable"!==e&&"translate"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!qi.test(e)||!Object(r["F"])(n))&&e in t))))}"undefined"!==typeof HTMLElement&&HTMLElement;const Zi="transition",Ki="animation",$i=(t,{slots:e})=>mi(qe,no(t),e);$i.displayName="Transition";const Ji={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Qi=$i.props=Object(r["h"])({},qe.props,Ji),to=(t,e=[])=>{Object(r["o"])(t)?t.forEach(t=>t(...e)):t&&t(...e)},eo=t=>!!t&&(Object(r["o"])(t)?t.some(t=>t.length>1):t.length>1);function no(t){const e={};for(const r in t)r in Ji||(e[r]=t[r]);if(!1===t.css)return e;const{name:n="v",type:i,duration:o,enterFromClass:a=n+"-enter-from",enterActiveClass:s=n+"-enter-active",enterToClass:l=n+"-enter-to",appearFromClass:c=a,appearActiveClass:u=s,appearToClass:h=l,leaveFromClass:d=n+"-leave-from",leaveActiveClass:p=n+"-leave-active",leaveToClass:f=n+"-leave-to"}=t,g=ro(o),y=g&&g[0],v=g&&g[1],{onBeforeEnter:m,onEnter:b,onEnterCancelled:x,onLeave:_,onLeaveCancelled:O,onBeforeAppear:w=m,onAppear:S=b,onAppearCancelled:j=x}=e,M=(t,e,n)=>{ao(t,e?h:l),ao(t,e?u:s),n&&n()},I=(t,e)=>{t._isLeaving=!1,ao(t,d),ao(t,f),ao(t,p),e&&e()},C=t=>(e,n)=>{const r=t?S:b,o=()=>M(e,t,n);to(r,[e,o]),so(()=>{ao(e,t?c:a),oo(e,t?h:l),eo(r)||co(e,i,y,o)})};return Object(r["h"])(e,{onBeforeEnter(t){to(m,[t]),oo(t,a),oo(t,s)},onBeforeAppear(t){to(w,[t]),oo(t,c),oo(t,u)},onEnter:C(!1),onAppear:C(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>I(t,e);oo(t,d),fo(),oo(t,p),so(()=>{t._isLeaving&&(ao(t,d),oo(t,f),eo(_)||co(t,i,v,n))}),to(_,[t,n])},onEnterCancelled(t){M(t,!1),to(x,[t])},onAppearCancelled(t){M(t,!0),to(j,[t])},onLeaveCancelled(t){I(t),to(O,[t])}})}function ro(t){if(null==t)return null;if(Object(r["w"])(t))return[io(t.enter),io(t.leave)];{const e=io(t);return[e,e]}}function io(t){const e=Object(r["Q"])(t);return e}function oo(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t._vtc||(t._vtc=new Set)).add(e)}function ao(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function so(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let lo=0;function co(t,e,n,r){const i=t._endId=++lo,o=()=>{i===t._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=uo(t,e);if(!a)return r();const c=a+"end";let u=0;const h=()=>{t.removeEventListener(c,d),o()},d=e=>{e.target===t&&++u>=l&&h()};setTimeout(()=>{u(n[t]||"").split(", "),i=r(Zi+"Delay"),o=r(Zi+"Duration"),a=ho(i,o),s=r(Ki+"Delay"),l=r(Ki+"Duration"),c=ho(s,l);let u=null,h=0,d=0;e===Zi?a>0&&(u=Zi,h=a,d=o.length):e===Ki?c>0&&(u=Ki,h=c,d=l.length):(h=Math.max(a,c),u=h>0?a>c?Zi:Ki:null,d=u?u===Zi?o.length:l.length:0);const p=u===Zi&&/\b(transform|all)(,|$)/.test(r(Zi+"Property").toString());return{type:u,timeout:h,propCount:d,hasTransform:p}}function ho(t,e){while(t.lengthpo(e)+po(t[n])))}function po(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function fo(){return document.body.offsetHeight}const go=new WeakMap,yo=new WeakMap,vo={name:"TransitionGroup",props:Object(r["h"])({},Qi,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=ei(),r=He();let i,o;return gn(()=>{if(!i.length)return;const e=t.moveClass||(t.name||"v")+"-move";if(!_o(i[0].el,n.vnode.el,e))return;i.forEach(mo),i.forEach(bo);const r=i.filter(xo);fo(),r.forEach(t=>{const n=t.el,r=n.style;oo(n,e),r.transform=r.webkitTransform=r.transitionDuration="";const i=n._moveCb=t=>{t&&t.target!==n||t&&!/transform$/.test(t.propertyName)||(n.removeEventListener("transitionend",i),n._moveCb=null,ao(n,e))};n.addEventListener("transitionend",i)})}),()=>{const a=Dt(t),s=no(a);let l=a.tag||Or;i=o,o=e.default?Je(e.default()):[];for(let t=0;t{t.split(/\s+/).forEach(t=>t&&r.classList.remove(t))}),n.split(/\s+/).forEach(t=>t&&r.classList.add(t)),r.style.display="none";const i=1===e.nodeType?e:e.parentNode;i.appendChild(r);const{hasTransform:o}=uo(r);return i.removeChild(r),o}const Oo={beforeMount(t,{value:e},{transition:n}){t._vod="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):wo(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!==!n&&(r?e?(r.beforeEnter(t),wo(t,!0),r.enter(t)):r.leave(t,()=>{wo(t,!1)}):wo(t,e))},beforeUnmount(t,{value:e}){wo(t,e)}};function wo(t,e){t.style.display=e?t._vod:"none"}const So=Object(r["h"])({patchProp:Yi},ji);let jo;function Mo(){return jo||(jo=yr(So))}const Io=(...t)=>{const e=Mo().createApp(...t);const{mount:n}=e;return e.mount=t=>{const i=Co(t);if(!i)return;const o=e._component;Object(r["q"])(o)||o.render||o.template||(o.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},e};function Co(t){if(Object(r["F"])(t)){const e=document.querySelector(t);return e}return t}},"7a29":function(t,e,n){"use strict";(function(t){n.d(e,"p",(function(){return s})),n.d(e,"j",(function(){return c})),n.d(e,"q",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f})),n.d(e,"i",(function(){return g})),n.d(e,"h",(function(){return y})),n.d(e,"l",(function(){return v})),n.d(e,"n",(function(){return b})),n.d(e,"m",(function(){return x})),n.d(e,"o",(function(){return _})),n.d(e,"k",(function(){return O})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return S})),n.d(e,"g",(function(){return j})),n.d(e,"c",(function(){return M}));var r=n("6d8b"),i=n("41ef"),o=n("22d1"),a=Math.round;function s(t){var e;if(t&&"transparent"!==t){if("string"===typeof t&&t.indexOf("rgba")>-1){var n=Object(i["parse"])(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var l=1e-4;function c(t){return t-l}function u(t){return a(1e3*t)/1e3}function h(t){return a(1e4*t)/1e4}function d(t){return"matrix("+u(t[0])+","+u(t[1])+","+u(t[2])+","+u(t[3])+","+h(t[4])+","+h(t[5])+")"}var p={left:"start",right:"end",center:"middle",middle:"middle"};function f(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}function g(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function y(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function v(t){return t&&!!t.image}function m(t){return t&&!!t.svgElement}function b(t){return v(t)||m(t)}function x(t){return"linear"===t.type}function _(t){return"radial"===t.type}function O(t){return t&&("linear"===t.type||"radial"===t.type)}function w(t){return"url(#"+t+")"}function S(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function j(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*r["RADIAN_TO_DEGREE"],o=Object(r["retrieve2"])(t.scaleX,1),s=Object(r["retrieve2"])(t.scaleY,1),l=t.skewX||0,c=t.skewY||0,u=[];return(e||n)&&u.push("translate("+e+"px,"+n+"px)"),i&&u.push("rotate("+i+")"),1===o&&1===s||u.push("scale("+o+","+s+")"),(l||c)&&u.push("skew("+a(l*r["RADIAN_TO_DEGREE"])+"deg, "+a(c*r["RADIAN_TO_DEGREE"])+"deg)"),u.join(" ")}var M=function(){return o["a"].hasGlobalWindow&&Object(r["isFunction"])(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!==typeof t?function(e){return t.from(e).toString("base64")}:function(t){return null}}()}).call(this,n("b639").Buffer)},"7d6c":function(t,e,n){"use strict";n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return g})),n.d(e,"g",(function(){return y})),n.d(e,"a",(function(){return v})),n.d(e,"j",(function(){return m})),n.d(e,"c",(function(){return x})),n.d(e,"b",(function(){return _})),n.d(e,"f",(function(){return O})),n.d(e,"i",(function(){return w})),n.d(e,"h",(function(){return S})),n.d(e,"H",(function(){return N})),n.d(e,"G",(function(){return H})),n.d(e,"r",(function(){return q})),n.d(e,"C",(function(){return Y})),n.d(e,"q",(function(){return X})),n.d(e,"B",(function(){return Z})),n.d(e,"s",(function(){return K})),n.d(e,"D",(function(){return $})),n.d(e,"k",(function(){return Q})),n.d(e,"l",(function(){return et})),n.d(e,"m",(function(){return nt})),n.d(e,"t",(function(){return rt})),n.d(e,"x",(function(){return it})),n.d(e,"w",(function(){return ot})),n.d(e,"K",(function(){return at})),n.d(e,"L",(function(){return st})),n.d(e,"u",(function(){return lt})),n.d(e,"o",(function(){return ct})),n.d(e,"J",(function(){return ht})),n.d(e,"p",(function(){return dt})),n.d(e,"I",(function(){return gt})),n.d(e,"F",(function(){return yt})),n.d(e,"y",(function(){return vt})),n.d(e,"n",(function(){return mt})),n.d(e,"v",(function(){return bt})),n.d(e,"A",(function(){return xt})),n.d(e,"z",(function(){return _t})),n.d(e,"E",(function(){return Ot}));var r=n("d51b"),i=n("6d8b"),o=n("861c"),a=n("41ef"),s=n("e0d3"),l=n("cbe5"),c=1,u={},h=Object(s["o"])(),d=Object(s["o"])(),p=0,f=1,g=2,y=["emphasis","blur","select"],v=["normal","emphasis","blur","select"],m=10,b=9,x="highlight",_="downplay",O="select",w="unselect",S="toggleSelect";function j(t){return null!=t&&"none"!==t}var M=new r["a"](100);function I(t){if(Object(i["isString"])(t)){var e=M.get(t);return e||(e=a["lift"](t,-.1),M.put(t,e)),e}if(Object(i["isGradientObject"])(t)){var n=Object(i["extend"])({},t);return n.colorStops=Object(i["map"])(t.colorStops,(function(t){return{offset:t.offset,color:a["lift"](t.color,-.1)}})),n}return t}function C(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function A(t){C(t,"emphasis",g)}function T(t){t.hoverState===g&&C(t,"normal",p)}function D(t){C(t,"blur",f)}function k(t){t.hoverState===f&&C(t,"normal",p)}function L(t){t.selected=!0}function P(t){t.selected=!1}function R(t,e,n){e(t,n)}function E(t,e,n){R(t,e,n),t.isGroup&&t.traverse((function(t){R(t,e,n)}))}function N(t,e){switch(e){case"emphasis":t.hoverState=g;break;case"normal":t.hoverState=p;break;case"blur":t.hoverState=f;break;case"select":t.selected=!0}}function z(t,e,n,r){for(var i=t.style,o={},a=0;a=0,a=!1;if(t instanceof l["b"]){var s=h(t),c=o&&s.selectFill||s.normalFill,u=o&&s.selectStroke||s.normalStroke;if(j(c)||j(u)){r=r||{};var d=r.style||{};"inherit"===d.fill?(a=!0,r=Object(i["extend"])({},r),d=Object(i["extend"])({},d),d.fill=c):!j(d.fill)&&j(c)?(a=!0,r=Object(i["extend"])({},r),d=Object(i["extend"])({},d),d.fill=I(c)):!j(d.stroke)&&j(u)&&(a||(r=Object(i["extend"])({},r),d=Object(i["extend"])({},d)),d.stroke=I(u)),r.style=d}}if(r&&null==r.z2){a||(r=Object(i["extend"])({},r));var p=t.z2EmphasisLift;r.z2=t.z2+(null!=p?p:m)}return r}function V(t,e,n){if(n&&null==n.z2){n=Object(i["extend"])({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:b)}return n}function F(t,e,n){var r=Object(i["indexOf"])(t.currentStates,e)>=0,o=t.style.opacity,a=r?null:z(t,["opacity"],e,{opacity:1});n=n||{};var s=n.style||{};return null==s.opacity&&(n=Object(i["extend"])({},n),s=Object(i["extend"])({opacity:r?o:.1*a.opacity},s),n.style=s),n}function G(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return B(this,t,e,n);if("blur"===t)return F(this,t,n);if("select"===t)return V(this,t,n)}return n}function H(t){t.stateProxy=G;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=G),n&&(n.stateProxy=G)}function W(t,e){!J(t,e)&&!t.__highByOuter&&E(t,A)}function U(t,e){!J(t,e)&&!t.__highByOuter&&E(t,T)}function q(t,e){t.__highByOuter|=1<<(e||0),E(t,A)}function Y(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&E(t,T)}function X(t){E(t,D)}function Z(t){E(t,k)}function K(t){E(t,L)}function $(t){E(t,P)}function J(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Q(t){var e=t.getModel(),n=[],r=[];e.eachComponent((function(e,i){var o=d(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(t){k(t)})),a&&n.push(i)),o.isBlured=!1})),Object(i["each"])(r,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function tt(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n0){var o={dataIndex:i,seriesIndex:t.seriesIndex};null!=r&&(o.dataType=r),e.push(o)}}))})),e}function ct(t,e,n){yt(t,!0),E(t,H),dt(t,e,n)}function ut(t){yt(t,!1)}function ht(t,e,n,r){r?ut(t):ct(t,e,n)}function dt(t,e,n){var r=Object(o["a"])(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}var pt=["emphasis","blur","select"],ft={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function gt(t,e,n,r){n=n||"itemStyle";for(var i=0;i30}},"80f0":function(t,e,n){"use strict";function r(t){return null==t?0:t.length||1}function i(t){return t}var o=function(){function t(t,e,n,r,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}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,n={},i=new Array(t.length),o=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a1){var u=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(u,a)}else 1===c?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var s=0;s1&&1===d)this._updateManyToOne&&this._updateManyToOne(u,c),i[l]=null;else if(1===h&&d>1)this._updateOneToMany&&this._updateOneToMany(u,c),i[l]=null;else if(1===h&&1===d)this._update&&this._update(u,c),i[l]=null;else if(h>1&&d>1)this._updateManyToMany&&this._updateManyToMany(u,c),i[l]=null;else if(h>1)for(var p=0;p1)for(var s=0;s40&&(u=Math.max(1,Math.floor(c/40)));for(var h=a[0],d=t.dataToCoord(h+1)-t.dataToCoord(h),p=Math.abs(d*Math.cos(r)),f=Math.abs(d*Math.sin(r)),g=0,y=0;h<=a[1];h+=u){var v=0,m=0,b=o["d"](n({value:h}),e.font,"center","top");v=1.3*b.width,m=1.3*b.height,g=Math.max(g,v,7),y=Math.max(y,m,7)}var _=g/p,O=y/f;isNaN(_)&&(_=1/0),isNaN(O)&&(O=1/0);var w=Math.max(0,Math.floor(Math.min(_,O))),S=l(t.model),j=t.getExtent(),M=S.lastAutoInterval,I=S.lastTickCount;return null!=M&&null!=I&&Math.abs(M-w)<=1&&Math.abs(I-c)<=1&&M>w&&S.axisExtent0===j[0]&&S.axisExtent1===j[1]?w=M:(S.lastTickCount=c,S.lastAutoInterval=w,S.axisExtent0=j[0],S.axisExtent1=j[1]),w}function x(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()}}function _(t,e,n){var r=Object(s["h"])(t),i=t.scale,o=i.getExtent(),a=t.getLabelModel(),l=[],c=Math.max((e||0)+1,1),u=o[0],h=i.count();0!==u&&c>1&&h/c>2&&(u=Math.round(Math.ceil(u/c)*c));var d=Object(s["j"])(t),p=a.get("showMinLabel")||d,f=a.get("showMaxLabel")||d;p&&u!==o[0]&&y(o[0]);for(var g=u;g<=o[1];g+=c)y(g);function y(t){var e={value:t};l.push(n?t:{formattedLabel:r(e),rawLabel:i.getLabel(e),tickValue:t})}return f&&g-c!==o[1]&&y(o[1]),l}function O(t,e,n){var i=t.scale,o=Object(s["h"])(t),a=[];return r["each"](i.getTicks(),(function(t){var r=i.getLabel(t),s=t.value;e(t.value,r)&&a.push(n?s:{formattedLabel:o(t),rawLabel:r,tickValue:s})})),a}var w=[0,1],S=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]);return t>=n&&t<=r},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return Object(i["g"])(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&(n=n.slice(),j(n,r.count())),Object(i["m"])(t,w,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),j(n,r.count()));var o=Object(i["m"])(t,n,w,e);return this.scale.scale(o)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=u(this,e),i=n.ticks,o=Object(r["map"])(i,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),a=e.get("alignWithLabel");return M(this,o,a,t.clamp),o},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=Object(r["map"])(n,(function(t){return Object(r["map"])(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},t.prototype.getViewLabels=function(){return c(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(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(t[1]-t[0]);return Math.abs(r)/n},t.prototype.calculateCategoryInterval=function(){return b(this)},t}();function j(t,e){var n=t[1]-t[0],r=e,i=n/r/2;t[0]+=i,t[1]-=i}function M(t,e,n,o){var a=e.length;if(t.onBand&&!n&&a){var s,l,c=t.getExtent();if(1===a)e[0].coord=c[0],s=e[1]={coord:c[0]};else{var u=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/u;Object(r["each"])(e,(function(t){t.coord-=h/2}));var d=t.scale.getExtent();l=1+d[1]-e[a-1].tickValue,s={coord:e[a-1].coord+h*l},e.push(s)}var p=c[0]>c[1];f(e[0].coord,c[0])&&(o?e[0].coord=c[0]:e.shift()),o&&f(c[0],e[0].coord)&&e.unshift({coord:c[0]}),f(c[1],s.coord)&&(o?s.coord=c[1]:e.pop()),o&&f(s.coord,c[1])&&e.push({coord:c[1]})}function f(t,e){return t=Object(i["w"])(t),e=Object(i["w"])(e),p?t>e:ta||t<-a}var l=[],c=[],u=r["create"](),h=Math.abs,d=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 s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||r["create"](),e?this.getLocalTransform(n):o(n),t&&(e?r["mul"](n,t,n):r["copy"](n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&o(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(l);var n=l[0]<0?-1:1,i=l[1]<0?-1:1,o=((l[0]-n)*e+n)/l[0]||0,a=((l[1]-i)*e+i)/l[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||r["create"](),r["invert"](this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(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],n=t[2]*t[2]+t[3]*t[3],r=Math.atan2(t[1],t[0]),i=Math.PI/2+r-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(r["mul"](c,t.invTransform,e),e=c);var n=this.originX,i=this.originY;(n||i)&&(u[4]=n,u[5]=i,r["mul"](c,e,u),c[4]-=n,c[5]-=i,e=c),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 n=[t,e],r=this.invTransform;return r&&i["applyTransform"](n,n,r),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&i["applyTransform"](n,n,r),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){f(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,c=t.rotation||0,u=t.x,h=t.y,d=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||l){var f=n+s,g=i+l;e[4]=-f*o-d*g*a,e[5]=-g*a-p*f*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=p*o,e[2]=d*a,c&&r["rotate"](e,e,c),e[4]+=n+u,e[5]+=i+h,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}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function f(t,e){for(var n=0;ne&&o>r||oi?s:0}n.d(e,"a",(function(){return r}))},"87b1":function(t,e,n){"use strict";var r=n("21a1"),i=n("cbe5"),o=n("4fac"),a=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o["a"](t,e,!0)},e}(i["b"]);s.prototype.type="polygon",e["a"]=s},"88b3":function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l}));var r="\0__throttleOriginMethod",i="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var r,i,o,a,s,l=0,c=0,u=null;function h(){c=(new Date).getTime(),u=null,t.apply(o,a||[])}e=e||0;var d=function(){for(var t=[],d=0;d=0?h():u=setTimeout(h,-i),l=r};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(t){s=t},d}function s(t,e,n,s){var l=t[e];if(l){var c=l[r]||l,u=l[o],h=l[i];if(h!==n||u!==s){if(null==n||!s)return t[e]=c;l=t[e]=a(c,n,"debounce"===s),l[r]=c,l[o]=s,l[i]=n}return l}}function l(t,e){var n=t[e];n&&n[r]&&(n.clear&&n.clear(),t[e]=n[r])}},8918:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"d",(function(){return c}));var r=n("6d8b"),i=n("625e"),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){var r=Object(i["f"])(t);e[r.main]=n},t.determineSubType=function(n,r){var o=r.type;if(!o){var a=Object(i["f"])(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](r))}return o}}function l(t,e){function n(t){var n={},a=[];return r["each"](t,(function(s){var l=i(n,s),c=l.originalDeps=e(s),u=o(c,t);l.entryCount=u.length,0===l.entryCount&&a.push(s),r["each"](u,(function(t){r["indexOf"](l.predecessor,t)<0&&l.predecessor.push(t);var e=i(n,t);r["indexOf"](e.successor,t)<0&&e.successor.push(s)}))})),{graph:n,noEntryList:a}}function i(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function o(t,e){var n=[];return r["each"](t,(function(t){r["indexOf"](e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,o){if(t.length){var a=n(e),s=a.graph,l=a.noEntryList,c={};r["each"](t,(function(t){c[t]=!0}));while(l.length){var u=l.pop(),h=s[u],d=!!c[u];d&&(i.call(o,u,h.originalDeps.slice()),delete c[u]),r["each"](h.successor,d?f:p)}r["each"](c,(function(){var t="";throw new Error(t)}))}function p(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){c[t]=!0,p(t)}}}function c(t,e){return r["merge"](r["merge"]({},t,!0),e,!0)}},"89b6":function(t,e,n){"use strict";n.d(e,"e",(function(){return C})),n.d(e,"c",(function(){return D})),n.d(e,"b",(function(){return k})),n.d(e,"d",(function(){return R})),n.d(e,"a",(function(){return E}));var r=n("dce8"),i=n("cbe5"),o=n("d498"),a=n("20c8"),s=n("857d"),l=n("4a3f"),c=n("6d8b"),u=n("1687"),h=n("401b"),d=n("7d6c"),p=2*Math.PI,f=a["a"].CMD,g=["top","right","bottom","left"];function y(t,e,n,r,i){var o=n.width,a=n.height;switch(t){case"top":r.set(n.x+o/2,n.y-e),i.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+a+e),i.set(0,1);break;case"left":r.set(n.x-e,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+e,n.y+a/2),i.set(1,0);break}}function v(t,e,n,r,i,o,a,l,c){a-=t,l-=e;var u=Math.sqrt(a*a+l*l);a/=u,l/=u;var h=a*n+t,d=l*n+e;if(Math.abs(r-i)%p<1e-4)return c[0]=h,c[1]=d,u-n;if(o){var f=r;r=Object(s["a"])(i),i=Object(s["a"])(f)}else r=Object(s["a"])(r),i=Object(s["a"])(i);r>i&&(i+=p);var g=Math.atan2(l,a);if(g<0&&(g+=p),g>=r&&g<=i||g+p>=r&&g+p<=i)return c[0]=h,c[1]=d,u-n;var y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=n*Math.cos(i)+t,b=n*Math.sin(i)+e,x=(y-a)*(y-a)+(v-l)*(v-l),_=(m-a)*(m-a)+(b-l)*(b-l);return x<_?(c[0]=y,c[1]=v,Math.sqrt(x)):(c[0]=m,c[1]=b,Math.sqrt(_))}function m(t,e,n,r,i,o,a,s){var l=i-t,c=o-e,u=n-t,h=r-e,d=Math.sqrt(u*u+h*h);u/=d,h/=d;var p=l*u+c*h,f=p/d;s&&(f=Math.min(Math.max(f,0),1)),f*=d;var g=a[0]=t+f*u,y=a[1]=e+f*h;return Math.sqrt((g-i)*(g-i)+(y-o)*(y-o))}function b(t,e,n,r,i,o,a){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r);var s=t+n,l=e+r,c=a[0]=Math.min(Math.max(i,t),s),u=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((c-i)*(c-i)+(u-o)*(u-o))}var x=[];function _(t,e,n){var r=b(e.x,e.y,e.width,e.height,t.x,t.y,x);return n.set(x[0],x[1]),r}function O(t,e,n){for(var r,i,o=0,a=0,s=0,c=0,u=1/0,h=e.data,d=t.x,p=t.y,g=0;g0){e=e/180*Math.PI,w.fromArray(t[0]),S.fromArray(t[1]),j.fromArray(t[2]),r["a"].sub(M,w,S),r["a"].sub(I,j,S);var n=M.len(),i=I.len();if(!(n<.001||i<.001)){M.scale(1/n),I.scale(1/i);var o=M.dot(I),a=Math.cos(e);if(a1&&r["a"].copy(T,j),T.toArray(t[1])}}}}function k(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,w.fromArray(t[0]),S.fromArray(t[1]),j.fromArray(t[2]),r["a"].sub(M,S,w),r["a"].sub(I,j,S);var i=M.len(),o=I.len();if(!(i<.001||o<.001)){M.scale(1/i),I.scale(1/o);var a=M.dot(e),s=Math.cos(n);if(a=c)r["a"].copy(T,j);else{T.scaleAndAdd(I,l/Math.tan(Math.PI/2-h));var d=j.x!==S.x?(T.x-S.x)/(j.x-S.x):(T.y-S.y)/(j.y-S.y);if(isNaN(d))return;d<0?r["a"].copy(T,S):d>1&&r["a"].copy(T,j)}T.toArray(t[1])}}}}function L(t,e,n,r){var i="normal"===n,o=i?t:t.ensureState(n);o.ignore=e;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?t.useStyle(s):o.style=s}function P(t,e){var n=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=h["dist"](r[0],r[1]),o=h["dist"](r[1],r[2]);if(!i||!o)return t.lineTo(r[1][0],r[1][1]),void t.lineTo(r[2][0],r[2][1]);var a=Math.min(i,o)*n,s=h["lerp"]([],r[1],r[0],a/i),l=h["lerp"]([],r[1],r[2],a/o),c=h["lerp"]([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],c[0],c[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var u=1;ue[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=s["b"](t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]a)return[]}var c=o.length?o[o.length-1].value:r[1];return n[1]>c&&(t?o.push({value:l(c+e,i)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),i=1;ir[0]&&d0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(r["isNumber"])(t)?[t]:Object(r["isArray"])(t)?t:null:null}function o(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&i(e.lineDash,e.lineWidth),o=e.lineDashOffset;if(n){var a=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(n=Object(r["map"])(n,(function(t){return t/a})),o/=a)}return[n,o]}},"8d32":function(t,e,n){"use strict";var r=n("21a1"),i=n("cbe5"),o=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),c=Math.sin(o);t.moveTo(l*i+n,c*i+r),t.arc(n,r,i,o,a,!s)},e}(i["b"]);a.prototype.type="arc",e["a"]=a},"8e43":function(t,e,n){"use strict";var r=n("6d8b"),i=0,o=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++i}return t.createByAxisModel=function(e){var n=e.option,i=n.data,o=i&&Object(r["map"])(i,a);return new t({categories:o,needCollect:!o,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!Object(r["isString"])(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(r["createHashMap"])(this.categories))},t}();function a(t){return Object(r["isObject"])(t)&&null!=t.value?t.value:t+""}e["a"]=o},9152:function(t,e){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,u=-7,h=n?i-1:0,d=n?-1:1,p=t[e+h];for(h+=d,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+t[e+h],h+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+t[e+h],h+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,f=r?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=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+h>=1?d/l:d*Math.pow(2,1-h),e*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+p]=255&s,p+=f,s/=256,i-=8);for(a=a<0;t[n+p]=255&a,p+=f,a/=256,c-=8);t[n+p-f]|=128*g}},"944e":function(t,e,n){"use strict";n.d(e,"e",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return d}));var r=n("3842");function i(t){return"interval"===t.type||"log"===t.type}function o(t,e,n,i){var o={},a=t[1]-t[0],l=o.interval=Object(r["n"])(a/e,!0);null!=n&&li&&(l=o.interval=i);var u=o.intervalPrecision=s(l),h=o.niceTickExtent=[Object(r["w"])(Math.ceil(t[0]/l)*l,u),Object(r["w"])(Math.floor(t[1]/l)*l,u)];return c(h,t),o}function a(t){var e=Math.pow(10,Object(r["t"])(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Object(r["w"])(n*e)}function s(t){return Object(r["h"])(t)+2}function l(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function c(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),l(t,0,e),l(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function u(t,e){return t>=e[0]&&t<=e[1]}function h(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function d(t,e){return t*(e[1]-e[0])+e[0]}},9680:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){if(0===i)return!1;var s=i,l=0,c=t;if(a>e+s&&a>r+s||at+s&&o>n+s||o1)return this.getValueByKeyPath(key,options);if(templateContext&&"object"===typeof templateContext&&key in templateContext&&placeholder!==templateContext[key])return templateContext[key]=Handler.gen(templateContext[key],key,{currentContext:obj,templateCurrentContext:templateContext}),templateContext[key];if(!(key in Random)&&!(lkey in Random)&&!(okey in Random))return placeholder;for(var i=0;i1&&(i=e.context.path.slice(0),i.pop(),i=this.normalizePath(i.concat(r)));try{t=r[r.length-1];for(var o=e.context.root,a=e.context.templateRoot,s=1;s1/(t+e)*t?!n:n):Math.random()>=.5},bool:function(t,e,n){return this.boolean(t,e,n)},natural:function(t,e){return t="undefined"!==typeof t?parseInt(t,10):0,e="undefined"!==typeof e?parseInt(e,10):9007199254740992,Math.round(Math.random()*(e-t))+t},integer:function(t,e){return t="undefined"!==typeof t?parseInt(t,10):-9007199254740992,e="undefined"!==typeof e?parseInt(e,10):9007199254740992,Math.round(Math.random()*(e-t))+t},int:function(t,e){return this.integer(t,e)},float:function(t,e,n,r){n=void 0===n?0:n,n=Math.max(Math.min(n,17),0),r=void 0===r?17:r,r=Math.max(Math.min(r,17),0);for(var i=this.integer(t,e)+".",o=0,a=this.natural(n,r);o1&&r--,o=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,i[c]=255*o;return i},hsl2hsv:function(t){var e,n,r=t[0],i=t[1]/100,o=t[2]/100;return o*=2,i*=o<=1?o:2-o,n=(o+i)/2,e=2*i/(o+i),[r,100*e,100*n]},hsv2rgb:function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,i=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},hsv2hsl:function(t){var e,n,r=t[0],i=t[1]/100,o=t[2]/100;return n=(2-i)*o,e=i*o,e/=n<=1?n:2-n,n/=2,[r,100*e,100*n]},rgb2hex:function(t,e,n){return"#"+((256+t<<8|e)<<8|n).toString(16).slice(1)},hex2rgb:function(t){return t="0x"+t.slice(1).replace(t.length>4?t:/./g,"$&$&")|0,[t>>16,t>>8&255,255&t]}}},function(t,e){t.exports={navy:{value:"#000080",nicer:"#001F3F"},blue:{value:"#0000ff",nicer:"#0074D9"},aqua:{value:"#00ffff",nicer:"#7FDBFF"},teal:{value:"#008080",nicer:"#39CCCC"},olive:{value:"#008000",nicer:"#3D9970"},green:{value:"#008000",nicer:"#2ECC40"},lime:{value:"#00ff00",nicer:"#01FF70"},yellow:{value:"#ffff00",nicer:"#FFDC00"},orange:{value:"#ffa500",nicer:"#FF851B"},red:{value:"#ff0000",nicer:"#FF4136"},maroon:{value:"#800000",nicer:"#85144B"},fuchsia:{value:"#ff00ff",nicer:"#F012BE"},purple:{value:"#800080",nicer:"#B10DC9"},silver:{value:"#c0c0c0",nicer:"#DDDDDD"},gray:{value:"#808080",nicer:"#AAAAAA"},black:{value:"#000000",nicer:"#111111"},white:{value:"#FFFFFF",nicer:"#FFFFFF"}}},function(t,e,n){var r=n(6),i=n(14);function o(t,e,n,i){return void 0===n?r.natural(t,e):void 0===i?n:r.natural(parseInt(n,10),parseInt(i,10))}t.exports={paragraph:function(t,e){for(var n=o(3,7,t,e),r=[],i=0;i1&&(e=[].slice.call(arguments,0));var n=t.options,r=n.context.templatePath.join("."),i=t.cache[r]=t.cache[r]||{index:0,array:e};return i.array[i.index++%i.array.length]}}},function(t,e){t.exports={first:function(){var t=["James","John","Robert","Michael","William","David","Richard","Charles","Joseph","Thomas","Christopher","Daniel","Paul","Mark","Donald","George","Kenneth","Steven","Edward","Brian","Ronald","Anthony","Kevin","Jason","Matthew","Gary","Timothy","Jose","Larry","Jeffrey","Frank","Scott","Eric"].concat(["Mary","Patricia","Linda","Barbara","Elizabeth","Jennifer","Maria","Susan","Margaret","Dorothy","Lisa","Nancy","Karen","Betty","Helen","Sandra","Donna","Carol","Ruth","Sharon","Michelle","Laura","Sarah","Kimberly","Deborah","Jessica","Shirley","Cynthia","Angela","Melissa","Brenda","Amy","Anna"]);return this.pick(t)},last:function(){var t=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas","Hernandez","Moore","Martin","Jackson","Thompson","White","Lopez","Lee","Gonzalez","Harris","Clark","Lewis","Robinson","Walker","Perez","Hall","Young","Allen"];return this.pick(t)},name:function(t){return this.first()+" "+(t?this.first()+" ":"")+this.last()},cfirst:function(){var t="王 李 张 刘 陈 杨 赵 黄 周 吴 徐 孙 胡 朱 高 林 何 郭 马 罗 梁 宋 郑 谢 韩 唐 冯 于 董 萧 程 曹 袁 邓 许 傅 沈 曾 彭 吕 苏 卢 蒋 蔡 贾 丁 魏 薛 叶 阎 余 潘 杜 戴 夏 锺 汪 田 任 姜 范 方 石 姚 谭 廖 邹 熊 金 陆 郝 孔 白 崔 康 毛 邱 秦 江 史 顾 侯 邵 孟 龙 万 段 雷 钱 汤 尹 黎 易 常 武 乔 贺 赖 龚 文".split(" ");return this.pick(t)},clast:function(){var t="伟 芳 娜 秀英 敏 静 丽 强 磊 军 洋 勇 艳 杰 娟 涛 明 超 秀兰 霞 平 刚 桂英".split(" ");return this.pick(t)},cname:function(){return this.cfirst()+this.clast()}}},function(t,e){t.exports={url:function(t,e){return(t||this.protocol())+"://"+(e||this.domain())+"/"+this.word()},protocol:function(){return this.pick("http ftp gopher mailto mid cid news nntp prospero telnet rlogin tn3270 wais".split(" "))},domain:function(t){return this.word()+"."+(t||this.tld())},tld:function(){return this.pick("com net org edu gov int mil cn com.cn net.cn gov.cn org.cn 中国 中国互联.公司 中国互联.网络 tel biz cc tv info name hk mobi asia cd travel pro museum coop aero ad ae af ag ai al am an ao aq ar as at au aw az ba bb bd be bf bg bh bi bj bm bn bo br bs bt bv bw by bz ca cc cf cg ch ci ck cl cm cn co cq cr cu cv cx cy cz de dj dk dm do dz ec ee eg eh es et ev fi fj fk fm fo fr ga gb gd ge gf gh gi gl gm gn gp gr gt gu gw gy hk hm hn hr ht hu id ie il in io iq ir is it jm jo jp ke kg kh ki km kn kp kr kw ky kz la lb lc li lk lr ls lt lu lv ly ma mc md mg mh ml mm mn mo mp mq mr ms mt mv mw mx my mz na nc ne nf ng ni nl no np nr nt nu nz om qa pa pe pf pg ph pk pl pm pn pr pt pw py re ro ru rw sa sb sc sd se sg sh si sj sk sl sm sn so sr st su sy sz tc td tf tg th tj tk tm tn to tp tr tt tv tw tz ua ug uk us uy va vc ve vg vn vu wf ws ye yu za zm zr zw".split(" "))},email:function(t){return this.character("lower")+"."+this.word()+"@"+(t||this.word()+"."+this.tld())},ip:function(){return this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)}}},function(t,e,n){var r=n(18),i=["东北","华北","华东","华中","华南","西南","西北"];t.exports={region:function(){return this.pick(i)},province:function(){return this.pick(r).name},city:function(t){var e=this.pick(r),n=this.pick(e.children);return t?[e.name,n.name].join(" "):n.name},county:function(t){var e=this.pick(r),n=this.pick(e.children),i=this.pick(n.children)||{name:"-"};return t?[e.name,n.name,i.name].join(" "):i.name},zip:function(t){for(var e="",n=0;n<(t||6);n++)e+=this.natural(0,9);return e}}},function(t,e){var n={11e4:"北京",110100:"北京市",110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110228:"密云县",110229:"延庆县",110230:"其它区",12e4:"天津",120100:"天津市",120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120221:"宁河县",120223:"静海县",120225:"蓟县",120226:"其它区",13e4:"河北省",130100:"石家庄市",130102:"长安区",130103:"桥东区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130121:"井陉县",130123:"正定县",130124:"栾城县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集市",130182:"藁城市",130183:"晋州市",130184:"新乐市",130185:"鹿泉市",130186:"其它区",130200:"唐山市",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130223:"滦县",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130230:"曹妃甸区",130281:"遵化市",130283:"迁安市",130284:"其它区",130300:"秦皇岛市",130302:"海港区",130303:"山海关区",130304:"北戴河区",130321:"青龙满族自治县",130322:"昌黎县",130323:"抚宁县",130324:"卢龙县",130398:"其它区",130400:"邯郸市",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130421:"邯郸县",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130428:"肥乡县",130429:"永年县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安市",130482:"其它区",130500:"邢台市",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫市",130582:"沙河市",130583:"其它区",130600:"保定市",130602:"新市区",130603:"北市区",130604:"南市区",130621:"满城县",130622:"清苑县",130623:"涞水县",130624:"阜平县",130625:"徐水县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市",130699:"其它区",130700:"张家口市",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130721:"宣化县",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130729:"万全县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130733:"崇礼县",130734:"其它区",130800:"承德市",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130823:"平泉县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130829:"其它区",130900:"沧州市",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市",130985:"其它区",131e3:"廊坊市",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州市",131082:"三河市",131083:"其它区",131100:"衡水市",131102:"桃城区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131181:"冀州市",131182:"深州市",131183:"其它区",14e4:"山西省",140100:"太原市",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交市",140182:"其它区",140200:"大同市",140202:"城区",140203:"矿区",140211:"南郊区",140212:"新荣区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140227:"大同县",140228:"其它区",140300:"阳泉市",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县",140323:"其它区",140400:"长治市",140421:"长治县",140423:"襄垣县",140424:"屯留县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140481:"潞城市",140482:"城区",140483:"郊区",140485:"其它区",140500:"晋城市",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市",140582:"其它区",140600:"朔州市",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140624:"怀仁县",140625:"其它区",140700:"晋中市",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市",140782:"其它区",140800:"运城市",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市",140883:"其它区",140900:"忻州市",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平市",140982:"其它区",141e3:"临汾市",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市",141083:"其它区",141100:"吕梁市",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市",141183:"其它区",15e4:"内蒙古自治区",150100:"呼和浩特市",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150126:"其它区",150200:"包头市",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150224:"其它区",150300:"乌海市",150302:"海勃湾区",150303:"海南区",150304:"乌达区",150305:"其它区",150400:"赤峰市",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗",150431:"其它区",150500:"通辽市",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒市",150582:"其它区",150600:"鄂尔多斯市",150602:"东胜区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗",150628:"其它区",150700:"呼伦贝尔市",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市",150786:"其它区",150800:"巴彦淖尔市",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗",150827:"其它区",150900:"乌兰察布市",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市",150982:"其它区",152200:"兴安盟",152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县",152225:"其它区",152500:"锡林郭勒盟",152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152532:"其它区",152900:"阿拉善盟",152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152924:"其它区",21e4:"辽宁省",210100:"沈阳市",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"东陵区",210113:"新城子区",210114:"于洪区",210122:"辽中县",210123:"康平县",210124:"法库县",210181:"新民市",210184:"沈北新区",210185:"其它区",210200:"大连市",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210224:"长海县",210281:"瓦房店市",210282:"普兰店市",210283:"庄河市",210298:"其它区",210300:"鞍山市",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市",210382:"其它区",210400:"抚顺市",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县",210424:"其它区",210500:"本溪市",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县",210523:"其它区",210600:"丹东市",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市",210683:"其它区",210700:"锦州市",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市",210783:"其它区",210800:"营口市",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市",210883:"其它区",210900:"阜新市",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县",210923:"其它区",211e3:"辽阳市",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市",211082:"其它区",211100:"盘锦市",211102:"双台子区",211103:"兴隆台区",211121:"大洼县",211122:"盘山县",211123:"其它区",211200:"铁岭市",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市",211283:"其它区",211300:"朝阳市",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市",211383:"其它区",211400:"葫芦岛市",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市",211482:"其它区",22e4:"吉林省",220100:"长春市",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220122:"农安县",220181:"九台市",220182:"榆树市",220183:"德惠市",220188:"其它区",220200:"吉林市",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市",220285:"其它区",220300:"四平市",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市",220383:"其它区",220400:"辽源市",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县",220423:"其它区",220500:"通化市",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市",220583:"其它区",220600:"白山市",220602:"浑江区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220625:"江源区",220681:"临江市",220682:"其它区",220700:"松原市",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220724:"扶余市",220725:"其它区",220800:"白城市",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南市",220882:"大安市",220883:"其它区",222400:"延边朝鲜族自治州",222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县",222427:"其它区",23e4:"黑龙江省",230100:"哈尔滨市",230102:"道里区",230103:"南岗区",230104:"道外区",230106:"香坊区",230108:"平房区",230109:"松北区",230111:"呼兰区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230181:"阿城区",230182:"双城市",230183:"尚志市",230184:"五常市",230186:"其它区",230200:"齐齐哈尔市",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市",230282:"其它区",230300:"鸡西市",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市",230383:"其它区",230400:"鹤岗市",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县",230423:"其它区",230500:"双鸭山市",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县",230525:"其它区",230600:"大庆市",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230625:"其它区",230700:"伊春市",230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力市",230782:"其它区",230800:"佳木斯市",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230833:"抚远县",230881:"同江市",230882:"富锦市",230883:"其它区",230900:"七台河市",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县",230922:"其它区",231e3:"牡丹江市",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231024:"东宁县",231025:"林口县",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"其它区",231100:"黑河市",231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"其它区",231200:"绥化市",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市",231284:"其它区",232700:"大兴安岭地区",232702:"松岭区",232703:"新林区",232704:"呼中区",232721:"呼玛县",232722:"塔河县",232723:"漠河县",232724:"加格达奇区",232725:"其它区",31e4:"上海",310100:"上海市",310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310108:"闸北区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310230:"崇明县",310231:"其它区",32e4:"江苏省",320100:"南京市",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320124:"溧水区",320125:"高淳区",320126:"其它区",320200:"无锡市",320202:"崇安区",320203:"南长区",320204:"北塘区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320281:"江阴市",320282:"宜兴市",320297:"其它区",320300:"徐州市",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320321:"丰县",320322:"沛县",320323:"铜山区",320324:"睢宁县",320381:"新沂市",320382:"邳州市",320383:"其它区",320400:"常州市",320402:"天宁区",320404:"钟楼区",320405:"戚墅堰区",320411:"新北区",320412:"武进区",320481:"溧阳市",320482:"金坛市",320483:"其它区",320500:"苏州市",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320584:"吴江区",320585:"太仓市",320596:"其它区",320600:"南通市",320602:"崇川区",320611:"港闸区",320612:"通州区",320621:"海安县",320623:"如东县",320681:"启东市",320682:"如皋市",320684:"海门市",320694:"其它区",320700:"连云港市",320703:"连云区",320705:"新浦区",320706:"海州区",320721:"赣榆县",320722:"东海县",320723:"灌云县",320724:"灌南县",320725:"其它区",320800:"淮安市",320802:"清河区",320803:"淮安区",320804:"淮阴区",320811:"清浦区",320826:"涟水县",320829:"洪泽县",320830:"盱眙县",320831:"金湖县",320832:"其它区",320900:"盐城市",320902:"亭湖区",320903:"盐都区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台市",320982:"大丰市",320983:"其它区",321e3:"扬州市",321002:"广陵区",321003:"邗江区",321023:"宝应县",321081:"仪征市",321084:"高邮市",321088:"江都区",321093:"其它区",321100:"镇江市",321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳市",321182:"扬中市",321183:"句容市",321184:"其它区",321200:"泰州市",321202:"海陵区",321203:"高港区",321281:"兴化市",321282:"靖江市",321283:"泰兴市",321284:"姜堰区",321285:"其它区",321300:"宿迁市",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321325:"其它区",33e4:"浙江省",330100:"杭州市",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330122:"桐庐县",330127:"淳安县",330182:"建德市",330183:"富阳市",330185:"临安市",330186:"其它区",330200:"宁波市",330203:"海曙区",330204:"江东区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市",330283:"奉化市",330284:"其它区",330300:"温州市",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330322:"洞头县",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安市",330382:"乐清市",330383:"其它区",330400:"嘉兴市",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市",330484:"其它区",330500:"湖州市",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县",330524:"其它区",330600:"绍兴市",330602:"越城区",330621:"绍兴县",330624:"新昌县",330681:"诸暨市",330682:"上虞市",330683:"嵊州市",330684:"其它区",330700:"金华市",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市",330785:"其它区",330800:"衢州市",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市",330882:"其它区",330900:"舟山市",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县",330923:"其它区",331e3:"台州市",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331021:"玉环县",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"其它区",331100:"丽水市",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市",331182:"其它区",34e4:"安徽省",340100:"合肥市",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340192:"其它区",340200:"芜湖市",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340224:"其它区",340300:"蚌埠市",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340324:"其它区",340400:"淮南市",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"其它区",340500:"马鞍山市",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"其它区",340600:"淮北市",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县",340622:"其它区",340700:"铜陵市",340702:"铜官山区",340703:"狮子山区",340711:"郊区",340721:"铜陵县",340722:"其它区",340800:"安庆市",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340823:"枞阳县",340824:"潜山县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城市",340882:"其它区",341e3:"黄山市",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县",341025:"其它区",341100:"滁州市",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长市",341182:"明光市",341183:"其它区",341200:"阜阳市",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首市",341283:"其它区",341300:"宿州市",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341325:"其它区",341400:"巢湖市",341421:"庐江县",341422:"无为县",341423:"含山县",341424:"和县",341500:"六安市",341502:"金安区",341503:"裕安区",341521:"寿县",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县",341526:"其它区",341600:"亳州市",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县",341624:"其它区",341700:"池州市",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县",341724:"其它区",341800:"宣城市",341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国市",341882:"其它区",35e4:"福建省",350100:"福州市",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市",350182:"长乐市",350183:"其它区",350200:"厦门市",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区",350214:"其它区",350300:"莆田市",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县",350323:"其它区",350400:"三明市",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市",350482:"其它区",350500:"泉州市",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市",350584:"其它区",350600:"漳州市",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市",350682:"其它区",350700:"南平市",350702:"延平区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市",350784:"建阳市",350785:"其它区",350800:"龙岩市",350802:"新罗区",350821:"长汀县",350822:"永定县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市",350882:"其它区",350900:"宁德市",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市",350983:"其它区",36e4:"江西省",360100:"南昌市",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360121:"南昌县",360122:"新建县",360123:"安义县",360124:"进贤县",360128:"其它区",360200:"景德镇市",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市",360282:"其它区",360300:"萍乡市",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县",360324:"其它区",360400:"九江市",360402:"庐山区",360403:"浔阳区",360421:"九江县",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360427:"星子县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"其它区",360483:"共青城市",360500:"新余市",360502:"渝水区",360521:"分宜县",360522:"其它区",360600:"鹰潭市",360602:"月湖区",360622:"余江县",360681:"贵溪市",360682:"其它区",360700:"赣州市",360702:"章贡区",360721:"赣县",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360782:"南康市",360783:"其它区",360800:"吉安市",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市",360882:"其它区",360900:"宜春市",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市",360984:"其它区",361e3:"抚州市",361002:"临川区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361029:"东乡县",361030:"广昌县",361031:"其它区",361100:"上饶市",361102:"信州区",361121:"上饶县",361122:"广丰县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市",361182:"其它区",37e4:"山东省",370100:"济南市",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370124:"平阴县",370125:"济阳县",370126:"商河县",370181:"章丘市",370182:"其它区",370200:"青岛市",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370281:"胶州市",370282:"即墨市",370283:"平度市",370285:"莱西市",370286:"其它区",370300:"淄博市",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县",370324:"其它区",370400:"枣庄市",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市",370482:"其它区",370500:"东营市",370502:"东营区",370503:"河口区",370521:"垦利县",370522:"利津县",370523:"广饶县",370591:"其它区",370600:"烟台市",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市",370688:"其它区",370700:"潍坊市",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市",370787:"其它区",370800:"济宁市",370802:"市中区",370811:"任城区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜市",370882:"兖州市",370883:"邹城市",370884:"其它区",370900:"泰安市",370902:"泰山区",370903:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市",370984:"其它区",371e3:"威海市",371002:"环翠区",371081:"文登市",371082:"荣成市",371083:"乳山市",371084:"其它区",371100:"日照市",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371123:"其它区",371200:"莱芜市",371202:"莱城区",371203:"钢城区",371204:"其它区",371300:"临沂市",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"苍山县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371330:"其它区",371400:"德州市",371402:"德城区",371421:"陵县",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵市",371482:"禹城市",371483:"其它区",371500:"聊城市",371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市",371582:"其它区",371600:"滨州市",371602:"滨城区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371624:"沾化县",371625:"博兴县",371626:"邹平县",371627:"其它区",371700:"菏泽市",371702:"牡丹区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371727:"定陶县",371728:"东明县",371729:"其它区",41e4:"河南省",410100:"郑州市",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市",410188:"其它区",410200:"开封市",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410211:"金明区",410221:"杞县",410222:"通许县",410223:"尉氏县",410224:"开封县",410225:"兰考县",410226:"其它区",410300:"洛阳市",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410307:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师市",410400:"平顶山市",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢市",410482:"汝州市",410483:"其它区",410500:"安阳市",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州市",410582:"其它区",410600:"鹤壁市",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410623:"其它区",410700:"新乡市",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉市",410782:"辉县市",410783:"其它区",410800:"焦作市",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410881:"济源市",410882:"沁阳市",410883:"孟州市",410884:"其它区",410900:"濮阳市",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410929:"其它区",411e3:"许昌市",411002:"魏都区",411023:"许昌县",411024:"鄢陵县",411025:"襄城县",411081:"禹州市",411082:"长葛市",411083:"其它区",411100:"漯河市",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411123:"其它区",411200:"三门峡市",411202:"湖滨区",411221:"渑池县",411222:"陕县",411224:"卢氏县",411281:"义马市",411282:"灵宝市",411283:"其它区",411300:"南阳市",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州市",411382:"其它区",411400:"商丘市",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城市",411482:"其它区",411500:"信阳市",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411529:"其它区",411600:"周口市",411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城市",411682:"其它区",411700:"驻马店市",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411730:"其它区",42e4:"湖北省",420100:"武汉市",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区",420118:"其它区",420200:"黄石市",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市",420282:"其它区",420300:"十堰市",420302:"茅箭区",420303:"张湾区",420321:"郧县",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市",420383:"其它区",420500:"宜昌市",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市",420584:"其它区",420600:"襄阳市",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市",420685:"其它区",420700:"鄂州市",420702:"梁子湖区",420703:"华容区",420704:"鄂城区",420705:"其它区",420800:"荆门市",420802:"东宝区",420804:"掇刀区",420821:"京山县",420822:"沙洋县",420881:"钟祥市",420882:"其它区",420900:"孝感市",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市",420985:"其它区",421e3:"荆州市",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首市",421083:"洪湖市",421087:"松滋市",421088:"其它区",421100:"黄冈市",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城市",421182:"武穴市",421183:"其它区",421200:"咸宁市",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市",421283:"其它区",421300:"随州市",421302:"曾都区",421321:"随县",421381:"广水市",421382:"其它区",422800:"恩施土家族苗族自治州",422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县",422829:"其它区",429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区",43e4:"湖南省",430100:"长沙市",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430121:"长沙县",430122:"望城区",430124:"宁乡县",430181:"浏阳市",430182:"其它区",430200:"株洲市",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430221:"株洲县",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵市",430282:"其它区",430300:"湘潭市",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡市",430382:"韶山市",430383:"其它区",430400:"衡阳市",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳市",430482:"常宁市",430483:"其它区",430500:"邵阳市",430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"其它区",430600:"岳阳市",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗市",430682:"临湘市",430683:"其它区",430700:"常德市",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津市市",430782:"其它区",430800:"张家界市",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县",430823:"其它区",430900:"益阳市",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江市",430982:"其它区",431e3:"郴州市",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市",431082:"其它区",431100:"永州市",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431130:"其它区",431200:"怀化市",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江市",431282:"其它区",431300:"娄底市",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市",431383:"其它区",433100:"湘西土家族苗族自治州",433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433131:"其它区",44e4:"广东省",440100:"广州市",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440116:"萝岗区",440183:"增城市",440184:"从化市",440189:"其它区",440200:"韶关市",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市",440283:"其它区",440300:"深圳市",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"其它区",440320:"光明新区",440321:"坪山新区",440322:"大鹏新区",440323:"龙华新区",440400:"珠海市",440402:"香洲区",440403:"斗门区",440404:"金湾区",440488:"其它区",440500:"汕头市",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县",440524:"其它区",440600:"佛山市",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区",440609:"其它区",440700:"江门市",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市",440786:"其它区",440800:"湛江市",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市",440884:"其它区",440900:"茂名市",440902:"茂南区",440903:"茂港区",440923:"电白县",440981:"高州市",440982:"化州市",440983:"信宜市",440984:"其它区",441200:"肇庆市",441202:"端州区",441203:"鼎湖区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441283:"高要市",441284:"四会市",441285:"其它区",441300:"惠州市",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县",441325:"其它区",441400:"梅州市",441402:"梅江区",441421:"梅县",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市",441482:"其它区",441500:"汕尾市",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市",441582:"其它区",441600:"河源市",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县",441626:"其它区",441700:"阳江市",441702:"江城区",441721:"阳西县",441723:"阳东县",441781:"阳春市",441782:"其它区",441800:"清远市",441802:"清城区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441827:"清新区",441881:"英德市",441882:"连州市",441883:"其它区",441900:"东莞市",442e3:"中山市",442101:"东沙群岛",445100:"潮州市",445102:"湘桥区",445121:"潮安区",445122:"饶平县",445186:"其它区",445200:"揭阳市",445202:"榕城区",445221:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市",445285:"其它区",445300:"云浮市",445302:"云城区",445321:"新兴县",445322:"郁南县",445323:"云安县",445381:"罗定市",445382:"其它区",45e4:"广西壮族自治区",450100:"南宁市",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450122:"武鸣县",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县",450128:"其它区",450200:"柳州市",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450221:"柳江县",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县",450227:"其它区",450300:"桂林市",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450321:"阳朔县",450322:"临桂区",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450331:"荔浦县",450332:"恭城瑶族自治县",450333:"其它区",450400:"梧州市",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市",450482:"其它区",450500:"北海市",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县",450522:"其它区",450600:"防城港市",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市",450682:"其它区",450700:"钦州市",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县",450723:"其它区",450800:"贵港市",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市",450882:"其它区",450900:"玉林市",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市",450982:"其它区",451e3:"百色市",451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451025:"靖西县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451032:"其它区",451100:"贺州市",451102:"八步区",451119:"平桂管理区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县",451124:"其它区",451200:"河池市",451202:"金城江区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县",451281:"宜州市",451282:"其它区",451300:"来宾市",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市",451382:"其它区",451400:"崇左市",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市",451482:"其它区",46e4:"海南省",460100:"海口市",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区",460109:"其它区",460200:"三亚市",460300:"三沙市",460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",469001:"五指山市",469002:"琼海市",469003:"儋州市",469005:"文昌市",469006:"万宁市",469007:"东方市",469025:"定安县",469026:"屯昌县",469027:"澄迈县",469028:"临高县",469030:"白沙黎族自治县",469031:"昌江黎族自治县",469033:"乐东黎族自治县",469034:"陵水黎族自治县",469035:"保亭黎族苗族自治县",469036:"琼中黎族苗族自治县",471005:"其它区",5e5:"重庆",500100:"重庆市",500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"万盛区",500111:"双桥区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500222:"綦江区",500223:"潼南县",500224:"铜梁县",500225:"大足区",500226:"荣昌县",500227:"璧山县",500228:"梁平县",500229:"城口县",500230:"丰都县",500231:"垫江县",500232:"武隆县",500233:"忠县",500234:"开县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县",500381:"江津区",500382:"合川区",500383:"永川区",500384:"南川区",500385:"其它区",51e4:"四川省",510100:"成都市",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510121:"金堂县",510122:"双流县",510124:"郫县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"其它区",510300:"自贡市",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县",510323:"其它区",510400:"攀枝花市",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县",510423:"其它区",510500:"泸州市",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县",510526:"其它区",510600:"德阳市",510603:"旌阳区",510623:"中江县",510626:"罗江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市",510684:"其它区",510700:"绵阳市",510703:"涪城区",510704:"游仙区",510722:"三台县",510723:"盐亭县",510724:"安县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市",510782:"其它区",510800:"广元市",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县",510825:"其它区",510900:"遂宁市",510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县",510924:"其它区",511e3:"内江市",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511028:"隆昌县",511029:"其它区",511100:"乐山市",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市",511182:"其它区",511300:"南充市",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市",511382:"其它区",511400:"眉山市",511402:"东坡区",511421:"仁寿县",511422:"彭山县",511423:"洪雅县",511424:"丹棱县",511425:"青神县",511426:"其它区",511500:"宜宾市",511502:"翠屏区",511521:"宜宾县",511522:"南溪区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县",511530:"其它区",511600:"广安市",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市",511683:"其它区",511700:"达州市",511702:"通川区",511721:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源市",511782:"其它区",511800:"雅安市",511802:"雨城区",511821:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县",511828:"其它区",511900:"巴中市",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511924:"其它区",512e3:"资阳市",512002:"雁江区",512021:"安岳县",512022:"乐至县",512081:"简阳市",512082:"其它区",513200:"阿坝藏族羌族自治州",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513229:"马尔康县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县",513234:"其它区",513300:"甘孜藏族自治州",513321:"康定县",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县",513339:"其它区",513400:"凉山彝族自治州",513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县",513438:"其它区",52e4:"贵州省",520100:"贵阳市",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520121:"开阳县",520122:"息烽县",520123:"修文县",520151:"观山湖区",520181:"清镇市",520182:"其它区",520200:"六盘水市",520201:"钟山区",520203:"六枝特区",520221:"水城县",520222:"盘县",520223:"其它区",520300:"遵义市",520302:"红花岗区",520303:"汇川区",520321:"遵义县",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市",520383:"其它区",520400:"安顺市",520402:"西秀区",520421:"平坝县",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县",520426:"其它区",522200:"铜仁市",522201:"碧江区",522222:"江口县",522223:"玉屏侗族自治县",522224:"石阡县",522225:"思南县",522226:"印江土家族苗族自治县",522227:"德江县",522228:"沿河土家族自治县",522229:"松桃苗族自治县",522230:"万山区",522231:"其它区",522300:"黔西南布依族苗族自治州",522301:"兴义市",522322:"兴仁县",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县",522329:"其它区",522400:"毕节市",522401:"七星关区",522422:"大方县",522423:"黔西县",522424:"金沙县",522425:"织金县",522426:"纳雍县",522427:"威宁彝族回族苗族自治县",522428:"赫章县",522429:"其它区",522600:"黔东南苗族侗族自治州",522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县",522637:"其它区",522700:"黔南布依族苗族自治州",522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县",522733:"其它区",53e4:"云南省",530100:"昆明市",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530121:"呈贡区",530122:"晋宁县",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市",530182:"其它区",530300:"曲靖市",530302:"麒麟区",530321:"马龙县",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530328:"沾益县",530381:"宣威市",530382:"其它区",530400:"玉溪市",530402:"红塔区",530421:"江川县",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县",530429:"其它区",530500:"保山市",530502:"隆阳区",530521:"施甸县",530522:"腾冲县",530523:"龙陵县",530524:"昌宁县",530525:"其它区",530600:"昭通市",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530630:"水富县",530631:"其它区",530700:"丽江市",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县",530725:"其它区",530800:"普洱市",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县",530830:"其它区",530900:"临沧市",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县",530928:"其它区",532300:"楚雄彝族自治州",532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县",532332:"其它区",532500:"红河哈尼族彝族自治州",532501:"个旧市",532502:"开远市",532522:"蒙自市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532526:"弥勒市",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县",532533:"其它区",532600:"文山壮族苗族自治州",532621:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县",532629:"其它区",532800:"西双版纳傣族自治州",532801:"景洪市",532822:"勐海县",532823:"勐腊县",532824:"其它区",532900:"大理白族自治州",532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县",532933:"其它区",533100:"德宏傣族景颇族自治州",533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县",533125:"其它区",533300:"怒江傈僳族自治州",533321:"泸水县",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县",533326:"其它区",533400:"迪庆藏族自治州",533421:"香格里拉县",533422:"德钦县",533423:"维西傈僳族自治县",533424:"其它区",54e4:"西藏自治区",540100:"拉萨市",540102:"城关区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540125:"堆龙德庆县",540126:"达孜县",540127:"墨竹工卡县",540128:"其它区",542100:"昌都地区",542121:"昌都县",542122:"江达县",542123:"贡觉县",542124:"类乌齐县",542125:"丁青县",542126:"察雅县",542127:"八宿县",542128:"左贡县",542129:"芒康县",542132:"洛隆县",542133:"边坝县",542134:"其它区",542200:"山南地区",542221:"乃东县",542222:"扎囊县",542223:"贡嘎县",542224:"桑日县",542225:"琼结县",542226:"曲松县",542227:"措美县",542228:"洛扎县",542229:"加查县",542231:"隆子县",542232:"错那县",542233:"浪卡子县",542234:"其它区",542300:"日喀则地区",542301:"日喀则市",542322:"南木林县",542323:"江孜县",542324:"定日县",542325:"萨迦县",542326:"拉孜县",542327:"昂仁县",542328:"谢通门县",542329:"白朗县",542330:"仁布县",542331:"康马县",542332:"定结县",542333:"仲巴县",542334:"亚东县",542335:"吉隆县",542336:"聂拉木县",542337:"萨嘎县",542338:"岗巴县",542339:"其它区",542400:"那曲地区",542421:"那曲县",542422:"嘉黎县",542423:"比如县",542424:"聂荣县",542425:"安多县",542426:"申扎县",542427:"索县",542428:"班戈县",542429:"巴青县",542430:"尼玛县",542431:"其它区",542432:"双湖县",542500:"阿里地区",542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县",542528:"其它区",542600:"林芝地区",542621:"林芝县",542622:"工布江达县",542623:"米林县",542624:"墨脱县",542625:"波密县",542626:"察隅县",542627:"朗县",542628:"其它区",61e4:"陕西省",610100:"西安市",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610122:"蓝田县",610124:"周至县",610125:"户县",610126:"高陵县",610127:"其它区",610200:"铜川市",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县",610223:"其它区",610300:"宝鸡市",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县",610332:"其它区",610400:"咸阳市",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610427:"彬县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"其它区",610500:"渭南市",610502:"临渭区",610521:"华县",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市",610583:"其它区",610600:"延安市",610602:"宝塔区",610621:"延长县",610622:"延川县",610623:"子长县",610624:"安塞县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610633:"其它区",610700:"汉中市",610702:"汉台区",610721:"南郑县",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县",610731:"其它区",610800:"榆林市",610802:"榆阳区",610821:"神木县",610822:"府谷县",610823:"横山县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610832:"其它区",610900:"安康市",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县",610930:"其它区",611e3:"商洛市",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县",611027:"其它区",62e4:"甘肃省",620100:"兰州市",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620124:"其它区",620200:"嘉峪关市",620300:"金昌市",620302:"金川区",620321:"永昌县",620322:"其它区",620400:"白银市",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县",620424:"其它区",620500:"天水市",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县",620526:"其它区",620600:"武威市",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县",620624:"其它区",620700:"张掖市",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县",620726:"其它区",620800:"平凉市",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620824:"华亭县",620825:"庄浪县",620826:"静宁县",620827:"其它区",620900:"酒泉市",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市",620983:"其它区",621e3:"庆阳市",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县",621028:"其它区",621100:"定西市",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县",621127:"其它区",621200:"陇南市",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县",621229:"其它区",622900:"临夏回族自治州",622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县",622928:"其它区",623e3:"甘南藏族自治州",623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县",623028:"其它区",63e4:"青海省",630100:"西宁市",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县",630124:"其它区",632100:"海东市",632121:"平安县",632122:"民和回族土族自治县",632123:"乐都区",632126:"互助土族自治县",632127:"化隆回族自治县",632128:"循化撒拉族自治县",632129:"其它区",632200:"海北藏族自治州",632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县",632225:"其它区",632300:"黄南藏族自治州",632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县",632325:"其它区",632500:"海南藏族自治州",632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县",632526:"其它区",632600:"果洛藏族自治州",632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县",632627:"其它区",632700:"玉树藏族自治州",632721:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县",632727:"其它区",632800:"海西蒙古族藏族自治州",632801:"格尔木市",632802:"德令哈市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632824:"其它区",64e4:"宁夏回族自治区",640100:"银川市",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市",640182:"其它区",640200:"石嘴山市",640202:"大武口区",640205:"惠农区",640221:"平罗县",640222:"其它区",640300:"吴忠市",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市",640382:"其它区",640400:"固原市",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县",640426:"其它区",640500:"中卫市",640502:"沙坡头区",640521:"中宁县",640522:"海原县",640523:"其它区",65e4:"新疆维吾尔自治区",650100:"乌鲁木齐市",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县",650122:"其它区",650200:"克拉玛依市",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区",650206:"其它区",652100:"吐鲁番地区",652101:"吐鲁番市",652122:"鄯善县",652123:"托克逊县",652124:"其它区",652200:"哈密地区",652201:"哈密市",652222:"巴里坤哈萨克自治县",652223:"伊吾县",652224:"其它区",652300:"昌吉回族自治州",652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县",652329:"其它区",652700:"博尔塔拉蒙古自治州",652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县",652724:"其它区",652800:"巴音郭楞蒙古自治州",652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652830:"其它区",652900:"阿克苏地区",652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县",652930:"其它区",653e3:"克孜勒苏柯尔克孜自治州",653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县",653025:"其它区",653100:"喀什地区",653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县",653132:"其它区",653200:"和田地区",653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县",653228:"其它区",654e3:"伊犁哈萨克自治州",654002:"伊宁市",654003:"奎屯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县",654029:"其它区",654200:"塔城地区",654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县",654227:"其它区",654300:"阿勒泰地区",654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县",654327:"其它区",659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",71e4:"台湾",710100:"台北市",710101:"中正区",710102:"大同区",710103:"中山区",710104:"松山区",710105:"大安区",710106:"万华区",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"南港区",710112:"文山区",710113:"其它区",710200:"高雄市",710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区",710212:"其它区",710241:"苓雅区",710242:"仁武区",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"林园区",710257:"鸟松区",710258:"大树区",710259:"旗山区",710260:"美浓区",710261:"六龟区",710262:"内门区",710263:"杉林区",710264:"甲仙区",710265:"桃源区",710266:"那玛夏区",710267:"茂林区",710268:"茄萣区",710300:"台南市",710301:"中西区",710302:"东区",710303:"南区",710304:"北区",710305:"安平区",710306:"安南区",710307:"其它区",710339:"永康区",710340:"归仁区",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"楠西区",710345:"南化区",710346:"仁德区",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"学甲区",710356:"北门区",710357:"新营区",710358:"后壁区",710359:"白河区",710360:"东山区",710361:"六甲区",710362:"下营区",710363:"柳营区",710364:"盐水区",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710400:"台中市",710401:"中区",710402:"东区",710403:"南区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"南屯区",710409:"其它区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"后里区",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"潭子区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"梧栖区",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710500:"金门县",710507:"金沙镇",710508:"金湖镇",710509:"金宁乡",710510:"金城镇",710511:"烈屿乡",710512:"乌坵乡",710600:"南投县",710614:"南投市",710615:"中寮乡",710616:"草屯镇",710617:"国姓乡",710618:"埔里镇",710619:"仁爱乡",710620:"名间乡",710621:"集集镇",710622:"水里乡",710623:"鱼池乡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡",710700:"基隆市",710701:"仁爱区",710702:"信义区",710703:"中正区",710704:"中山区",710705:"安乐区",710706:"暖暖区",710707:"七堵区",710708:"其它区",710800:"新竹市",710801:"东区",710802:"北区",710803:"香山区",710804:"其它区",710900:"嘉义市",710901:"东区",710902:"西区",710903:"其它区",711100:"新北市",711130:"万里区",711131:"金山区",711132:"板桥区",711133:"汐止区",711134:"深坑区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"双溪区",711139:"贡寮区",711140:"新店区",711141:"坪林区",711142:"乌来区",711143:"永和区",711144:"中和区",711145:"土城区",711146:"三峡区",711147:"树林区",711148:"莺歌区",711149:"三重区",711150:"新庄区",711151:"泰山区",711152:"林口区",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三芝区",711158:"石门区",711200:"宜兰县",711214:"宜兰市",711215:"头城镇",711216:"礁溪乡",711217:"壮围乡",711218:"员山乡",711219:"罗东镇",711220:"三星乡",711221:"大同乡",711222:"五结乡",711223:"冬山乡",711224:"苏澳镇",711225:"南澳乡",711226:"钓鱼台",711300:"新竹县",711314:"竹北市",711315:"湖口乡",711316:"新丰乡",711317:"新埔镇",711318:"关西镇",711319:"芎林乡",711320:"宝山乡",711321:"竹东镇",711322:"五峰乡",711323:"横山乡",711324:"尖石乡",711325:"北埔乡",711326:"峨眉乡",711400:"桃园县",711414:"中坜市",711415:"平镇市",711416:"龙潭乡",711417:"杨梅市",711418:"新屋乡",711419:"观音乡",711420:"桃园市",711421:"龟山乡",711422:"八德市",711423:"大溪镇",711424:"复兴乡",711425:"大园乡",711426:"芦竹乡",711500:"苗栗县",711519:"竹南镇",711520:"头份镇",711521:"三湾乡",711522:"南庄乡",711523:"狮潭乡",711524:"后龙镇",711525:"通霄镇",711526:"苑里镇",711527:"苗栗市",711528:"造桥乡",711529:"头屋乡",711530:"公馆乡",711531:"大湖乡",711532:"泰安乡",711533:"铜锣乡",711534:"三义乡",711535:"西湖乡",711536:"卓兰镇",711700:"彰化县",711727:"彰化市",711728:"芬园乡",711729:"花坛乡",711730:"秀水乡",711731:"鹿港镇",711732:"福兴乡",711733:"线西乡",711734:"和美镇",711735:"伸港乡",711736:"员林镇",711737:"社头乡",711738:"永靖乡",711739:"埔心乡",711740:"溪湖镇",711741:"大村乡",711742:"埔盐乡",711743:"田中镇",711744:"北斗镇",711745:"田尾乡",711746:"埤头乡",711747:"溪州乡",711748:"竹塘乡",711749:"二林镇",711750:"大城乡",711751:"芳苑乡",711752:"二水乡",711900:"嘉义县",711919:"番路乡",711920:"梅山乡",711921:"竹崎乡",711922:"阿里山乡",711923:"中埔乡",711924:"大埔乡",711925:"水上乡",711926:"鹿草乡",711927:"太保市",711928:"朴子市",711929:"东石乡",711930:"六脚乡",711931:"新港乡",711932:"民雄乡",711933:"大林镇",711934:"溪口乡",711935:"义竹乡",711936:"布袋镇",712100:"云林县",712121:"斗南镇",712122:"大埤乡",712123:"虎尾镇",712124:"土库镇",712125:"褒忠乡",712126:"东势乡",712127:"台西乡",712128:"仑背乡",712129:"麦寮乡",712130:"斗六市",712131:"林内乡",712132:"古坑乡",712133:"莿桐乡",712134:"西螺镇",712135:"二仑乡",712136:"北港镇",712137:"水林乡",712138:"口湖乡",712139:"四湖乡",712140:"元长乡",712400:"屏东县",712434:"屏东市",712435:"三地门乡",712436:"雾台乡",712437:"玛家乡",712438:"九如乡",712439:"里港乡",712440:"高树乡",712441:"盐埔乡",712442:"长治乡",712443:"麟洛乡",712444:"竹田乡",712445:"内埔乡",712446:"万丹乡",712447:"潮州镇",712448:"泰武乡",712449:"来义乡",712450:"万峦乡",712451:"崁顶乡",712452:"新埤乡",712453:"南州乡",712454:"林边乡",712455:"东港镇",712456:"琉球乡",712457:"佳冬乡",712458:"新园乡",712459:"枋寮乡",712460:"枋山乡",712461:"春日乡",712462:"狮子乡",712463:"车城乡",712464:"牡丹乡",712465:"恒春镇",712466:"满州乡",712500:"台东县",712517:"台东市",712518:"绿岛乡",712519:"兰屿乡",712520:"延平乡",712521:"卑南乡",712522:"鹿野乡",712523:"关山镇",712524:"海端乡",712525:"池上乡",712526:"东河乡",712527:"成功镇",712528:"长滨乡",712529:"金峰乡",712530:"大武乡",712531:"达仁乡",712532:"太麻里乡",712600:"花莲县",712615:"花莲市",712616:"新城乡",712617:"太鲁阁",712618:"秀林乡",712619:"吉安乡",712620:"寿丰乡",712621:"凤林镇",712622:"光复乡",712623:"丰滨乡",712624:"瑞穗乡",712625:"万荣乡",712626:"玉里镇",712627:"卓溪乡",712628:"富里乡",712700:"澎湖县",712707:"马公市",712708:"西屿乡",712709:"望安乡",712710:"七美乡",712711:"白沙乡",712712:"湖西乡",712800:"连江县",712805:"南竿乡",712806:"北竿乡",712807:"莒光乡",712808:"东引乡",81e4:"香港特别行政区",810100:"香港岛",810101:"中西区",810102:"湾仔",810103:"东区",810104:"南区",810200:"九龙",810201:"九龙城区",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区",810300:"新界",810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"荃湾区",810308:"葵青区",810309:"离岛区",82e4:"澳门特别行政区",820100:"澳门半岛",820200:"离岛",99e4:"海外",990100:"海外"};function r(t){for(var e,n={},r=0;ri;i++)o=t.charAt(i),"\n"===o?(e.seenCR||e.line++,e.column=1,e.seenCR=!1):"\r"===o||"\u2028"===o||"\u2029"===o?(e.line++,e.column=1,e.seenCR=!0):(e.column++,e.seenCR=!1)}return tr!==e&&(tr>e&&(tr=0,er={line:1,column:1,seenCR:!1}),n(er,tr,e),tr=e),er}function x(t){nr>Jn||(Jn>nr&&(nr=Jn,rr=[]),rr.push(t))}function _(t){var e=0;for(t.sort();eJn?(r=t.charAt(Jn),Jn++):(r=null,0===ir&&x(Dn)),null!==r?(Qn=e,n=kn(r),null===n?(Jn=e,e=n):e=n):(Jn=e,e=wt)):(Jn=e,e=wt),e}function pt(){var e,n,r;return e=Jn,92===t.charCodeAt(Jn)?(n=Ln,Jn++):(n=null,0===ir&&x(Pn)),null!==n?(Rn.test(t.charAt(Jn))?(r=t.charAt(Jn),Jn++):(r=null,0===ir&&x(En)),null!==r?(Qn=e,n=Nn(r),null===n?(Jn=e,e=n):e=n):(Jn=e,e=wt)):(Jn=e,e=wt),e}function ft(){var e,n,r,i;if(e=Jn,t.substr(Jn,2)===zn?(n=zn,Jn+=2):(n=null,0===ir&&x(Bn)),null!==n){if(r=[],Vn.test(t.charAt(Jn))?(i=t.charAt(Jn),Jn++):(i=null,0===ir&&x(Fn)),null!==i)for(;null!==i;)r.push(i),Vn.test(t.charAt(Jn))?(i=t.charAt(Jn),Jn++):(i=null,0===ir&&x(Fn));else r=wt;null!==r?(Qn=e,n=Gn(r),null===n?(Jn=e,e=n):e=n):(Jn=e,e=wt)}else Jn=e,e=wt;return e}function gt(){var e,n,r,i;if(e=Jn,t.substr(Jn,2)===Hn?(n=Hn,Jn+=2):(n=null,0===ir&&x(Wn)),null!==n){if(r=[],Un.test(t.charAt(Jn))?(i=t.charAt(Jn),Jn++):(i=null,0===ir&&x(qn)),null!==i)for(;null!==i;)r.push(i),Un.test(t.charAt(Jn))?(i=t.charAt(Jn),Jn++):(i=null,0===ir&&x(qn));else r=wt;null!==r?(Qn=e,n=Yn(r),null===n?(Jn=e,e=n):e=n):(Jn=e,e=wt)}else Jn=e,e=wt;return e}function yt(){var e,n,r,i;if(e=Jn,t.substr(Jn,2)===Xn?(n=Xn,Jn+=2):(n=null,0===ir&&x(Zn)),null!==n){if(r=[],Un.test(t.charAt(Jn))?(i=t.charAt(Jn),Jn++):(i=null,0===ir&&x(qn)),null!==i)for(;null!==i;)r.push(i),Un.test(t.charAt(Jn))?(i=t.charAt(Jn),Jn++):(i=null,0===ir&&x(qn));else r=wt;null!==r?(Qn=e,n=Kn(r),null===n?(Jn=e,e=n):e=n):(Jn=e,e=wt)}else Jn=e,e=wt;return e}function vt(){var e,n;return e=Jn,t.substr(Jn,2)===zn?(n=zn,Jn+=2):(n=null,0===ir&&x(Bn)),null!==n&&(Qn=e,n=$n()),null===n?(Jn=e,e=n):e=n,e}function mt(){var e,n,r;return e=Jn,92===t.charCodeAt(Jn)?(n=Ln,Jn++):(n=null,0===ir&&x(Pn)),null!==n?(t.length>Jn?(r=t.charAt(Jn),Jn++):(r=null,0===ir&&x(Dn)),null!==r?(Qn=e,n=Re(r),null===n?(Jn=e,e=n):e=n):(Jn=e,e=wt)):(Jn=e,e=wt),e}var bt,xt=arguments.length>1?arguments[1]:{},_t={regexp:O},Ot=O,wt=null,St="",jt="|",Mt='"|"',It=function(t,e){return e?new r(t,e[1]):t},Ct=function(t,e,n){return new i([t].concat(e).concat([n]))},At="^",Tt='"^"',Dt=function(){return new n("start")},kt="$",Lt='"$"',Pt=function(){return new n("end")},Rt=function(t,e){return new s(t,e)},Et="Quantifier",Nt=function(t,e){return e&&(t.greedy=!1),t},zt="{",Bt='"{"',Vt=",",Ft='","',Gt="}",Ht='"}"',Wt=function(t,e){return new l(t,e)},Ut=",}",qt='",}"',Yt=function(t){return new l(t,1/0)},Xt=function(t){return new l(t,t)},Zt="+",Kt='"+"',$t=function(){return new l(1,1/0)},Jt="*",Qt='"*"',te=function(){return new l(0,1/0)},ee="?",ne='"?"',re=function(){return new l(0,1)},ie=/^[0-9]/,oe="[0-9]",ae=function(t){return+t.join("")},se="(",le='"("',ce=")",ue='")"',he=function(t){return t},de=function(t){return new a(t)},pe="?:",fe='"?:"',ge=function(t){return new o("non-capture-group",t)},ye="?=",ve='"?="',me=function(t){return new o("positive-lookahead",t)},be="?!",xe='"?!"',_e=function(t){return new o("negative-lookahead",t)},Oe="CharacterSet",we="[",Se='"["',je="]",Me='"]"',Ie=function(t,e){return new c(!!t,e)},Ce="CharacterRange",Ae="-",Te='"-"',De=function(t,e){return new u(t,e)},ke="Character",Le=/^[^\\\]]/,Pe="[^\\\\\\]]",Re=function(t){return new h(t)},Ee=".",Ne='"."',ze=function(){return new n("any-character")},Be="Literal",Ve=/^[^|\\\/.[()?+*$\^]/,Fe="[^|\\\\\\/.[()?+*$\\^]",Ge="\\b",He='"\\\\b"',We=function(){return new n("backspace")},Ue=function(){return new n("word-boundary")},qe="\\B",Ye='"\\\\B"',Xe=function(){return new n("non-word-boundary")},Ze="\\d",Ke='"\\\\d"',$e=function(){return new n("digit")},Je="\\D",Qe='"\\\\D"',tn=function(){return new n("non-digit")},en="\\f",nn='"\\\\f"',rn=function(){return new n("form-feed")},on="\\n",an='"\\\\n"',sn=function(){return new n("line-feed")},ln="\\r",cn='"\\\\r"',un=function(){return new n("carriage-return")},hn="\\s",dn='"\\\\s"',pn=function(){return new n("white-space")},fn="\\S",gn='"\\\\S"',yn=function(){return new n("non-white-space")},vn="\\t",mn='"\\\\t"',bn=function(){return new n("tab")},xn="\\v",_n='"\\\\v"',On=function(){return new n("vertical-tab")},wn="\\w",Sn='"\\\\w"',jn=function(){return new n("word")},Mn="\\W",In='"\\\\W"',Cn=function(){return new n("non-word")},An="\\c",Tn='"\\\\c"',Dn="any character",kn=function(t){return new y(t)},Ln="\\",Pn='"\\\\"',Rn=/^[1-9]/,En="[1-9]",Nn=function(t){return new g(t)},zn="\\0",Bn='"\\\\0"',Vn=/^[0-7]/,Fn="[0-7]",Gn=function(t){return new f(t.join(""))},Hn="\\x",Wn='"\\\\x"',Un=/^[0-9a-fA-F]/,qn="[0-9a-fA-F]",Yn=function(t){return new p(t.join(""))},Xn="\\u",Zn='"\\\\u"',Kn=function(t){return new d(t.join(""))},$n=function(){return new n("null-character")},Jn=0,Qn=0,tr=0,er={line:1,column:1,seenCR:!1},nr=0,rr=[],ir=0;if("startRule"in xt){if(!(xt.startRule in _t))throw new Error("Can't start parsing from rule \""+xt.startRule+'".');Ot=_t[xt.startRule]}if(n.offset=m,n.text=v,bt=Ot(),null!==bt&&Jn===t.length)return bt;throw _(rr),Qn=Math.max(Jn,nr),new e(rr,Qnr)return!0;var a={path:e,type:t,actual:n,expected:r,action:"is greater than",message:o};return a.message=l.message(a),i.push(a),!1},lessThan:function(t,e,n,r,i,o){if(n=r)return!0;var a={path:e,type:t,actual:n,expected:r,action:"is greater than or equal to",message:o};return a.message=l.message(a),i.push(a),!1},lessThanOrEqualTo:function(t,e,n,r,i,o){if(n<=r)return!0;var a={path:e,type:t,actual:n,expected:r,action:"is less than or equal to",message:o};return a.message=l.message(a),i.push(a),!1}};a.Diff=s,a.Assert=l,t.exports=a},function(t,e,n){t.exports=n(28)},function(t,e,n){var r=n(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch(p){window.Event=function(t,e,n,r){var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,e,n,r),i}}var i={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o="readystatechange loadstart progress abort error load timeout loadend".split(" "),a="timeout withCredentials".split(" "),s="readyState responseURL status statusText responseType response responseText responseXML".split(" "),l={100:"Continue",101:"Switching Protocols",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",300:"Multiple Choice",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};function c(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}function u(){var t=function(){var t=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,e=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,n=location.href,r=e.exec(n.toLowerCase())||[];return t.test(r[1])}();return window.ActiveXObject?!t&&e()||n():e();function e(){try{return new window._XMLHttpRequest}catch(t){}}function n(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}}function h(t){for(var e in c.Mock._mocked){var n=c.Mock._mocked[e];if((!n.rurl||i(n.rurl,t.url))&&(!n.rtype||i(n.rtype,t.type.toLowerCase())))return n}function i(t,e){return"string"===r.type(t)?t===e:"regexp"===r.type(t)?t.test(e):void 0}}function d(t,e){return r.isFunction(t.template)?t.template(e):c.Mock.mock(t.template)}c._settings={timeout:"10-100"},c.setup=function(t){return r.extend(c._settings,t),c._settings},r.extend(c,i),r.extend(c.prototype,i),c.prototype.mock=!0,c.prototype.match=!1,r.extend(c.prototype,{open:function(t,e,n,i,l){var d=this;r.extend(this.custom,{method:t,url:e,async:"boolean"!==typeof n||n,username:i,password:l,options:{url:e,type:t}}),this.custom.timeout=function(t){if("number"===typeof t)return t;if("string"===typeof t&&!~t.indexOf("-"))return parseInt(t,10);if("string"===typeof t&&~t.indexOf("-")){var e=t.split("-"),n=parseInt(e[0],10),r=parseInt(e[1],10);return Math.round(Math.random()*(r-n))+n}}(c._settings.timeout);var p=h(this.custom.options);function f(t){for(var e=0;ev&&(v=O,mv&&(v=w,x<_?i["a"].set(d,0,-x):i["a"].set(d,0,_)):O=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.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,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],h=r[3],d=r[4],p=r[5];return e.x=n.x*i+d,e.y=n.y*h+p,e.width=n.width*i,e.height=n.height*h,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}s.x=c.x=n.x,s.y=u.y=n.y,l.x=u.x=n.x+n.width,l.y=c.y=n.y+n.height,s.transform(r),u.transform(r),l.transform(r),c.transform(r),e.x=o(s.x,l.x,c.x,u.x),e.y=o(s.y,l.y,c.y,u.y);var f=a(s.x,l.x,c.x,u.x),g=a(s.y,l.y,c.y,u.y);e.width=f-e.x,e.height=g-e.y}else e!==n&&t.copy(e,n)},t}();e["a"]=p},"98b7":function(t,e,n){"use strict";var r,i=n("22d1");r=i["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},e["a"]=r},"998a":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("76a5");function i(t,e,n,i,o,a,s,l){var c=new r["a"]({style:{text:t,font:e,align:n,verticalAlign:i,padding:o,rich:a,overflow:s?"truncate":null,lineHeight:l}});return c.getBoundingRect()}},"9cf9":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=Math.round;function i(t,e,n){if(e){var i=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=i,t.x2=o,t.y1=s,t.y2=l;var c=n&&n.lineWidth;return c?(r(2*i)===r(2*o)&&(t.x1=t.x2=a(i,c,!0)),r(2*s)===r(2*l)&&(t.y1=t.y2=a(s,c,!0)),t):t}}function o(t,e,n){if(e){var r=e.x,i=e.y,o=e.width,s=e.height;t.x=r,t.y=i,t.width=o,t.height=s;var l=n&&n.lineWidth;return l?(t.x=a(r,l,!0),t.y=a(i,l,!0),t.width=Math.max(a(r+o,l,!1)-t.x,0===o?0:1),t.height=Math.max(a(i+s,l,!1)-t.y,0===s?0:1),t):t}}function a(t,e,n){if(!e)return t;var i=r(2*t);return(i+r(e))%2===0?i/2:(i+(n?1:-1))/2}},"9d57":function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"d",(function(){return f})),n.d(e,"f",(function(){return y})),n.d(e,"c",(function(){return v})),n.d(e,"a",(function(){return m}));var r=n("6d8b"),i=n("3842"),o=n("ee1a"),a=n("cccd"),s=n("f658"),l="__ec_stack_";function c(t){return t.get("stack")||l+t.seriesIndex}function u(t){return t.dim+t.index}function h(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var o=n.getBandWidth(),a=0;a0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}function f(t){var e=p(t),n=[];return Object(r["each"])(t,(function(t){var r,o=t.coordinateSystem,a=o.getBaseAxis(),s=a.getExtent();if("category"===a.type)r=a.getBandWidth();else if("value"===a.type||"time"===a.type){var l=a.dim+"_"+a.index,h=e[l],d=Math.abs(s[1]-s[0]),p=a.scale.getExtent(),f=Math.abs(p[1]-p[0]);r=h?d/f*h:d}else{var g=t.getData();r=Math.abs(s[1]-s[0])/g.count()}var y=Object(i["q"])(t.get("barWidth"),r),v=Object(i["q"])(t.get("barMaxWidth"),r),m=Object(i["q"])(t.get("barMinWidth")||(x(t)?.5:1),r),b=t.get("barGap"),_=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:y,barMaxWidth:v,barMinWidth:m,barGap:b,barCategoryGap:_,axisKey:u(a),stackId:c(t)})})),g(n)}function g(t){var e={};Object(r["each"])(t,(function(t,n){var r=t.axisKey,i=t.bandWidth,o=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[r]=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 c=t.barMaxWidth;c&&(a[s].maxWidth=c);var u=t.barMinWidth;u&&(a[s].minWidth=u);var h=t.barGap;null!=h&&(o.gap=h);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return Object(r["each"])(e,(function(t,e){n[e]={};var o=t.stacks,a=t.bandWidth,s=t.categoryGap;if(null==s){var l=Object(r["keys"])(o).length;s=Math.max(35-4*l,15)+"%"}var c=Object(i["q"])(s,a),u=Object(i["q"])(t.gap,1),h=t.remainedWidth,d=t.autoWidthCount,p=(h-c)/(d+(d-1)*u);p=Math.max(p,0),Object(r["each"])(o,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){r=t.width;e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,h-=r+u*r,d--}else{var r=p;e&&er&&(r=n),r!==p&&(t.width=r,h-=r+u*r,d--)}})),p=(h-c)/(d+(d-1)*u),p=Math.max(p,0);var f,g=0;Object(r["each"])(o,(function(t,e){t.width||(t.width=p),f=t,g+=t.width*(1+u)})),f&&(g-=f.width*u);var y=-g/2;Object(r["each"])(o,(function(t,r){n[e][r]=n[e][r]||{bandWidth:a,offset:y,width:t.width},y+=t.width*(1+u)}))})),n}function y(t,e,n){if(t&&e){var r=t[u(e)];return null!=r&&null!=n?r[c(n)]:r}}function v(t,e){var n=d(t,e),i=f(n);Object(r["each"])(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),o=c(t),a=i[u(r)][o],s=a.offset,l=a.width;e.setLayout({bandWidth:a.bandWidth,offset:s,size:l})}))}function m(t){return{seriesType:t,plan:Object(a["a"])(),reset:function(t){if(b(t)){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),a=e.getDimensionIndex(e.mapDimension(i.dim)),l=e.getDimensionIndex(e.mapDimension(r.dim)),c=t.get("showBackground",!0),u=e.mapDimension(i.dim),h=e.getCalculationInfo("stackResultDimension"),d=Object(o["c"])(e,u)&&!!e.getCalculationInfo("stackedOnSeries"),p=i.isHorizontal(),f=_(r,i),g=x(t),y=t.get("barMinHeight")||0,v=h&&e.getDimensionIndex(h),m=e.getLayout("size"),O=e.getLayout("offset");return{progress:function(t,e){var r,i=t.count,o=g&&Object(s["a"])(3*i),u=g&&c&&Object(s["a"])(3*i),h=g&&Object(s["a"])(i),b=n.master.getRect(),x=p?b.width:b.height,_=e.getStore(),w=0;while(null!=(r=t.next())){var S=_.get(d?v:a,r),j=_.get(l,r),M=f,I=void 0;d&&(I=+S-_.get(a,r));var C=void 0,A=void 0,T=void 0,D=void 0;if(p){var k=n.dataToPoint([S,j]);if(d){var L=n.dataToPoint([I,j]);M=L[0]}C=M,A=k[1]+O,T=k[0]-M,D=m,Math.abs(T)=1)&&(t=1),t}s===c&&l===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=c,this._modDataCount=u;var d=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!i&&(a||p1&&r>0?s:a}};return o;function a(){return e=t?null:o!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,"a",(function(){return j})),n.d(e,"b",(function(){return S})),n.d(e,"c",(function(){return I})),n.d(e,"d",(function(){return M})),n.d(e,"e",(function(){return tt})),n.d(e,"f",(function(){return rt})),n.d(e,"g",(function(){return st})),n.d(e,"h",(function(){return D})),n.d(e,"i",(function(){return ht})),n.d(e,"j",(function(){return ot})),n.d(e,"k",(function(){return P})),n.d(e,"l",(function(){return nt})),n.d(e,"m",(function(){return m})),n.d(e,"n",(function(){return at})),n.d(e,"o",(function(){return R})),n.d(e,"p",(function(){return $})),n.d(e,"q",(function(){return V})),n.d(e,"r",(function(){return o})),n.d(e,"s",(function(){return f})),n.d(e,"t",(function(){return Z})),n.d(e,"u",(function(){return E})),n.d(e,"v",(function(){return T})),n.d(e,"w",(function(){return H})),n.d(e,"x",(function(){return A})),n.d(e,"y",(function(){return X})),n.d(e,"z",(function(){return W})),n.d(e,"A",(function(){return B})),n.d(e,"B",(function(){return K})),n.d(e,"C",(function(){return g})),n.d(e,"D",(function(){return N})),n.d(e,"E",(function(){return v})),n.d(e,"F",(function(){return F})),n.d(e,"G",(function(){return G})),n.d(e,"H",(function(){return x})),n.d(e,"I",(function(){return _})),n.d(e,"J",(function(){return lt})),n.d(e,"K",(function(){return r})),n.d(e,"L",(function(){return h})),n.d(e,"M",(function(){return a})),n.d(e,"N",(function(){return k})),n.d(e,"O",(function(){return O})),n.d(e,"P",(function(){return it})),n.d(e,"Q",(function(){return ct})),n.d(e,"R",(function(){return Y}));const i="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",o=r(i);function a(t){if(R(t)){const e={};for(let n=0;n{if(t){const n=t.split(l);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function h(t){let e="";if(F(t))e=t;else if(R(t))for(let n=0;nx(t,e))}const O=t=>F(t)?t:null==t?"":R(t)||H(t)&&(t.toString===U||!V(t.toString))?JSON.stringify(t,w,2):String(t),w=(t,e)=>e&&e.__v_isRef?w(t,e.value):E(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n])=>(t[e+" =>"]=n,t),{})}:N(e)?{[`Set(${e.size})`]:[...e.values()]}:!H(e)||R(e)||X(e)?e:String(e),S={},j=[],M=()=>{},I=()=>!1,C=/^on[^a-z]/,A=t=>C.test(t),T=t=>t.startsWith("onUpdate:"),D=Object.assign,k=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},L=Object.prototype.hasOwnProperty,P=(t,e)=>L.call(t,e),R=Array.isArray,E=t=>"[object Map]"===q(t),N=t=>"[object Set]"===q(t),z=t=>"[object Date]"===q(t),B=t=>"[object RegExp]"===q(t),V=t=>"function"===typeof t,F=t=>"string"===typeof t,G=t=>"symbol"===typeof t,H=t=>null!==t&&"object"===typeof t,W=t=>H(t)&&V(t.then)&&V(t.catch),U=Object.prototype.toString,q=t=>U.call(t),Y=t=>q(t).slice(8,-1),X=t=>"[object Object]"===q(t),Z=t=>F(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,K=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),J=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},Q=/-(\w)/g,tt=J(t=>t.replace(Q,(t,e)=>e?e.toUpperCase():"")),et=/\B([A-Z])/g,nt=J(t=>t.replace(et,"-$1").toLowerCase()),rt=J(t=>t.charAt(0).toUpperCase()+t.slice(1)),it=J(t=>t?"on"+rt(t):""),ot=(t,e)=>!Object.is(t,e),at=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},lt=t=>{const e=parseFloat(t);return isNaN(e)?t:e},ct=t=>{const e=F(t)?Number(t):NaN;return isNaN(e)?t:e};let ut;const ht=()=>ut||(ut="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:{})}).call(this,n("c8ba"))},a15a:function(t,e,n){"use strict";n.d(e,"d",(function(){return m})),n.d(e,"a",(function(){return _})),n.d(e,"c",(function(){return O})),n.d(e,"b",(function(){return w}));var r=n("6d8b"),i=n("cbe5"),o=n("cb11"),a=n("c7a2"),s=n("d9fc"),l=n("2306"),c=n("9850"),u=n("e86a"),h=n("3842"),d=i["b"].extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r+o),t.lineTo(n-i,r+o),t.closePath()}}),p=i["b"].extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r),t.lineTo(n,r+o),t.lineTo(n-i,r),t.closePath()}}),f=i["b"].extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,i=e.width/5*3,o=Math.max(i,e.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,c=Math.asin(s/a),u=Math.cos(c)*a,h=Math.sin(c),d=Math.cos(c),p=.6*a,f=.7*a;t.moveTo(n-u,l+s),t.arc(n,l,a,Math.PI-c,2*Math.PI+c),t.bezierCurveTo(n+u-h*p,l+s+d*p,n,r-f,n,r),t.bezierCurveTo(n,r-f,n-u+h*p,l+s+d*p,n-u,l+s),t.closePath()}}),g=i["b"].extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,i=e.x,o=e.y,a=r/3*2;t.moveTo(i,o),t.lineTo(i+a,o+n),t.lineTo(i,o+n/4*3),t.lineTo(i-a,o+n),t.lineTo(i,o),t.closePath()}}),y={line:o["a"],rect:a["a"],roundRect:a["a"],square:a["a"],circle:s["a"],diamond:p,pin:f,arrow:g,triangle:d},v={line:function(t,e,n,r,i){i.x1=t,i.y1=e+r/2,i.x2=t+n,i.y2=e+r/2},rect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r},roundRect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(t,e,n,r,i){var o=Math.min(n,r);i.x=t,i.y=e,i.width=o,i.height=o},circle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.r=Math.min(n,r)/2},diamond:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r},pin:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},arrow:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},triangle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r}},m={};Object(r["each"])(y,(function(t,e){m[e]=new t}));var b=i["b"].extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=Object(u["c"])(t,e,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(r.y=n.y+.4*n.height),r},buildPath:function(t,e,n){var r=e.symbolType;if("none"!==r){var i=m[r];i||(r="rect",i=m[r]),v[r](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n)}}});function x(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function _(t,e,n,r,i,o,a){var s,u=0===t.indexOf("empty");return u&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),s=0===t.indexOf("image://")?l["makeImage"](t.slice(8),new c["a"](e,n,r,i),a?"center":"cover"):0===t.indexOf("path://")?l["makePath"](t.slice(7),{},new c["a"](e,n,r,i),a?"center":"cover"):new b({shape:{symbolType:t,x:e,y:n,width:r,height:i}}),s.__isEmptyBrush=u,s.setColor=x,o&&s.setColor(o),s}function O(t){return Object(r["isArray"])(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function w(t,e){if(null!=t)return Object(r["isArray"])(t)||(t=[t,t]),[Object(h["q"])(t[0],e[0])||0,Object(h["q"])(Object(r["retrieve2"])(t[1],t[0]),e[1])||0]}},a98e:function(t,e,n){"use strict";var r=n("aa74"),i=n("22b4"),o=(n("1be7"),n("f95e")),a=n("5e81"),s=n("ee29");Object(i["a"])([o["a"],a["a"]]);Object(i["a"])(s["a"]),r["t"]({type:"series.liquidFill",optionUpdated:function(){var t=this.option;t.gridSize=Math.max(Math.floor(t.gridSize),4)},getInitialData:function(t,e){var n=r["A"].createDimensions(t.data,{coordDimensions:["value"]}),i=new r["e"](n,this);return i.initData(t.data),i},defaultOption:{color:["#294D99","#156ACF","#1598ED","#45BDFF"],center:["50%","50%"],radius:"50%",amplitude:"8%",waveLength:"80%",phase:"auto",period:"auto",direction:"right",shape:"circle",waveAnimation:!0,animationEasing:"linear",animationEasingUpdate:"linear",animationDuration:2e3,animationDurationUpdate:1e3,outline:{show:!0,borderDistance:8,itemStyle:{color:"none",borderColor:"#294D99",borderWidth:8,shadowBlur:20,shadowColor:"rgba(0, 0, 0, 0.25)"}},backgroundStyle:{color:"#E3F7FF"},itemStyle:{opacity:.95,shadowBlur:50,shadowColor:"rgba(0, 0, 0, 0.4)"},label:{show:!0,color:"#294D99",insideColor:"#fff",fontSize:50,fontWeight:"bold",align:"center",baseline:"middle",position:"inside"},emphasis:{itemStyle:{opacity:.8}}}});var l=n("3842"),c=r["z"].extendShape({type:"ec-liquid-fill",shape:{waveLength:0,radius:0,radiusY:0,cx:0,cy:0,waterLevel:0,amplitude:0,phase:0,inverse:!1},buildPath:function(t,e){null==e.radiusY&&(e.radiusY=e.radius);var n=Math.max(2*Math.ceil(2*e.radius/e.waveLength*4),8);while(e.phase<2*-Math.PI)e.phase+=2*Math.PI;while(e.phase>0)e.phase-=2*Math.PI;var r=e.phase/Math.PI/2*e.waveLength,i=e.cx-e.radius+r-2*e.radius;t.moveTo(i,e.waterLevel);for(var o=0,a=0;aa?(a*=2*t/o,o=2*t):(o*=2*t/a,a=2*t);var s=e?0:O-o/2,l=e?0:w-a/2;return n=r["z"].makePath(j.slice(7),{},new r["z"].BoundingRect(s,l,o,a)),e&&(n.x=-o/2,n.y=-a/2),n}if(S){var c=e?-t[0]:O-t[0],u=e?-t[1]:w-t[1];return r["A"].createSymbol("rect",c,u,2*t[0],2*t[1])}c=e?-t:O-t,u=e?-t:w-t;return"pin"===j?u+=t:"arrow"===j&&(u-=t),r["A"].createSymbol(j,c,u,2*t,2*t)}return new r["z"].Circle({shape:{cx:e?0:O,cy:e?0:w,r:t}})}function L(){var e=k(b);return e.style.fill=null,e.setStyle(t.getModel("outline.itemStyle").getItemStyle()),e}function P(){var e=k(u);e.setStyle(t.getModel("backgroundStyle").getItemStyle()),e.style.fill=null,e.z2=5;var n=k(u);n.setStyle(t.getModel("backgroundStyle").getItemStyle()),n.style.stroke=null;var i=new r["z"].Group;return i.add(e),i.add(n),i}function R(e,n,i){var o=S?u[0]:u,s=S?f/2:u,l=a.getItemModel(e),d=l.getModel("itemStyle"),p=l.get("phase"),g=h(l.get("amplitude"),2*s),y=h(l.get("waveLength"),2*o),v=a.get("value",e),m=s-v*s*2;p=i?i.shape.phase:"auto"===p?e*Math.PI/4:p;var b=d.getItemStyle();if(!b.fill){var x=t.get("color"),_=e%x.length;b.fill=x[_]}var j=2*o,M=new c({shape:{waveLength:y,radius:o,radiusY:s,cx:j,cy:0,waterLevel:m,amplitude:g,phase:p,inverse:n},style:b,x:O,y:w});M.shape._waterLevel=m;var I=l.getModel("emphasis.itemStyle").getItemStyle();I.lineWidth=0,M.ensureState("emphasis").style=I,r["A"].enableHoverEmphasis(M);var C=k(u,!0);return C.setStyle({fill:"white"}),M.setClipPath(C),M}function E(t,e,n){var r=a.getItemModel(t),i=r.get("period"),o=r.get("direction"),s=a.get("value",t),l=r.get("phase");l=n?n.shape.phase:"auto"===l?t*Math.PI/4:l;var c=function(e){var n=a.count();return 0===n?e:e*(.2+(n-t)/n*.8)},u=0;u="auto"===i?c(5e3):"function"===typeof i?i(s,t):i;var h=0;"right"===o||null==o?h=Math.PI:"left"===o?h=-Math.PI:"none"===o?h=0:console.error("Illegal direction value for liquid fill."),"none"!==o&&r.get("waveAnimation")&&e.animate("shape",!0).when(0,{phase:l}).when(u/2,{phase:h+l}).when(u,{phase:2*h+l}).during((function(){A&&A.dirty(!0)})).start()}function N(e){var n=s.getModel("label");function i(){var e=t.getFormattedLabel(0,"normal"),n=100*a.get("value",0),r=a.getName(0)||t.name;return isNaN(n)||(r=n.toFixed(0)+"%"),null==e?r:e}var o={z2:10,shape:{x:I,y:C,width:2*(S?u[0]:u),height:2*(S?u[1]:u)},style:{fill:"transparent"},textConfig:{position:n.get("position")||"inside"},silent:!0},l={style:{text:i(),textAlign:n.get("align"),textVerticalAlign:n.get("baseline")}};Object.assign(l.style,r["A"].createTextStyle(n));var c=new r["z"].Rect(o),h=new r["z"].Rect(o);h.disableLabelAnimation=!0,c.disableLabelAnimation=!0;var d=new r["z"].Text(l),p=new r["z"].Text(l);c.setTextContent(d),h.setTextContent(p);var f=n.get("insideColor");p.style.fill=f;var g=new r["z"].Group;g.add(c),g.add(h);var y=k(u,!0);return A=new r["z"].CompoundPath({shape:{paths:e},x:O,y:w}),A.setClipPath(y),h.setClipPath(A),g}a.diff(T).add((function(e){var n=R(e,!1),i=n.shape.waterLevel;n.shape.waterLevel=S?f/2:u,r["z"].initProps(n,{shape:{waterLevel:i}},t),n.z2=2,E(e,n,null),o.add(n),a.setItemGraphicEl(e,n),D.push(n)})).update((function(e,n){for(var s=T.getItemGraphicEl(n),l=R(e,!1,s),c={},u=["amplitude","cx","cy","phase","radius","radiusY","waterLevel","waveLength"],h=0;h0&&(r.name=i+(a-1)),a++,e.set(i,a)}}function f(t,e,n,r){var i=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,r||0);return Object(o["each"])(e,(function(t){var e;Object(o["isObject"])(t)&&(e=t.dimsDef)&&(i=Math.max(i,e.length))})),i}function g(t,e,n){if(n||e.hasKey(t)){var r=0;while(e.hasKey(t+r))r++;t+=r}return e.set(t,!0),t}},b362:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("4a3f"),i=n("6d8b"),o=/cubic-bezier\(([0-9,\.e ]+)\)/;function a(t){var e=t&&o.exec(t);if(e){var n=e[1].split(","),a=+Object(i["trim"])(n[0]),s=+Object(i["trim"])(n[1]),l=+Object(i["trim"])(n[2]),c=+Object(i["trim"])(n[3]);if(isNaN(a+s+l+c))return;var u=[];return function(t){return t<=0?0:t>=1?1:Object(r["f"])(0,a,l,1,t,u)&&Object(r["a"])(0,s,c,1,u[0])}}}},b3c1:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=Math.round(9*Math.random()),i="function"===typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+r++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return i?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[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}(),a=o,s=n("d51b"),l=n("6d8b"),c=n("3842"),u=n("a15a"),h=n("5210"),d=n("726e"),p=new a,f=new s["a"](100),g=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function y(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),r=e.getZr(),i="svg"===r.painter.type;t.dirty&&p["delete"](t);var o=p.get(t);if(o)return o;var a=Object(l["defaults"])(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 y(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/n,p.set(t,s),t.dirty=!1,s;function y(t){for(var e,o=[n],s=!0,p=0;p * @license MIT */ var r=n("1fb5"),i=n("9152"),o=n("e3db");function a(){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}}function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),c.alloc(+t)}function x(t,e){if(c.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 n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(t).length;default:if(r)return K(t).length;e=(""+e).toLowerCase(),r=!0}}function _(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return N(this,e,n);case"utf8":case"utf-8":return k(this,e,n);case"ascii":return R(this,e,n);case"latin1":case"binary":return E(this,e,n);case"base64":return D(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function O(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:S(t,e,n,r,i);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):S(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function S(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var u=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var h=!0,d=0;di&&(r=i)):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:o=t[i+1],128===(192&o)&&(l=(31&c)<<6|63&o,l>127&&(u=l));break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return P(r)}e.Buffer=c,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=s(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return u(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return d(null,t,e,n)},c.allocUnsafe=function(t){return p(null,t)},c.allocUnsafeSlow=function(t){return p(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,r,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,a=n-e,s=Math.min(o,a),l=this.slice(r,i),u=t.slice(e,n),h=0;hi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return j(this,t,e,n);case"utf8":case"utf-8":return M(this,t,e,n);case"ascii":return I(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return A(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function P(t){var e=t.length;if(e<=L)return String.fromCharCode.apply(String,t);var n="",r=0;while(rr)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function V(t,e,n,r,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function F(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function G(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function H(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(t,e,n,r,o){return o||H(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function U(t,e,n,r,o){return o||H(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}c.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e0&&(i*=256))r+=this[t+--e]*i;return r},c.prototype.readUInt8=function(t,e){return e||B(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||B(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||B(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||B(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||B(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);var r=this[t],i=1,o=0;while(++o=i&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);var r=e,i=1,o=this[t+--r];while(r>0&&(i*=256))o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||B(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||B(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||B(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||B(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||B(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||B(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||B(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||B(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||B(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;V(this,t,e,n,i,0)}var o=1,a=0;this[e]=255&t;while(++a=0&&(a*=256))this[e+o]=t/a&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):G(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):G(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);V(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;this[e]=255&t;while(++o>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);V(this,t,e,n,i-1,-i)}var o=n-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+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):G(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||V(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):G(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return W(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return W(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return U(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return U(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function $(t){for(var e=[],n=0;n>8,i=n%256,o.push(i),o.push(r)}return o}function Q(t){return r.toByteArray(Y(t))}function tt(t,e,n,r){for(var i=0;i=e.length||i>=t.length)break;e[i+n]=t[i]}return i}function et(t){return t!==t}}).call(this,n("c8ba"))},b682:function(t,e,n){"use strict";var r,i,o,a,s,l,c,u=n("6d8b"),h=n("4319"),d=n("80f0"),p=n("2b17"),f=n("2f45"),g=n("cd70"),y=n("07fd"),v=n("e0d3"),m=n("861c"),b=n("ec6f"),x=n("d0ce"),_=n("80b9"),O=u["isObject"],w=u["map"],S="undefined"===typeof Int32Array?Array:Int32Array,j="e\0\0",M=-1,I=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],C=["_approximateExtent"],A=function(){function t(t,e){var n;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 r=!1;Object(_["d"])(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var i={},o=[],a={},s=!1,l={},c=0;c=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,s=i.getSource().sourceFormat,l=s===y["f"];if(l&&!i.pure)for(var u=[],h=t;h0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,r=n[t];r||(r=n[t]={});var i=r[e];return null==i&&(i=this.getVisual(e),u["isArray"](i)?i=i.slice():O(i)&&(i=u["extend"]({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,O(e)?u["extend"](r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){O(t)?u["extend"](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,n){this._itemLayouts[t]=n?u["extend"](this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Object(m["b"])(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){u["each"](this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:w(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];u["isFunction"](n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(u["slice"](arguments)))})},t.internalField=function(){r=function(t){var e=t._invertedIndicesMap;u["each"](e,(function(n,r){var i=t._dimInfos[r],o=i.ordinalMeta,a=t._store;if(o){n=e[r]=new S(o.categories.length);for(var s=0;s1&&(l+="__ec__"+u),r[e]=l}}}(),t}();e["a"]=A},b7d9:function(t,e,n){"use strict";n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return p}));var r=n("3842"),i=n("6d8b"),o=n("edae");function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||Object(i["isNumber"])(t)||null==t||"-"===t||(t=+Object(r["p"])(t)),null==t||""===t?NaN:+t)}var s=Object(i["createHashMap"])({number:function(t){return parseFloat(t)},time:function(t){return+Object(r["p"])(t)},trim:function(t){return Object(i["isString"])(t)?Object(i["trim"])(t):t}});function l(t){return s.get(t)}var c={lt:function(t,e){return te},gte:function(t,e){return t>=e}},u=function(){function t(t,e){if(!Object(i["isNumber"])(e)){var n="";0,Object(o["c"])(n)}this._opFn=c[t],this._rvalFloat=Object(r["o"])(e)}return t.prototype.evaluate=function(t){return Object(i["isNumber"])(t)?this._opFn(t,this._rvalFloat):this._opFn(Object(r["o"])(t),this._rvalFloat)},t}(),h=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Object(i["isNumber"])(t)?t:Object(r["o"])(t),o=Object(i["isNumber"])(e)?e:Object(r["o"])(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=Object(i["isString"])(t),c=Object(i["isString"])(e);l&&(n=c?t:0),c&&(o=l?e:0)}return no?-this._resultLT:0},t}(),d=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Object(r["o"])(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Object(r["o"])(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function p(t,e){return"eq"===t||"ne"===t?new d("eq"===t,e):Object(i["hasOwn"])(c,t)?new u(t,e):null}},bda7:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("6d8b"),i=n("f279");function o(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);var i=e.features;return r["each"](i,(function(t){var e=t.geometry,i=e.encodeOffsets,o=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=s(o,i,n);break;case"Polygon":a(o,i,n);break;case"MultiLineString":a(o,i,n);break;case"MultiPolygon":r["each"](o,(function(t,e){return a(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}function a(t,e,n){for(var r=0;r>1^-(1&s),l=l>>1^-(1&l),s+=i,l+=o,i=s,o=l,r.push([s/n,l/n])}return r}function l(t,e){return t=o(t),r["map"](r["filter"](t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,o=t.geometry,a=[];switch(o.type){case"Polygon":var s=o.coordinates;a.push(new i["b"](s[0],s.slice(1)));break;case"MultiPolygon":r["each"](o.coordinates,(function(t){t[0]&&a.push(new i["b"](t[0],t.slice(1)))}));break;case"LineString":a.push(new i["a"]([o.coordinates]));break;case"MultiLineString":a.push(new i["a"](o.coordinates))}var l=new i["c"](n[e||"name"],a,n.cp);return l.properties=n,l}))}},c532:function(t,e,n){"use strict";(function(t){var r=n("1d2b");const{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,a=(t=>e=>{const n=i.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),s=t=>(t=t.toLowerCase(),e=>a(e)===t),l=t=>e=>typeof e===t,{isArray:c}=Array,u=l("undefined");function h(t){return null!==t&&!u(t)&&null!==t.constructor&&!u(t.constructor)&&g(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const d=s("ArrayBuffer");function p(t){let e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&d(t.buffer),e}const f=l("string"),g=l("function"),y=l("number"),v=t=>null!==t&&"object"===typeof t,m=t=>!0===t||!1===t,b=t=>{if("object"!==a(t))return!1;const e=o(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},x=s("Date"),_=s("File"),O=s("Blob"),w=s("FileList"),S=t=>v(t)&&g(t.pipe),j=t=>{const e="[object FormData]";return t&&("function"===typeof FormData&&t instanceof FormData||i.call(t)===e||g(t.toString)&&t.toString()===e)},M=s("URLSearchParams"),I=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function C(t,e,{allOwnKeys:n=!1}={}){if(null===t||"undefined"===typeof t)return;let r,i;if("object"!==typeof t&&(t=[t]),c(t))for(r=0,i=t.length;r0)if(r=n[i],e===r.toLowerCase())return r;return null}const T=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:t)(),D=t=>!u(t)&&t!==T;function k(){const{caseless:t}=D(this)&&this||{},e={},n=(n,r)=>{const i=t&&A(e,r)||r;b(e[i])&&b(n)?e[i]=k(e[i],n):b(n)?e[i]=k({},n):c(n)?e[i]=n.slice():e[i]=n};for(let r=0,i=arguments.length;r(C(e,(e,i)=>{n&&g(e)?t[i]=Object(r["a"])(e,n):t[i]=e},{allOwnKeys:i}),t),P=t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),R=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},E=(t,e,n,r)=>{let i,a,s;const l={};if(e=e||{},null==t)return e;do{i=Object.getOwnPropertyNames(t),a=i.length;while(a-- >0)s=i[a],r&&!r(s,t,e)||l[s]||(e[s]=t[s],l[s]=!0);t=!1!==n&&o(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},N=(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},z=t=>{if(!t)return null;if(c(t))return t;let e=t.length;if(!y(e))return null;const n=new Array(e);while(e-- >0)n[e]=t[e];return n},B=(t=>e=>t&&e instanceof t)("undefined"!==typeof Uint8Array&&o(Uint8Array)),V=(t,e)=>{const n=t&&t[Symbol.iterator],r=n.call(t);let i;while((i=r.next())&&!i.done){const n=i.value;e.call(t,n[0],n[1])}},F=(t,e)=>{let n;const r=[];while(null!==(n=t.exec(e)))r.push(n);return r},G=s("HTMLFormElement"),H=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),W=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),U=s("RegExp"),q=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};C(n,(n,i)=>{!1!==e(n,i,t)&&(r[i]=n)}),Object.defineProperties(t,r)},Y=t=>{q(t,(e,n)=>{if(g(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];g(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},X=(t,e)=>{const n={},r=t=>{t.forEach(t=>{n[t]=!0})};return c(t)?r(t):r(String(t).split(e)),n},Z=()=>{},K=(t,e)=>(t=+t,Number.isFinite(t)?t:e),$="abcdefghijklmnopqrstuvwxyz",J="0123456789",Q={DIGIT:J,ALPHA:$,ALPHA_DIGIT:$+$.toUpperCase()+J},tt=(t=16,e=Q.ALPHA_DIGIT)=>{let n="";const{length:r}=e;while(t--)n+=e[Math.random()*r|0];return n};function et(t){return!!(t&&g(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])}const nt=t=>{const e=new Array(10),n=(t,r)=>{if(v(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const i=c(t)?[]:{};return C(t,(t,e)=>{const o=n(t,r+1);!u(o)&&(i[e]=o)}),e[r]=void 0,i}}return t};return n(t,0)};e["a"]={isArray:c,isArrayBuffer:d,isBuffer:h,isFormData:j,isArrayBufferView:p,isString:f,isNumber:y,isBoolean:m,isObject:v,isPlainObject:b,isUndefined:u,isDate:x,isFile:_,isBlob:O,isRegExp:U,isFunction:g,isStream:S,isURLSearchParams:M,isTypedArray:B,isFileList:w,forEach:C,merge:k,extend:L,trim:I,stripBOM:P,inherits:R,toFlatObject:E,kindOf:a,kindOfTest:s,endsWith:N,toArray:z,forEachEntry:V,matchAll:F,isHTMLForm:G,hasOwnProperty:W,hasOwnProp:W,reduceDescriptors:q,freezeMethods:Y,toObjectSet:X,toCamelCase:H,noop:Z,toFiniteNumber:K,findKey:A,global:T,isContextDefined:D,ALPHABET:Q,generateString:tt,isSpecCompliantForm:et,toJSONObject:nt}}).call(this,n("c8ba"))},c7a2:function(t,e,n){"use strict";var r=n("21a1"),i=n("cbe5");function o(t,e){var n,r,i,o,a,s=e.x,l=e.y,c=e.width,u=e.height,h=e.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"===typeof h?n=r=i=o=h:h instanceof Array?1===h.length?n=r=i=o=h[0]:2===h.length?(n=i=h[0],r=o=h[1]):3===h.length?(n=h[0],r=o=h[1],i=h[2]):(n=h[0],r=h[1],i=h[2],o=h[3]):n=r=i=o=0,n+r>c&&(a=n+r,n*=c/a,r*=c/a),i+o>c&&(a=i+o,i*=c/a,o*=c/a),r+i>u&&(a=r+i,r*=u/a,i*=u/a),n+o>u&&(a=n+o,n*=u/a,o*=u/a),t.moveTo(s+n,l),t.lineTo(s+c-r,l),0!==r&&t.arc(s+c-r,l+r,r,-Math.PI/2,0),t.lineTo(s+c,l+u-i),0!==i&&t.arc(s+c-i,l+u-i,i,0,Math.PI/2),t.lineTo(s+o,l+u),0!==o&&t.arc(s+o,l+u-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}var a=n("9cf9"),s=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),l={},c=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,r,i,s;if(this.subPixelOptimize){var c=Object(a["c"])(l,e,this.style);n=c.x,r=c.y,i=c.width,s=c.height,c.r=e.r,e=c}else n=e.x,r=e.y,i=e.width,s=e.height;e.r?o(t,e):t.rect(n,r,i,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i["b"]);c.prototype.type="rect";e["a"]=c},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca80:function(t,e,n){"use strict";var r=n("dce8"),i=[0,0],o=[0,0],a=new r["a"],s=new r["a"],l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new r["a"];for(n=0;n<2;n++)this._axes[n]=new r["a"];t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var c=0;c<4;c++)n[c].transform(e);r["a"].sub(i[0],n[1],n[0]),r["a"].sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(c=0;c<2;c++)this._origin[c]=i[c].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,a,s,i,-1)&&(n=!1,i)||i||r["a"].copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,l){for(var c=!0,u=0;u<2;u++){var h=this._axes[u];if(this._getProjMinMaxOnAxis(u,t._corners,i),this._getProjMinMaxOnAxis(u,e._corners,o),i[1]o[1]){if(c=!1,s)return c;var d=Math.abs(o[0]-i[1]),p=Math.abs(i[0]-o[1]);Math.min(d,p)>a.len()&&(de+d&&h>r+d&&h>o+d&&h>l+d||ht+d&&u>n+d&&u>i+d&&u>a+d||un||d+ci&&(i+=h);var f=Math.atan2(l,s);return f<0&&(f+=h),f>=r&&f<=i||f+h>=r&&f+h<=i}var p=n("8728"),f=o["a"].CMD,g=2*Math.PI,y=1e-4;function v(t,e){return Math.abs(t-e)e&&u>r&&u>o&&u>l||u1&&x(),f=s["a"](e,r,o,l,b[0]),p>1&&(g=s["a"](e,r,o,l,b[1]))),2===p?ve&&l>r&&l>o||l=0&&u<=1){for(var h=0,d=s["h"](e,r,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);m[0]=-l,m[1]=l;var c=Math.abs(r-i);if(c<1e-4)return 0;if(c>=g-1e-4){r=0,i=g;var u=o?1:-1;return a>=m[0]+t&&a<=m[1]+t?u:0}if(r>i){var h=r;r=i,i=h}r<0&&(r+=g,i+=g);for(var d=0,p=0;p<2;p++){var f=m[p];if(f+t>a){var y=Math.atan2(s,f);u=o?1:-1;y<0&&(y=g+y),(y>=r&&y<=i||y+g>=r&&y+g<=i)&&(y>Math.PI/2&&y<1.5*Math.PI&&(u=-u),d+=u)}}return d}function S(t,e,n,r,i){for(var o,s,u=t.data,h=t.len(),g=0,y=0,m=0,b=0,x=0,S=0;S1&&(n||(g+=Object(p["a"])(y,m,b,x,r,i))),M&&(y=u[S],m=u[S+1],b=y,x=m),j){case f.M:b=u[S++],x=u[S++],y=b,m=x;break;case f.L:if(n){if(a["a"](y,m,u[S],u[S+1],e,r,i))return!0}else g+=Object(p["a"])(y,m,u[S],u[S+1],r,i)||0;y=u[S++],m=u[S++];break;case f.C:if(n){if(l(y,m,u[S++],u[S++],u[S++],u[S++],u[S],u[S+1],e,r,i))return!0}else g+=_(y,m,u[S++],u[S++],u[S++],u[S++],u[S],u[S+1],r,i)||0;y=u[S++],m=u[S++];break;case f.Q:if(n){if(c["a"](y,m,u[S++],u[S++],u[S],u[S+1],e,r,i))return!0}else g+=O(y,m,u[S++],u[S++],u[S],u[S+1],r,i)||0;y=u[S++],m=u[S++];break;case f.A:var I=u[S++],C=u[S++],A=u[S++],T=u[S++],D=u[S++],k=u[S++];S+=1;var L=!!(1-u[S++]);o=Math.cos(D)*A+I,s=Math.sin(D)*T+C,M?(b=o,x=s):g+=Object(p["a"])(y,m,o,s,r,i);var P=(r-I)*T/A+I;if(n){if(d(I,C,T,D,D+k,L,e,P,i))return!0}else g+=w(I,C,T,D,D+k,L,P,i);y=Math.cos(D+k)*A+I,m=Math.sin(D+k)*T+C;break;case f.R:b=y=u[S++],x=m=u[S++];var R=u[S++],E=u[S++];if(o=b+R,s=x+E,n){if(a["a"](b,x,o,x,e,r,i)||a["a"](o,x,o,s,e,r,i)||a["a"](o,s,b,s,e,r,i)||a["a"](b,s,b,x,e,r,i))return!0}else g+=Object(p["a"])(o,x,o,s,r,i),g+=Object(p["a"])(b,s,b,x,r,i);break;case f.Z:if(n){if(a["a"](y,m,b,x,e,r,i))return!0}else g+=Object(p["a"])(y,m,b,x,r,i);y=b,m=x;break}}return n||v(m,x)||(g+=Object(p["a"])(y,m,b,x,r,i)||0),0!==g}function j(t,e,n){return S(t,0,!1,e,n)}function M(t,e,n,r){return S(t,e,!0,n,r)}var I=n("6d8b"),C=n("41ef"),A=n("2cf4"),T=n("4bc4"),D=n("8582"),k=Object(I["defaults"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i["b"]),L={style:Object(I["defaults"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i["a"].style)},P=D["a"].concat(["invisible","culling","z","z2","zlevel","parent"]),R=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){n.buildPath(t,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s.5?A["a"]:e>.2?A["c"]:A["d"]}if(t)return A["d"]}return A["a"]},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(I["isString"])(e)){var n=this.__zr,r=!(!n||!n.isDarkMode()),i=Object(C["lum"])(t,0)0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&T["b"])&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){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 n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),M(o,a/s,t,e)))return!0}if(this.hasFill())return j(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=T["b"],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,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"===typeof t?n[t]=e:Object(I["extend"])(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&T["b"])},e.prototype.createStyle=function(t){return Object(I["createObject"])(k,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=Object(I["extend"])({},this.shape))},e.prototype._applyStateObj=function(e,n,r,i,o,a){t.prototype._applyStateObj.call(this,e,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=Object(I["extend"])({},r.shape),Object(I["extend"])(s,n.shape)):(s=Object(I["extend"])({},i?this.shape:r.shape),Object(I["extend"])(s,n.shape)):l&&(s=r.shape),s)if(o){this.shape=Object(I["extend"])({},this.shape);for(var c={},u=Object(I["keys"])(s),h=0;h{let t;return("undefined"===typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!==typeof window&&"undefined"!==typeof document)})(),x=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)();var _={isBrowser:!0,classes:{URLSearchParams:y,FormData:v,Blob:m},isStandardBrowserEnv:b,isStandardBrowserWebWorkerEnv:x,protocols:["http","https","file","blob","url","data"]};function O(t,e){return Object(o["a"])(t,new _.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,i){return _.isNode&&r["a"].isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function w(t){return r["a"].matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0])}function S(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r=t.length;if(a=!a&&r["a"].isArray(i)?i.length:a,l)return r["a"].hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!s;i[a]&&r["a"].isObject(i[a])||(i[a]=[]);const c=e(t,n,i[a],o);return c&&r["a"].isArray(i[a])&&(i[a]=S(i[a])),!s}if(r["a"].isFormData(t)&&r["a"].isFunction(t.entries)){const n={};return r["a"].forEachEntry(t,(t,r)=>{e(w(t),r,n,0)}),n}return null}var M=j;const I={"Content-Type":void 0};function C(t,e,n){if(r["a"].isString(t))try{return(e||JSON.parse)(t),r["a"].trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(t)}const A={transitional:g,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,a=r["a"].isObject(t);a&&r["a"].isHTMLForm(t)&&(t=new FormData(t));const s=r["a"].isFormData(t);if(s)return i&&i?JSON.stringify(M(t)):t;if(r["a"].isArrayBuffer(t)||r["a"].isBuffer(t)||r["a"].isStream(t)||r["a"].isFile(t)||r["a"].isBlob(t))return t;if(r["a"].isArrayBufferView(t))return t.buffer;if(r["a"].isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return O(t,this.formSerializer).toString();if((l=r["a"].isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Object(o["a"])(l?{"files[]":t}:t,e&&new e,this.formSerializer)}}return a||i?(e.setContentType("application/json",!1),C(t)):t}],transformResponse:[function(t){const e=this.transitional||A.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if(t&&r["a"].isString(t)&&(n&&!this.responseType||i)){const n=e&&e.silentJSONParsing,r=!n&&i;try{return JSON.parse(t)}catch(o){if(r){if("SyntaxError"===o.name)throw f["a"].from(o,f["a"].ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_.classes.FormData,Blob:_.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r["a"].forEach(["delete","get","head"],(function(t){A.headers[t]={}})),r["a"].forEach(["post","put","patch"],(function(t){A.headers[t]=r["a"].merge(I)}));var T=A;const D=r["a"].toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var k=t=>{const e={};let n,r,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),n=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim(),!n||e[n]&&D[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e};const L=Symbol("internals");function P(t){return t&&String(t).trim().toLowerCase()}function R(t){return!1===t||null==t?t:r["a"].isArray(t)?t.map(R):String(t)}function E(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(t))e[r[1]]=r[2];return e}function N(t){return/^[-_a-zA-Z]+$/.test(t.trim())}function z(t,e,n,i,o){return r["a"].isFunction(i)?i.call(this,e,n):(o&&(e=n),r["a"].isString(e)?r["a"].isString(i)?-1!==e.indexOf(i):r["a"].isRegExp(i)?i.test(e):void 0:void 0)}function B(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,n)=>e.toUpperCase()+n)}function V(t,e){const n=r["a"].toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})})}class F{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function o(t,e,n){const o=P(e);if(!o)throw new Error("header name must be a non-empty string");const a=r["a"].findKey(i,o);(!a||void 0===i[a]||!0===n||void 0===n&&!1!==i[a])&&(i[a||e]=R(t))}const a=(t,e)=>r["a"].forEach(t,(t,n)=>o(t,n,e));return r["a"].isPlainObject(t)||t instanceof this.constructor?a(t,e):r["a"].isString(t)&&(t=t.trim())&&!N(t)?a(k(t),e):null!=t&&o(e,t,n),this}get(t,e){if(t=P(t),t){const n=r["a"].findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return E(t);if(r["a"].isFunction(e))return e.call(this,t,n);if(r["a"].isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=P(t),t){const n=r["a"].findKey(this,t);return!(!n||void 0===this[n]||e&&!z(this,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function o(t){if(t=P(t),t){const o=r["a"].findKey(n,t);!o||e&&!z(n,n[o],o,e)||(delete n[o],i=!0)}}return r["a"].isArray(t)?t.forEach(o):o(t),i}clear(t){const e=Object.keys(this);let n=e.length,r=!1;while(n--){const i=e[n];t&&!z(this,this[i],i,t,!0)||(delete this[i],r=!0)}return r}normalize(t){const e=this,n={};return r["a"].forEach(this,(i,o)=>{const a=r["a"].findKey(n,o);if(a)return e[a]=R(i),void delete e[o];const s=t?B(o):String(o).trim();s!==o&&delete e[o],e[s]=R(i),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return r["a"].forEach(this,(n,i)=>{null!=n&&!1!==n&&(e[i]=t&&r["a"].isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach(t=>n.set(t)),n}static accessor(t){const e=this[L]=this[L]={accessors:{}},n=e.accessors,i=this.prototype;function o(t){const e=P(t);n[e]||(V(i,t),n[e]=!0)}return r["a"].isArray(t)?t.forEach(o):o(t),this}}F.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),r["a"].freezeMethods(F.prototype),r["a"].freezeMethods(F);var G=F;function H(t,e){const n=this||T,i=e||n,o=G.from(i.headers);let a=i.data;return r["a"].forEach(t,(function(t){a=t.call(n,a,o.normalize(),e?e.status:void 0)})),o.normalize(),a}function W(t){return!(!t||!t.__CANCEL__)}function U(t,e,n){f["a"].call(this,null==t?"canceled":t,f["a"].ERR_CANCELED,e,n),this.name="CanceledError"}r["a"].inherits(U,f["a"],{__CANCEL__:!0});var q=U,Y=n("4581");function X(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new f["a"]("Request failed with status code "+n.status,[f["a"].ERR_BAD_REQUEST,f["a"].ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}var Z=_.isStandardBrowserEnv?function(){return{write:function(t,e,n,i,o,a){const s=[];s.push(t+"="+encodeURIComponent(e)),r["a"].isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r["a"].isString(i)&&s.push("path="+i),r["a"].isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function K(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function $(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function J(t,e){return t&&!K(e)?$(t,e):e}var Q=_.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function i(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=i(window.location.href),function(t){const e=r["a"].isString(t)?i(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return function(){return!0}}();function tt(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function et(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),c=r[a];i||(i=l),n[o]=s,r[o]=l;let u=a,h=0;while(u!==o)h+=n[u++],u%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),l-i{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s),c=o<=a;n=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:i};u[e?"download":"upload"]=!0,t(u)}}const it="undefined"!==typeof XMLHttpRequest;var ot=it&&function(t){return new Promise((function(e,n){let i=t.data;const o=G.from(t.headers).normalize(),a=t.responseType;let s;function l(){t.cancelToken&&t.cancelToken.unsubscribe(s),t.signal&&t.signal.removeEventListener("abort",s)}r["a"].isFormData(i)&&(_.isStandardBrowserEnv||_.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+n))}const u=J(t.baseURL,t.url);function d(){if(!c)return;const r=G.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),i=a&&"text"!==a&&"json"!==a?c.response:c.responseText,o={data:i,status:c.status,statusText:c.statusText,headers:r,config:t,request:c};X((function(t){e(t),l()}),(function(t){n(t),l()}),o),c=null}if(c.open(t.method.toUpperCase(),h(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout,"onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(d)},c.onabort=function(){c&&(n(new f["a"]("Request aborted",f["a"].ECONNABORTED,t,c)),c=null)},c.onerror=function(){n(new f["a"]("Network Error",f["a"].ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||g;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new f["a"](e,r.clarifyTimeoutError?f["a"].ETIMEDOUT:f["a"].ECONNABORTED,t,c)),c=null},_.isStandardBrowserEnv){const e=(t.withCredentials||Q(u))&&t.xsrfCookieName&&Z.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===i&&o.setContentType(null),"setRequestHeader"in c&&r["a"].forEach(o.toJSON(),(function(t,e){c.setRequestHeader(e,t)})),r["a"].isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),a&&"json"!==a&&(c.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&c.addEventListener("progress",rt(t.onDownloadProgress,!0)),"function"===typeof t.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",rt(t.onUploadProgress)),(t.cancelToken||t.signal)&&(s=e=>{c&&(n(!e||e.type?new q(null,t,c):e),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(s),t.signal&&(t.signal.aborted?s():t.signal.addEventListener("abort",s)));const p=tt(u);p&&-1===_.protocols.indexOf(p)?n(new f["a"]("Unsupported protocol "+p+":",f["a"].ERR_BAD_REQUEST,t)):c.send(i||null)}))};const at={http:Y["a"],xhr:ot};r["a"].forEach(at,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(n){}Object.defineProperty(t,"adapterName",{value:e})}});var st={getAdapter:t=>{t=r["a"].isArray(t)?t:[t];const{length:e}=t;let n,i;for(let o=0;ot instanceof G?t.toJSON():t;function ht(t,e){e=e||{};const n={};function i(t,e,n){return r["a"].isPlainObject(t)&&r["a"].isPlainObject(e)?r["a"].merge.call({caseless:n},t,e):r["a"].isPlainObject(e)?r["a"].merge({},e):r["a"].isArray(e)?e.slice():e}function o(t,e,n){return r["a"].isUndefined(e)?r["a"].isUndefined(t)?void 0:i(void 0,t,n):i(t,e,n)}function a(t,e){if(!r["a"].isUndefined(e))return i(void 0,e)}function s(t,e){return r["a"].isUndefined(e)?r["a"].isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function l(n,r,o){return o in e?i(n,r):o in t?i(void 0,n):void 0}const c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(t,e)=>o(ut(t),ut(e),!0)};return r["a"].forEach(Object.keys(t).concat(Object.keys(e)),(function(i){const a=c[i]||o,s=a(t[i],e[i],i);r["a"].isUndefined(s)&&a!==l||(n[i]=s)})),n}const dt="1.3.4",pt={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{pt[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const ft={};function gt(t,e,n){if("object"!==typeof t)throw new f["a"]("options must be an object",f["a"].ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;while(i-- >0){const o=r[i],a=e[o];if(a){const e=t[o],n=void 0===e||a(e,o,t);if(!0!==n)throw new f["a"]("option "+o+" must be "+n,f["a"].ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new f["a"]("Unknown option "+o,f["a"].ERR_BAD_OPTION)}}pt.transitional=function(t,e,n){function r(t,e){return"[Axios v"+dt+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,i,o)=>{if(!1===t)throw new f["a"](r(i," has been removed"+(e?" in "+e:"")),f["a"].ERR_DEPRECATED);return e&&!ft[i]&&(ft[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,o)}};var yt={assertOptions:gt,validators:pt};const vt=yt.validators;class mt{constructor(t){this.defaults=t,this.interceptors={request:new p,response:new p}}request(t,e){"string"===typeof t?(e=e||{},e.url=t):e=t||{},e=ht(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:o}=e;let a;void 0!==n&&yt.assertOptions(n,{silentJSONParsing:vt.transitional(vt.boolean),forcedJSONParsing:vt.transitional(vt.boolean),clarifyTimeoutError:vt.transitional(vt.boolean)},!1),void 0!==i&&yt.assertOptions(i,{encode:vt.function,serialize:vt.function},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase(),a=o&&r["a"].merge(o.common,o[e.method]),a&&r["a"].forEach(["delete","get","head","post","put","patch","common"],t=>{delete o[t]}),e.headers=G.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(l=l&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let h,d=0;if(!l){const t=[ct.bind(this),void 0];t.unshift.apply(t,s),t.push.apply(t,c),h=t.length,u=Promise.resolve(e);while(d{if(!n._listeners)return;let e=n._listeners.length;while(e-- >0)n._listeners[e](t);n._listeners=null}),this.promise.then=t=>{let e;const r=new Promise(t=>{n.subscribe(t),e=t}).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,i){n.reason||(n.reason=new q(t,r,i),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;const e=new xt((function(e){t=e}));return{token:e,cancel:t}}}var _t=xt;function Ot(t){return function(e){return t.apply(null,e)}}function wt(t){return r["a"].isObject(t)&&!0===t.isAxiosError}const St={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(St).forEach(([t,e])=>{St[e]=t});var jt=St;function Mt(t){const e=new bt(t),n=Object(i["a"])(bt.prototype.request,e);return r["a"].extend(n,bt.prototype,e,{allOwnKeys:!0}),r["a"].extend(n,e,null,{allOwnKeys:!0}),n.create=function(e){return Mt(ht(t,e))},n}const It=Mt(T);It.Axios=bt,It.CanceledError=q,It.CancelToken=_t,It.isCancel=W,It.VERSION=dt,It.toFormData=o["a"],It.AxiosError=f["a"],It.Cancel=It.CanceledError,It.all=function(t){return Promise.all(t)},It.spread=Ot,It.isAxiosError=wt,It.mergeConfig=ht,It.AxiosHeaders=G,It.formToJSON=t=>M(r["a"].isHTMLForm(t)?new FormData(t):t),It.HttpStatusCode=jt,It.default=It;e["a"]=It},d0ce:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r,i=n("6d8b"),o=n("b7d9"),a=n("ec6f"),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,c=typeof Uint16Array===s?Array:Uint16Array,u=typeof Int32Array===s?Array:Int32Array,h=typeof Float64Array===s?Array:Float64Array,d={float:h,int:u,ordinal:Array,number:Array,time:h};function p(t){return t>65535?l:c}function f(){return[1/0,-1/0]}function g(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function y(t,e,n,r,i){var o=d[n||"float"];if(i){var a=t[e],s=a&&a.length;if(s!==r){for(var l=new o(r),c=0;cv[1]&&(v[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,c=Object(i["map"])(a,(function(t){return t.property})),u=0;ub[1]&&(b[1]=m)}}!r.persistent&&r.clean&&r.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=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;i=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var r=this._chunks,i=r[t],o=[];if(!i)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,c=0,u=this.count();c=0&&s<0)&&(a=p,s=d,l=0),d===s&&(o[l++]=c))}return o.length=l,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,r=this._count;if(n===Array){t=new n(r);for(var i=0;i=h&&b<=d||isNaN(b))&&(l[c++]=y),y++}g=!0}else if(2===o){v=f[r[0]];var x=f[r[1]],_=t[r[1]][0],O=t[r[1]][1];for(m=0;m=h&&b<=d||isNaN(b))&&(w>=_&&w<=O||isNaN(w))&&(l[c++]=y),y++}g=!0}}if(!g)if(1===o)for(m=0;m=h&&b<=d||isNaN(b))&&(l[c++]=S)}else for(m=0;mt[I][1])&&(j=!1)}j&&(l[c++]=e.getRawIndex(m))}return cv[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var n,r,i,o=this.clone([t],!0),a=o._chunks,s=a[t],l=this.count(),c=0,u=Math.floor(1/e),h=this.getRawIndex(0),d=new(p(this._rawCount))(Math.min(2*(Math.ceil(l/u)+2),l));d[c++]=h;for(var f=1;fn&&(n=r,i=x))}I>0&&Ic-g&&(s=c-g,a.length=s);for(var y=0;yu[1]&&(u[1]=m),h[d++]=b}return i._count=d,i._indices=h,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,r=this._chunks,i=0,o=this.count();is&&(s=u)}return r=[a,s],this._extent[t]=r,r},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],r=this._chunks,i=0;i=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,r){return Object(o["d"])(t[r],this._dimensions[r])}r={arrayRows:t,objectRows:function(t,e,n,r){return Object(o["d"])(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var i=t&&(null==t.value?t:t.value);return Object(o["d"])(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}();e["b"]=v},d409:function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return g}));var r=n("5e76"),i=n("6d8b"),o=n("e86a"),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,n,r,i){if(!e)return"";var o=(t+"").split("\n");i=l(e,n,r,i);for(var a=0,s=o.length;a=l;u++)c-=l;var h=Object(o["f"])(n,e);return h>c&&(n="",h=0),c=t-h,a.ellipsis=n,a.ellipsisWidth=h,a.contentWidth=c,a.containerWidth=t,a}function c(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var a=Object(o["f"])(t,r);if(a<=n)return t;for(var s=0;;s++){if(a<=i||s>=e.maxIterations){t+=e.ellipsis;break}var l=0===s?u(t,i,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*i/a):0;t=t.substr(0,l),a=Object(o["f"])(t,r)}return""===t&&(t=e.placeholder),t}function u(t,e,n,r){for(var i=0,o=0,a=t.length;ov&&f){var m=Math.floor(v/d);n=n.slice(0,m)}if(t&&u&&null!=g)for(var b=l(g,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),_=0;_p&&y(n,t.substring(p,g),e,d),y(n,l[2],e,d,l[1]),p=a.lastIndex}pu){C>0?(j.tokens=j.tokens.slice(0,C),w(j,I,M),n.lines=n.lines.slice(0,S+1)):n.lines=n.lines.slice(0,S);break t}var R=T.width,E=null==R||"auto"===R;if("string"===typeof R&&"%"===R.charAt(R.length-1))A.percentWidth=R,v.push(A),A.contentWidth=Object(o["f"])(A.text,L);else{if(E){var N=T.backgroundColor,z=N&&N.image;z&&(z=r["b"](z),r["c"](z)&&(A.width=Math.max(A.width,z.width*P/z.height)))}var B=_&&null!=c?c-I:null;null!=B&&B0&&v+r.accumWidth>r.width&&(a=e.split("\n"),f=!0),r.accumWidth=v}else{var m=x(e,h,r.width,r.breakAll,r.accumWidth);r.accumWidth=m.accumWidth+y,s=m.linesWidths,a=m.lines}}else a=e.split("\n");for(var b=0;b=33&&e<=383}var m=Object(i["reduce"])(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function b(t){return!v(t)||!!m[t]}function x(t,e,n,r,i){for(var a=[],s=[],l="",c="",u=0,h=0,d=0;dn:i+h+f>n)?h?(l||c)&&(g?(l||(l=c,c="",u=0,h=u),a.push(l),s.push(h-u),c+=p,u+=f,l="",h=u):(c&&(l+=c,c="",u=0),a.push(l),s.push(h),l=p,h=f)):g?(a.push(c),s.push(u),c=p,u=f):(a.push(p),s.push(f)):(h+=f,g?(c+=p,u+=f):(c&&(l+=c,c="",u=0),l+=p))}else c&&(l+=c,h+=u),a.push(l),s.push(h),l="",c="",u=0,h=0}return a.length||l||(l=t,c="",u=0),c&&(l+=c),l&&(a.push(l),s.push(h)),1===a.length&&(h+=i),{accumWidth:h,lines:a,linesWidths:s}}},d498:function(t,e,n){"use strict";var r=n("21a1"),i=n("cbe5"),o=n("4fac"),a=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o["a"](t,e,!1)},e}(i["b"]);s.prototype.type="polyline",e["a"]=s},d4c6:function(t,e,n){"use strict";var r=n("21a1"),i=n("cbe5"),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return Object(r["a"])(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e["a"]=o},d5b7:function(t,e,n){"use strict";var r=n("8582"),i=n("06ad"),o=n("9850"),a=n("6fd3"),s=n("e86a"),l=n("6d8b"),c=n("2cf4"),u=n("41ef"),h=n("4bc4"),d="__zr_normal__",p=r["a"].concat(["ignore"]),f=Object(l["reduce"])(r["a"],(function(t,e){return t[e]=!0,t}),{ignore:!1}),g={},y=new o["a"](0,0,0,0),v=function(){function t(t){this.id=Object(l["guid"])(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[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 n=this.textConfig,r=n.local,i=e.innerTransformable,o=void 0,a=void 0,l=!1;i.parent=r?this:null;var c=!1;if(i.copyTransform(e),null!=n.position){var u=y;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),r||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,u):Object(s["c"])(g,n,u),i.x=g.x,i.y=g.y,o=g.align,a=g.verticalAlign;var d=n.origin;if(d&&null!=n.rotation){var p=void 0,f=void 0;"center"===d?(p=.5*u.width,f=.5*u.height):(p=Object(s["g"])(d[0],u.width),f=Object(s["g"])(d[1],u.height)),c=!0,i.originX=-i.x+p+(r?0:u.x),i.originY=-i.y+f+(r?0:u.y)}}null!=n.rotation&&(i.rotation=n.rotation);var v=n.offset;v&&(i.x+=v[0],i.y+=v[1],c||(i.originX=-v[0],i.originY=-v[1]));var m=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,b=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),x=void 0,_=void 0,O=void 0;m&&this.canBeInsideText()?(x=n.insideFill,_=n.insideStroke,null!=x&&"auto"!==x||(x=this.getInsideTextFill()),null!=_&&"auto"!==_||(_=this.getInsideTextStroke(x),O=!0)):(x=n.outsideFill,_=n.outsideStroke,null!=x&&"auto"!==x||(x=this.getOutsideFill()),null!=_&&"auto"!==_||(_=this.getOutsideStroke(x),O=!0)),x=x||"#000",x===b.fill&&_===b.stroke&&O===b.autoStroke&&o===b.align&&a===b.verticalAlign||(l=!0,b.fill=x,b.stroke=_,b.autoStroke=O,b.align=o,b.verticalAlign=a,e.setDefaultTextStyle(b)),e.__dirty|=h["a"],l&&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()?c["d"]:c["a"]},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&Object(u["parse"])(e);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,Object(u["stringify"])(n,"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||{},Object(l["extend"])(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(Object(l["isObject"])(t))for(var n=t,r=Object(l["keys"])(n),i=0;i0},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(d,!1,t)},t.prototype.useState=function(t,e,n,r){var i=t===d,o=this.hasState();if(o||!i){var a=this.currentStates,s=this.stateTransition;if(!(Object(l["indexOf"])(a,t)>=0)||!e&&1!==a.length){var c;if(this.stateProxy&&!i&&(c=this.stateProxy(t)),c||(c=this.states&&this.states[t]),c||i){i||this.saveCurrentToNormalState(c);var u=!!(c&&c.hoverLayer||r);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,c,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var p=this._textContent,f=this._textGuide;return p&&p.useState(t,e,n,u),f&&f.useState(t,e,n,u),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h["a"]),c}Object(l["logError"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var r=[],i=this.currentStates,o=t.length,a=o===i.length;if(a)for(var s=0;s0,f);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,d),y&&y.useStates(t,e,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h["a"])}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var r=this.currentStates.slice(),i=Object(l["indexOf"])(r,t),o=Object(l["indexOf"])(r,e)>=0;i>=0?o?r.splice(i,1):r[i]=e:n&&!o&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},r=0;r=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,r=n.length,i=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var d=0;d0||o.force&&!s.length){var A=void 0,T=void 0,D=void 0;if(c){T={},f&&(A={});for(j=0;j{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n}},d9fc:function(t,e,n){"use strict";var r=n("21a1"),i=n("cbe5"),o=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return Object(r["a"])(e,t),e.prototype.getDefaultShape=function(){return new o},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}(i["b"]);a.prototype.type="circle",e["a"]=a},dce8:function(t,e,n){"use strict";var r=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,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},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,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+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,n){t.x=e,t.y=n},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,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,r){t.x=e.x+n.x*r,t.y=e.y+n.y*r},t.lerp=function(t,e,n,r){var i=1-r;t.x=i*e.x+r*n.x,t.y=i*e.y+r*n.y},t}();e["a"]=r},dd4f:function(t,e,n){"use strict";var r=n("21a1"),i=n("19eb"),o=n("e86a"),a=n("cbe5"),s=n("6d8b"),l=n("726e"),c=Object(s["defaults"])({strokeFirst:!0,font:l["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a["a"]),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r["a"])(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,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return Object(s["createObject"])(c,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 n=Object(o["d"])(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var r=t.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(i["c"]);u.prototype.type="tspan",e["a"]=u},dded:function(t,e,n){"use strict";var r=n("21a1"),i=n("42e5"),o=function(t){function e(e,n,r,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return Object(r["a"])(e,t),e}(i["a"]);e["a"]=o},deca:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"h",(function(){return l})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return f})),n.d(e,"b",(function(){return g}));var r=n("6d8b"),i=n("e0d3"),o=Object(i["o"])();function a(t,e,n,i,o){var a;if(e&&e.ecModel){var s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),c="update"===t;if(l){var u=void 0,h=void 0,d=void 0;i?(u=Object(r["retrieve2"])(i.duration,200),h=Object(r["retrieve2"])(i.easing,"cubicOut"),d=0):(u=e.getShallow(c?"animationDurationUpdate":"animationDuration"),h=e.getShallow(c?"animationEasingUpdate":"animationEasing"),d=e.getShallow(c?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(u=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(d=a.delay)),Object(r["isFunction"])(d)&&(d=d(n,o)),Object(r["isFunction"])(u)&&(u=u(n));var p={duration:u||0,delay:d,easing:h};return p}return null}function s(t,e,n,i,o,s,l){var c,u=!1;Object(r["isFunction"])(o)?(l=s,s=o,o=null):Object(r["isObject"])(o)&&(s=o.cb,l=o.during,u=o.isFrom,c=o.removeOpt,o=o.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var d=a(t,i,o,h?c||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,o):null);if(d&&d.duration>0){var p=d.duration,f=d.delay,g=d.easing,y={duration:p,delay:f||0,easing:g,done:s,force:!!s||!!l,setToFinal:!h,scope:t,during:l};u?e.animateFrom(n,y):e.animateTo(n,y)}else e.stopAnimation(),!u&&e.attr(n),l&&l(1),s&&s()}function l(t,e,n,r,i,o){s("update",t,e,n,r,i,o)}function c(t,e,n,r,i,o){s("enter",t,e,n,r,i,o)}function u(t){if(!t.__zr)return!0;for(var e=0;ee[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 n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[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}();r["c"](i),e["a"]=i},e263:function(t,e,n){"use strict";n.d(e,"d",(function(){return p})),n.d(e,"c",(function(){return f})),n.d(e,"b",(function(){return v})),n.d(e,"e",(function(){return m})),n.d(e,"a",(function(){return b}));var r=n("401b"),i=n("4a3f"),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,c=2*Math.PI,u=r["create"](),h=r["create"](),d=r["create"]();function p(t,e,n){if(0!==t.length){for(var r=t[0],i=r[0],s=r[0],l=r[1],c=r[1],u=1;u1e-4)return f[0]=t-n,f[1]=e-i,g[0]=t+n,void(g[1]=e+i);if(u[0]=l(o)*n+t,u[1]=s(o)*i+e,h[0]=l(a)*n+t,h[1]=s(a)*i+e,y(f,u,h),v(g,u,h),o%=c,o<0&&(o+=c),a%=c,a<0&&(a+=c),o>a&&!p?a+=c:oo&&(d[0]=l(x)*n+t,d[1]=s(x)*i+e,y(f,d,f),v(g,d,g))}},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e467:function(t,e,n){"use strict";(function(t){var r=n("c532"),i=n("7917"),o=n("4581");function a(t){return r["a"].isPlainObject(t)||r["a"].isArray(t)}function s(t){return r["a"].endsWith(t,"[]")?t.slice(0,-2):t}function l(t,e,n){return t?t.concat(e).map((function(t,e){return t=s(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}function c(t){return r["a"].isArray(t)&&!t.some(a)}const u=r["a"].toFlatObject(r["a"],{},null,(function(t){return/^is[A-Z]/.test(t)}));function h(e,n,h){if(!r["a"].isObject(e))throw new TypeError("target must be an object");n=n||new(o["a"]||FormData),h=r["a"].toFlatObject(h,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!r["a"].isUndefined(e[t])}));const d=h.metaTokens,p=h.visitor||b,f=h.dots,g=h.indexes,y=h.Blob||"undefined"!==typeof Blob&&Blob,v=y&&r["a"].isSpecCompliantForm(n);if(!r["a"].isFunction(p))throw new TypeError("visitor must be a function");function m(e){if(null===e)return"";if(r["a"].isDate(e))return e.toISOString();if(!v&&r["a"].isBlob(e))throw new i["a"]("Blob is not supported. Use a Buffer instead.");return r["a"].isArrayBuffer(e)||r["a"].isTypedArray(e)?v&&"function"===typeof Blob?new Blob([e]):t.from(e):e}function b(t,e,i){let o=t;if(t&&!i&&"object"===typeof t)if(r["a"].endsWith(e,"{}"))e=d?e:e.slice(0,-2),t=JSON.stringify(t);else if(r["a"].isArray(t)&&c(t)||(r["a"].isFileList(t)||r["a"].endsWith(e,"[]"))&&(o=r["a"].toArray(t)))return e=s(e),o.forEach((function(t,i){!r["a"].isUndefined(t)&&null!==t&&n.append(!0===g?l([e],i,f):null===g?e:e+"[]",m(t))})),!1;return!!a(t)||(n.append(l(i,e,f),m(t)),!1)}const x=[],_=Object.assign(u,{defaultVisitor:b,convertValue:m,isVisitable:a});function O(t,e){if(!r["a"].isUndefined(t)){if(-1!==x.indexOf(t))throw Error("Circular reference detected in "+e.join("."));x.push(t),r["a"].forEach(t,(function(t,i){const o=!(r["a"].isUndefined(t)||null===t)&&p.call(n,t,r["a"].isString(i)?i.trim():i,e,_);!0===o&&O(t,e?e.concat(i):[i])})),x.pop()}}if(!r["a"].isObject(e))throw new TypeError("data must be an object");return O(e),n}e["a"]=h}).call(this,n("b639").Buffer)},e86a:function(t,e,n){"use strict";n.d(e,"f",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"g",(function(){return p})),n.d(e,"c",(function(){return f}));var r=n("9850"),i=n("d51b"),o=n("726e"),a={};function s(t,e){e=e||o["a"];var n=a[e];n||(n=a[e]=new i["a"](500));var r=n.get(t);return null==r&&(r=o["d"].measureText(t,e).width,n.put(t,r)),r}function l(t,e,n,i){var o=s(t,e),a=d(e),l=u(0,o,n),c=h(0,a,i),p=new r["a"](l,c,o,a);return p}function c(t,e,n,i){var o=((t||"")+"").split("\n"),a=o.length;if(1===a)return l(o[0],e,n,i);for(var s=new r["a"](0,0,0,0),c=0;c=0?parseFloat(t)/100*e:parseFloat(t):t}function f(t,e,n){var r=e.position||"inside",i=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,c=n.y,u="left",h="top";if(r instanceof Array)l+=p(r[0],n.width),c+=p(r[1],n.height),u=null,h=null;else switch(r){case"left":l-=i,c+=s,u="right",h="middle";break;case"right":l+=i+a,c+=s,h="middle";break;case"top":l+=a/2,c-=i,u="center",h="bottom";break;case"bottom":l+=a/2,c+=o+i,u="center";break;case"inside":l+=a/2,c+=s,u="center",h="middle";break;case"insideLeft":l+=i,c+=s,h="middle";break;case"insideRight":l+=a-i,c+=s,u="right",h="middle";break;case"insideTop":l+=a/2,c+=i,u="center";break;case"insideBottom":l+=a/2,c+=o-i,u="center",h="bottom";break;case"insideTopLeft":l+=i,c+=i;break;case"insideTopRight":l+=a-i,c+=i,u="right";break;case"insideBottomLeft":l+=i,c+=o-i,h="bottom";break;case"insideBottomRight":l+=a-i,c+=o-i,u="right",h="bottom";break}return t=t||{},t.x=l,t.y=c,t.align=u,t.verticalAlign=h,t}},e887:function(t,e,n){"use strict";var r=n("6d8b"),i=n("2dc5"),o=n("8918"),a=n("625e"),s=n("e0d3"),l=n("7d6c"),c=n("9fbc"),u=n("cccd"),h=n("2306"),d=s["o"](),p=Object(u["a"])(),f=function(){function t(){this.group=new i["a"],this.uid=o["c"]("viewChart"),this.renderTask=Object(c["a"])({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){0},t.prototype.highlight=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&y(i,r,"emphasis")},t.prototype.downplay=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&y(i,r,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateLayout=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateVisual=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.eachRendered=function(t){Object(h["traverseElements"])(this.group,t)},t.markUpdateMethod=function(t,e){d(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function g(t,e,n){t&&Object(l["y"])(t)&&("emphasis"===e?l["r"]:l["C"])(t,n)}function y(t,e,n){var i=s["u"](t,e),o=e&&null!=e.highlightKey?Object(l["v"])(e.highlightKey):null;null!=i?Object(r["each"])(s["r"](i),(function(e){g(t.getItemGraphicEl(e),n,o)})):t.eachItemGraphicEl((function(t){g(t,n,o)}))}function v(t){return p(t.model)}function m(t){var e=t.model,n=t.ecModel,r=t.api,i=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=i&&d(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,r,i),b[l]}a["b"](f,["dispose"]),a["c"](f);var b={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)}}};e["a"]=f},ec6f:function(t,e,n){"use strict";n.d(e,"e",(function(){return l})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return h})),n.d(e,"d",(function(){return d})),n.d(e,"f",(function(){return v}));var r=n("6d8b"),i=n("07fd"),o=n("e0d3"),a=n("0f99"),s=function(){function t(t){this.data=t.data||(t.sourceFormat===i["d"]?{}:[]),this.sourceFormat=t.sourceFormat||i["h"],this.seriesLayoutBy=t.seriesLayoutBy||i["a"],this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n1?"."+e[1]:"")}function l(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 c=r["normalizeCssArray"];function u(t,e,n){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function l(t){return t&&r["trim"](t)?t:"-"}function c(t){return!(null==t||isNaN(t)||!isFinite(t))}var u="time"===e,h=t instanceof Date;if(u||h){var d=u?Object(o["p"])(t):t;if(!isNaN(+d))return Object(a["h"])(d,i,n);if(h)return"-"}if("ordinal"===e)return r["isStringSafe"](t)?l(t):r["isNumber"](t)&&c(t)?t+"":"-";var p=Object(o["o"])(t);return c(p)?s(p):r["isStringSafe"](t)?l(t):"boolean"===typeof t?t+"":"-"}var h=["a","b","c","d","e","f","g"],d=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,n){r["isArray"](e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s':'';var l=n.markerId||"markerX";return{renderMode:s,content:"{"+l+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}}function y(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=Object(o["p"])(e),i=n?"getUTC":"get",s=r[i+"FullYear"](),l=r[i+"Month"]()+1,c=r[i+"Date"](),u=r[i+"Hours"](),h=r[i+"Minutes"](),d=r[i+"Seconds"](),p=r[i+"Milliseconds"]();return t=t.replace("MM",Object(a["y"])(l,2)).replace("M",l).replace("yyyy",s).replace("yy",Object(a["y"])(s%100+"",2)).replace("dd",Object(a["y"])(c,2)).replace("d",c).replace("hh",Object(a["y"])(u,2)).replace("h",u).replace("mm",Object(a["y"])(h,2)).replace("m",h).replace("ss",Object(a["y"])(d,2)).replace("s",d).replace("SSS",Object(a["y"])(p,3)),t}function v(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function m(t,e){return e=e||"transparent",r["isString"](t)?t:r["isObject"](t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function b(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},edae:function(t,e,n){"use strict";n.d(e,"d",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return u}));var r="[ECharts] ",i={},o="undefined"!==typeof console&&console.warn&&console.log;function a(t,e,n){if(o){if(n){if(i[e])return;i[e]=!0}console[t](r+e)}}function s(t,e){a("warn",t,e)}function l(t,e){a("error",t,e)}function c(t){0}function u(t){throw new Error(t)}},ee1a:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return l}));var r=n("6d8b"),i=n("80b9");function o(t,e,n){n=n||{};var i,o,s,l=n.byIndex,c=n.stackedCoordDimension;a(e)?i=e:(o=e.schema,i=o.dimensions,s=e.store);var u,h,d,p,f=!(!t||!t.get("stack"));if(Object(r["each"])(i,(function(t,e){Object(r["isString"])(t)&&(i[e]=t={name:t}),f&&!t.isExtraCoord&&(l||u||!t.ordinalMeta||(u=t),h||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(h=t))})),!h||l||u||(l=!0),h){d="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var g=h.coordDim,y=h.type,v=0;Object(r["each"])(i,(function(t){t.coordDim===g&&v++}));var m={name:d,coordDim:g,coordDimIndex:v,type:y,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},b={name:p,coordDim:p,coordDimIndex:v+1,type:y,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(m.storeDimIndex=s.ensureCalculationDimension(p,y),b.storeDimIndex=s.ensureCalculationDimension(d,y)),o.appendCalculationDimension(m),o.appendCalculationDimension(b)):(i.push(m),i.push(b))}return{stackedDimension:h&&h.name,stackedByDimension:u&&u.name,isStackedByIndex:l,stackedOverDimension:p,stackResultDimension:d}}function a(t){return!Object(i["d"])(t.schema)}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function l(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}},ee29:function(t,e,n){"use strict";n.d(e,"a",(function(){return S}));var r=n("e0d3"),i=n("9850"),o=n("deca"),a=n("861c"),s=n("3842"),l=n("8582"),c=n("89b6"),u=n("6d8b"),h=n("2355"),d=n("7837");function p(t){if(t){for(var e=[],n=0;n=0&&n.attr(i.oldLayoutSelect),Object(u["indexOf"])(f,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),Object(o["h"])(n,h,e,c)}else if(n.attr(h),!Object(d["f"])(n).valueAnimation){var g=Object(u["retrieve2"])(n.style.opacity,1);n.style.opacity=0,Object(o["c"])(n,{style:{opacity:g}},e,c)}if(i.oldLayout=h,n.states.select){var y=i.oldLayoutSelect={};b(y,h,x),b(y,n.states.select,x)}if(n.states.emphasis){var _=i.oldLayoutEmphasis={};b(_,h,x),b(_,n.states.emphasis,x)}Object(d["a"])(n,c,p,e,e)}if(r&&!r.ignore&&!r.invisible){i=m(r),s=i.oldLayout;var O={points:r.shape.points};s?(r.attr({shape:s}),Object(o["h"])(r,{shape:O},e)):(r.setShape(O),r.style.strokePercent=0,Object(o["c"])(r,{style:{strokePercent:1}},e)),i.oldLayout=O}},t}(),O=_,w=Object(r["o"])();function S(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var r=w(e).labelManager;r||(r=w(e).labelManager=new O),r.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var r=w(e).labelManager;n.updatedSeries.forEach((function(t){r.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),r.updateLayoutConfig(e),r.layout(e),r.processLabelsOverall()}))}},ef59:function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"e",(function(){return f})),n.d(e,"b",(function(){return g})),n.d(e,"d",(function(){return y})),n.d(e,"c",(function(){return v}));var r=n("4319"),i=n("22d1"),o={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:". "}}}},a={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},s=n("6d8b"),l="ZH",c="EN",u=c,h={},d={},p=i["a"].domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(l)>-1?l:u}():u;function f(t,e){t=t.toUpperCase(),d[t]=new r["a"](e),h[t]=e}function g(t){if(Object(s["isString"])(t)){var e=h[t.toUpperCase()]||{};return t===l||t===c?Object(s["clone"])(e):Object(s["merge"])(Object(s["clone"])(e),Object(s["clone"])(h[u]),!1)}return Object(s["merge"])(Object(s["clone"])(t),Object(s["clone"])(h[u]),!1)}function y(t){return d[t]}function v(){return d[u]}f(c,o),f(l,a)},f279:function(t,e,n){"use strict";n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return y})),n.d(e,"d",(function(){return v}));var r=n("7fae"),i=n("9850"),o=n("401b"),a=n("0655"),s=n("1687"),l=n("6d8b"),c=[];function u(t,e){for(var n=0;nn&&(t=i,n=a)}if(t)return d(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 n=[1/0,1/0],r=[-1/0,-1/0],o=this.geometries;return Object(l["each"])(o,(function(e){"polygon"===e.type?h(e.exterior,n,r,t):Object(l["each"])(e.points,(function(e){h(e,n,r,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),e=new i["a"](n[0],n[1],r[0]-n[0],r[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var r=0,i=n.length;r1||v&&!g){var b=l(y,u,h,f,m);e=b.inlineValues,n=b.inlineValueTypes,s=b.blocks,c=b.inlineValues[0]}else if(g){var x=p.getDimensionInfo(f[0]);c=e=Object(o["e"])(p,h,f[0]),n=x.type}else c=e=v?y[0]:y;var _=Object(a["n"])(u),O=_&&u.name||"",w=p.getName(h),S=d?O:w;return Object(i["c"])("section",{header:O,noHeader:d||!_,sortParam:c,blocks:[Object(i["c"])("nameValue",{markerType:"item",markerColor:m,name:S,noName:!Object(r["trim"])(S),value:e,valueType:n})].concat(s||[])})}function l(t,e,n,a,s){var l=e.getData(),c=Object(r["reduce"])(t,(function(t,e,n){var r=l.getDimensionInfo(n);return t||r&&!1!==r.tooltip&&null!=r.displayName}),!1),u=[],h=[],d=[];function p(t,e){var n=l.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(c?d.push(Object(i["c"])("nameValue",{markerType:"subItem",markerColor:s,name:n.displayName,value:t,valueType:n.type})):(u.push(t),h.push(n.type)))}return a.length?Object(r["each"])(a,(function(t){p(Object(o["e"])(l,n,t),t)})):Object(r["each"])(t,p),{inlineValues:u,inlineValueTypes:h,blocks:d}}},f72b:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h}));var r=n("6d8b"),i=n("ec6f"),o=n("07fd"),a=n("0f99"),s=n("04f7"),l=n("d0ce"),c=n("2b17"),u=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,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(d(n)){var l=n,c=void 0,u=void 0,h=void 0;if(s){var p=a[0];p.prepareSource(),h=p.getSource(),c=h.data,u=h.sourceFormat,e=[p._getVersionSign()]}else c=l.get("data",!0),u=Object(r["isTypedArray"])(c)?o["g"]:o["f"],e=[];var f=this._getSourceMetaRawOption()||{},g=h&&h.metaRawOption||{},y=Object(r["retrieve2"])(f.seriesLayoutBy,g.seriesLayoutBy)||null,v=Object(r["retrieve2"])(f.sourceHeader,g.sourceHeader),m=Object(r["retrieve2"])(f.dimensions,g.dimensions),b=y!==g.seriesLayoutBy||!!v!==!!g.sourceHeader||m;t=b?[Object(i["b"])(c,{seriesLayoutBy:y,sourceHeader:v,dimensions:m},u)]:[]}else{var x=n;if(s){var _=this._applyTransform(a);t=_.sourceList,e=_.upstreamSignList}else{var O=x.get("source",!0);t=[Object(i["b"])(O,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(null!=a){var l="";1!==t.length&&p(l)}var c=[],u=[];return Object(r["each"])(t,(function(t){t.prepareSource();var e=t.getSource(a||0),n="";null==a||e||p(n),c.push(e),u.push(t._getVersionSign())})),o?e=Object(s["a"])(o,c,{datasetIndex:n.componentIndex}):null!=a&&(e=[Object(i["a"])(c[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e0)for(var l=0;l=0;--l)if(c[u]){a=c[u];break}a=a||s.none}if(r["isArray"](a)){var p=null==t.level?0:t.level>=0?t.level:a.length+t.level;p=Math.min(p,a.length-1),a=a[p]}}return _(new Date(t.value),a,o,i)}function w(t,e){var n=i["p"](t),r=n[M(e)]()+1,o=n[I(e)](),a=n[C(e)](),s=n[A(e)](),l=n[T(e)](),c=n[D(e)](),u=0===c,h=u&&0===l,d=h&&0===s,p=d&&0===a,f=p&&1===o,g=f&&1===r;return g?"year":f?"month":p?"day":d?"hour":h?"minute":u?"second":"millisecond"}function S(t,e,n){var o=r["isNumber"](t)?i["p"](t):t;switch(e=e||w(t,n),e){case"year":return o[j(n)]();case"half-year":return o[M(n)]()>=6?1:0;case"quarter":return Math.floor((o[M(n)]()+1)/4);case"month":return o[M(n)]();case"day":return o[I(n)]();case"half-day":return o[C(n)]()/24;case"hour":return o[C(n)]();case"minute":return o[A(n)]();case"second":return o[T(n)]();case"millisecond":return o[D(n)]()}}function j(t){return t?"getUTCFullYear":"getFullYear"}function M(t){return t?"getUTCMonth":"getMonth"}function I(t){return t?"getUTCDate":"getDate"}function C(t){return t?"getUTCHours":"getHours"}function A(t){return t?"getUTCMinutes":"getMinutes"}function T(t){return t?"getUTCSeconds":"getSeconds"}function D(t){return t?"getUTCMilliseconds":"getMilliseconds"}function k(t){return t?"setUTCFullYear":"setFullYear"}function L(t){return t?"setUTCMonth":"setMonth"}function P(t){return t?"setUTCDate":"setDate"}function R(t){return t?"setUTCHours":"setHours"}function E(t){return t?"setUTCMinutes":"setMinutes"}function N(t){return t?"setUTCSeconds":"setSeconds"}function z(t){return t?"setUTCMilliseconds":"setMilliseconds"}},f934:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"g",(function(){return p})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return g})),n.d(e,"d",(function(){return y})),n.d(e,"h",(function(){return v})),n.d(e,"f",(function(){return m})),n.d(e,"c",(function(){return b}));var r=n("6d8b"),i=n("9850"),o=n("3842"),a=n("eda2"),s=r["each"],l=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function u(t,e,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;e.eachChild((function(l,c){var u,h,d=l.getBoundingRect(),p=e.childAt(c+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);u=o+g,u>r||l.newline?(o=0,u=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var y=d.height+(f?-f.y+d.y:0);h=a+y,h>i||l.newline?(o+=s+n,a=0,h=y,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=u+n:a=h+n)}))}var h=u;r["curry"](u,"vertical"),r["curry"](u,"horizontal");function d(t,e,n){var r=e.width,i=e.height,s=Object(o["q"])(t.left,r),l=Object(o["q"])(t.top,i),c=Object(o["q"])(t.right,r),u=Object(o["q"])(t.bottom,i);return(isNaN(s)||isNaN(parseFloat(t.left)))&&(s=0),(isNaN(c)||isNaN(parseFloat(t.right)))&&(c=r),(isNaN(l)||isNaN(parseFloat(t.top)))&&(l=0),(isNaN(u)||isNaN(parseFloat(t.bottom)))&&(u=i),n=a["i"](n||0),{width:Math.max(c-s-n[1]-n[3],0),height:Math.max(u-l-n[0]-n[2],0)}}function p(t,e,n){n=a["i"](n||0);var r=e.width,s=e.height,l=Object(o["q"])(t.left,r),c=Object(o["q"])(t.top,s),u=Object(o["q"])(t.right,r),h=Object(o["q"])(t.bottom,s),d=Object(o["q"])(t.width,r),p=Object(o["q"])(t.height,s),f=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(d)&&(d=r-u-g-l),isNaN(p)&&(p=s-h-f-c),null!=y&&(isNaN(d)&&isNaN(p)&&(y>r/s?d=.8*r:p=.8*s),isNaN(d)&&(d=y*p),isNaN(p)&&(p=d/y)),isNaN(l)&&(l=r-u-d-g),isNaN(c)&&(c=s-h-p-f),t.left||t.right){case"center":l=r/2-d/2-n[3];break;case"right":l=r-d-g;break}switch(t.top||t.bottom){case"middle":case"center":c=s/2-p/2-n[0];break;case"bottom":c=s-p-f;break}l=l||0,c=c||0,isNaN(d)&&(d=r-g-l-(u||0)),isNaN(p)&&(p=s-f-c-(h||0));var v=new i["a"](l+n[3],c+n[0],d,p);return v.margin=n,v}function f(t,e,n,o,a,s){var l,c=!a||!a.hv||a.hv[0],u=!a||!a.hv||a.hv[1],h=a&&a.boundingMode||"all";if(s=s||t,s.x=t.x,s.y=t.y,!c&&!u)return!1;if("raw"===h)l="group"===t.type?new i["a"](0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var d=t.getLocalTransform();l=l.clone(),l.applyTransform(d)}var f=p(r["defaults"]({width:l.width,height:l.height},e),n,o),g=c?f.x-l.x:0,y=u?f.y-l.y:0;return"raw"===h?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0}function g(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]}function y(t){var e=t.layoutMode||t.constructor.layoutMode;return r["isObject"](e)?e:e?{type:e}:null}function v(t,e,n){var i=n&&n.ignoreSize;!r["isArray"](i)&&(i=[i,i]);var o=l(c[0],0),a=l(c[1],1);function l(n,r){var o={},a=0,l={},c=0,d=2;if(s(n,(function(e){l[e]=t[e]})),s(n,(function(t){u(e,t)&&(o[t]=l[t]=e[t]),h(o,t)&&a++,h(l,t)&&c++})),i[r])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(c!==d&&a){if(a>=d)return o;for(var p=0;p=a)}}for(var d=this.__startIndex;d15)break}}n.prevElClipPaths&&c.restore()};if(d)if(0===d.length)s=l.__endIndex;else for(var x=p.dpr,_=0;_0&&t>r[0]){for(s=0;st)break;a=n[r[s]]}if(r.splice(s+1,0,t),n[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 n=this._zlevelList,r=0;r0?b:0),this._needsManuallyCompositing),h.__builtin__||i["logError"]("ZLevel "+c+" has been used by unkown layer "+h.id),h!==s&&(h.__used=!0,h.__startIndex!==a&&(h.__dirty=!0),h.__startIndex=a,h.incremental?h.__drawIndex=-1:h.__drawIndex=a,e(a),s=h),r.__dirty&u["a"]&&!r.__inHover&&(h.__dirty=!0,h.incremental&&h.__drawIndex<0&&(h.__drawIndex=a))}e(a),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,i["each"](this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?i["merge"](n[t],e,!0):n[t]=e;for(var r=0;r