(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{"+6XX":function(e,t,n){var r=n("y1pI");function i(e){return r(this.__data__,e)>-1}e.exports=i},"+Hau":function(e,t,n){"use strict";n.d(t,"d",function(){return s}),n.d(t,"c",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"a",function(){return c}),n.d(t,"e",function(){return f}),n.d(t,"i",function(){return p}),n.d(t,"B",function(){return m}),n.d(t,"y",function(){return v}),n.d(t,"m",function(){return y}),n.d(t,"q",function(){return b}),n.d(t,"l",function(){return _}),n.d(t,"h",function(){return x}),n.d(t,"r",function(){return w}),n.d(t,"n",function(){return O}),n.d(t,"j",function(){return S}),n.d(t,"w",function(){return M}),n.d(t,"f",function(){return C}),n.d(t,"o",function(){return T}),n.d(t,"u",function(){return j}),n.d(t,"z",function(){return I}),n.d(t,"s",function(){return D}),n.d(t,"k",function(){return A}),n.d(t,"x",function(){return E}),n.d(t,"g",function(){return P}),n.d(t,"p",function(){return L}),n.d(t,"v",function(){return N}),n.d(t,"A",function(){return R}),n.d(t,"t",function(){return z});var r=n("bYtY"),i=n("OELB"),o=n("71kh"),a=n("Qxkt"),s=1e3,l=60*s,u=60*l,c=24*u,f=365*c,d={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},h="{yyyy}-{MM}-{dd}",p={year:"{yyyy}",month:"{yyyy}-{MM}",day:h,hour:h+" "+d.hour,minute:h+" "+d.minute,second:h+" "+d.second,millisecond:d.none},g=["year","month","day","hour","minute","second","millisecond"],m=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function v(e,t){return e+="","0000".substr(0,t-e.length)+e}function y(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function b(e){return e===y(e)}function _(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function x(e,t,n,r){var s=i["l"](e),l=s[S(n)](),u=s[M(n)]()+1,c=Math.floor((u-1)/4)+1,f=s[C(n)](),d=s["get"+(n?"UTC":"")+"Day"](),h=s[T(n)](),p=(h-1)%12+1,g=s[j(n)](),m=s[I(n)](),y=s[D(n)](),b=r instanceof a["a"]?r:Object(o["d"])(r||o["a"])||Object(o["c"])(),_=b.getModel("time"),x=_.get("month"),w=_.get("monthAbbr"),k=_.get("dayOfWeek"),O=_.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,l%100+"").replace(/{Q}/g,c+"").replace(/{MMMM}/g,x[u-1]).replace(/{MMM}/g,w[u-1]).replace(/{MM}/g,v(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,v(f,2)).replace(/{d}/g,f+"").replace(/{eeee}/g,k[d]).replace(/{ee}/g,O[d]).replace(/{e}/g,d+"").replace(/{HH}/g,v(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,v(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,v(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,v(m,2)).replace(/{s}/g,m+"").replace(/{SSS}/g,v(y,3)).replace(/{S}/g,y+"")}function w(e,t,n,i,o){var a=null;if("string"===typeof n)a=n;else if("function"===typeof n)a=n(e.value,t,{level:e.level});else{var s=r["m"]({},d);if(e.level>0)for(var l=0;l=0;--l)if(u[c]){a=u[c];break}a=a||s.none}if(r["s"](a)){var h=null==e.level?0:e.level>=0?e.level:a.length+e.level;h=Math.min(h,a.length-1),a=a[h]}}return x(new Date(e.value),a,o,i)}function k(e,t){var n=i["l"](e),r=n[M(t)]()+1,o=n[C(t)](),a=n[T(t)](),s=n[j(t)](),l=n[I(t)](),u=n[D(t)](),c=0===u,f=c&&0===l,d=f&&0===s,h=d&&0===a,p=h&&1===o,g=p&&1===r;return g?"year":p?"month":h?"day":d?"hour":f?"minute":c?"second":"millisecond"}function O(e,t,n){var r="number"===typeof e?i["l"](e):e;switch(t=t||k(e,n),t){case"year":return r[S(n)]();case"half-year":return r[M(n)]()>=6?1:0;case"quarter":return Math.floor((r[M(n)]()+1)/4);case"month":return r[M(n)]();case"day":return r[C(n)]();case"half-day":return r[T(n)]()/24;case"hour":return r[T(n)]();case"minute":return r[j(n)]();case"second":return r[I(n)]();case"millisecond":return r[D(n)]()}}function S(e){return e?"getUTCFullYear":"getFullYear"}function M(e){return e?"getUTCMonth":"getMonth"}function C(e){return e?"getUTCDate":"getDate"}function T(e){return e?"getUTCHours":"getHours"}function j(e){return e?"getUTCMinutes":"getMinutes"}function I(e){return e?"getUTCSeconds":"getSeconds"}function D(e){return e?"getUTCMilliseconds":"getMilliseconds"}function A(e){return e?"setUTCFullYear":"setFullYear"}function E(e){return e?"setUTCMonth":"setMonth"}function P(e){return e?"setUTCDate":"setDate"}function L(e){return e?"setUTCHours":"setHours"}function N(e){return e?"setUTCMinutes":"setMinutes"}function R(e){return e?"setUTCSeconds":"setSeconds"}function z(e){return e?"setUTCMilliseconds":"setMilliseconds"}},"+K+b":function(e,t,n){var r=n("JHRd");function i(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}e.exports=i},"+Qka":function(e,t,n){var r=n("fmRc"),i=n("t2Dn"),o=n("cq/+"),a=n("T1AV"),s=n("GoyQ"),l=n("mTTR"),u=n("itsj");function c(e,t,n,f,d){e!==t&&o(t,function(o,l){if(d||(d=new r),s(o))a(e,t,l,n,c,f,d);else{var h=f?f(u(e,l),o,l+"",e,t,d):void 0;void 0===h&&(h=o),i(e,l,h)}},l)}e.exports=c},"+TT/":function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return h}),n.d(t,"b",function(){return p}),n.d(t,"e",function(){return g}),n.d(t,"c",function(){return m});var r=n("bYtY"),i=n("mFDi"),o=n("OELB"),a=n("7aKB"),s=r["k"],l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild(function(l,u){var c,f,d=l.getBoundingRect(),h=t.childAt(u+1),p=h&&h.getBoundingRect();if("horizontal"===e){var g=d.width+(p?-p.x+d.x:0);c=o+g,c>r||l.newline?(o=0,c=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(p?-p.y+d.y:0);f=a+m,f>i||l.newline?(o+=s+n,a=0,f=m,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=c+n:a=f+n)})}var f=c;r["i"](c,"vertical"),r["i"](c,"horizontal");function d(e,t,n){n=a["g"](n||0);var r=t.width,s=t.height,l=Object(o["m"])(e.left,r),u=Object(o["m"])(e.top,s),c=Object(o["m"])(e.right,r),f=Object(o["m"])(e.bottom,s),d=Object(o["m"])(e.width,r),h=Object(o["m"])(e.height,s),p=n[2]+n[0],g=n[1]+n[3],m=e.aspect;switch(isNaN(d)&&(d=r-c-g-l),isNaN(h)&&(h=s-f-p-u),null!=m&&(isNaN(d)&&isNaN(h)&&(m>r/s?d=.8*r:h=.8*s),isNaN(d)&&(d=m*h),isNaN(h)&&(h=d/m)),isNaN(l)&&(l=r-c-d-g),isNaN(u)&&(u=s-f-h-p),e.left||e.right){case"center":l=r/2-d/2-n[3];break;case"right":l=r-d-g;break}switch(e.top||e.bottom){case"middle":case"center":u=s/2-h/2-n[0];break;case"bottom":u=s-h-p;break}l=l||0,u=u||0,isNaN(d)&&(d=r-g-l-(c||0)),isNaN(h)&&(h=s-p-u-(f||0));var v=new i["a"](l+n[3],u+n[0],d,h);return v.margin=n,v}function h(e,t,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===e.type?new i["a"](0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(c=e.getBoundingRect(),e.needLocalTransform()){var f=e.getLocalTransform();c=c.clone(),c.applyTransform(f)}var h=d(r["j"]({width:c.width,height:c.height},t),n,o),p=s?h.x-c.x:0,g=l?h.y-c.y:0;"raw"===u?(e.x=p,e.y=g):(e.x+=p,e.y+=g),e.markRedraw()}}function p(e){var t=e.layoutMode||e.constructor.layoutMode;return r["z"](t)?t:t?{type:t}:null}function g(e,t,n){var i=n&&n.ignoreSize;!r["s"](i)&&(i=[i,i]);var o=l(u[0],0),a=l(u[1],1);function l(n,r){var o={},a=0,l={},u=0,d=2;if(s(n,function(t){l[t]=e[t]}),s(n,function(e){c(t,e)&&(o[e]=l[e]=t[e]),f(o,e)&&a++,f(l,e)&&u++}),i[r])return f(t,n[1])?l[n[2]]=null:f(t,n[2])&&(l[n[1]]=null),l;if(u!==d&&a){if(a>=d)return o;for(var h=0;h0?"top":"bottom",r="center"):Object(f["h"])(o-_)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<_?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),w={axisLine:function(e,t,n,i){var a=t.get(["axisLine","show"]);if("auto"===a&&e.handleAutoShown&&(a=e.handleAutoShown("axisLine")),a){var s=t.axis.getExtent(),l=i.transform,u=[s[0],0],c=[s[1],0];l&&(Object(p["b"])(u,u,l),Object(p["b"])(c,c,l));var f=Object(r["m"])({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new o["a"]({subPixelOptimize:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:f,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});h.anid="line",n.add(h);var g=t.get(["axisLine","symbol"]);if(null!=g){var m=t.get(["axisLine","symbolSize"]);"string"===typeof g&&(g=[g,g]),"string"!==typeof m&&"number"!==typeof m||(m=[m,m]);var v=Object(d["b"])(t.get(["axisLine","symbolOffset"])||0,m),y=m[0],b=m[1];Object(r["k"])([{rotate:e.rotation+Math.PI/2,offset:v[0],r:0},{rotate:e.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((u[0]-c[0])*(u[0]-c[0])+(u[1]-c[1])*(u[1]-c[1]))}],function(t,r){if("none"!==g[r]&&null!=g[r]){var i=Object(d["a"])(g[r],-y/2,-b/2,y,b,f.stroke,!0),o=t.r+t.offset;i.attr({rotation:t.rotate,x:u[0]+o*Math.cos(e.rotation),y:u[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),n.add(i)}})}}},axisTickLabel:function(e,t,n,i){var o=j(n,i,t,e),a=D(n,i,t,e);if(O(t,a,o),I(n,i,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var s=y(Object(r["F"])(a,function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}}));b(s)}},axisName:function(e,t,n,i){var o=Object(r["L"])(e.axisName,t.get("name"));if(o){var c,f,d=t.get("nameLocation"),h=e.nameDirection,p=t.getModel("nameTextStyle"),g=t.get("nameGap")||0,m=t.axis.getExtent(),v=m[0]>m[1]?-1:1,y=["start"===d?m[0]-v*g:"end"===d?m[1]+v*g:(m[0]+m[1])/2,C(d)?e.labelOffset+h*g:0],b=t.get("nameRotate");null!=b&&(b=b*_/180),C(d)?c=x.innerTextLayout(e.rotation,null!=b?b:e.rotation,h):(c=k(e.rotation,d,b||0,m),f=e.axisNameAvailableWidth,null!=f&&(f=Math.abs(f/Math.sin(c.rotation)),!isFinite(f)&&(f=null)));var w=p.getFont(),O=t.get("nameTruncate",!0)||{},S=O.ellipsis,M=Object(r["L"])(e.nameTruncateMaxWidth,O.maxWidth,f),T=new a["a"]({x:y[0],y:y[1],rotation:c.rotation,silent:x.isLabelSilent(t),style:Object(u["a"])(p,{text:o,font:w,overflow:"truncate",width:M,ellipsis:S,fill:p.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:p.get("align")||c.textAlign,verticalAlign:p.get("verticalAlign")||c.textVerticalAlign}),z2:1});if(s["setTooltipConfig"]({el:T,componentModel:t,itemName:o}),T.__fullText=o,T.anid="name",t.get("triggerEvent")){var j=x.makeAxisEventDataBase(t);j.targetType="axisName",j.name=o,Object(l["a"])(T).eventData=j}i.add(T),T.updateTransform(),n.add(T),T.decomposeTransform()}}};function k(e,t,n,r){var i,o,a=Object(f["o"])(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;return Object(f["h"])(a-_/2)?(o=l?"bottom":"top",i="center"):Object(f["h"])(a-1.5*_)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*_&&a>_/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function O(e,t,n){if(!Object(g["i"])(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],d=n[n.length-2];!1===r?(S(o),S(u)):M(o,a)&&(r?(S(a),S(c)):(S(o),S(u))),!1===i?(S(s),S(f)):M(l,s)&&(i?(S(l),S(d)):(S(s),S(f)))}}function S(e){e&&(e.ignore=!0)}function M(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var i=h["c"]([]);return h["f"](i,i,-e.rotation),n.applyTransform(h["e"]([],i,e.getLocalTransform())),r.applyTransform(h["e"]([],i,t.getLocalTransform())),n.intersect(r)}}function C(e){return"middle"===e||"center"===e}function T(e,t,n,r,i){for(var a=[],s=[],l=[],u=0;ut&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n10&&"cartesian2d"===s.type&&a){var u=s.getBaseAxis(),c=s.getOtherAxis(u),f=u.getExtent(),d=n.getDevicePixelRatio(),h=Math.abs(f[1]-f[0])*(d||1),p=Math.round(l/h);if(p>1){"lttb"===a&&e.setData(o.lttbDownSample(o.mapDimension(c.dim),1/p));var g=void 0;"string"===typeof a?g=r[a]:"function"===typeof a&&(g=a),g&&e.setData(o.downSample(o.mapDimension(c.dim),1/p,g,i))}}}}}},"/f6Q":function(e,t,n){"use strict";var r=n("AGgm").isSpace;e.exports=function(e,t,n,i){var o,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(o=e.src.charCodeAt(u++),42!==o&&45!==o&&95!==o)return!1;a=1;while(u=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={zlevel:0,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}},t}(l["a"]),f=c,d=n("Qe9p"),h=n("LcXL"),p=n("dqUG"),g=n("x6Kt"),m=n("IwbS"),v=n("fWwa"),y=n("eDfh"),b=n("eRkO"),_=n("+TT/"),x=n("sS/r"),w=n("oVpE"),k=o["i"],O=o["k"],S=h["a"],M=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return Object(i["a"])(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new S),this.group.add(this._selectorGroup=new S),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),a=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(i,e,t,n,s,a,l);var u=e.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},f=e.get("padding"),d=_["d"](u,c,f),h=this.layoutInner(e,i,d,r,s,l),p=_["d"](o["j"]({width:h.width,height:h.height},u),c,f);this.group.x=p.x-h.x,this.group.y=p.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Object(b["b"])(h,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,i,a,s){var l=this.getContentGroup(),u=o["g"](),c=t.get("selectedMode"),f=[];n.eachRawSeries(function(e){!e.get("legendHoverLink")&&f.push(e.id)}),O(t.getData(),function(i,o){var a=i.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var s=new S;return s.newline=!0,void l.add(s)}var h=n.getSeriesByName(a)[0];if(!u.get(a)){if(h){var p=h.getData(),g=p.getVisual("legendLineStyle")||{},m=p.getVisual("legendIcon"),v=p.getVisual("style"),y=this._createItem(h,a,o,i,t,e,g,v,m,c);y.on("click",k(j,a,null,r,f)).on("mouseover",k(D,h.name,null,r,f)).on("mouseout",k(A,h.name,null,r,f)),u.set(a,!0)}else n.eachRawSeries(function(n){if(!u.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var l=s.indexOfName(a),h=s.getItemVisual(l,"style"),p=s.getItemVisual(l,"legendIcon"),g=Object(d["d"])(h.fill);g&&0===g[3]&&(g[3]=.2,h.fill=Object(d["e"])(g,"rgba"));var m=this._createItem(n,a,o,i,t,e,{},h,p,c);m.on("click",k(j,null,a,r,f)).on("mouseover",k(D,null,a,r,f)).on("mouseout",k(A,null,a,r,f)),u.set(a,!0)}},this);0}},this),i&&this._createSelector(i,t,r,a,s)},t.prototype._createSelector=function(e,t,n,r,i){var o=this.getSelectorGroup();O(e,function(e){var r=e.type,i=new p["a"]({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i);var a=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);Object(y["e"])(i,{normal:a,emphasis:s},{defaultText:e.title}),Object(v["m"])(i)})},t.prototype._createItem=function(e,t,n,r,i,o,a,s,l,u){var c=e.visualDrawType,f=i.get("itemWidth"),d=i.get("itemHeight"),h=i.isSelected(t),b=r.get("symbolRotate"),_=r.get("symbolKeepAspect"),x=r.get("icon");l=x||l||"roundRect";var w=C(l,r,a,s,c,h),k=new S,O=r.getModel("textStyle");if("function"!==typeof e.getLegendIcon||x&&"inherit"!==x){var M="inherit"===x&&e.getData().getVisual("symbol")?"inherit"===b?e.getData().getVisual("symbolRotate"):b:0;k.add(T({itemWidth:f,itemHeight:d,icon:l,iconRotate:M,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:_}))}else k.add(e.getLegendIcon({itemWidth:f,itemHeight:d,icon:l,iconRotate:b,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:_}));var j="left"===o?f+5:-5,I=o,D=i.get("formatter"),A=t;"string"===typeof D&&D?A=D.replace("{name}",null!=t?t:""):"function"===typeof D&&(A=D(t));var E=r.get("inactiveColor");k.add(new p["a"]({style:Object(y["a"])(O,{text:A,x:j,y:d/2,fill:h?O.getTextColor():E,align:I,verticalAlign:"middle"})}));var P=new g["a"]({shape:k.getBoundingRect(),invisible:!0}),L=r.getModel("tooltip");return L.get("show")&&m["setTooltipConfig"]({el:P,componentModel:i,itemName:t,itemTooltipOption:L.option}),k.add(P),k.eachChild(function(e){e.silent=!0}),P.silent=!u,this.getContentGroup().add(k),Object(v["m"])(k),k.__legendDataIndex=n,k},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();_["a"](e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){_["a"]("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),f=[-c.x,-c.y],d=e.get("selectorButtonGap",!0),h=e.getOrient().index,p=0===h?"width":"height",g=0===h?"height":"width",m=0===h?"y":"x";"end"===o?f[h]+=l[p]+d:u[h]+=c[p]+d,f[1-h]+=l[g]/2-c[g]/2,s.x=f[0],s.y=f[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[p]=l[p]+d+c[p],v[g]=Math.max(l[g],c[g]),v[m]=Math.min(0,c[m]+f[1-h]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(x["a"]);function C(e,t,n,r,i,o){function a(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),O(e,function(n,r){"inherit"===e[r]&&(e[r]=t[r])})}var s=t.getModel("itemStyle"),l=s.getItemStyle(),u=0===e.lastIndexOf("empty",0)?"fill":"stroke";l.decal=r.decal,"inherit"===l.fill&&(l.fill=r[i]),"inherit"===l.stroke&&(l.stroke=r[u]),"inherit"===l.opacity&&(l.opacity=("fill"===i?r:n).opacity),a(l,r);var c=t.getModel("lineStyle"),f=c.getLineStyle();if(a(f,n),"auto"===l.fill&&(l.fill=r.fill),"auto"===l.stroke&&(l.stroke=r.fill),"auto"===f.stroke&&(f.stroke=r.fill),!o){var d=t.get("inactiveBorderWidth"),h=l[u];l.lineWidth="auto"===d?r.lineWidth>0&&h?2:0:l.lineWidth,l.fill=t.get("inactiveColor"),l.stroke=t.get("inactiveBorderColor"),f.stroke=c.get("inactiveColor"),f.lineWidth=c.get("inactiveWidth")}return{itemStyle:l,lineStyle:f}}function T(e){var t=e.icon||"roundRect",n=Object(w["a"])(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function j(e,t,n,r){A(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),D(e,t,n,r)}function I(e){var t,n=e.getZr().storage.getDisplayList(),r=0,i=n.length;while(rn[i],m=[-d.x,-d.y];t||(m[r]=u[l]);var v=[0,0],y=[-h.x,-h.y],b=o["M"](e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var x=e.get("pageButtonPosition",!0);"end"===x?y[r]+=n[i]-h[i]:v[r]+=h[i]+b}y[1-r]+=d[a]/2-h[a]/2,u.setPosition(m),c.setPosition(v),f.setPosition(y);var w={x:0,y:0};if(w[i]=p?n[i]:d[i],w[a]=Math.max(d[a],h[a]),w[s]=Math.min(0,h[s]+y[1-r]),c.__rectSize=n[i],p){var k={x:0,y:0};k[i]=Math.max(n[i]-h[i]-b,0),k[a]=w[a],c.setClipPath(new g["a"]({shape:k})),c.__rectSize=k[i]}else f.eachChild(function(e){e.attr({invisible:!0,silent:!0})});var O=this._getPageInfo(e);return null!=O.pageIndex&&G["h"](u,{x:O.contentPosition[0],y:O.contentPosition[1]},p?e:null),this._updatePageInfoView(e,O),w},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;o["k"](["pagePrev","pageNext"],function(r){var i=r+"DataIndex",o=null!=t[i],a=n.childOfName(r);a&&(a.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")});var r=n.childOfName("pageText"),i=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;r&&i&&r.setStyle("text",o["A"](i)?i.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):i({current:s,total:l}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,o=U[i],a=W[i],s=this._findTargetItemIndex(t),l=n.children(),u=l[s],c=l.length,f=c?1:0,d={contentPosition:[n.x,n.y],pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var h=y(u);d.contentPosition[i]=-h.s;for(var p=s+1,g=h,m=h,v=null;p<=c;++p)v=y(l[p]),(!v&&m.e>g.s+r||v&&!b(v,g.s))&&(g=m.i>g.i?m:v,g&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount)),m=v;for(p=s-1,g=h,m=h,v=null;p>=-1;--p)v=y(l[p]),v&&b(m,v.s)||!(g.i=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var t,n,r=this.getContentGroup();return r.eachChild(function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===e&&(t=i)}),null!=t?t:n},t.type="legend.scroll",t}(E),q=H;function Z(e){e.registerAction("legendScroll","legendscroll",function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(e){e.setScrollDataIndex(n)})})}function K(e){Object(r["a"])(R),e.registerComponentModel(V),e.registerComponentView(q),Z(e)}function X(e){Object(r["a"])(R),Object(r["a"])(K)}n.d(t,"a",function(){return X})},"03A+":function(e,t,n){var r=n("JTzB"),i=n("ExA7"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},"0Cz8":function(e,t,n){var r=n("Xi7e"),i=n("ebwN"),o=n("e4Nc"),a=200;function s(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length65535?l:u}function p(){return[1/0,-1/0]}function g(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function m(e,t,n,r,i){var o=d[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;uv[1]&&(v[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=Object(i["F"])(a,function(e){return e.property}),c=0;cb[1]&&(b[1]=y)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&ne))return o;i=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks,i=r[e],o=[];if(!i)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u=0&&s<0)&&(a=h,s=d,l=0),d===s&&(o[l++]=u))}return o.length=l,o},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i=f&&b<=d||isNaN(b))&&(l[u++]=m),m++}g=!0}else if(2===o){v=p[r[0]];var _=p[r[1]],x=e[r[1]][0],w=e[r[1]][1];for(y=0;y=f&&b<=d||isNaN(b))&&(k>=x&&k<=w||isNaN(k))&&(l[u++]=m),m++}g=!0}}if(!g)if(1===o)for(y=0;y=f&&b<=d||isNaN(b))&&(l[u++]=O)}else for(y=0;ye[C][1])&&(S=!1)}S&&(l[u++]=t.getRawIndex(y))}return uv[1]&&(v[1]=m)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,o=this.clone([e],!0),a=o._chunks,s=a[e],l=this.count(),u=0,c=Math.floor(1/t),f=this.getRawIndex(0),d=new(h(this._rawCount))(Math.ceil(l/c)+2);d[u++]=f;for(var p=1;pn&&(n=r,i=_))}d[u++]=i,f=i}return d[u++]=this.getRawIndex(l-1),o._count=u,o._indices=d,o.getRawIndex=this._getRawIdx,o},e.prototype.downSample=function(e,t,n,r){for(var i=this.clone([e],!0),o=i._chunks,a=[],s=Math.floor(1/t),l=o[e],u=this.count(),c=i._rawExtent[e]=p(),f=new(h(this._rawCount))(Math.ceil(u/s)),d=0,g=0;gu-g&&(s=u-g,a.length=s);for(var m=0;mc[1]&&(c[1]=y),f[d++]=b}return i._count=d,i._indices=f,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,o=this.count();is&&(s=c)}return r=[a,s],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return Object(o["b"])(e[r],this._dimensions[r])}r={arrayRows:e,objectRows:function(e,t,n,r){return Object(o["b"])(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return Object(o["b"])(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}();t["b"]=v},"1M3H":function(e,t,n){"use strict";e.exports=n("CK61")},"1nBO":function(e,t,n){"use strict";var r=n("AGgm").normalizeReference,i=n("AGgm").isSpace;e.exports=function(e,t,n,o){var a,s,l,u,c,f,d,h,p,g,m,v,y,b,_,x,w=0,k=e.bMarks[t]+e.tShift[t],O=e.eMarks[t],S=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(k))return!1;while(++k3)&&!(e.sCount[S]<0)){for(b=!1,f=0,d=_.length;f0){var h=d.duration,p=d.delay,g=d.easing,m={duration:h,delay:p||0,easing:g,done:s,force:!!s||!!l,setToFinal:!f,scope:e,during:l};c?t.animateFrom(n,m):t.animateTo(n,m)}else t.stopAnimation(),!c&&t.attr(n),l&&l(1),s&&s()}function l(e,t,n,r,i,o){s("update",e,t,n,r,i,o)}function u(e,t,n,r,i,o){s("init",e,t,n,r,i,o)}function c(e){if(!e.__zr)return!0;for(var t=0;t32))return l;if(41===i){if(0===o)break;o--}t++}}return s===t?l:0!==o?l:(l.str=r(e.slice(s,t)),l.lines=a,l.pos=t,l.ok=!0,l)}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a?r.Buffer:void 0,l=s?s.allocUnsafe:void 0;function u(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}e.exports=u}).call(this,n("YuTi")(e))},"6A5J":function(e,t,n){"use strict";var r=n("AGgm").isSpace;e.exports=function(e,t,n,i){var o,a,s,l,u,c,f,d,h,p,g,m,v,y,b,_,x,w,k,O,S=e.lineMax,M=e.bMarks[t]+e.tShift[t],C=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(M++))return!1;if(i)return!0;l=h=e.sCount[t]+1,32===e.src.charCodeAt(M)?(M++,l++,h++,o=!1,_=!0):9===e.src.charCodeAt(M)?(_=!0,(e.bsCount[t]+h)%4===3?(M++,l++,h++,o=!1):o=!0):_=!1,p=[e.bMarks[t]],e.bMarks[t]=M;while(M=C,y=[e.sCount[t]],e.sCount[t]=h-l,b=[e.tShift[t]],e.tShift[t]=M-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",d=t+1;d=C)break;if(62!==e.src.charCodeAt(M++)||O){if(c)break;for(x=!1,s=0,u=w.length;s=C,g.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(_?1:0),y.push(e.sCount[d]),e.sCount[d]=h-l,b.push(e.tShift[d]),e.tShift[d]=M-e.bMarks[d]}}for(m=e.blkIndent,e.blkIndent=0,k=e.push("blockquote_open","blockquote",1),k.markup=">",k.map=f=[t,0],e.md.block.tokenize(e,t,d),k=e.push("blockquote_close","blockquote",-1),k.markup=">",e.lineMax=S,e.parentType=v,f[1]=e.line,s=0;s-1?l:c}():c;function p(e,t){e=e.toUpperCase(),d[e]=new r["a"](t),f[e]=t}function g(e){if(Object(s["A"])(e)){var t=f[e.toUpperCase()]||{};return e===l||e===u?Object(s["d"])(t):Object(s["G"])(Object(s["d"])(t),Object(s["d"])(f[c]),!1)}return Object(s["G"])(Object(s["d"])(e),Object(s["d"])(f[c]),!1)}function m(e){return d[e]}function v(){return d[c]}p(u,o),p(l,a)},"77Zs":function(e,t,n){var r=n("Xi7e");function i(){this.__data__=new r,this.size=0}e.exports=i},"7G+c":function(e,t,n){"use strict";n.d(t,"e",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return f}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return v});var r=n("bYtY"),i=n("B/3G"),o=n("4NO4"),a=n("D5nY"),s=function(){function e(e){this.data=e.data||(e.sourceFormat===i["d"]?{}:[]),this.sourceFormat=e.sourceFormat||i["h"],this.seriesLayoutBy=e.seriesLayoutBy||i["a"],this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;n1?"."+t[1]:"")}function s(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var l=r["J"],u=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function f(e){return null==e?"":(e+"").replace(u,function(e,t){return c[t]})}function d(e,t,n){var s="{yyyy}-{MM}-{dd} {hh}:{mm}:{ss}";function l(e){return e&&r["Q"](e)?e:"-"}function u(e){return!(null==e||isNaN(e)||!isFinite(e))}var c="time"===t,f=e instanceof Date;if(c||f){var d=c?Object(i["l"])(e):e;if(!isNaN(+d))return Object(o["h"])(d,s,n);if(f)return"-"}if("ordinal"===t)return r["B"](e)?l(e):r["y"](e)&&u(e)?e+"":"-";var h=Object(i["k"])(e);return u(h)?a(h):r["B"](e)?l(e):"-"}var h=["a","b","c","d","e","f","g"],p=function(e,t){return"{"+e+(null==t?"":t)+"}"};function g(e,t,n){r["s"](t)||(t=[t]);var i=t.length;if(!i)return"";for(var o=t[0].$vars||[],a=0;a':'';var s=n.markerId||"markerX";return{renderMode:a,content:"{"+s+"|} ",style:"subItem"===o?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function v(e,t){return t=t||"transparent",r["A"](e)?e:r["z"](e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function y(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}},"7bO/":function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"take",function(){return Ce}),n.d(r,"takem",function(){return Te}),n.d(r,"put",function(){return je}),n.d(r,"all",function(){return Ie}),n.d(r,"race",function(){return De}),n.d(r,"call",function(){return Ee}),n.d(r,"apply",function(){return Pe}),n.d(r,"cps",function(){return Le}),n.d(r,"fork",function(){return Ne}),n.d(r,"spawn",function(){return Re}),n.d(r,"join",function(){return ze}),n.d(r,"cancel",function(){return Fe}),n.d(r,"select",function(){return Be}),n.d(r,"actionChannel",function(){return Ve}),n.d(r,"cancelled",function(){return Ge}),n.d(r,"flush",function(){return Ye}),n.d(r,"getContext",function(){return Ue}),n.d(r,"setContext",function(){return We}),n.d(r,"takeEvery",function(){return yt}),n.d(r,"takeLatest",function(){return bt}),n.d(r,"throttle",function(){return _t});var i=Object.assign||function(e){for(var t=1;t=0&&e.splice(n,1)}var k={from:function(e){var t=Array(e.length);for(var n in e)b(e,n)&&(t[n]=e[n]);return t}};function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i({},e),n=new Promise(function(e,n){t.resolve=e,t.reject=n});return t.promise=n,t}function S(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise(function(r){n=setTimeout(function(){return r(t)},e)});return r[c]=function(){return clearTimeout(n)},r}function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++e}}var C=M(),T=function(e){throw e},j=function(e){return{value:e,done:!0}};function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i={name:n,next:e,throw:t,return:j};return r&&(i[l]=!0),"undefined"!==typeof Symbol&&(i[Symbol.iterator]=function(){return i}),i}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";"undefined"===typeof window?console.log("redux-saga "+e+": "+t+"\n"+(n&&n.stack||n)):console[e](t,n)}function A(e,t){return function(){return e.apply(void 0,arguments)}}var E=function(e,t){return e+" has been deprecated in favor of "+t+", please update your code"},P=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},L=function(e,t){return(e?e+".":"")+"setContext(props): argument "+t+" is not a plain object"},N=function(e){return function(t){return e(Object.defineProperty(t,f,{value:!0}))}},R="Channel's Buffer overflow!",z=1,F=2,B=3,V=4,G={isEmpty:p,put:g,take:g};function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments[1],n=new Array(e),r=0,i=0,o=0,a=function(t){n[i]=t,i=(i+1)%e,r++},s=function(){if(0!=r){var t=n[o];return n[o]=null,r--,o=(o+1)%e,t}},l=function(){var e=[];while(r)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){if(r0&&void 0!==arguments[0]?arguments[0]:U.fixed(),t=!1,n=[];function r(){if(t&&n.length)throw P("Cannot have a closed channel with pending takers");if(n.length&&!e.isEmpty())throw P("Cannot have pending takers with non empty buffer")}function i(i){if(r(),v(i,_.notUndef,ie),!t){if(!n.length)return e.put(i);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:U.none(),n=arguments[2];arguments.length>2&&v(n,_.func,"Invalid match function passed to eventChannel");var r=oe(t),i=function(){r.__closed__||(o&&o(),r.close())},o=e(function(e){te(e)?i():n&&!n(e)||r.put(e)});if(r.__closed__&&o(),!_.func(o))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:r.take,flush:r.flush,close:i}}function se(e){var t=ae(function(t){return e(function(e){e[f]?t(e):Z(function(){return t(e)})})});return $({},t,{take:function(e,n){arguments.length>1&&(v(n,_.func,"channel.take's matcher argument must be a function"),e[u]=n),t.take(e)}})}var le=a("IO"),ue="TAKE",ce="PUT",fe="ALL",de="RACE",he="CALL",pe="CPS",ge="FORK",me="JOIN",ve="CANCEL",ye="SELECT",be="ACTION_CHANNEL",_e="CANCELLED",xe="FLUSH",we="GET_CONTEXT",ke="SET_CONTEXT",Oe="\n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)",Se=function(e,t){var n;return n={},n[le]=!0,n[e]=t,n},Me=function(e){return v(qe.fork(e),_.object,"detach(eff): argument must be a fork effect"),e[ge].detached=!0,e};function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&v(arguments[0],_.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),_.pattern(e))return Se(ue,{pattern:e});if(_.channel(e))return Se(ue,{channel:e});throw new Error("take(patternOrChannel): argument "+String(e)+" is not valid channel or a valid pattern")}Ce.maybe=function(){var e=Ce.apply(void 0,arguments);return e[ue].maybe=!0,e};var Te=A(Ce.maybe,E("takem","take.maybe"));function je(e,t){return arguments.length>1?(v(e,_.notUndef,"put(channel, action): argument channel is undefined"),v(e,_.channel,"put(channel, action): argument "+e+" is not a valid channel"),v(t,_.notUndef,"put(channel, action): argument action is undefined")):(v(e,_.notUndef,"put(action): argument action is undefined"),t=e,e=null),Se(ce,{channel:e,action:t})}function Ie(e){return Se(fe,e)}function De(e){return Se(de,e)}function Ae(e,t,n){v(t,_.notUndef,e+": argument fn is undefined");var r=null;if(_.array(t)){var i=t;r=i[0],t=i[1]}else if(t.fn){var o=t;r=o.context,t=o.fn}return r&&_.string(t)&&_.func(r[t])&&(t=r[t]),v(t,_.func,e+": argument "+t+" is not a function"),{context:r,fn:t,args:n}}function Ee(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:[];return Se(he,Ae("apply",{context:e,fn:t},n))}function Le(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1)return Ie(t.map(function(e){return ze(e)}));var r=t[0];return v(r,_.notUndef,"join(task): argument task is undefined"),v(r,_.task,"join(task): argument "+r+" is not a valid Task object "+Oe),Se(me,r)}function Fe(){for(var e=arguments.length,t=Array(e),n=0;n1)return Ie(t.map(function(e){return Fe(e)}));var r=t[0];return 1===t.length&&(v(r,_.notUndef,"cancel(task): argument task is undefined"),v(r,_.task,"cancel(task): argument "+r+" is not a valid Task object "+Oe)),Se(ve,r||d)}function Be(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&(v(t,_.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),v(t,_.buffer,"actionChannel(pattern, buffer): argument "+t+" is not a valid buffer")),Se(be,{pattern:e,buffer:t})}function Ge(){return Se(_e,{})}function Ye(e){return v(e,_.channel,"flush(channel): argument "+e+" is not valid channel"),Se(xe,e)}function Ue(e){return v(e,_.string,"getContext(prop): argument "+e+" is not a string"),Se(we,e)}function We(e){return v(e,_.object,L(null,e)),Se(ke,e)}je.resolve=function(){var e=je.apply(void 0,arguments);return e[ce].resolve=!0,e},je.sync=A(je.resolve,E("put.sync","put.resolve"));var He=function(e){return function(t){return t&&t[le]&&t[e]}},qe={take:He(ue),put:He(ce),all:He(fe),race:He(de),call:He(he),cps:He(pe),fork:He(ge),join:He(me),cancel:He(ve),select:He(ye),actionChannel:He(be),cancelled:He(_e),flush:He(xe),getContext:He(we),setContext:He(ke)},Ze=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:function(){return g},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"anonymous",u=arguments[8];v(e,_.iterator,Qe);var f="[...effects]",h=A(ee,E(f,"all("+f+")")),p=o.sagaMonitor,m=o.logger,y=o.onError,b=m||D,S=function(e){var t=e.sagaStack;!t&&e.stack&&(t=-1!==e.stack.split("\n")[0].indexOf(e.message)?e.stack:"Error: "+e.message+"\n"+e.stack),b("error","uncaught at "+l,t||e.message||e)},M=se(t),T=Object.create(i);z.cancel=g;var j=fe(a,l,e,u),I={name:l,cancel:N,isRunning:!0},P=nt(l,I,F);function N(){I.isRunning&&!I.isCancelled&&(I.isCancelled=!0,z(Je))}function R(){e._isRunning&&!e._isCancelled&&(e._isCancelled=!0,P.cancelAll(),F(Je))}return u&&(u.cancel=R),e._isRunning=!0,z(),j;function z(t,n){if(!I.isRunning)throw new Error("Trying to resume an already finished generator");try{var r=void 0;n?r=e.throw(t):t===Je?(I.isCancelled=!0,z.cancel(),r=_.func(e.return)?e.return(Je):{done:!0,value:Je}):r=t===$e?_.func(e.return)?e.return():{done:!0}:e.next(t),r.done?(I.isMainRunning=!1,I.cont&&I.cont(r.value)):B(r.value,a,"",z)}catch(e){I.isCancelled&&S(e),I.isMainRunning=!1,I.cont(e,!0)}}function F(t,n){e._isRunning=!1,M.close(),n?(t instanceof Error&&Object.defineProperty(t,"sagaStack",{value:"at "+l+" \n "+(t.sagaStack||t.stack),configurable:!0}),j.cont||(t instanceof Error&&y?y(t):S(t)),e._error=t,e._isAborted=!0,e._deferredEnd&&e._deferredEnd.reject(t)):(e._result=t,e._deferredEnd&&e._deferredEnd.resolve(t)),j.cont&&j.cont(t,n),j.joiners.forEach(function(e){return e.cb(t,n)}),j.joiners=null}function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i=C();p&&p.effectTriggered({effectId:i,parentEffectId:t,label:n,effect:e});var o=void 0;function a(e,t){o||(o=!0,r.cancel=g,p&&(t?p.effectRejected(i,e):p.effectResolved(i,e)),r(e,t))}a.cancel=g,r.cancel=function(){if(!o){o=!0;try{a.cancel()}catch(e){S(e)}a.cancel=g,p&&p.effectCancelled(i)}};var s=void 0;return _.promise(e)?V(e,a):_.helper(e)?X(it(e),i,a):_.iterator(e)?G(e,i,l,a):_.array(e)?h(e,i,a):(s=qe.take(e))?Y(s,a):(s=qe.put(e))?W(s,a):(s=qe.all(e))?ee(s,i,a):(s=qe.race(e))?ne(s,i,a):(s=qe.call(e))?H(s,i,a):(s=qe.cps(e))?q(s,a):(s=qe.fork(e))?X(s,i,a):(s=qe.join(e))?$(s,a):(s=qe.cancel(e))?J(s,a):(s=qe.select(e))?re(s,a):(s=qe.actionChannel(e))?ie(s,a):(s=qe.flush(e))?le(s,a):(s=qe.cancelled(e))?oe(s,a):(s=qe.getContext(e))?ue(s,a):(s=qe.setContext(e))?ce(s,a):a(e)}function V(e,t){var n=e[c];_.func(n)?t.cancel=n:_.func(e.abort)&&(t.cancel=function(){return e.abort()}),e.then(t,function(e){return t(e,!0)})}function G(e,i,a,s){ot(e,t,n,r,T,o,i,a,s)}function Y(e,t){var n=e.channel,r=e.pattern,i=e.maybe;n=n||M;var o=function(e){return e instanceof Error?t(e,!0):te(e)&&!i?t($e):t(e)};try{n.take(o,tt(r))}catch(e){return t(e,!0)}t.cancel=o.cancel}function W(e,t){var r=e.channel,i=e.action,o=e.resolve;Z(function(){var e=void 0;try{e=(r?r.put:n)(i)}catch(e){if(r||o)return t(e,!0);S(e)}if(!o||!_.promise(e))return t(e);V(e,t)})}function H(e,t,n){var r=e.context,i=e.fn,o=e.args,a=void 0;try{a=i.apply(r,o)}catch(e){return n(e,!0)}return _.promise(a)?V(a,n):_.iterator(a)?G(a,t,i.name,n):n(a)}function q(e,t){var n=e.context,r=e.fn,i=e.args;try{var o=function(e,n){return _.undef(e)?t(n):t(e,!0)};r.apply(n,i.concat(o)),o.cancel&&(t.cancel=function(){return o.cancel()})}catch(e){return t(e,!0)}}function X(e,i,a){var s=e.context,l=e.fn,u=e.args,c=e.detached,f=rt({context:s,fn:l,args:u});try{K();var d=ot(f,t,n,r,T,o,i,l.name,c?null:g);c?a(d):f._isRunning?(P.addTask(d),a(d)):f._error?P.abort(f._error):a(d)}finally{Q()}}function $(e,t){if(e.isRunning()){var n={task:j,cb:t};t.cancel=function(){return w(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())}function J(e,t){e===d&&(e=j),e.isRunning()&&e.cancel(),t()}function ee(e,t,n){var r=Object.keys(e);if(!r.length)return n(_.array(e)?[]:{});var i=0,o=void 0,a={},s={};function l(){i===r.length&&(o=!0,n(_.array(e)?k.from(Ze({},a,{length:r.length})):a))}r.forEach(function(e){var t=function(t,r){o||(r||te(t)||t===$e||t===Je?(n.cancel(),n(t,r)):(a[e]=t,i++,l()))};t.cancel=g,s[e]=t}),n.cancel=function(){o||(o=!0,r.forEach(function(e){return s[e].cancel()}))},r.forEach(function(n){return B(e[n],t,n,s[n])})}function ne(e,t,n){var r=void 0,i=Object.keys(e),o={};i.forEach(function(t){var a=function(o,a){if(!r)if(a)n.cancel(),n(o,!0);else if(!te(o)&&o!==$e&&o!==Je){var s;n.cancel(),r=!0;var l=(s={},s[t]=o,s);n(_.array(e)?[].slice.call(Ze({},l,{length:i.length})):l)}};a.cancel=g,o[t]=a}),n.cancel=function(){r||(r=!0,i.forEach(function(e){return o[e].cancel()}))},i.forEach(function(n){r||B(e[n],t,n,o[n])})}function re(e,t){var n=e.selector,i=e.args;try{var o=n.apply(void 0,[r()].concat(i));t(o)}catch(e){t(e,!0)}}function ie(e,n){var r=e.pattern,i=e.buffer,o=tt(r);o.pattern=r,n(ae(t,i||U.fixed(),o))}function oe(e,t){t(!!I.isCancelled)}function le(e,t){e.flush(t)}function ue(e,t){t(T[e])}function ce(e,t){x.assign(T,e),t()}function fe(e,t,n,r){var i,o,a;return n._deferredEnd=null,o={},o[s]=!0,o.id=e,o.name=t,i="done",a={},a[i]=a[i]||{},a[i].get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var e=O();return n._deferredEnd=e,n._isRunning||(n._error?e.reject(n._error):e.resolve(n._result)),e.promise},o.cont=r,o.joiners=[],o.cancel=R,o.isRunning=function(){return n._isRunning},o.isCancelled=function(){return n._isCancelled},o.isAborted=function(){return n._isAborted},o.result=function(){return n._result},o.error=function(){return n._error},o.setContext=function(e){v(e,_.object,L("task",e)),x.assign(T,e)},Xe(o,a),o}}var at="runSaga(storeInterface, saga, ...args)",st=at+": saga argument must be a Generator function!";function lt(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function ct(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=void 0===t?{}:t,r=ut(e,["context"]),i=r.sagaMonitor,o=r.logger,a=r.onError;if(_.func(r))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(o&&!_.func(o))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(a&&!_.func(a))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(r.emitter&&!_.func(r.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function s(e){var t=e.getState,l=e.dispatch,u=ne();return u.emit=(r.emitter||m)(u.emit),s.run=lt.bind(null,{context:n,subscribe:u.subscribe,dispatch:l,getState:t,sagaMonitor:i,logger:o,onError:a}),function(e){return function(t){i&&i.actionDispatched&&i.actionDispatched(t);var n=e(t);return u.emit(t),n}}}return s.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},s.setContext=function(e){v(e,_.object,L("sagaMiddleware",e)),x.assign(n,e)},s}var ft={done:!0,value:void 0},dt={};function ht(e){return _.channel(e)?"channel":Array.isArray(e)?String(e.map(function(e){return String(e)})):String(e)}function pt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",r=void 0,i=t;function o(t,n){if(i===dt)return ft;if(n)throw i=dt,n;r&&r(t);var o=e[i](),a=o[0],s=o[1],l=o[2];return i=a,r=l,i===dt?ft:s}return I(o,function(e){return o(null,e)},n,!0)}function gt(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i2?n-2:0),i=2;i3?r-3:0),o=3;o2?n-2:0),i=2;i2?n-2:0),i=2;i3?r-3:0),o=3;o0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}e.exports=o},"8wmI":function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},"9Nap":function(e,t,n){var r=n("/9aa"),i=1/0;function o(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}e.exports=o},"9ggG":function(e,t,n){var r=n("Z0cm"),i=n("/9aa"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}e.exports=s},AGgm:function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===r(e)}var o=Object.prototype.hasOwnProperty;function a(e,t){return o.call(e,t)}function s(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function l(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function u(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var f=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(f.source+"|"+d.source,"gi"),p=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=n("vWgF");function m(e,t){var n=0;return a(g,t)?g[t]:35===t.charCodeAt(0)&&p.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),u(n))?c(n):e}function v(e){return e.indexOf("\\")<0?e:e.replace(f,"$1")}function y(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(h,function(e,t,n){return t||m(e,n)})}var b=/[&<>"]/,_=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function w(e){return x[e]}function k(e){return b.test(e)?e.replace(_,w):e}var O=/[.?*+^$[\]\\(){}|-]/g;function S(e){return e.replace(O,"\\$&")}function M(e){switch(e){case 9:case 32:return!0}return!1}function C(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=n("fKCf");function j(e){return T.test(e)}function I(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function D(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=n("2KYT"),t.lib.ucmicro=n("1dGX"),t.assign=s,t.isString=i,t.has=a,t.unescapeMd=v,t.unescapeAll=y,t.isValidEntityCode=u,t.fromCodePoint=c,t.escapeHtml=k,t.arrayReplaceAt=l,t.isSpace=M,t.isWhiteSpace=C,t.isMdAsciiPunct=I,t.isPunctChar=j,t.escapeRE=S,t.normalizeReference=D},AP2z:function(e,t,n){var r=n("nmnc"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function l(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}e.exports=l},AVZG:function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var r=n("bYtY"),i=n("4NO4");function o(e,t,n){n=n||{};var i=e.coordinateSystem,o=t.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,c=o.dim,f=i.getRect(),d=[f.x,f.x+f.width,f.y,f.y+f.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,g="x"===c?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(s){var m=s.toGlobalCoord(s.dataToCoord(0));g[h.onZero]=Math.max(Math.min(m,g[1]),g[0])}a.position=["y"===c?g[h[u]]:d[0],"x"===c?g[h[u]]:d[3]],a.rotation=Math.PI/2*("x"===c?0:1);var v={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=v[l],a.labelOffset=s?g[h[l]]-g[h.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),r["L"](n.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var y=t.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-y:y,a.z2=1,a}function a(e){return"cartesian2d"===e.get("coordinateSystem")}function s(e){var t={xAxisModel:null,yAxisModel:null};return r["k"](t,function(n,r){var o=r.replace(/Model$/,""),a=e.getReferringComponents(o,i["b"]).models[0];t[r]=a}),t}},"B/3G":function(e,t,n){"use strict";n.d(t,"i",function(){return i}),n.d(t,"f",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"e",function(){return s}),n.d(t,"d",function(){return l}),n.d(t,"g",function(){return u}),n.d(t,"h",function(){return c}),n.d(t,"a",function(){return f}),n.d(t,"b",function(){return d});var r=n("bYtY"),i=Object(r["g"])(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),o="original",a="arrayRows",s="objectRows",l="keyedColumns",u="typedArray",c="unknown",f="column",d="row"},B1jb:function(e,t,n){"use strict";var r=n("AGgm").isSpace;e.exports=function(e,t,n,i){var o,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(o=e.src.charCodeAt(u),35!==o||u>=c)return!1;a=1,o=e.src.charCodeAt(++u);while(35===o&&u6||uu&&r(e.src.charCodeAt(s-1))&&(c=s),e.line=t+1,l=e.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[t,e.line],l=e.push("inline","",0),l.content=e.src.slice(u,c).trim(),l.map=[t,e.line],l.children=[],l=e.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a),!0))}},B8du:function(e,t){function n(){return!1}e.exports=n},"BPd+":function(e,t,n){"use strict";n.d(t,"b",function(){return v}),n.d(t,"a",function(){return y});var r=n("B/3G"),i=n("4NO4"),o=n("bYtY"),a=n("KxfA"),s=n("t9mh"),l=n("7a4p"),u=n("7G+c"),c=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return Object(s["b"])(e,t)},e}();function f(e,t){var n=new c,i=e.data,s=n.sourceFormat=e.sourceFormat,u=e.startIndex,f="";e.seriesLayoutBy!==r["a"]&&Object(l["c"])(f);var m=[],v={},y=e.dimensionsDefine;if(y)Object(o["k"])(y,function(e,t){var n=e.name,r={index:t,name:n,displayName:e.displayName};if(m.push(r),null!=n){var i="";Object(o["p"])(v,n)&&Object(l["c"])(i),v[n]=r}});else for(var b=0;b=0))try{t.hostname=f.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function y(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=f.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t),c.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new u,this.validateLink=g,this.normalizeLink=v,this.normalizeLinkText=y,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return r.assign(this.options,e),this},b.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&(t=e,e=d[t],!e))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},b.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},CWsV:function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(t=this.attrs,n=0,r=t.length;n=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},CXva:function(e,t,n){"use strict";var r=n("CWsV"),i=n("AGgm").isWhiteSpace,o=n("AGgm").isPunctChar,a=n("AGgm").isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(e,t){var n,r,s,l,u,c,f,d,h,p=e,g=!0,m=!0,v=this.posMax,y=this.src.charCodeAt(e);n=e>0?this.src.charCodeAt(e-1):32;while(p=0;a--)r[a]&&!c["j"](r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,e[n]=r}}),delete e[k],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var i=0;i=t:"max"===n?e<=t:e===t}function V(e,t){return e.join(",")===t.join(",")}var G=R,Y=o["k"],U=o["z"],W=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function H(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=W.length;n=0;p--){var g=e[p];if(s||(f=g.data.rawIndexOf(g.stackedByDimension,c)),f>=0){var m=g.data.getByRawIndex(g.stackResultDimension,f);if(d>=0&&m>0||d<=0&&m<0){d=Object(he["a"])(d,m),h=m;break}}}return r[0]=d,r[1]=h,r})})}var me=n("T4UG"),ve=n("sS/r"),ye=n("6Ic6"),be=n("x6Kt"),_e=n("Dagg"),xe=n("3qvL"),we=n("y+Vt"),ke=n("hhxK"),Oe=n("fWwa"),Se=n("iLNv"),Me=n("KCsZ"),Ce=n("VR9l"),Te=n("OQFs"),je=Object(c["m"])(),Ie={itemStyle:Object(Me["a"])(Ce["a"],!0),lineStyle:Object(Me["a"])(Te["a"],!0)},De={lineStyle:"stroke",itemStyle:"fill"};function Ae(e,t){var n=e.visualStyleMapper||Ie[t];return n||(console.warn("Unkown style type '"+t+"'."),Ie.itemStyle)}function Ee(e,t){var n=e.visualDrawType||De[t];return n||(console.warn("Unkown style type '"+t+"'."),"fill")}var Pe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),a=Ae(e,r),s=a(i),l=i.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var u=Ee(e,r),c=s[u],f=Object(o["v"])(c)?c:null,d="auto"===s.fill||"auto"===s.stroke;if(!s[u]||f||d){var h=e.getColorFromPalette(e.name,null,t.getSeriesCount());s[u]||(s[u]=h,n.setVisual("colorFromPalette",!0)),s.fill="auto"===s.fill||"function"===typeof s.fill?h:s.fill,s.stroke="auto"===s.stroke||"function"===typeof s.stroke?h:s.stroke}if(n.setVisual("style",s),n.setVisual("drawType",u),!t.isSeriesFiltered(e)&&f)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),i=Object(o["m"])({},s);i[u]=f(r),t.setItemVisual(n,"style",i)}}}},Le=new f["a"],Ne={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=Ae(e,r),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){Le.option=n[r];var s=i(Le),l=e.ensureUniqueItemVisual(t,"style");Object(o["m"])(l,s),Le.option.decal&&(e.setItemVisual(t,"decal",Le.option.decal),Le.option.decal.dirty=!0),a in s&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},Re={performRawSeries:!0,overallReset:function(e){var t=Object(o["g"])();e.eachSeries(function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+n,i=t.get(r);i||(i={},t.set(r,i)),je(e).scope=i}}),e.eachSeries(function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),r={},i=t.getData(),o=je(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=Ee(t,a);i.each(function(e){var t=i.getRawIndex(e);r[t]=e}),n.each(function(e){var a=r[e],l=i.getItemVisual(a,"colorFromPalette");if(l){var u=i.ensureUniqueItemVisual(a,"style"),c=n.getName(e)||e+"",f=n.count();u[s]=t.getColorFromPalette(c,o,f)}})}})}},ze=n("LcXL"),Fe=n("dqUG"),Be=n("jTL6"),Ve=Math.PI;function Ge(e,t){t=t||{},o["j"](t,{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 ze["a"],r=new be["a"]({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i,a=new Fe["a"]({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),s=new be["a"]({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(s),t.showSpinner&&(i=new Be["a"]({shape:{startAngle:-Ve/2,endAngle:-Ve/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),i.animateShape(!0).when(1e3,{endAngle:3*Ve/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*Ve/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=a.getBoundingRect().width,o=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*o-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:o),u=e.getHeight()/2;t.showSpinner&&i.setShape({cx:l,cy:u}),s.setShape({x:l-o,y:u-o,width:2*o,height:2*o}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var Ye=n("n7yn"),Ue=n("iRjW"),We=function(){function e(e,t,n,r){this._stageTaskMap=Object(o["g"])(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(e){var t=e.overallTask;t&&t.dirty()})},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__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}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData(),i=r.count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,a=e.get("large")&&i>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=Object(o["g"])();e.eachSeries(function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)})},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;Object(o["k"])(this._allHandlers,function(r){var i=e.get(r.uid)||e.set(r.uid,{}),a="";Object(o["b"])(!(r.reset&&r.overallReset),a),r.reset&&this._createSeriesStageTask(r,i,t,n),r.overallReset&&this._createOverallStageTask(r,i,t,n)},this)},e.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var i=!1,a=this;function s(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}Object(o["k"])(e,function(e,o){if(!r.visualType||r.visualType===e.visualType){var l=a._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var f,d=c.agentStubMap;d.each(function(e){s(r,e)&&(e.dirty(),f=!0)}),f&&c.dirty(),a.updatePayload(c,n);var h=a.getPerformArgs(c,r.block);d.each(function(e){e.perform(h)}),c.perform(h)&&(i=!0)}else u&&u.each(function(o,l){s(r,o)&&o.dirty();var u=a.getPerformArgs(o,r.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(o.context.model),a.updatePayload(o,n),o.perform(u)&&(i=!0)})}}),this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(e){t=e.dataTask.perform()||t}),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)})},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var i=this,a=t.seriesTaskMap,s=t.seriesTaskMap=Object(o["g"])(),l=e.seriesType,u=e.getTargetSeries;function c(t){var o=t.uid,l=s.set(o,a&&a.get(o)||Object(Ye["a"])({plan:Xe,reset:Qe,count:et}));l.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):u&&u(n,r).each(c)},e.prototype._createOverallStageTask=function(e,t,n,r){var i=this,a=t.overallTask=t.overallTask||Object(Ye["a"])({reset:He});a.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:i};var s=a.agentStubMap,l=a.agentStubMap=Object(o["g"])(),u=e.seriesType,c=e.getTargetSeries,f=!0,d=!1,h="";function p(e){var t=e.uid,n=l.set(t,s&&s.get(t)||(d=!0,Object(Ye["a"])({reset:qe,onDirty:Ke})));n.context={model:e,overallProgress:f},n.agent=a,n.__block=f,i._pipe(e,n)}Object(o["b"])(!e.createOnAllSeries,h),u?n.eachRawSeriesByType(u,p):c?c(n,r).each(p):(f=!1,Object(o["k"])(n.getSeries(),p)),d&&a.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return Object(o["v"])(e)&&(e={overallReset:e,seriesType:tt(e)}),e.uid=Object(Ue["c"])("stageHandler"),t&&(e.visualType=t),e},e}();function He(e){e.overallReset(e.ecModel,e.api,e.payload)}function qe(e){return e.overallProgress&&Ze}function Ze(){this.agent.dirty(),this.getDownstream().dirty()}function Ke(){this.agent&&this.agent.dirty()}function Xe(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Qe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Object(c["p"])(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Object(o["F"])(t,function(e,t){return Je(t)}):$e}var $e=Je(0);function Je(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o0&&c===i.length-u.length){var f=i.slice(0,c);"data"!==f&&(t.mainType=f,t[u.toLowerCase()]=e,o=!0)}}s.hasOwnProperty(i)&&(n[i]=e,o=!0),o||(r[i]=e)})}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){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=t.cptQuery,l=t.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,r,i));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),vt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){var r=e.get("symbol"),i=e.get("symbolSize"),a=e.get("symbolKeepAspect"),s=e.get("symbolRotate"),l=e.get("symbolOffset"),u=Object(o["v"])(r),c=Object(o["v"])(i),f=Object(o["v"])(s),d=Object(o["v"])(l),h=u||c||f||d,p=!u&&r?r:e.defaultSymbol,g=c?null:i,m=f?null:s,v=d?null:l;if(n.setVisual({legendIcon:e.legendIcon||p,symbol:p,symbolSize:g,symbolKeepAspect:a,symbolRotate:m,symbolOffset:v}),!t.isSeriesFiltered(e))return{dataEach:h?y:null}}function y(t,n){var o=e.getRawValue(n),a=e.getDataParams(n);u&&t.setItemVisual(n,"symbol",r(o,a)),c&&t.setItemVisual(n,"symbolSize",i(o,a)),f&&t.setItemVisual(n,"symbolRotate",s(o,a)),d&&t.setItemVisual(n,"symbolOffset",l(o,a))}}},yt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e)){var n=e.getData();return{dataEach:n.hasItemOption?r:null}}function r(e,t){var n=e.getItemModel(t),r=n.getShallow("symbol",!0),i=n.getShallow("symbolSize",!0),o=n.getShallow("symbolRotate",!0),a=n.getShallow("symbolOffset",!0),s=n.getShallow("symbolKeepAspect",!0);null!=r&&e.setItemVisual(t,"symbol",r),null!=i&&e.setItemVisual(t,"symbolSize",i),null!=o&&e.setItemVisual(t,"symbolRotate",o),null!=a&&e.setItemVisual(t,"symbolOffset",a),null!=s&&e.setItemVisual(t,"symbolKeepAspect",s)}}};function bt(e,t,n){switch(n){case"color":var r=e.getItemVisual(t,"style");return r[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n);default:0}}function _t(e,t){switch(t){case"color":var n=e.getVisual("style");return n[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:0}}function xt(e,t,n,r,i){var a=e+t;n.isSilent(a)||r.eachComponent({mainType:"series",subType:"pie"},function(e){for(var t=e.seriesIndex,r=i.selected,s=0;s>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 rn(e,t){return e=tn(e),o["F"](o["n"](e.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var n=e.properties,r=e.geometry,i=[];if("Polygon"===r.type){var a=r.coordinates;i.push({type:"polygon",exterior:a[0],interiors:a.slice(1)})}if("MultiPolygon"===r.type){a=r.coordinates;o["k"](a,function(e){e[0]&&i.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})})}var s=new Kt(n[t||"name"],i,n.cp);return s.properties=n,s})}for(var on=[126,25],an="\u5357\u6d77\u8bf8\u5c9b",sn=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],ln=0;ln0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.setOption=function(e,t,n){if(this._disposed)Or(this.id);else{var r,i,a;if(Object(o["z"])(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,a=t.transition,t=t.notMerge),this[Yn]=!0,!this._model||t){var s=new G(this._api),l=this._theme,u=this._model=new D;u.scheduler=this._scheduler,u.init(null,null,null,l,this._locale,s)}this._model.setOption(e,{replaceMerge:i},Tr);var c={seriesTransition:a,optionChanged:!0};n?(this[Un]={silent:r,updateParams:c},this[Yn]=!1,this.getZr().wakeUp()):(er(this),rr.update.call(this,null,c),this._zr.flush(),this[Un]=null,this[Yn]=!1,sr.call(this,r),lr.call(this,r))}},t.prototype.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Sn&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){if(s["a"].canvasSupported)return e=e||{},this._zr.painter.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.getSvgDataURL=function(){if(s["a"].svgSupported){var e=this._zr,t=e.storage.getDisplayList();return Object(o["k"])(t,function(e){e.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;Object(o["k"])(t,function(e){n.eachComponent({mainType:e},function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(o["k"])(r,function(e){e.group.ignore=!1}),a}Or(this.id)},t.prototype.getConnectedDataURL=function(e){if(this._disposed)Or(this.id);else if(s["a"].canvasSupported){var t="svg"===e.type,n=this.group,r=Math.min,a=Math.max,l=1/0;if(Er[n]){var u=l,c=l,f=-l,d=-l,h=[],p=e&&e.pixelRatio||this.getDevicePixelRatio();Object(o["k"])(Ar,function(i,s){if(i.group===n){var l=t?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(Object(o["d"])(e)),p=i.getDom().getBoundingClientRect();u=r(p.left,u),c=r(p.top,c),f=a(p.right,f),d=a(p.bottom,d),h.push({dom:l,left:p.left,top:p.top})}}),u*=p,c*=p,f*=p,d*=p;var g=f-u,m=d-c,v=Object(o["f"])(),y=i["a"](v,{renderer:t?"svg":"canvas"});if(y.resize({width:g,height:m}),t){var b="";return Object(o["k"])(h,function(e){var t=e.left-u,n=e.top-c;b+=''+e.dom+""}),y.painter.getSvgRoot().innerHTML=b,e.connectedBackgroundColor&&y.painter.setBackgroundColor(e.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return e.connectedBackgroundColor&&y.add(new be["a"]({shape:{x:0,y:0,width:g,height:m},style:{fill:e.connectedBackgroundColor}})),Object(o["k"])(h,function(e){var t=new _e["a"]({style:{x:e.left*p-u,y:e.top*p-c,image:e.dom}});y.add(t)}),y.refreshImmediately(),v.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},t.prototype.convertToPixel=function(e,t){return ir(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return ir(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=this._model,i=c["q"](r,e);return Object(o["k"])(i,function(e,r){r.indexOf("Models")>=0&&Object(o["k"])(e,function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n=n||o.containPoint(t,e))}else 0},this)},this),!!n}Or(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,r=c["q"](n,e,{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?bt(o,a,t):_t(o,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;Object(o["k"])(kr,function(t){var n=function(n){var r,i=e.getModel(),a=n.target,s="globalout"===t;if(s?r={}:a&&Object(St["a"])(a,function(e){var t=Object(ke["a"])(e);if(t&&null!=t.dataIndex){var n=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return r=n&&n.getDataParams(t.dataIndex,t.dataType)||{},!0}if(t.eventData)return r=Object(o["m"])({},t.eventData),!0},!0),r){var l=r.componentType,u=r.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=r.seriesIndex);var c=l&&null!=u&&i.getComponent(l,u),f=c&&e["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,r.event=n,r.type=t,e._$eventProcessor.eventInfo={targetEl:a,packedEvent:r,model:c,view:f},e.trigger(t,r)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)}),Object(o["k"])(Mr,function(t,n){e._messageCenter.on(n,function(e){this.trigger(n,e)},e)}),Object(o["k"])(["selectchanged"],function(t){e._messageCenter.on(t,function(e){this.trigger(t,e)},e)}),wt(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?Or(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)Or(this.id);else{this._disposed=!0,c["u"](this.getDom(),Lr,"");var e=this,t=e._api,n=e._model;Object(o["k"])(e._componentsViews,function(e){e.dispose(n,t)}),Object(o["k"])(e._chartsViews,function(e){e.dispose(n,t)}),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 Ar[e.id]}},t.prototype.resize=function(e){if(this._disposed)Or(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[Un]&&(null==r&&(r=this[Un].silent),n=!0,this[Un]=null),this[Yn]=!0,n&&er(this),rr.update.call(this,{type:"resize",animation:Object(o["m"])({duration:0},e&&e.animation)}),this[Yn]=!1,sr.call(this,r),lr.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)Or(this.id);else if(Object(o["z"])(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Dr[e]){var n=Dr[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?Or(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=Object(o["m"])({},e);return t.type=Mr[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)Or(this.id);else if(Object(o["z"])(t)||(t={silent:!!t}),Sr[e.type]&&this._model)if(this[Yn])this._pendingActions.push(e);else{var n=t.silent;ar.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&s["a"].browser.weChat&&this._throttledZrFlush(),sr.call(this,n),lr.call(this,n)}},t.prototype.updateLabelLayout=function(){On.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)Or(this.id);else{var t=e.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(t);0,r.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){for(var t=[],n=e.currentStates,r=0;rt.get("hoverLayerThreshold")&&!s["a"].node&&!s["a"].worker&&t.eachSeries(function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.group.traverse(function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)})}})}function n(e,t){var n=e.get("blendMode")||null;t.group.traverse(function(e){e.isGroup||(e.style.blend=n),e.eachPendingDisplayable&&e.eachPendingDisplayable(function(e){e.style.blend=n})})}function i(e,t){e.preventAutoZ||l(t.group,e.get("z")||0,e.get("zlevel")||0,-1/0)}function l(e,t,n,r){var i=e.getTextContent(),o=e.getTextGuideLine(),a=e.isGroup;if(a)for(var s=e.childrenRef(),u=0;u0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;n.group.traverse(function(t){if(t.states&&t.states.emphasis){if(xe["d"](t))return;if(t instanceof we["b"]&&Object(Oe["B"])(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(i){t.stateTransition=a;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}er=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),tr(e,!0),tr(e,!1),t.plan()},tr=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;l=0)){Zr.push(n);var a=at.wrapStageHandler(n,i);a.__prio=t,a.__raw=n,e.push(a)}}function Xr(e,t){Dr[e]=t}function Qr(e,t,n){wn.registerMap(e,t,n)}var $r=kt["b"];qr(Pn,Pe),qr(Rn,Ne),qr(Rn,Re),qr(Pn,vt),qr(Rn,yt),qr(Vn,Ft),Fr(de),Br(Tn,pe),Xr("default",Ge),Ur({type:Oe["c"],event:Oe["c"],update:Oe["c"]},o["I"]),Ur({type:Oe["b"],event:Oe["b"],update:Oe["b"]},o["I"]),Ur({type:Oe["f"],event:Oe["f"],update:Oe["f"]},o["I"]),Ur({type:Oe["i"],event:Oe["i"],update:Oe["i"]},o["I"]),Ur({type:Oe["h"],event:Oe["h"],update:Oe["h"]},o["I"]),zr("light",lt),zr("dark",pt)},GDDg:function(e,t,n){"use strict";var r=n("bYtY"),i=n("Qxkt"),o=n("gPAo"),a=n("KxfA"),s=n("B/3G"),l=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function u(e,t){var n={},i=n.encode={},o=Object(r["g"])(),a=[],u=[],f={};Object(r["k"])(e.dimensions,function(t){var n=e.getDimensionInfo(t),r=n.coordDim;if(r){0;var l=n.coordDimIndex;c(i,r)[l]=t,n.isExtraCoord||(o.set(r,1),d(n.type)&&(a[0]=t),c(f,r)[l]=e.getDimensionIndex(n.name)),n.defaultTooltip&&u.push(t)}s["i"].each(function(e,t){var r=c(i,t),o=n.otherDims[t];null!=o&&!1!==o&&(r[o]=n.name)})});var h=[],p={};o.each(function(e,t){var n=i[t];p[t]=n[0],h=h.concat(n)}),n.dataDimsOnCoord=h,n.dataDimIndicesOnCoord=Object(r["F"])(h,function(t){return e.getDimensionInfo(t).storeDimIndex}),n.encodeFirstDimNotExtra=p;var g=i.label;g&&g.length&&(a=g.slice());var m=i.tooltip;return m&&m.length?u=m.slice():u.length||(u=a.slice()),i.defaultedLabel=a,i.defaultedTooltip=u,n.userOutput=new l(f,t),n}function c(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function f(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function d(e){return!("ordinal"===e||"time"===e)}var h,p,g,m,v,y,b,_=function(){function e(e){this.otherDims={},null!=e&&r["m"](this,e)}return e}(),x=_,w=n("4NO4"),k=n("hhxK"),O=n("7G+c"),S=n("0M5g"),M=n("gLkn"),C=r["z"],T=r["F"],j="undefined"===typeof Int32Array?Array:Int32Array,I="e\0\0",D=-1,A=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],E=["_approximateExtent"],P=function(){function e(e,t){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 i=!1;Object(M["d"])(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(i=!0,n=e),n=n||["x","y"];for(var o={},a=[],s={},l=!1,u={},c=0;c=t)){var n=this._store,r=n.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,a=r.getSource().sourceFormat,l=a===s["f"];if(l&&!r.pure)for(var u=[],c=e;c0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,i=n[e];i||(i=n[e]={});var o=i[t];return null==o&&(o=this.getVisual(t),r["s"](o)?o=o.slice():C(o)&&(o=r["m"]({},o)),i[t]=o),o},e.prototype.setItemVisual=function(e,t,n){var i=this._itemVisuals[e]||{};this._itemVisuals[e]=i,C(t)?r["m"](i,t):i[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){if(C(e))for(var n in e)e.hasOwnProperty(n)&&this.setLayout(n,e[n]);else this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?r["m"](this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;Object(k["b"])(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){r["k"](this._graphicEls,function(n,r){n&&e&&e.call(t,n,r)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:T(this.dimensions,this._getDimInfo,this),this.hostModel)),v(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(r["P"](arguments)))})},e.internalField=function(){h=function(e){var t=e._invertedIndicesMap;r["k"](t,function(n,r){var i=e._dimInfos[r],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new j(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),r[t]=s}}}(),e}(),L=P,N=n("D5nY");function R(e,t){Object(O["e"])(e)||(e=Object(O["c"])(e)),t=t||{};var n=t.coordDimensions||[],i=t.dimensionsDefine||e.dimensionsDefine||[],o=Object(r["g"])(),a=[],l=F(e,n,i,t.dimensionsCount),u=t.canOmitUnusedDimensions&&Object(M["e"])(l),c=i===e.dimensionsDefine,f=c?Object(M["c"])(e):Object(M["b"])(i),d=t.encodeDefine;!d&&t.encodeDefaulter&&(d=t.encodeDefaulter(e,l));for(var h=Object(r["g"])(d),p=new S["a"](l),g=0;g0&&(i.name=o+(a-1)),a++,t.set(o,a)}}function F(e,t,n,i){var o=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,i||0);return Object(r["k"])(t,function(e){var t;Object(r["z"])(e)&&(t=e.dimsDef)&&(o=Math.max(o,t.length))}),o}function B(e,t,n){var r=t.data;if(n||r.hasOwnProperty(e)){var i=0;while(r.hasOwnProperty(e+i))i++;e+=i}return t.set(e,!0),e}var V=n("HznI"),G=function(){function e(e){this.coordSysDims=[],this.axisMap=Object(r["g"])(),this.categoryAxisMap=Object(r["g"])(),this.coordSysName=e}return e}();function Y(e){var t=e.get("coordinateSystem"),n=new G(t),r=U[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var U={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",w["b"]).models[0],o=e.getReferringComponents("yAxis",w["b"]).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),W(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),W(o)&&(r.set("y",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",w["b"]).models[0];t.coordSysDims=["single"],n.set("single",i),W(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",w["b"]).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),W(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),W(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,i){var o=e.ecModel,a=o.getComponent("parallel",e.get("parallelIndex")),s=t.coordSysDims=a.dimensions.slice();Object(r["k"])(a.parallelAxisIndex,function(e,r){var a=o.getComponent("parallelAxis",e),l=s[r];n.set(l,a),W(a)&&(i.set(l,a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=r))})}};function W(e){return"category"===e.get("type")}var H=n("7hqr");function q(e,t){var n,i=e.get("coordinateSystem"),o=V["a"].get(i);return t&&t.coordSysDims&&(n=r["F"](t.coordSysDims,function(e){var n={name:e},r=t.axisMap.get(e);if(r){var i=r.get("type");n.type=f(i)}return n})),n||(n=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),n}function Z(e,t,n){var i,o;return n&&r["k"](e,function(e,r){var a=e.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=r),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(o=!0)}),o||null==i||(e[i].otherDims.itemName=0),i}function K(e,t,n){n=n||{};var i,o=t.getSourceManager(),a=!1;e?(a=!0,i=Object(O["c"])(e)):(i=o.getSource(),a=i.sourceFormat===s["f"]);var l=Y(t),u=q(t,l),c=n.useEncodeDefaulter,f=r["v"](c)?c:c?r["i"](N["c"],u,t):null,d={coordDimensions:u,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:f,canOmitUnusedDimensions:!a},h=R(i,d),p=Z(h.dimensions,n.createInvertedIndices,l),g=a?null:o.getSharedDataStore(h),m=Object(H["a"])(t,{schema:h,store:g}),v=new L(h,t);v.setCalculationInfo(m);var y=null!=p&&X(i)?function(e,t,n,r){return r===p?n:this.defaultDimValueGetter(e,t,n,r)}:null;return v.hasItemOption=!1,v.initData(a?i:g,null,y),v}function X(e){if(e.sourceFormat===s["f"]){var t=Q(e.data||[]);return null!=t&&!r["s"](Object(w["g"])(t))}}function Q(e){var t=0;while(t=4)return!1;for(d=e.parentType,e.parentType="paragraph";h3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h],u=e.eMarks[h],l=u)))){c=61===f?1:2;break}if(!(e.sCount[h]<0)){for(i=!1,o=0,a=p.length;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.history||Object(c["b"])(),n={initialReducer:{router:I(t)},setupMiddlewares:function(e){return[D(t)].concat(Object(o["a"])(e))},setupApp:function(e){e._history=z(t)}},r=Object(p["a"])(e,n),a=r.start;return r.router=s,r.start=l,r;function s(e){u()(A(e),"[app.router] router should be function, but got ".concat(Object(i["a"])(e))),r._router=e}function l(e){L(e)&&(e=d.a.querySelector(e),u()(e,"[app.start] container ".concat(e," not found"))),u()(!e||P(e),"[app.start] container should be HTMLElement"),u()(r._router,"[app.start] router must be registered before app.start()"),r._store||a.call(r);var t=r._store;if(r._getProvider=N.bind(null,t,r),!e)return N(t,this,this._router);R(e,t,r,r._router),r._plugin.apply("onHmr")(R.bind(null,e,t,r))}}function P(e){return"object"===Object(i["a"])(e)&&null!==e&&e.nodeType&&e.nodeName}function L(e){return"string"===typeof e}function N(e,t,n){var i=function(i){return s.a.createElement(h["a"],{store:e},n(Object(r["a"])({app:t,history:t._history},i)))};return i}function R(e,t,r,i){var o=n("i8i4");o.render(s.a.createElement(N(t,r,i)),e)}function z(e){var t=e.listen;return e.listen=function(n){var r=n.toString(),i="handleLocationChange"===n.name&&r.indexOf("onLocationChanged")>-1||r.indexOf(".inTimeTravelling")>-1&&r.indexOf(".inTimeTravelling")>-1&&r.indexOf("arguments[2]")>-1;return n(e.location,e.action),t.call(e,function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&r++,"text"===i[t].type&&t+11||t>0&&!e.noHeader,r=0;Object(i["k"])(e.blocks,function(e){d(e).planLayout(e);var t=e.__gapLevelBetweenSubBlocks;t>=r&&(r=t+(!n||t&&("section"!==e.type||e.noHeader)?0:1))}),e.__gapLevelBetweenSubBlocks=r},build:function(e,t,n,i){var o=t.noHeader,a=m(t),u=p(e,t,o?n:a.html,i);if(o)return u;var c=Object(r["f"])(t.header,"ordinal",e.useUTC),f=l(i,e.renderMode).nameStyle;return"richText"===e.renderMode?_(e,c,f)+a.richText+u:v('
'+Object(r["c"])(c)+"
"+u,n)}},nameValue:{planLayout:function(e){e.__gapLevelBetweenSubBlocks=0},build:function(e,t,n,o){var a=e.renderMode,s=t.noName,u=t.noValue,c=!t.markerType,f=t.name,d=t.value,h=e.useUTC;if(!s||!u){var p=c?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),g=s?"":Object(r["f"])(f,"ordinal",h),m=t.valueType,w=u?[]:Object(i["s"])(d)?Object(i["F"])(d,function(e,t){return Object(r["f"])(e,Object(i["s"])(m)?m[t]:m,h)}):[Object(r["f"])(d,Object(i["s"])(m)?m[0]:m,h)],k=!c||!s,O=!c&&s,S=l(o,a),M=S.nameStyle,C=S.valueStyle;return"richText"===a?(c?"":p)+(s?"":_(e,g,M))+(u?"":x(e,w,k,O,C)):v((c?"":p)+(s?"":y(g,!c,M))+(u?"":b(w,k,O,C)),n)}}}};function p(e,t,n,r){var a=[],s=t.blocks||[];Object(i["b"])(!s||Object(i["s"])(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Object(i["p"])(u,l)){var c=new o["a"](u[l],null);s.sort(function(e,t){return c.evaluate(e.sortParam,t.sortParam)})}else"seriesDesc"===l&&s.reverse()}var f=m(t);if(Object(i["k"])(s,function(t,n){var i=d(t).build(e,t,n>0?f.html:0,r);null!=i&&a.push(i)}),a.length)return"richText"===e.renderMode?a.join(f.richText):v(a.join(""),n)}function g(e,t,n,r,i,o){if(e){var a=d(e);a.planLayout(e);var s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t};return a.build(s,e,0,o)}}function m(e){var t=e.__gapLevelBetweenSubBlocks;return{html:u[t],richText:c[t]}}function v(e,t){var n='
',r="margin: "+t+"px 0 0";return'
'+e+n+"
"}function y(e,t,n){var i=t?"margin-left:2px":"";return''+Object(r["c"])(e)+""}function b(e,t,n,o){var a=n?"10px":"20px",s=t?"float:right;margin-left:"+a:"";return''+Object(i["F"])(e,function(e){return Object(r["c"])(e)}).join("  ")+""}function _(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function x(e,t,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(t.join(" "),o)}function w(e,t){var n=e.getData().getItemVisual(t,"style"),i=n[e.visualDrawType];return Object(r["b"])(i)}function k(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var O=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Object(a["f"])()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var o="richText"===n?this._generateStyleName():null,a=Object(r["e"])({color:t,type:e,renderMode:n,markerId:o});return Object(i["A"])(a)?a:(this.richTextStyles[o]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};Object(i["s"])(t)?Object(i["k"])(t,function(e){return Object(i["m"])(n,e)}):Object(i["m"])(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}()},Ioao:function(e,t,n){var r=n("heNW"),i=Math.max;function o(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);while(++a=0||(c.push(e),Object(l["v"])(e)&&(e={install:e}),e.install(f))}},IwbS:function(e,t,n){"use strict";n.r(t),n.d(t,"extendShape",function(){return L}),n.d(t,"extendPath",function(){return R}),n.d(t,"registerShape",function(){return z}),n.d(t,"getShapeClass",function(){return F}),n.d(t,"makePath",function(){return B}),n.d(t,"makeImage",function(){return V}),n.d(t,"mergePath",function(){return Y}),n.d(t,"resizePath",function(){return U}),n.d(t,"subPixelOptimizeLine",function(){return W}),n.d(t,"subPixelOptimizeRect",function(){return H}),n.d(t,"subPixelOptimize",function(){return q}),n.d(t,"getTransform",function(){return Z}),n.d(t,"applyTransform",function(){return K}),n.d(t,"transformDirection",function(){return X}),n.d(t,"groupTransition",function(){return J}),n.d(t,"clipPointsByRect",function(){return ee}),n.d(t,"clipRectByRect",function(){return te}),n.d(t,"createIcon",function(){return ne}),n.d(t,"linePolygonIntersect",function(){return re}),n.d(t,"lineLineIntersect",function(){return ie}),n.d(t,"setTooltipConfig",function(){return se});var r=n("NC18"),i=n("Fofx"),o=n("QBsz"),a=n("y+Vt");n.d(t,"Path",function(){return a["b"]});var s=n("hYLj"),l=n("Dagg");n.d(t,"Image",function(){return l["a"]});var u=n("LcXL");n.d(t,"Group",function(){return u["a"]});var c=n("dqUG");n.d(t,"Text",function(){return c["a"]});var f=n("2fw6");n.d(t,"Circle",function(){return f["a"]});var d=n("rmlV");n.d(t,"Ellipse",function(){return d["a"]});var h=n("SqI9");n.d(t,"Sector",function(){return h["a"]});var p=n("RXMa");n.d(t,"Ring",function(){return p["a"]});var g=n("h7HQ");n.d(t,"Polygon",function(){return g["a"]});var m=n("1Jh7");n.d(t,"Polyline",function(){return m["a"]});var v=n("x6Kt");n.d(t,"Rect",function(){return v["a"]});var y=n("yxFR");n.d(t,"Line",function(){return y["a"]});var b=n("rA99");n.d(t,"BezierCurve",function(){return b["a"]});var _=n("jTL6");n.d(t,"Arc",function(){return _["a"]});var x=n("1MYJ");n.d(t,"CompoundPath",function(){return x["a"]});var w=n("SKnc");n.d(t,"LinearGradient",function(){return w["a"]});var k=n("3e3G");n.d(t,"RadialGradient",function(){return k["a"]});var O=n("mFDi");n.d(t,"BoundingRect",function(){return O["a"]});var S=n("yoD8");n.d(t,"OrientedBoundingRect",function(){return S["a"]});var M=n("3Oj7");n.d(t,"Point",function(){return M["a"]});var C=n("OS9S");n.d(t,"IncrementalDisplayable",function(){return C["a"]});var T=n("nPnh"),j=n("bYtY"),I=n("hhxK"),D=n("3qvL");n.d(t,"updateProps",function(){return D["h"]}),n.d(t,"initProps",function(){return D["c"]}),n.d(t,"removeElement",function(){return D["e"]}),n.d(t,"removeElementWithFadeOut",function(){return D["f"]}),n.d(t,"isElementRemoved",function(){return D["d"]});var A=Math.max,E=Math.min,P={};function L(e){return a["b"].extend(e)}var N=r["c"];function R(e,t){return N(e,t)}function z(e,t){P[e]=t}function F(e){if(P.hasOwnProperty(e))return P[e]}function B(e,t,n,i){var o=r["b"](e,t);return n&&("center"===i&&(n=G(n,o.getBoundingRect())),U(o,n)),o}function V(e,t,n){var r=new l["a"]({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(G(t,i))}}});return r}function G(e,t){var n,r=t.width/t.height,i=e.height*r;i<=e.width?n=e.height:(i=e.width,n=i/r);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var Y=r["d"];function U(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function W(e){return T["b"](e.shape,e.shape,e.style),e}function H(e){return T["c"](e.shape,e.shape,e.style),e}var q=T["a"];function Z(e,t){var n=i["c"]([]);while(e&&e!==t)i["e"](n,e.getLocalTransform(),n),e=e.parent;return n}function K(e,t,n){return t&&!Object(j["t"])(t)&&(t=s["a"].getLocalTransform(t)),n&&(t=i["d"]([],t)),o["b"]([],e,t)}function X(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=K(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Q(e){return!e.isGroup}function $(e){return null!=e.shape}function J(e,t,n){if(e&&t){var r=i(e);t.traverse(function(e){if(Q(e)&&e.anid){var t=r[e.anid];if(t){var i=o(e);e.attr(o(t)),Object(D["h"])(e,i,n,Object(I["a"])(e).dataIndex)}}})}function i(e){var t={};return e.traverse(function(e){Q(e)&&e.anid&&(t[e.anid]=e)}),t}function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return $(e)&&(t.shape=Object(j["m"])({},e.shape)),t}}function ee(e,t){return Object(j["F"])(e,function(e){var n=e[0];n=A(n,t.x),n=E(n,t.x+t.width);var r=e[1];return r=A(r,t.y),r=E(r,t.y+t.height),[n,r]})}function te(e,t){var n=A(e.x,t.x),r=E(e.x+e.width,t.x+t.width),i=A(e.y,t.y),o=E(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function ne(e,t,n){var r=Object(j["m"])({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),Object(j["j"])(i,n),new l["a"](r)):B(e.replace("path://",""),r,n,"center")}function re(e,t,n,r,i){for(var o=0,a=i[i.length-1];o1)return!1;var m=oe(h,p,c,f)/d;return!(m<0||m>1)}function oe(e,t,n,r){return e*r-n*t}function ae(e){return e<=1e-6&&e>=-1e-6}function se(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Object(j["A"])(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=e.formatterParamsExtra;l&&Object(j["k"])(Object(j["D"])(l),function(e){Object(j["p"])(s,e)||(s[e]=l[e],s.$vars.push(e))});var u=Object(I["a"])(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:Object(j["j"])({content:r,formatterParams:s},i)}}z("circle",f["a"]),z("ellipse",d["a"]),z("sector",h["a"]),z("ring",p["a"]),z("polygon",g["a"]),z("polyline",m["a"]),z("rect",v["a"]),z("line",y["a"]),z("bezierCurve",b["a"]),z("arc",_["a"])},JHRd:function(e,t,n){var r=n("Kz5y"),i=r.Uint8Array;e.exports=i},JHgL:function(e,t,n){var r=n("QkVE");function i(e){return r(this,e).get(e)}e.exports=i},JSQU:function(e,t,n){var r=n("YESw"),i="__lodash_hash_undefined__";function o(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}e.exports=o},JTzB:function(e,t,n){var r=n("NykK"),i=n("ExA7"),o="[object Arguments]";function a(e){return i(e)&&r(e)==o}e.exports=a},KCsZ:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("bYtY");function i(e,t){for(var n=0;n=0||o&&r["q"](o,l)<0)){var u=n.getShallow(l,t);null!=u&&(a[e[s][0]]=u)}}return a}}},KMkd:function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},KOyK:function(e,t,n){"use strict";var r=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,i=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,t){var n,o,a,s,l,u,c=e.pos;if(60!==e.src.charCodeAt(c))return!1;for(l=e.pos,u=e.posMax;;){if(++c>=u)return!1;if(s=e.src.charCodeAt(c),60===s)return!1;if(62===s)break}return n=e.src.slice(l+1,c),i.test(n)?(o=e.md.normalizeLink(n),!!e.md.validateLink(o)&&(t||(a=e.push("link_open","a",1),a.attrs=[["href",o]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(n),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=n.length+2,!0)):!!r.test(n)&&(o=e.md.normalizeLink("mailto:"+n),!!e.md.validateLink(o)&&(t||(a=e.push("link_open","a",1),a.attrs=[["href",o]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(n),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=n.length+2,!0))}},KfNM:function(e,t){var n=Object.prototype,r=n.toString;function i(e){return r.call(e)}e.exports=i},KxfA:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"c",function(){return g}),n.d(t,"b",function(){return y}),n.d(t,"d",function(){return x}),n.d(t,"e",function(){return k});var r,i,o,a,s,l=n("bYtY"),u=n("4NO4"),c=n("7G+c"),f=n("B/3G"),d=function(){function e(e,t){var n=Object(c["e"])(e)?e:Object(c["c"])(e);this._source=n;var r=this._data=n.data;n.sourceFormat===f["g"]&&(this._offset=0,this._dimSize=t,this._data=r),s(this,r,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var e;s=function(e,i,o){var s=o.sourceFormat,u=o.seriesLayoutBy,c=o.startIndex,d=o.dimensionsDefine,h=a[w(s,u)];if(Object(l["m"])(e,h),s===f["g"])e.getItem=t,e.count=r,e.fillStorage=n;else{var p=g(s,u);e.getItem=Object(l["c"])(p,null,i,c,d);var m=y(s,u);e.count=Object(l["c"])(m,null,i,c,d)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,o=0;ou&&(u=h)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t-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 f=o*Math.PI/180,d=s+i,h=d*Math.abs(Math.cos(f))+d*Math.abs(Math.sin(f)),g=Math.round(100*((h-Math.SQRT2*i)/2+Math.SQRT2*i-(h-d)/2))/100;l+=";"+a+":-"+g+"px";var m=t+" solid "+i+"px;",v=["position:absolute;width:"+s+"px;height:"+s+"px;",l+";"+c+";","border-bottom:"+m,"border-right:"+m,"background-color:"+r+";"];return'
'}function C(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,i="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,i+=c["a"].transformSupported?","+k+r:",left"+r+",top"+r),w+":"+i}function T(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!c["a"].transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=c["a"].transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+k+":"+a+";":[["top",0],["left",0],[v,a]]}function j(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px");var i=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,a=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),Object(u["k"])(["decoration","align"],function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)}),t.join(";")}function I(e,t,n){var r=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),d=e.get("shadowOffsetY"),h=e.getModel("textStyle"),g=Object(x["d"])(e,"html"),m=l+"px "+d+"px "+a+"px "+s;return r.push("box-shadow:"+m),t&&i&&r.push(C(i,n)),o&&(c["a"].canvasSupported?r.push("background-color:"+o):(r.push("background-color:#"+Object(f["f"])(o)),r.push("filter:alpha(opacity=70)"))),Object(u["k"])(["width","color","radius"],function(t){var n="border-"+t,i=Object(p["h"])(n),o=e.get(i);null!=o&&r.push(n+":"+o+("color"===t?"":"px"))}),r.push(j(h)),null!=g&&r.push("padding:"+Object(p["g"])(g).join("px ")+"px"),r.join(";")+";"}function D(e,t,n,r,i){var o=t&&t.painter;if(n){var a=o&&o.getViewportRoot();a&&Object(h["c"])(e,a,document.body,r,i)}else{e[0]=r,e[1]=i;var s=o&&o.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var A=function(){function e(e,t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,c["a"].wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),o=this._appendToBody=n&&n.appendToBody;D(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),o?document.body.appendChild(r):e.appendChild(r),this._container=e;var a=this;r.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},r.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=i.handler,n=i.painter.getViewportRoot();Object(d["d"])(n,e,!0),t.dispatch("mousemove",e)}},r.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){var t=this._container,n=_(t,"position"),r=t.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative");var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=O+I(e,!this._firstShow,this._longHide)+T(i[0],i[1],!0)+"border-color:"+Object(p["b"])(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,r,i){var o=this.el;if(null!=e){var a="";if(Object(u["A"])(i)&&"item"===n.get("trigger")&&!g(n)&&(a=M(n,r,i)),Object(u["A"])(e))o.innerHTML=e+a;else if(e){o.innerHTML="",Object(u["s"])(e)||(e=[e]);for(var s=0;s=0?this._tryShow(n,r):"leave"===e&&this._hide(r))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&r.manuallyShowTip(e,t,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,t,n,r){if(r.from!==this.uid&&!c["a"].node){var i=le(r,n);this._ticket="";var o=r.dataByCoordSys,a=he(r,t,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=oe;l.x=r.x,l.y=r.y,l.update(),Object($["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(e,t,n,r))return;var u=Object(Y["a"])(r,t),f=u.point[0],d=u.point[1];null!=f&&null!=d&&this._tryShow({offsetX:f,offsetY:d,target:u.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))}},t.prototype.manuallyHideTip=function(e,t,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(le(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s){var l=s.getData(),u=se([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},t.prototype._tryShow=function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,e);else if(n){var o,a;this._lastDataByCoordSys=null,Object(ee["a"])(n,function(e){return null!=Object($["a"])(e).dataIndex?(o=e,!0):null!=Object($["a"])(e).tooltipConfig?(a=e,!0):void 0},!0),o?this._showSeriesItemTooltip(e,o,t):a?this._showComponentItemTooltip(e,a,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=u["c"](t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,i=[t.offsetX,t.offsetY],o=se([t.tooltipOption],r),a=this._renderMode,s=[],l=Object(x["c"])("section",{blocks:[],noHeader:!0}),c=[],f=new x["a"];re(e,function(e){re(e.dataByAxis,function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),r=e.value;if(t&&null!=r){var i=Z["d"](r,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),o=Object(x["c"])("section",{header:i,noHeader:!u["Q"](i),sortBlocks:!0,blocks:[]});l.blocks.push(o),u["k"](e.seriesDataIndices,function(l){var u=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,h=u.getDataParams(d);if(!(h.dataIndex<0)){h.axisDim=e.axisDim,h.axisIndex=e.axisIndex,h.axisType=e.axisType,h.axisId=e.axisId,h.axisValue=q["c"](t.axis,{value:r}),h.axisValueLabel=i,h.marker=f.makeTooltipMarker("item",p["b"](h.color),a);var g=Object(J["b"])(u.formatTooltip(d,!0,null));g.markupFragment&&o.blocks.push(g.markupFragment),g.markupText&&c.push(g.markupText),s.push(h)}})}})}),l.blocks.reverse(),c.reverse();var d=t.position,h=o.get("order"),g=Object(x["b"])(l,f,a,h,n.get("useUTC"),o.get("textStyle"));g&&c.unshift(g);var m="richText"===a?"\n\n":"
",v=c.join(m);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,d,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,v,s,Math.random()+"",i[0],i[1],d,null,f)})},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,i=Object($["a"])(t),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,l=i.dataIndex,u=i.dataType,c=s.getData(u),f=this._renderMode,d=e.positionDefault,h=se([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),g=h.get("trigger");if(null==g||"item"===g){var m=s.getDataParams(l,u),v=new x["a"];m.marker=v.makeTooltipMarker("item",p["b"](m.color),f);var y=Object(J["b"])(s.formatTooltip(l,!1,u)),b=h.get("order"),_=y.markupFragment?Object(x["b"])(y.markupFragment,v,f,b,r.get("useUTC"),h.get("textStyle")):y.markupText,w="item_"+s.name+"_"+l;this._showOrMove(h,function(){this._showTooltipContent(h,_,m,w,e.offsetX,e.offsetY,e.position,e.target,v)}),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r=Object($["a"])(t),i=r.tooltipConfig,o=i.option||{};if(u["A"](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=e.positionDefault,f=se(s,this._tooltipModel,c?{position:c}:null),d=f.get("content"),h=Math.random()+"",p=new x["a"];this._showOrMove(f,function(){var n=u["d"](f.get("formatterParams")||{});this._showTooltipContent(f,d,n,h,e.offsetX,e.offsetY,e.position,t,p)}),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,i,o,a,s,l){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent,f=e.get("formatter");a=a||e.get("position");var d=t,h=this._getNearestPoint([i,o],n,e.get("trigger"),e.get("borderColor")),g=h.color;if(f)if(u["A"](f)){var m=e.ecModel.get("useUTC"),v=u["s"](n)?n[0]:n,y=v&&v.axisType&&v.axisType.indexOf("time")>=0;d=f,y&&(d=Object(Q["h"])(v.axisValue,d,m)),d=p["d"](d,n,!0)}else if(u["v"](f)){var b=ne(function(t,r){t===this._ticket&&(c.setContent(r,l,e,g,a),this._updatePosition(e,a,i,o,c,n,s))},this);this._ticket=r,d=f(n,r,b)}else d=f;c.setContent(d,l,e,g,a),c.show(e,g),this._updatePosition(e,a,i,o,c,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||u["s"](t)?{color:r||("html"===this._renderMode?"#fff":"none")}:u["s"](t)?void 0:{color:r||t.color||t.borderColor}},t.prototype._doUpdatePosition=function(e,t,n,r,i,o,a){var s=this._api.getWidth(),l=this._api.getHeight();t=t||e.get("position");var c=i.getSize(),f=e.get("align"),d=e.get("verticalAlign"),h=a&&a.getBoundingRect().clone();if(a&&h.applyTransform(a.transform),u["v"](t)&&(t=t([n,r],o,i.el,h,{viewSize:[s,l],contentSize:c.slice()})),u["s"](t))n=ie(t[0],s),r=ie(t[1],l);else if(u["z"](t)){var p=t;p.width=c[0],p.height=c[1];var m=U["d"](p,{width:s,height:l});n=m.x,r=m.y,f=null,d=null}else if(u["A"](t)&&a){var v=fe(t,h,c,e.get("borderWidth"));n=v[0],r=v[1]}else{v=ue(n,r,i,s,l,f?null:20,d?null:20);n=v[0],r=v[1]}if(f&&(n-=de(f)?c[0]/2:"right"===f?c[0]:0),d&&(r-=de(d)?c[1]/2:"bottom"===d?c[1]:0),g(e)){v=ce(n,r,i,s,l);n=v[0],r=v[1]}i.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===e.length;return i&&re(n,function(n,o){var a=n.dataByAxis||[],s=e[o]||{},l=s.dataByAxis||[];i=i&&a.length===l.length,i&&re(a,function(e,n){var o=l[n]||{},a=e.seriesDataIndices||[],s=o.seriesDataIndices||[];i=i&&e.value===o.value&&e.axisType===o.axisType&&e.axisId===o.axisId&&a.length===s.length,i&&re(a,function(e,t){var n=s[t];i=i&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex}),r&&u["k"](e.seriesDataIndices,function(e){var n=e.seriesIndex,o=t[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){c["a"].node||(this._tooltipContent.dispose(),H["b"]("itemTooltip",t))},t.type="tooltip",t}(X["a"]);function se(e,t,n){var r,i=t.ecModel;n?(r=new W["a"](n,i,i),r=new W["a"](t.option,r,i)):r=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof W["a"]&&(a=a.get("tooltip",!0)),u["A"](a)&&(a={formatter:a}),a&&(r=new W["a"](a,r,i)))}return r}function le(e,t){return e.dispatchAction||u["c"](t.dispatchAction,t)}function ue(e,t,n,r,i,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(e+l+o+2>r?e-=l+o:e+=o),null!=a&&(t+u+a>i?t-=u+a:t+=a),[e,t]}function ce(e,t,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return e=Math.min(e+a,r)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function fe(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-i/2,l=t.y-o-a;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+a;break;case"left":s=t.x-i-a,l=t.y+c/2-o/2;break;case"right":s=t.x+u+a,l=t.y+c/2-o/2}return[s,l]}function de(e){return"center"===e||"middle"===e}function he(e,t,n){var r=Object(K["r"])(e).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o=Object(K["t"])(t,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(t){var n=Object($["a"])(t).tooltipConfig;if(n&&n.name===e.name)return s=t,!0}),s?{componentMainType:i,componentIndex:a.componentIndex,el:s}:void 0}}}var pe=ae;function ge(e){Object(i["a"])(r["a"]),e.registerComponentModel(l),e.registerComponentView(pe),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})}n.d(t,"a",function(){return ge})},LcsW:function(e,t,n){var r=n("kekF"),i=r(Object.getPrototypeOf,Object);e.exports=i},LsHQ:function(e,t,n){var r=n("EA7m"),i=n("mv/X");function o(e){return r(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);while(++r=0}function c(e){return e+"Axis"}function f(e,t){var n,r=Object(o["g"])(),i=[],a=Object(o["g"])();e.eachComponent({mainType:"dataZoom",query:t},function(e){a.get(e.uid)||l(e)});do{n=!1,e.eachComponent("dataZoom",s)}while(n);function s(e){!a.get(e.uid)&&u(e)&&(l(e),n=!0)}function l(e){a.set(e.uid,!0),i.push(e),c(e)}function u(e){var t=!1;return e.eachTargetAxis(function(e,n){var i=r.get(e);i&&i[n]&&(t=!0)}),t}function c(e){e.eachTargetAxis(function(e,t){(r.get(e)||r.set(e,[]))[t]=!0})}return i}var d=n("4NO4"),h=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),p=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return Object(i["a"])(t,e),t.prototype.init=function(e,t,n){var r=g(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=g(e);Object(o["G"])(this.option,e,!0),Object(o["G"])(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;Object(o["k"])([["start","startValue"],["end","endValue"]],function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=Object(o["g"])(),n=this._fillSpecifiedTargetAxis(t);n?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each(function(e){e.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return Object(o["k"])(s,function(n){var r=this.getReferringComponents(c(n),d["a"]);if(r.specified){t=!0;var i=new h;Object(o["k"])(r.models,function(e){i.add(e.componentIndex)}),e.set(n,i)}},this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var i="vertical"===t?"y":"x",a=n.findComponents({mainType:i+"Axis"});l(a,i)}if(r){a=n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}});l(a,"single")}function l(t,n){var i=t[0];if(i){var a=new h;if(a.add(i.componentIndex),e.set(n,a),r=!1,"x"===n||"y"===n){var s=i.getReferringComponents("grid",d["b"]).models[0];s&&Object(o["k"])(t,function(e){i.componentIndex!==e.componentIndex&&s===e.getReferringComponents("grid",d["b"]).models[0]&&a.add(e.componentIndex)})}}}r&&Object(o["k"])(s,function(t){if(r){var i=n.findComponents({mainType:c(t),filter:function(e){return"category"===e.get("type",!0)}});if(i[0]){var o=new h;o.add(i[0].componentIndex),e.set(t,o),r=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(t){!e&&(e=t)},this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");Object(o["k"])([["start","startValue"],["end","endValue"]],function(r,i){var o=null!=e[r[0]],a=null!=e[r[1]];o&&!a?t[i]="percent":!o&&a?t[i]="value":n?t[i]=n[i]:o&&(t[i]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(t,n){null==e&&(e=this.ecModel.getComponent(c(t),n))},this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each(function(n,r){Object(o["k"])(n.indexList,function(n){e.call(t,r,n)})})},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(c(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;Object(o["k"])([["start","startValue"],["end","endValue"]],function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;Object(o["k"])(["start","startValue","end","endValue"],function(n){t[n]=e[n]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;ro&&(t[1-r]=t[r]+u.sign*o),t}function M(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function C(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var T=n("aX7z"),j=n("U4/e"),I=o["k"],D=O["b"],A=function(){function e(e,t,n,r){this._dimName=e,this._axisIndex=t,this.ecModel=r,this._dataZoomModel=n}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries(function(t){if(u(t)){var n=c(this._dimName),r=t.getReferringComponents(n,d["b"]).models[0];r&&this._axisIndex===r.componentIndex&&e.push(t)}},this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return o["d"](this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,r=this.getAxisModel(),i=r.axis.scale,o=this._dataZoomModel.getRangePropMode(),a=[0,100],s=[],l=[];I(["start","end"],function(r,u){var c=e[r],f=e[r+"Value"];"percent"===o[u]?(null==c&&(c=a[u]),f=i.parse(O["i"](c,a,n))):(t=!0,f=null==f?n[u]:i.parse(f),c=O["i"](f,n,a)),l[u]=f,s[u]=c}),D(l),D(s);var u=this._minMaxSpan;function c(e,t,n,r,o){var a=o?"Span":"ValueSpan";S(0,e,n,"all",u["min"+a],u["max"+a]);for(var s=0;s<2;s++)t[s]=O["i"](e[s],n,r,!0),o&&(t[s]=i.parse(t[s]))}return t?c(l,s,n,a,!1):c(s,l,a,n,!0),{valueWindow:l,percentWindow:s}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=E(this,this._dimName,t),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=e.get("filterMode"),a=this._valueWindow;"none"!==i&&I(r,function(e){var t=e.getData(),r=t.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var l=t.getStore(),u=o["F"](r,function(e){return t.getDimensionIndex(e)},t);t.filterSelf(function(e){for(var t,n,i,o=0;oa[1];if(c&&!f&&!d)return!0;c&&(i=!0),f&&(t=!0),d&&(n=!0)}return i&&t&&n})}else I(r,function(n){if("empty"===i)e.setData(t=t.map(n,function(e){return s(e)?e:NaN}));else{var r={};r[n]=a,t.selectRange(r)}});I(r,function(e){t.setApproximateExtent(a,e)})}})}function s(e){return e>=a[0]&&e<=a[1]}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;I(["min","max"],function(r){var i=t.get(r+"Span"),o=t.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=O["i"](n[0]+o,n,[0,100],!0):null!=i&&(o=O["i"](i,[0,100],n,!0)-n[0]),e[r+"Span"]=i,e[r+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var r=O["d"](n,[0,500]);r=Math.min(r,20);var i=e.axis.scale.rawExtentInfo;0!==t[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==t[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},e}();function E(e,t,n){var r=[1/0,-1/0];I(n,function(e){Object(T["j"])(r,e.getData(),t)});var i=e.getAxisModel(),o=Object(j["a"])(i.axis.scale,i,r).calculate();return[o.min,o.max]}var P=A,L={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,i){var o=e.getComponent(c(r),i);t(r,i,o,n)})})}t(function(e,t,n,r){n.__dzAxisProxy=null});var n=[];t(function(t,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new P(t,r,o,e),n.push(i.__dzAxisProxy))});var r=Object(o["g"])();return Object(o["k"])(n,function(e){Object(o["k"])(e.getTargetSeriesModels(),function(e){r.set(e.uid,e)})}),r},overallReset:function(e,t){e.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(t,n){e.getAxisProxy(t,n).reset(e)}),e.eachTargetAxis(function(n,r){e.getAxisProxy(n,r).filterData(e,t)})}),e.eachComponent("dataZoom",function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}})}},N=L;function R(e){e.registerAction("dataZoom",function(e,t){var n=f(t,e);Object(o["k"])(n,function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var z=!1;function F(e){z||(z=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,N),R(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function B(e){e.registerComponentModel(y),e.registerComponentView(k),F(e)}var V=function(){function e(){}return e}(),G={};function Y(e,t){G[e]=t}function U(e){return G[e]}var W=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(i["a"])(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;o["k"](this.option.feature,function(e,n){var r=U(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(t)),o["G"](e,r.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,zlevel:0,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"}},t}(a["a"]),H=W,q=n("6GrX"),Z=n("IwbS"),K=n("fWwa"),X=n("Qxkt"),Q=n("gPAo"),$=n("eRkO"),J=n("iRjW"),ee=n("dqUG"),te=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.render=function(e,t,n,r){var i=this.group;if(i.removeAll(),e.get("show")){var a=+e.get("itemSize"),s=e.get("feature")||{},l=this._features||(this._features={}),u=[];o["k"](s,function(e,t){u.push(t)}),new Q["a"](this._featureNames||[],u).add(c).update(c).remove(o["i"](c,null)).execute(),this._featureNames=u,$["a"](i,e,n),i.add($["b"](i.getBoundingRect(),e)),i.eachChild(function(e){var t=e.__title,r=e.ensureState("emphasis"),s=r.textConfig||(r.textConfig={}),l=e.getTextContent(),u=l&&l.states.emphasis;if(u&&!o["v"](u)&&t){var c=u.style||(u.style={}),f=q["e"](t,ee["a"].makeFont(c)),d=e.x+i.x,h=e.y+i.y+a,p=!1;h+f.height>n.getHeight()&&(s.position="top",p=!0);var g=p?-5-f.height:a+8;d+f.width/2>n.getWidth()?(s.position=["100%",g],c.align="right"):d-f.width/2<0&&(s.position=[0,g],c.align="left")}})}function c(i,o){var a,c=u[i],d=u[o],h=s[c],p=new X["a"](h,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===c&&(h.title=r.newTitle),c&&!d){if(ne(c))a={onclick:p.option.onclick,featureName:c};else{var g=U(c);if(!g)return;a=new g}l[c]=a}else if(a=l[d],!a)return;a.uid=Object(J["c"])("toolbox-feature"),a.model=p,a.ecModel=t,a.api=n;var m=a instanceof V;c||!d?!p.get("show")||m&&a.unusable?m&&a.remove&&a.remove(t,n):(f(p,a,c),p.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&("emphasis"===t?K["o"]:K["z"])(r[e])},a instanceof V&&a.render&&a.render(p,t,n,r)):m&&a.dispose&&a.dispose(t,n)}function f(r,s,l){var u,c,f=r.getModel("iconStyle"),d=r.getModel(["emphasis","iconStyle"]),h=s instanceof V&&s.getIcons?s.getIcons():r.get("icon"),p=r.get("title")||{};"string"===typeof h?(u={},u[l]=h):u=h,"string"===typeof p?(c={},c[l]=p):c=p;var g=r.iconPaths={};o["k"](u,function(l,u){var h=Z["createIcon"](l,{},{x:-a/2,y:-a/2,width:a,height:a});h.setStyle(f.getItemStyle());var p=h.ensureState("emphasis");p.style=d.getItemStyle();var m=new ee["a"]({style:{text:c[u],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null},ignore:!0});h.setTextContent(m),Z["setTooltipConfig"]({el:h,componentModel:e,itemName:u,formatterParamsExtra:{title:c[u]}}),h.__title=c[u],h.on("mouseover",function(){var t=d.getItemStyle(),n="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";m.setStyle({fill:d.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),h.setTextConfig({position:d.get("textPosition")||n}),m.ignore=!e.get("showTitle"),Object(K["o"])(this)}).on("mouseout",function(){"emphasis"!==r.get(["iconStatus",u])&&Object(K["z"])(this),m.hide()}),("emphasis"===r.get(["iconStatus",u])?K["o"]:K["z"])(h),i.add(h),h.on("click",o["c"](s.onclick,s,t,n,u)),g[u]=h})}},t.prototype.updateView=function(e,t,n,r){o["k"](this._features,function(e){e instanceof V&&e.updateView&&e.updateView(e.model,t,n,r)})},t.prototype.remove=function(e,t){o["k"](this._features,function(n){n instanceof V&&n.remove&&n.remove(e,t)}),this.group.removeAll()},t.prototype.dispose=function(e,t){o["k"](this._features,function(n){n instanceof V&&n.dispose&&n.dispose(e,t)})},t.type="toolbox",t}(b["a"]);function ne(e){return 0===e.indexOf("my")}var re=te,ie=n("ItGF"),oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",i="svg"===t.getZr().painter.getType(),o=i?"svg":n.get("type",!0)||"png",a=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!==typeof MouseEvent||!ie["a"].browser.newEdge&&(ie["a"].browser.ie||ie["a"].browser.edge))if(window.navigator.msSaveOrOpenBlob||i){var s=a.split(","),l=s[0].indexOf("base64")>-1,u=i?decodeURIComponent(s[1]):s[1];l&&(u=window.atob(u));var c=r+"."+o;if(window.navigator.msSaveOrOpenBlob){var f=u.length,d=new Uint8Array(f);while(f--)d[f]=u.charCodeAt(f);var h=new Blob([d]);window.navigator.msSaveOrOpenBlob(h,c)}else{var p=document.createElement("iframe");document.body.appendChild(p);var g=p.contentWindow,m=g.document;m.open("image/svg+xml","replace"),m.write(u),m.close(),g.focus(),m.execCommand("SaveAs",!0,c),document.body.removeChild(p)}}else{var v=n.get("lang"),y='',b=window.open();b.document.write(y),b.document.title=r}else{var _=document.createElement("a");_.download=r+"."+o,_.target="_blank",_.href=a;var x=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});_.dispatchEvent(x)}},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return t},t}(V);oe.prototype.unusable=!ie["a"].canvasSupported;var ae=oe,se=n("G+eS"),le="__ec_magicType_stack__",ue=[["line","bar"],["stack"]],ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return o["k"](e.get("type"),function(e){t[e]&&(n[e]=t[e])}),n},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return t},t.prototype.onclick=function(e,t,n){var r=this.model,i=r.get(["seriesIndex",n]);if(fe[n]){var a,s={series:[]},l=function(e){var t=e.subType,i=e.id,a=fe[n](t,i,e,r);a&&(o["j"](a,e.option),s.series.push(a));var l=e.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var u=l.getAxesByScale("ordinal")[0];if(u){var c=u.dim,f=c+"Axis",h=e.getReferringComponents(f,d["b"]).models[0],p=h.componentIndex;s[f]=s[f]||[];for(var g=0;g<=p;g++)s[f][p]=s[f][p]||{};s[f][p].boundaryGap="bar"===n}}};o["k"](ue,function(e){o["q"](e,n)>=0&&o["k"](e,function(e){r.setIconStatus(e,"normal")})}),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},l);var u=n;"stack"===n&&(a=o["G"]({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(u="tiled")),t.dispatchAction({type:"changeMagicType",currentType:u,newOption:s,newTitle:a,featureName:"magicType"})}},t}(V),fe={line:function(e,t,n,r){if("bar"===e)return o["G"]({id:t,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(e,t,n,r){if("line"===e)return o["G"]({id:t,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(e,t,n,r){var i=n.get("stack")===le;if("line"===e||"bar"===e)return r.setIconStatus("stack",i?"normal":"emphasis"),o["G"]({id:t,stack:i?"":le},r.get(["option","stack"])||{},!0)}};se["c"]({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});var de=ce,he=n("YH21"),pe=new Array(60).join("-"),ge="\t";function me(e){var t={},n=[],r=[];return e.eachRawSeries(function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function ve(e){var t=[];return o["k"](e,function(e,n){var r=e.categoryAxis,i=e.valueAxis,a=i.dim,s=[" "].concat(o["F"](e.series,function(e){return e.name})),l=[r.model.getCategories()];o["k"](e.series,function(e){var t=e.getRawData();l.push(e.getRawData().mapArray(t.mapDimension(a),function(e){return e}))});for(var u=[s.join(ge)],c=0;c=0)return!0}var we=new RegExp("["+ge+"]+","g");function ke(e){for(var t=e.split(/\n+/g),n=_e(t.shift()).split(we),r=[],i=o["F"](n,function(e){return{name:e,data:[]}}),a=0;a=0;i--){var o=n[i];if(o[r])break}if(i<0){var a=e.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(t)}function Ae(e){var t=Le(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return je(n,function(e,n){for(var i=t.length-1;i>=0;i--)if(e=t[i][n],e){r[n]=e;break}}),r}function Ee(e){Ie(e).snapshots=null}function Pe(e){return Le(e).length}function Le(e){var t=Ie(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.onclick=function(e,t){Ee(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","restore","title"])};return t},t}(V);se["c"]({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var Re=Ne,ze=n("b9Ot"),Fe=n("LcXL"),Be=n("x6Kt"),Ve=n("1Jh7"),Ge=n("h7HQ"),Ye="\0_ec_interaction_mutex";function Ue(e,t,n){var r=He(e);r[t]=n}function We(e,t,n){var r=He(e),i=r[t];i===n&&(r[t]=null)}function He(e){return e[Ye]||(e[Ye]={})}se["c"]({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){});var qe=!0,Ze=Math.min,Ke=Math.max,Xe=Math.pow,Qe=1e4,$e=6,Je=6,et="globalPan",tt={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},nt={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},rt={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},it=0,ot=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new Fe["a"],n._uid="brushController_"+it++,Object(o["k"])(Rt,function(e,t){this._handlers[t]=Object(o["c"])(e,this)},n),n}return Object(i["a"])(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||Ue(t,et,this._uid),Object(o["k"])(this._handlers,function(e,n){t.on(n,e)}),this._brushType=e.brushType,this._brushOption=Object(o["G"])(Object(o["d"])(rt),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;We(e,et,this._uid),Object(o["k"])(this._handlers,function(t,n){e.off(n,t)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};Object(o["k"])(e,function(e){t[e.panelId]=Object(o["d"])(e)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=Object(o["F"])(e,function(e){return Object(o["G"])(Object(o["d"])(rt),e,!0)});var t="\0-brush-index-",n=this._covers,r=this._covers=[],i=this,a=this._creatingCover;return new Q["a"](n,e,l,s).add(u).update(u).remove(c).execute(),this;function s(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function l(e,t){return s(e.__brushOption,t)}function u(t,o){var s=e[t];if(null!=o&&n[o]===a)r[t]=n[o];else{var l=r[t]=null!=o?(n[o].__brushOption=s,n[o]):st(i,at(i,s));ct(i,l)}}function c(e){n[e]!==a&&i.group.remove(n[e])}},t.prototype.unmount=function(){return this.enableBrush(!1),pt(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(ze["a"]);function at(e,t){var n=Bt[t.brushType].createCover(e,t);return n.__brushOption=t,ut(n,t),e.group.add(n),n}function st(e,t){var n=ft(t);return n.endCreating&&(n.endCreating(e,t),ut(t,t.__brushOption)),t}function lt(e,t){var n=t.__brushOption;ft(t).updateCoverShape(e,t,n.range,n)}function ut(e,t){var n=t.z;null==n&&(n=Qe),e.traverse(function(e){e.z=n,e.z2=n})}function ct(e,t){ft(t).updateCommon(e,t),lt(e,t)}function ft(e){return Bt[e.__brushOption.brushType]}function dt(e,t,n){var r,i=e._panels;if(!i)return qe;var a=e._transform;return Object(o["k"])(i,function(e){e.isTargetByCursor(t,n,a)&&(r=e)}),r}function ht(e,t){var n=e._panels;if(!n)return qe;var r=t.__brushOption.panelId;return null!=r?n[r]:qe}function pt(e){var t=e._covers,n=t.length;return Object(o["k"])(t,function(t){e.group.remove(t)},e),t.length=0,!!n}function gt(e,t){var n=Object(o["F"])(e._covers,function(e){var t=e.__brushOption,n=Object(o["d"])(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}});e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function mt(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],o=n[1]-r[1],a=Xe(i*i+o*o,.5);return a>$e}function vt(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function yt(e,t,n,r){var i=new Fe["a"];return i.add(new Be["a"]({name:"main",style:wt(n),silent:!0,draggable:!0,cursor:"move",drift:Object(o["i"])(Ct,e,t,i,["n","s","w","e"]),ondragend:Object(o["i"])(gt,t,{isEnd:!0})})),Object(o["k"])(r,function(n){i.add(new Be["a"]({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(o["i"])(Ct,e,t,i,n),ondragend:Object(o["i"])(gt,t,{isEnd:!0})}))}),i}function bt(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=Ke(i,Je),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],f=n[1][1],d=c-o+i/2,h=f-o+i/2,p=c-a,g=f-s,m=p+i,v=g+i;xt(e,t,"main",a,s,p,g),r.transformable&&(xt(e,t,"w",l,u,o,v),xt(e,t,"e",d,u,o,v),xt(e,t,"n",l,u,m,o),xt(e,t,"s",l,h,m,o),xt(e,t,"nw",l,u,o,o),xt(e,t,"ne",d,u,o,o),xt(e,t,"sw",l,h,o,o),xt(e,t,"se",d,h,o,o))}function _t(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(wt(n)),i.attr({silent:!r,cursor:r?"move":"default"}),Object(o["k"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var i=t.childOfName(n.join("")),o=1===n.length?St(e,n[0]):Mt(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?nt[o]+"-resize":null})})}function xt(e,t,n,r,i,o,a){var s=t.childOfName(n);s&&s.setShape(Dt(It(e,t,[[r,i],[r+o,i+a]])))}function wt(e){return Object(o["j"])({strokeNoScale:!0},e.brushStyle)}function kt(e,t,n,r){var i=[Ze(e,n),Ze(t,r)],o=[Ke(e,n),Ke(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function Ot(e){return Z["getTransform"](e.group)}function St(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=Z["transformDirection"](n[t],Ot(e));return r[i]}function Mt(e,t){var n=[St(e,t[0]),St(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function Ct(e,t,n,r,i,a){var s=n.__brushOption,l=e.toRectRange(s.range),u=jt(t,i,a);Object(o["k"])(r,function(e){var t=tt[e];l[t[0]][t[1]]+=u[t[0]]}),s.range=e.fromRectRange(kt(l[0][0],l[1][0],l[0][1],l[1][1])),ct(t,n),gt(t,{isEnd:!1})}function Tt(e,t,n,r){var i=t.__brushOption.range,a=jt(e,n,r);Object(o["k"])(i,function(e){e[0]+=a[0],e[1]+=a[1]}),ct(e,t),gt(e,{isEnd:!1})}function jt(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function It(e,t,n){var r=ht(e,t);return r&&r!==qe?r.clipPath(n,e._transform):Object(o["d"])(n)}function Dt(e){var t=Ze(e[0][0],e[1][0]),n=Ze(e[0][1],e[1][1]),r=Ke(e[0][0],e[1][0]),i=Ke(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function At(e,t,n){if(e._brushType&&!Ft(e,t.offsetX,t.offsetY)){var r=e._zr,i=e._covers,o=dt(e,t,n);if(!e._dragging)for(var a=0;ar.getWidth()||n<0||n>r.getHeight()}var Bt={lineX:Vt(0),lineY:Vt(1),rect:{createCover:function(e,t){function n(e){return e}return yt({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=vt(e);return kt(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){bt(e,t,n,r)},updateCommon:_t,contain:Pt},polygon:{createCover:function(e,t){var n=new Fe["a"];return n.add(new Ve["a"]({name:"main",style:wt(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Ge["a"]({name:"main",draggable:!0,drift:Object(o["i"])(Tt,e,t),ondragend:Object(o["i"])(gt,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:It(e,t,n)})},updateCommon:_t,contain:Pt}};function Vt(e){return{createCover:function(t,n){return yt({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=vt(t),r=Ze(n[0][e],n[1][e]),i=Ke(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var o,a=ht(t,n);if(a!==qe&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),bt(t,n,l,i)},updateCommon:_t,contain:Pt}}var Gt=ot,Yt=n("mFDi"),Ut={axisPointer:1,tooltip:1,brush:1};function Wt(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!Ut.hasOwnProperty(r.mainType)&&i&&i.model!==n}function Ht(e){return e=Kt(e),function(t){return Z["clipPointsByRect"](t,e)}}function qt(e,t){return e=Kt(e),function(n){var r=null!=t?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function Zt(e,t,n){var r=Kt(e);return function(e,i){return r.contain(i[0],i[1])&&!Wt(e,t,n)}}function Kt(e){return Yt["a"].create(e)}var Xt=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],Qt=function(){function e(e,t,n){var r=this;this._targetInfoList=[];var i=Jt(t,e);Object(o["k"])(en,function(e,t){(!n||!n.include||Object(o["q"])(n.include,t)>=0)&&e(i,r._targetInfoList)})}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=rn[e.brushType](0,n,t);e.__rangeOffset={offset:an[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}}),e},e.prototype.matchOutputRanges=function(e,t,n){Object(o["k"])(e,function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&Object(o["k"])(r.coordSyses,function(r){var i=rn[e.brushType](1,r,e.range,!0);n(e,i.values,r,t)})},this)},e.prototype.setInputRanges=function(e,t){Object(o["k"])(e,function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var r=rn[e.brushType](0,n.coordSys,e.coordRange),i=e.__rangeOffset;e.range=i?an[e.brushType](r.values,i.offset,ln(r.xyMinMax,i.xyMinMax)):r.values}},this)},e.prototype.makePanelOpts=function(e,t){return Object(o["F"])(this._targetInfoList,function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:Ht(r),isTargetByCursor:Zt(r,e,n.coordSysModel),getLinearBrushOtherExtent:qt(r)}})},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&Object(o["q"])(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=Jt(t,e),i=0;ie[1]&&e.reverse(),e}function Jt(e,t){return Object(d["q"])(e,t,{includeMainTypes:Xt})}var en={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,a=Object(o["g"])(),s={},l={};(n||r||i)&&(Object(o["k"])(n,function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0}),Object(o["k"])(r,function(e){var t=e.axis.grid.model;a.set(t.id,t),l[t.id]=!0}),Object(o["k"])(i,function(e){a.set(e.id,e),s[e.id]=!0,l[e.id]=!0}),a.each(function(e){var i=e.coordinateSystem,a=[];Object(o["k"])(i.getCartesians(),function(e,t){(Object(o["q"])(n,e.getAxis("x").model)>=0||Object(o["q"])(r,e.getAxis("y").model)>=0)&&a.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:nn.grid,xAxisDeclared:s[e.id],yAxisDeclared:l[e.id]})}))},geo:function(e,t){Object(o["k"])(e.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:nn.geo})})}},tn=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],nn={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Z["getTransform"](e)),t}},rn={lineX:Object(o["i"])(on,0),lineY:Object(o["i"])(on,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[$t([i[0],o[0]]),$t([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],a=Object(o["F"])(n,function(n){var o=e?t.pointToData(n,r):t.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:a,xyMinMax:i}}};function on(e,t,n,r){var i=n.getAxis(["x","y"][e]),a=$t(Object(o["F"])([0,1],function(e){return t?i.coordToData(i.toLocalCoord(r[e]),!0):i.toGlobalCoord(i.dataToCoord(r[e]))})),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var an={lineX:Object(o["i"])(sn,0),lineY:Object(o["i"])(sn,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return Object(o["F"])(e,function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]})}};function sn(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function ln(e,t){var n=un(e),r=un(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function un(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var cn=Qt,fn=n("Lx9C"),dn=o["k"],hn=Object(d["n"])("toolbox-dataZoom_"),pn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new Gt(n.getZr()),this._brushController.on("brush",o["c"](this._onBrush,this)).mount()),yn(e,t,this,r,n),vn(e,t)},t.prototype.onclick=function(e,t,n){gn[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new cn(mn(this.model),r,{include:["grid"]});i.matchOutputRanges(t,r,function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[r],n,t)}}),De(r,n),this._dispatchZoomAction(n)}function o(e,t,i){var o=t.getAxis(e),s=o.model,l=a(e,s,r),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=S(0,i.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function a(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){var i=n.getAxisModel(e,t.componentIndex);i&&(r=n)}),r}},t.prototype._dispatchZoomAction=function(e){var t=[];dn(e,function(e,n){t.push(o["d"](e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return t},t}(V),gn={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(Ae(this.ecModel))}};function mn(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}function vn(e,t){e.setIconStatus("back",Pe(t)>1?"emphasis":"normal")}function yn(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new cn(mn(e),t,{include:["grid"]}),s=a.makePanelOpts(i,function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}Object(fn["b"])("dataZoom",function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),i=[],o=mn(r),a=Object(d["q"])(e,o);return dn(a.xAxisModels,function(e){return s(e,"xAxis","xAxisIndex")}),dn(a.yAxisModels,function(e){return s(e,"yAxis","yAxisIndex")}),i}function s(e,t,n){var o=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:hn+t+o};a[n]=o,i.push(a)}});var bn=pn;function _n(e){e.registerComponentModel(H),e.registerComponentView(re),Y("saveAsImage",ae),Y("magicType",de),Y("dataView",Te),Y("dataZoom",bn),Y("restore",Re),Object(r["a"])(B)}n.d(t,"a",function(){return _n})},MMmD:function(e,t,n){var r=n("lSCD"),i=n("shjB");function o(e){return null!=e&&i(e.length)&&!r(e)}e.exports=o},MrPd:function(e,t,n){var r=n("hypo"),i=n("ljhN"),o=Object.prototype,a=o.hasOwnProperty;function s(e,t,n){var o=e[t];a.call(e,t)&&i(o,n)&&(void 0!==n||t in e)||r(e,t,n)}e.exports=s},N5VM:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&e.handleMarkers(x,t);for(r=0;r-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={zlevel:0,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,lineStyle:{width:"bolder"}},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"}},t}(o["b"]),u=l,c=n("bYtY"),f=n("3qvL"),d=n("hhxK"),h=n("fWwa"),p=n("x3X8"),g=n("eDfh"),m=n("Dagg"),v=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.updateData(t,n,r,i),o}return Object(r["a"])(t,e),t.prototype._createSymbol=function(e,t,n,r,i){this.removeAll();var o=Object(a["a"])(e,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=y,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Object(h["o"])(this.childAt(0))},t.prototype.downplay=function(){Object(h["z"])(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":t.cursor},t.prototype.updateData=function(e,n,r,i){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",a=e.hostModel,s=t.getSymbolSize(e,n),l=o!==this._symbolType,u=i&&i.disableAnimation;if(l){var c=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,s,c)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(h):f["h"](d,h,a,n),Object(f["g"])(d)}if(this._updateCommon(e,n,s,r,i),l){d=this.childAt(0);if(!u){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,f["c"](d,h,a,n)}}u&&this.childAt(0).stopAnimation("remove"),this._seriesModel=a},t.prototype._updateCommon=function(e,t,n,r,i){var o,s,l,u,f,d,v,y,b=this.childAt(0),_=e.hostModel;if(r&&(o=r.emphasisItemStyle,s=r.blurItemStyle,l=r.selectItemStyle,u=r.focus,f=r.blurScope,d=r.labelStatesModels,v=r.hoverScale,y=r.cursorStyle),!r||e.hasItemOption){var x=r&&r.itemModel?r.itemModel:e.getItemModel(t),w=x.getModel("emphasis");o=w.getModel("itemStyle").getItemStyle(),l=x.getModel(["select","itemStyle"]).getItemStyle(),s=x.getModel(["blur","itemStyle"]).getItemStyle(),u=w.get("focus"),f=w.get("blurScope"),d=Object(g["c"])(x),v=w.getShallow("scale"),y=x.getShallow("cursor")}var k=e.getItemVisual(t,"symbolRotate");b.attr("rotation",(k||0)*Math.PI/180||0);var O=Object(a["b"])(e.getItemVisual(t,"symbolOffset"),n);O&&(b.x=O[0],b.y=O[1]),y&&b.attr("cursor",y);var S=e.getItemVisual(t,"style"),M=S.fill;if(b instanceof m["a"]){var C=b.style;b.useStyle(Object(c["m"])({image:C.image,x:C.x,y:C.y,width:C.width,height:C.height},S))}else b.__isEmptyBrush?b.useStyle(Object(c["m"])({},S)):b.useStyle(S),b.style.decal=null,b.setColor(M,i&&i.symbolInnerColor),b.style.strokeNoScale=!0;var T=e.getItemVisual(t,"liftZ"),j=this._z2;null!=T?null==j&&(this._z2=b.z2,b.z2+=T):null!=j&&(b.z2=j,this._z2=null);var I=i&&i.useNameLabel;function D(t){return I?e.getName(t):Object(p["b"])(e,t)}Object(g["e"])(b,d,{labelFetcher:_,labelDataIndex:t,defaultText:D,inheritColor:M,defaultOpacity:S.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var A=b.ensureState("emphasis");if(A.style=o,b.ensureState("select").style=l,b.ensureState("blur").style=s,v){var E=Math.max(1.1,3/this._sizeY);A.scaleX=this._sizeX*E,A.scaleY=this._sizeY*E}this.setSymbolScale(1),Object(h["m"])(this,u,f)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t){var n=this.childAt(0),r=this._seriesModel,i=Object(d["a"])(this).dataIndex,o=t&&t.animation;if(this.silent=n.silent=!0,t&&t.fadeLabel){var a=n.getTextContent();a&&f["e"](a,{style:{opacity:0}},r,{dataIndex:i,removeOpt:o,cb:function(){n.removeTextContent()}})}else n.removeTextContent();f["e"](n,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:i,cb:e,removeOpt:o})},t.getSymbolSize=function(e,t){return Object(a["c"])(e.getItemVisual(t,"symbolSize"))},t}(s["a"]);function y(e,t){this.parent.drift(e,t)}var b=v;function _(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function x(e){return null==e||Object(c["z"])(e)||(e={isIgnore:e}),e||{}}function w(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),hoverScale:n.get("scale"),labelStatesModels:Object(g["c"])(t),cursorStyle:t.get("cursor")}}var k=function(){function e(e){this.group=new s["a"],this._SymbolCtor=e||b}return e.prototype.updateData=function(e,t){t=x(t);var n=this.group,r=e.hostModel,i=this._data,o=this._SymbolCtor,a=t.disableAnimation,s=w(e),l={disableAnimation:a},u=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||n.removeAll(),e.diff(i).add(function(r){var i=u(r);if(_(e,i,r,t)){var a=new o(e,r,s,l);a.setPosition(i),e.setItemGraphicEl(r,a),n.add(a)}}).update(function(c,d){var h=i.getItemGraphicEl(d),p=u(c);if(_(e,p,c,t)){var g=e.getItemVisual(c,"symbol")||"circle",m=h&&h.getSymbolType&&h.getSymbolType();if(!h||m&&m!==g)n.remove(h),h=new o(e,c,s,l),h.setPosition(p);else{h.updateData(e,c,s,l);var v={x:p[0],y:p[1]};a?h.attr(v):f["h"](h,v,r)}n.add(h),e.setItemGraphicEl(c,h)}else n.remove(h)}).remove(function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut(function(){n.remove(t)})}).execute(),this._getSymbolPoint=u,this._data=e},e.prototype.isPersistent=function(){return!0},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=w(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}n=x(n);for(var i=e.start;i0?n=r[0]:r[1]<0&&(n=r[1]),n}function T(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}var j="undefined"!==typeof Float32Array,I=j?Float32Array:Array;function D(e){return Object(c["s"])(e)?j?new Float32Array(e):e:new I(e)}function A(e,t){var n=[];return t.diff(e).add(function(e){n.push({cmd:"+",idx:e})}).update(function(e,t){n.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){n.push({cmd:"-",idx:e})}).execute(),n}function E(e,t,n,r,i,o,a,s){for(var l=A(e,t),u=[],c=[],f=[],d=[],h=[],p=[],g=[],m=M(i,t,a),v=e.getLayout("points")||[],y=t.getLayout("points")||[],b=0;b=i||g<0)break;if(G(v,y)){if(l){g+=o;continue}break}if(g===n)e[o>0?"moveTo":"lineTo"](v,y),f=v,d=y;else{var b=v-u,_=y-c;if(b*b+_*_<.5){g+=o;continue}if(a>0){var x=g+o,w=t[2*x],k=t[2*x+1],O=m+1;if(l)while(G(w,k)&&O=r||G(w,k))h=v,p=y;else{M=w-u,C=k-c;var I=v-u,D=w-v,A=y-c,E=k-y,P=void 0,L=void 0;"x"===s?(P=Math.abs(I),L=Math.abs(D),h=v-P*a,p=y,T=v+P*a,j=y):"y"===s?(P=Math.abs(A),L=Math.abs(E),h=v,p=y-P*a,T=v,j=y+P*a):(P=Math.sqrt(I*I+A*A),L=Math.sqrt(D*D+E*E),S=L/(L+P),h=v-M*a*(1-S),p=y-C*a*(1-S),T=v+M*a*S,j=y+C*a*S,T=B(T,V(w,v)),j=B(j,V(k,y)),T=V(T,B(w,v)),j=V(j,B(k,y)),M=T-v,C=j-y,h=v-M*P/L,p=y-C*P/L,h=B(h,V(u,v)),p=B(p,V(c,y)),h=V(h,B(u,v)),p=V(p,B(c,y)),M=v-h,C=y-p,T=v+M*L/P,j=y+C*L/P)}e.bezierCurveTo(f,d,h,p,v,y),f=T,d=j}else e.lineTo(v,y)}u=v,c=y,g+=o}return m}var U=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),W=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return Object(r["a"])(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new U},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0;i--)if(!G(n[2*i-2],n[2*i-1]))break;for(;r=0){var y=s?(d-r)*v+r:(f-n)*v+n;return s?[e,y]:[y,e]}n=f,r=d;break;case a.C:f=o[u++],d=o[u++],h=o[u++],p=o[u++],g=o[u++],m=o[u++];var b=s?Object(F["f"])(n,f,h,g,e,l):Object(F["f"])(r,d,p,m,e,l);if(b>0)for(var _=0;_=0){y=s?Object(F["a"])(r,d,p,m,x):Object(F["a"])(n,f,h,g,x);return s?[e,y]:[y,e]}}n=g,r=m;break}}},t}(R["b"]),H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r["a"])(t,e),t}(U),q=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return Object(r["a"])(t,e),t.prototype.getDefaultShape=function(){return new H},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;o>0;o--)if(!G(n[2*o-2],n[2*o-1]))break;for(;it){r&&i.push(a(r,l,t));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}function ae(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if(i=s&&s.coordDim,"x"===i||"y"===i){o=r[a];break}}if(o){var l=t.getAxis(i),u=c["F"](o.stops,function(e){return{coord:l.toGlobalCoord(l.dataToCoord(e.value)),color:e.color}}),f=u.length,d=o.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),d.reverse());var h=oe(u,"x"===i?n.getWidth():n.getHeight()),p=h.length;if(!p&&f)return u[0].coord<0?d[1]?d[1]:u[f-1].color:d[0]?d[0]:u[0].color;var g=0,m=h[0].coord-g,v=h[p-1].coord+g,y=v-m;if(y<.001)return"transparent";c["k"](h,function(e){e.offset=(e.coord-m)/y}),h.push({offset:p?h[p-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:d[0]||"transparent"});var b=new P["a"](0,0,0,0,h,!0);return b[i]=m,b[i+"2"]=v,b}}}function se(e,t,n){var r=e.get("showAllSymbol"),i="auto"===r;if(!r||i){var o=n.getAxesByScale("ordinal")[0];if(o&&(!i||!le(o,t))){var a=t.mapDimension(o.dim),s={};return c["k"](o.getViewLabels(),function(e){var t=o.scale.getRawOrdinalNumber(e.tickValue);s[t]=1}),function(e){return!s.hasOwnProperty(t.get(a,e))}}}}function le(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;ar)return!1;return!0}function ue(e,t){return isNaN(e)||isNaN(t)}function ce(e){for(var t=e.length/2;t>0;t--)if(!ue(e[2*t-2],e[2*t-1]))break;return t-1}function fe(e,t){return[e[2*t],e[2*t+1]]}function de(e,t,n){for(var r,i,o=e.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=t||r>=t&&i<=t){l=u;break}s=u,r=i}else r=i;return{range:[s,l],t:(t-r)/(i-r)}}function he(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t0&&"bolder"===e.get(["emphasis","lineStyle","width"])){var N=v.getState("emphasis").style;N.lineWidth=+v.style.lineWidth+1}Object(d["a"])(v).seriesIndex=e.seriesIndex,Object(h["m"])(v,P,L);var R=ne(e.get("smooth")),z=e.get("smoothMonotone"),F=e.get("connectNulls");if(v.setShape({smooth:R,smoothMonotone:z,connectNulls:F}),y){var B=a.getCalculationInfo("stackedOnSeries"),V=0;y.useStyle(c["j"](l.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),B&&(V=ne(B.get("smooth"))),y.setShape({smooth:R,stackedOnSmooth:V,smoothMonotone:z,connectNulls:F}),Object(h["D"])(y,e,"areaStyle"),Object(d["a"])(y).seriesIndex=e.seriesIndex,Object(h["m"])(y,P,L)}var G=function(e){r._changePolyState(e)};a.eachItemGraphicEl(function(e){e&&(e.onHoverStateChange=G)}),this._polyline.onHoverStateChange=G,this._data=a,this._coordSys=i,this._stackedOnPoints=O,this._points=u,this._step=I,this._valueOrigin=w},t.prototype.dispose=function(){},t.prototype.highlight=function(e,t,n,r){var i=e.getData(),o=N["s"](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],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=e.get("zlevel"),f=e.get("z");s=new b(i,o),s.x=l,s.y=u,s.setZ(c,f);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=f,d.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Z["a"].prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var i=e.getData(),o=N["s"](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 Z["a"].prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;Object(h["C"])(this._polyline,e),t&&Object(h["C"])(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new W({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new q({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,i,o=t.getBaseAxis(),a=o.inverse;"cartesian2d"===t.type?(r=o.isHorizontal(),i=!1):"polar"===t.type&&(r="angle"===o.dim,i=!0);var s=e.hostModel,l=s.get("animationDuration");"function"===typeof l&&(l=l(null));var u=s.get("animationDelay")||0,c="function"===typeof u?u(null):u;e.eachItemGraphicEl(function(e,o){var s=e;if(s){var f=[e.x,e.y],d=void 0,h=void 0,p=void 0;if(n)if(i){var g=n,m=t.pointToCoord(f);r?(d=g.startAngle,h=g.endAngle,p=-m[1]/180*Math.PI):(d=g.r0,h=g.r,p=m[0])}else{var v=n;r?(d=v.x,h=v.x+v.width,p=e.x):(d=v.y+v.height,h=v.y,p=e.y)}var y=h===d?0:(p-d)/(h-d);a&&(y=1-y);var b="function"===typeof u?u(o):l*y+c,_=s.getSymbolPath(),x=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),x&&x.animateFrom({style:{opacity:0}},{duration:300,delay:b}),_.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel("endLabel");if(he(e)){var i=e.getData(),o=this._polyline,a=this._endLabel;a||(a=this._endLabel=new L["a"]({z2:200}),a.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var s=ce(i.getLayout("points"));s>=0&&(Object(g["e"])(o,Object(g["c"])(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:s,defaultText:function(e,t,n){return null!=n?Object(p["a"])(i,n):Object(p["b"])(i,e)},enableTextSetter:!0},ge(r,t)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,f=c.get("connectNulls"),d=o.get("precision"),h=o.get("distance")||0,p=a.getBaseAxis(),m=p.isHorizontal(),v=p.inverse,y=t.shape,b=v?m?y.x:y.y+y.height:m?y.x+y.width:y.y,_=(m?h:0)*(v?-1:1),x=(m?0:-h)*(v?-1:1),w=m?"x":"y",k=de(u,b,w),O=k.range,S=O[1]-O[0],M=void 0;if(S>=1){if(S>1&&!f){var C=fe(u,O[0]);s.attr({x:C[0]+_,y:C[1]+x}),i&&(M=c.getRawValue(O[0]))}else{C=l.getPointOn(b,w);C&&s.attr({x:C[0]+_,y:C[1]+x});var T=c.getRawValue(O[0]),j=c.getRawValue(O[1]);i&&(M=N["i"](n,d,T,j,k.t))}r.lastFrameIndex=O[0]}else{var I=1===e||r.lastFrameIndex>0?O[0]:0;C=fe(u,I);i&&(M=c.getRawValue(I)),s.attr({x:C[0]+_,y:C[1]+x})}i&&Object(g["d"])(s).setLabelText(M)}},t.prototype._doUpdateAnimation=function(e,t,n,r,i,o){var a=this._polyline,s=this._polygon,l=e.hostModel,u=E(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,o),c=u.current,d=u.stackedOnCurrent,h=u.next,p=u.stackedOnNext;if(i&&(c=ie(u.current,n,i),d=ie(u.stackedOnCurrent,n,i),h=ie(u.next,n,i),p=ie(u.stackedOnNext,n,i)),te(c,h)>3e3||s&&te(d,p)>3e3)return a.stopAnimation(),a.setShape({points:h}),void(s&&(s.stopAnimation(),s.setShape({points:h,stackedOnPoints:p})));a.shape.__points=u.current,a.shape.points=c;var g={shape:{points:h}};u.current!==c&&(g.shape.__points=u.next),a.stopAnimation(),f["h"](a,g,l),s&&(s.setShape({points:c,stackedOnPoints:d}),s.stopAnimation(),f["h"](s,{shape:{stackedOnPoints:p}},l),a.shape.points!==s.shape.points&&(s.shape.points=a.shape.points));for(var m=[],v=u.status,y=0;y0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function s(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return"string"===typeof e?o(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function l(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),i),e=(+e).toFixed(t),n?e:+e}function u(e){return e.sort(function(e,t){return e-t}),e}function c(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return f(e)}function f(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function d(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function h(e,t){var n=Math.max(c(e),c(t)),r=e+t;return n>i?r:l(r,n)}function p(e){var t=2*Math.PI;return(e%t+t)%t}function g(e){return e>-r&&e=10&&t++,t}function _(e,t){var n,r=b(e),i=Math.pow(10,r),o=e/i;return n=t?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,e=n*i,r>=-20?+e.toFixed(r<0?-r:0):e}function x(e){var t=parseFloat(e);return t==e&&(0!==t||"string"!==typeof e||e.indexOf("x")<=0)?t:NaN}function w(e){return!isNaN(x(e))}function k(){return Math.round(9*Math.random())}function O(e,t){return 0===t?e:O(t,e%t)}function S(e,t){return null==e?t:null==t?e:e*t/O(e,t)}},OKJ2:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return l});var r=n("bYtY"),i=n("KxfA"),o=n("7aKB"),a=/\{@(.+?)\}/g,s=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,f="series"===c,d=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:f?this.subType:null,seriesIndex:this.seriesIndex,seriesId:f?this.id:null,seriesName:f?this.name:null,name:o,dataIndex:i,data:a,dataType:t,value:r,color:l,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,s,l,u){t=t||"normal";var c=this.getData(n),f=this.getDataParams(e,n);if(u&&(f.value=u.interpolatedValue),null!=s&&r["s"](f.value)&&(f.value=f.value[s]),!l){var d=c.getItemModel(e);l=d.get("normal"===t?["label","formatter"]:[t,"label","formatter"])}if("function"===typeof l)return f.status=t,f.dimensionIndex=s,l(f);if("string"===typeof l){var h=Object(o["d"])(l,f);return h.replace(a,function(t,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=Object(i["e"])(c,e,a);if(u&&r["s"](u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""})}},e.prototype.getRawValue=function(e,t){return Object(i["e"])(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function l(e){var t,n;return r["z"](e)?e.type&&(n=e):t=e,{markupText:t,markupFragment:n}}},OQFs:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var r=n("KCsZ"),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 e(){}return e.prototype.getLineStyle=function(e){return o(this,e)},e}()},Q1l4:function(e,t){function n(e,t){var n=-1,r=e.length;t||(t=Array(r));while(++nt)return e[r];return e[n-1]}function s(e,t,n,r,i,o,s){o=o||e;var l=t(o),u=l.paletteIdx||0,c=l.paletteNameMap=l.paletteNameMap||{};if(c.hasOwnProperty(i))return c[i];var f=null!=s&&r?a(r,s):n;if(f=f||n,f&&f.length){var d=f[u];return i&&(c[i]=d),l.paletteIdx=(u+1)%f.length,d}}function l(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}},QIyF:function(e,t,n){var r=n("Kz5y"),i=function(){return r.Date.now()};e.exports=i},QcOe:function(e,t,n){var r=n("GoyQ"),i=n("6sVZ"),o=n("7Ix3"),a=Object.prototype,s=a.hasOwnProperty;function l(e){if(!r(e))return o(e);var t=i(e),n=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&n.push(a);return n}e.exports=l},QjYF:function(e,t,n){"use strict";var r=n("AGgm").isSpace;e.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;while(o3)&&!(e.sCount[l]<0)){for(r=!1,i=0,o=u.length;i40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),d=0,h=0;l<=o[1];l+=s){var p=0,g=0,m=L["e"](n({value:l}),t.font,"center","top");p=1.3*m.width,g=1.3*m.height,d=Math.max(d,p,7),h=Math.max(h,g,7)}var v=d/c,y=h/f;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(v,y))),_=N(e.model),x=e.getExtent(),w=_.lastAutoInterval,k=_.lastTickCount;return null!=w&&null!=k&&Math.abs(w-b)<=1&&Math.abs(k-a)<=1&&w>b&&_.axisExtent0===x[0]&&_.axisExtent1===x[1]?b=w:(_.lastTickCount=a,_.lastAutoInterval=b,_.axisExtent0=x[0],_.axisExtent1=x[1]),b}function Z(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function K(e,t,n){var r=Object(O["g"])(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=Object(O["i"])(e),d=a.get("showMinLabel")||f,h=a.get("showMaxLabel")||f;d&&u!==o[0]&&g(o[0]);for(var p=u;p<=o[1];p+=l)g(p);function g(e){var t={value:e};s.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return h&&p-l!==o[1]&&g(o[1]),s}function X(e,t,n){var r=e.scale,i=Object(O["g"])(e),o=[];return u["k"](r.getTicks(),function(e){var a=r.getLabel(e),s=e.value;t(e.value,a)&&o.push(n?s:{formattedLabel:i(e),rawLabel:a,tickValue:s})}),o}var Q=[0,1],$=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return Object(P["d"])(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&(n=n.slice(),J(n,r.count())),Object(P["i"])(e,Q,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),J(n,r.count()));var i=Object(P["i"])(e,n,Q,t);return this.scale.scale(i)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=z(this,t),r=n.ticks,i=Object(u["F"])(r,function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}},this),o=t.get("alignWithLabel");return ee(this,i,o,e.clamp),i},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var n=this.scale.getMinorTicks(t),r=Object(u["F"])(n,function(e){return Object(u["F"])(e,function(e){return{coord:this.dataToCoord(e),tickValue:e}},this)},this);return r},e.prototype.getViewLabels=function(){return R(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return q(this)},e}();function J(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function ee(e,t,n,r){var i=t.length;if(e.onBand&&!n&&i){var o,a,s=e.getExtent();if(1===i)t[0].coord=s[0],o=t[1]={coord:s[0]};else{var l=t[i-1].tickValue-t[0].tickValue,c=(t[i-1].coord-t[0].coord)/l;Object(u["k"])(t,function(e){e.coord-=c/2});var f=e.scale.getExtent();a=1+f[1]-t[i-1].tickValue,o={coord:t[i-1].coord+c*a},t.push(o)}var d=s[0]>s[1];h(t[0].coord,s[0])&&(r?t[0].coord=s[0]:t.shift()),r&&h(s[0],t[0].coord)&&t.unshift({coord:s[0]}),h(s[1],o.coord)&&(r?o.coord=s[1]:t.pop()),r&&h(o.coord,s[1])&&t.push({coord:s[1]})}function h(e,t){return e=Object(P["p"])(e),t=Object(P["p"])(t),d?e>t:et[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(te),re=ne,ie=n("AVZG"),oe=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=I,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;this._updateScale(e,this.model),Object(u["k"])(n.x,function(e){Object(O["h"])(e.scale,e.model)}),Object(u["k"])(n.y,function(e){Object(O["h"])(e.scale,e.model)});var r={};Object(u["k"])(n.x,function(e){se(n,"y",e,r)}),Object(u["k"])(n.y,function(e){se(n,"x",e,r)}),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),i=!n&&e.get("containLabel"),o=Object(b["d"])(r,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var a=this._axesList;function s(){Object(u["k"])(a,function(e){var t=e.isHorizontal(),n=t?[0,o.width]:[0,o.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),ue(e,t?o.x:o.y)})}s(),i&&(Object(u["k"])(a,function(e){if(!e.model.get(["axisLabel","inside"])){var t=Object(O["b"])(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get(["axisLabel","margin"]);o[n]-=t[n]+r,"top"===e.position?o.y+=t.height+r:"left"===e.position&&(o.x+=t.width+r)}}}),s()),Object(u["k"])(this._coordsList,function(e){e.calcAffineTransform()})},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}Object(u["z"])(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r=a)return-1;if(n=e.src.charCodeAt(o++),n<48||n>57)return-1;for(;;){if(o>=a)return-1;if(n=e.src.charCodeAt(o++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(L=!0),(j=o(e,t))>=0){if(h=!0,D=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(D,j-D-1)),L&&1!==b)return!1}else{if(!((j=i(e,t))>=0))return!1;h=!1}if(L&&e.skipSpaces(j)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(j-1),r)return!0;v=e.tokens.length,h?(P=e.push("ordered_list_open","ol",1),1!==b&&(P.attrs=[["start",b]])):P=e.push("bullet_list_open","ul",1),P.map=m=[t,0],P.markup=String.fromCharCode(y),x=t,I=!1,E=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";while(x=_?1:w-d,f>4&&(f=1),c=d+f,P=e.push("list_item_open","li",1),P.markup=String.fromCharCode(y),P.map=p=[t,0],C=e.tight,M=e.tShift[t],S=e.sCount[t],k=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=w,l>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!I||(N=!1),I=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=k,e.tShift[t]=M,e.sCount[t]=S,e.tight=C,P=e.push("list_item_close","li",-1),P.markup=String.fromCharCode(y),x=t=e.line,p[1]=x,l=e.bMarks[t],x>=n)break;if(e.sCount[x]=4)break;for(A=!1,u=0,g=E.length;u9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,r=this._getUpstreamSourceManagers(),o=!!r.length;if(_(n)){var a=n,s=void 0,l=void 0,u=void 0;if(o){var c=r[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,t=[c._getVersionSign()]}else s=a.get("data",!0),l=Object(i["C"])(s)?p["g"]:p["f"],t=[];var f=this._getSourceMetaRawOption()||{},d=u&&u.metaRawOption||{},g=Object(i["M"])(f.seriesLayoutBy,d.seriesLayoutBy)||null,m=Object(i["M"])(f.sourceHeader,d.sourceHeader)||null,v=Object(i["M"])(f.dimensions,d.dimensions),y=g!==d.seriesLayoutBy||!!m!==!!d.sourceHeader||v;e=y?[Object(h["b"])(s,{seriesLayoutBy:g,sourceHeader:m,dimensions:v},l)]:[]}else{var b=n;if(o){var x=this._applyTransform(r);e=x.sourceList,t=x.upstreamSignList}else{var w=b.get("source",!0);e=[Object(h["b"])(w,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,r=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(null!=o){var a="";1!==e.length&&x(a)}var s=[],l=[];return Object(i["k"])(e,function(e){e.prepareSource();var t=e.getSource(o||0),n="";null==o||t||x(n),s.push(t),l.push(e._getVersionSign())}),r?t=Object(m["a"])(r,s,{datasetIndex:n.componentIndex}):null!=o&&(t=[Object(h["a"])(s[0])]),{sourceList:t,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t1||p&&!d){var m=O(h,s,l,f,g);t=m.inlineValues,n=m.inlineValueTypes,r=m.blocks,o=m.inlineValues[0]}else if(d){var v=c.getDimensionInfo(f[0]);o=t=Object(y["e"])(c,l,f[0]),n=v.type}else o=t=p?h[0]:h;var b=Object(a["l"])(s),_=b&&s.name||"",x=c.getName(l),k=u?_:x;return Object(w["c"])("section",{header:_,noHeader:u||!b,sortParam:o,blocks:[Object(w["c"])("nameValue",{markerType:"item",markerColor:g,name:k,noName:!Object(i["Q"])(k),value:t,valueType:n})].concat(r||[])})}function O(e,t,n,r,o){var a=t.getData(),s=Object(i["K"])(e,function(e,t,n){var r=a.getDimensionInfo(n);return e||r&&!1!==r.tooltip&&null!=r.displayName},!1),l=[],u=[],c=[];function f(e,t){var n=a.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(s?c.push(Object(w["c"])("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:e,valueType:n.type})):(l.push(e),u.push(n.type)))}return r.length?Object(i["k"])(r,function(e){f(Object(y["e"])(a,n,e),e)}):Object(i["k"])(e,f),{inlineValues:l,inlineValueTypes:u,blocks:c}}n.d(t,"a",function(){return C});var S=a["m"]();function M(e,t){return e.getName(t)||e.getId(t)}var C="__universalTransitionEnabled",T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return Object(r["a"])(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=Object(f["a"])({count:D,reset:A}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n);var r=S(this).sourceManager=new b(this);r.prepareSource();var i=this.getInitialData(e,n);P(i,this),this.dataTask.context.data=i,S(this).dataBeforeProcessed=i,j(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Object(c["b"])(this),r=n?Object(c["c"])(e):{},o=this.subType;s["a"].hasClass(o)&&(o+="Series"),i["G"](e,t.getTheme().get(this.subType)),i["G"](e,this.getDefaultOption()),a["e"](e,"label",["show"]),this.fillDataTextStyle(e.data),n&&Object(c["e"])(e,r,n)},t.prototype.mergeOption=function(e,t){e=i["G"](this.option,e,!0),this.fillDataTextStyle(e.data);var n=Object(c["b"])(this);n&&Object(c["e"])(this.option,e,n);var r=S(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(e,t);P(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,S(this).dataBeforeProcessed=o,j(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!i["C"](e))for(var t=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=l["a"].prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n)for(var r=this.getData(t),i=0;i=0&&n.push(o)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t),i=M(r,e);return n[i]||!1},t.prototype.isUniversalTransitionEnabled=function(){if(this[C])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,i=this.option.selectedMode,o=t.length;if(i&&o)if("multiple"===i)for(var a=this.option.selectedMap||(this.option.selectedMap={}),s=0;s0&&this._innerSelect(e,t)}},t.registerClass=function(e){return s["a"].registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(s["a"]);function j(e){var t=e.name;a["l"](e)||(e.name=I(e)||t)}function I(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return i["k"](n,function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)}),r.join(" ")}function D(e){return e.model.getRawData().count()}function A(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),E}function E(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function P(e,t){i["k"](i["e"](e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,i["i"](L,t))})}function L(e,t){var n=N(e);return n&&n.setOutputEnd((t||this).count()),t}function N(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}i["H"](T,u["a"]),i["H"](T,l["a"]),Object(d["e"])(T,s["a"]);t["b"]=T},TCYN:function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=e.src.replace(r,"\n"),t=t.replace(i,"\ufffd"),e.src=t}},TLR5:function(e,t,n){"use strict";var r=n("SINd"),i=[["text",n("usqY")],["newline",n("QjYF")],["escape",n("bgCn")],["backticks",n("SpRm")],["strikethrough",n("kiyR").tokenize],["emphasis",n("yKnv").tokenize],["link",n("zQ/W")],["image",n("ky0j")],["autolink",n("KOyK")],["html_inline",n("wtjL")],["entity",n("W1Rp")]],o=[["balance_pairs",n("g40J")],["strikethrough",n("kiyR").postProcess],["emphasis",n("yKnv").postProcess],["text_collapse",n("IIUr")]];function a(){var e;for(this.ruler=new r,e=0;e=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),o=this.ruler2.getRules(""),a=o.length,i=0;ie&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Object(f["d"])(c.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}),t}(c),h=d,p=n("y+Vt"),g=n("LcXL"),m=n("3qvL"),v=n("x6Kt"),y=n("SqI9"),b=n("hhxK"),_=n("fWwa"),x=n("eDfh"),w=n("iLNv"),k=n("sK/D"),O=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return e}(),S=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return Object(a["a"])(t,e),t.prototype.getDefaultShape=function(){return new O},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,f=Math.cos(l),d=Math.sin(l),h=Math.cos(u),p=Math.sin(u),g=c?u-l<2*Math.PI:l-u<2*Math.PI;g&&(e.moveTo(f*i+n,d*i+r),e.arc(f*s+n,d*s+r,a,-Math.PI+l,l,!c)),e.arc(n,r,o,l,u,!c),e.moveTo(h*o+n,p*o+r),e.arc(h*s+n,p*s+r,a,u-2*Math.PI,u-Math.PI,!c),0!==i&&(e.arc(n,r,i,u,l,c),e.moveTo(f*i+n,p*i+r)),e.closePath()},t}(p["b"]),M=S,C=n("6Ic6"),T=n("VCb+"),j=n("x3X8"),I=n("6GrX");function D(e,t){t=t||{};var n=t.isRoundCap;return function(t,r,i){var o=r.position;if(!o||o instanceof Array)return Object(I["d"])(t,r,i);var a=e(o),s=null!=r.distance?r.distance:5,l=this.shape,u=l.cx,c=l.cy,f=l.r,d=l.r0,h=(f+d)/2,p=l.startAngle,g=l.endAngle,m=(p+g)/2,v=n?Math.abs(f-d)/2:0,y=Math.cos,b=Math.sin,_=u+f*y(p),x=c+f*b(p),w="left",k="top";switch(a){case"startArc":_=u+(d-s)*y(m),x=c+(d-s)*b(m),w="center",k="top";break;case"insideStartArc":_=u+(d+s)*y(m),x=c+(d+s)*b(m),w="center",k="bottom";break;case"startAngle":_=u+h*y(p)+E(p,s+v,!1),x=c+h*b(p)+P(p,s+v,!1),w="right",k="middle";break;case"insideStartAngle":_=u+h*y(p)+E(p,-s+v,!1),x=c+h*b(p)+P(p,-s+v,!1),w="left",k="middle";break;case"middle":_=u+h*y(m),x=c+h*b(m),w="center",k="middle";break;case"endArc":_=u+(f+s)*y(m),x=c+(f+s)*b(m),w="center",k="bottom";break;case"insideEndArc":_=u+(f-s)*y(m),x=c+(f-s)*b(m),w="center",k="top";break;case"endAngle":_=u+h*y(g)+E(g,s+v,!0),x=c+h*b(g)+P(g,s+v,!0),w="left",k="middle";break;case"insideEndAngle":_=u+h*y(g)+E(g,-s+v,!0),x=c+h*b(g)+P(g,-s+v,!0),w="right",k="middle";break;default:return Object(I["d"])(t,r,i)}return t=t||{},t.x=_,t.y=x,t.align=w,t.verticalAlign=k,t}}function A(e,t,n,i){if("number"!==typeof i)if(Object(r["s"])(t))e.setTextConfig({rotation:0});else{var o,a=e.shape,s=a.clockwise?a.startAngle:a.endAngle,l=a.clockwise?a.endAngle:a.startAngle,u=(s+l)/2,c=n(t);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":o=u;break;case"startAngle":case"insideStartAngle":o=s;break;case"endAngle":case"insideEndAngle":o=l;break;default:return void e.setTextConfig({rotation:0})}var f=1.5*Math.PI-o;"middle"===c&&f>Math.PI/2&&f<1.5*Math.PI&&(f-=Math.PI),e.setTextConfig({rotation:f})}else e.setTextConfig({rotation:i})}function E(e,t,n){return t*Math.sin(e)*(n?-1:1)}function P(e,t,n){return t*Math.cos(e)*(n?1:-1)}var L=[0,0],N=Math.max,R=Math.min;function z(e,t){var n=e.getArea&&e.getArea();if(Object(T["a"])(e,"cartesian2d")){var r=e.getBaseAxis();if("category"!==r.type||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}var F=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return Object(a["a"])(t,e),t.prototype.render=function(e,t,n,r){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var i=e.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,r))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._incrementalRenderLarge(e,t)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,n,r){var i,o=this.group,a=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,f=G(e,l);f&&this._enableRealtimeSort(f,a,n);var d=e.get("clip",!0)||f,h=z(l,a);o.removeClipPath();var p=e.get("roundCap",!0),v=e.get("showBackground",!0),y=e.getModel("backgroundStyle"),b=y.get("borderRadius")||0,_=[],x=this._backgroundEls,w=r&&r.isInitSort,k=r&&"changeAxisOrder"===r.type;function O(e){var t=Z[l.type](a,e),n=se(l,i,t);return n.useStyle(y.getItemStyle()),"cartesian2d"===l.type&&n.setShape("r",b),_[e]=n,n}a.diff(s).add(function(t){var n=a.getItemModel(t),r=Z[l.type](a,t,n);if(v&&O(t),a.hasValue(t)&&q[l.type](r)){var s=!1;d&&(s=B[l.type](h,r));var g=V[l.type](e,a,t,r,i,c,u.model,!1,p);Q(g,a,t,n,r,e,i,"polar"===l.type),w?g.attr({shape:r}):f?Y(f,c,g,r,t,i,!1,!1):Object(m["c"])(g,{shape:r},e,t),a.setItemGraphicEl(t,g),o.add(g),g.ignore=s}}).update(function(t,n){var r=a.getItemModel(t),g=Z[l.type](a,t,r);if(v){var S=void 0;0===x.length?S=O(n):(S=x[n],S.useStyle(y.getItemStyle()),"cartesian2d"===l.type&&S.setShape("r",b),_[t]=S);var M=Z[l.type](a,t),C=ae(i,M,l);Object(m["h"])(S,{shape:C},c,t)}var T=s.getItemGraphicEl(n);if(a.hasValue(t)&&q[l.type](g)){var j=!1;d&&(j=B[l.type](h,g),j&&o.remove(T)),T?Object(m["g"])(T):T=V[l.type](e,a,t,g,i,c,u.model,!!T,p),k||Q(T,a,t,r,g,e,i,"polar"===l.type),w?T.attr({shape:g}):f?Y(f,c,T,g,t,i,!0,k):Object(m["h"])(T,{shape:g},e,t,null),a.setItemGraphicEl(t,T),T.ignore=j,o.add(T)}else o.remove(T)}).remove(function(t){var n=s.getItemGraphicEl(t);n&&Object(m["f"])(n,e,t)}).execute();var S=this._backgroundGroup||(this._backgroundGroup=new g["a"]);S.removeAll();for(var M=0;M<_.length;++M)S.add(_[M]);o.add(S),this._backgroundEls=_,this._data=a},t.prototype._renderLarge=function(e,t,n){this._clear(),te(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),te(t,this.group,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)?Object(k["a"])(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,n){var r=this;if(t.count()){var i=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,n),this._isFirstFrame=!1;else{var o=function(e){var n=t.getItemGraphicEl(e);if(n){var r=n.shape;return(i.isHorizontal()?Math.abs(r.height):Math.abs(r.width))||0}return 0};this._onRendered=function(){r._updateSortWithinSameData(t,o,i,n)},n.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,n){var i=[];return e.each(e.mapDimension(t.dim),function(e,t){var r=n(t);r=null==r?NaN:r,i.push({dataIndex:t,mappedValue:r,ordinalNumber:e})}),i.sort(function(e,t){return t.mappedValue-e.mappedValue}),{ordinalNumbers:Object(r["F"])(i,function(e){return e.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var r=n.scale,i=e.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=r.getOrdinalMeta().categories.length;ao)return!0;o=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(e.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,r){if(this._isOrderChangedWithinSameData(e,t,n)){var i=this._dataSort(e,n,t);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},t.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,i=this._dataSort(e,r,function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(t){Object(m["f"])(t,e,Object(b["a"])(t).dataIndex)})):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(C["a"]),B={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=N(t.x,e.x),s=R(t.x+t.width,i),l=N(t.y,e.y),u=R(t.y+t.height,o),c=si?s:a,t.y=f&&l>o?u:l,t.width=c?0:s-a,t.height=f?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=R(t.r,e.r),o=N(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){r=t.r;t.r=t.r0,t.r0=r}return a}},V={cartesian2d:function(e,t,n,i,o,a,s,l,u){var c=new v["a"]({shape:Object(r["m"])({},i),z2:1});if(c.__dataIndex=n,c.name="item",a){var f=c.shape,d=o?"height":"width";f[d]=0}return c},polar:function(e,t,n,r,i,o,a,s,l){var u=!i&&l?M:y["a"],c=new u({shape:r,z2:1});c.name="item";var f=X(i);if(c.calculateTextPosition=D(f,{isRoundCap:u===M}),o){var d=c.shape,h=i?"r":"endAngle",p={};d[h]=i?0:r.startAngle,p[h]=r[h],(s?m["h"]:m["c"])(c,{shape:p},o)}return c}};function G(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&"category"===r.type&&"cartesian2d"===t.type)return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function Y(e,t,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?m["h"]:m["c"])(n,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(a?m["h"]:m["c"])(n,{shape:u},c,i)}function U(e,t){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(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function K(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function X(e){return function(e){var t=e?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}(e)}function Q(e,t,n,i,o,a,s,l){var u=t.getItemVisual(n,"style");l||e.setShape("r",i.get(["itemStyle","borderRadius"])||0),e.useStyle(u);var c=i.getShallow("cursor");c&&e.attr("cursor",c);var f=l?s?o.r>=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":s?o.height>=0?"bottom":"top":o.width>=0?"right":"left",d=Object(x["c"])(i);Object(x["e"])(e,d,{labelFetcher:a,labelDataIndex:n,defaultText:Object(j["b"])(a.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:f});var h=e.getTextContent();if(l&&h){var p=i.get(["label","position"]);e.textConfig.inside="middle"===p||null,A(e,"outside"===p?f:p,X(s),i.get(["label","rotate"]))}Object(x["f"])(h,d,a.getRawValue(n),function(e){return Object(j["a"])(t,e)});var g=i.getModel(["emphasis"]);Object(_["m"])(e,g.get("focus"),g.get("blurScope")),Object(_["D"])(e,i),K(o)&&(e.style.fill="none",e.style.stroke="none",Object(r["k"])(e.states,function(e){e.style&&(e.style.fill=e.style.stroke="none")}))}function $(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var J=function(){function e(){}return e}(),ee=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return Object(a["a"])(t,e),t.prototype.getDefaultShape=function(){return new J},t.prototype.buildPath=function(e,t){for(var n=t.points,r=this.__startPoint,i=this.__baseDimIdx,o=0;o=0?n:null},30,!1);function re(e,t,n){var r=e.__baseDimIdx,i=1-r,o=e.shape.points,a=e.__largeDataIndices,s=Math.abs(e.__barWidth/2),l=e.__startPoint[i];L[0]=t,L[1]=n;for(var u=L[r],c=L[1-r],f=u-s,d=u+s,h=0,p=o.length/2;h=f&&m<=d&&(l<=v?c>=l&&c<=v:c>=v&&c<=l))return a[h]}return-1}function ie(e,t,n){var i=n.getVisual("style");e.useStyle(Object(r["m"])({},i)),e.style.fill=null,e.style.stroke=i.fill,e.style.lineWidth=n.getLayout("barWidth")}function oe(e,t,n){var r=t.get("borderColor")||t.get("color"),i=t.getItemStyle();e.useStyle(i),e.style.fill=null,e.style.stroke=r,e.style.lineWidth=n.getLayout("barWidth")}function ae(e,t,n){if(Object(T["a"])(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}i=n.getArea();var o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:2*Math.PI}}function se(e,t,n){var r="polar"===e.type?y["a"]:v["a"];return new r({shape:ae(t,n,e),silent:!0,z2:0})}var le=F;function ue(e){e.registerChartView(le),e.registerSeriesModel(h),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,r["i"](i["b"],"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,i["a"]),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Object(o["a"])("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)})})}n.d(t,"a",function(){return ue})},TO8r:function(e,t){var n=/\s/;function r(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}e.exports=r},"U4/e":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("bYtY"),i=n("6GrX"),o=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]l&&(s=NaN,l=NaN);var f=Object(r["l"])(s)||Object(r["l"])(l)||e&&!i;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var d=this._determinedMin,h=this._determinedMax;return null!=d&&(s=d,u=!0),null!=h&&(l=h,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(e,t){this[s[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){var n=a[e];this[n]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(e,t,n){var r=e.rawExtentInfo;return r||(r=new o(e,t,n),e.rawExtentInfo=r,r)}function u(e,t){return null==t?null:Object(r["l"])(t)?NaN:e.parse(t)}},"UNi/":function(e,t){function n(e,t){var n=-1,r=Array(e);while(++n`\\x00-\\x20]+",o="'[^']*'",a='"[^"]*"',s="(?:"+i+"|"+o+"|"+a+")",l="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",u="<[A-Za-z][A-Za-z0-9\\-]*"+l+"*\\s*\\/?>",c="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",f="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",d="<[?][\\s\\S]*?[?]>",h="]*>",p="",g=new RegExp("^(?:"+u+"|"+c+"|"+f+"|"+d+"|"+h+"|"+p+")"),m=new RegExp("^(?:"+u+"|"+c+")");e.exports.HTML_TAG_RE=g,e.exports.HTML_OPEN_CLOSE_TAG_RE=m},W1Rp:function(e,t,n){"use strict";var r=n("vWgF"),i=n("AGgm").has,o=n("AGgm").isValidEntityCode,a=n("AGgm").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,u,c,f=e.pos,d=e.posMax;if(38!==e.src.charCodeAt(f))return!1;if(f+1|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(l=e.src.slice(u,c),i=0;it[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();o["c"](a);var s=a,l=n("jkPA"),u=n("OELB"),c=u["p"];function f(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=u["j"](o/t,!0);null!=n&&ar&&(a=i.interval=r);var s=i.intervalPrecision=d(a),l=i.niceTickExtent=[c(Math.ceil(e[0]/a)*a,s),c(Math.floor(e[1]/a)*a,s)];return p(l,e),i}function d(e){return u["e"](e)+2}function h(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function p(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),h(e,0,t),h(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function g(e,t){return e>=t[0]&&e<=t[1]}function m(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function v(e,t){return e*(t[1]-t[0])+t[0]}var y=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new l["a"]({})),Object(r["s"])(i)&&(i=new l["a"]({categories:Object(r["F"])(i,function(e){return Object(r["z"])(e)?e.value:e})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return Object(i["a"])(t,e),t.prototype.parse=function(e){return"string"===typeof e?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),g(e,this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),m(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(v(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){var e=[],t=this._extent,n=t[0];while(n<=t[1])e.push({value:n}),n++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,t.length);i=0&&e=0&&e=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.niceTicks=function(){},t.prototype.niceExtent=function(){},t.type="ordinal",t}(s);s.registerClass(y);var b=y,_=n("7aKB"),x=u["p"],w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return Object(i["a"])(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return g(e,this._extent)},t.prototype.normalize=function(e){return m(e,this._extent)},t.prototype.scale=function(e){return v(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=d(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;var a=1e4;n[0]a)return[]}var l=o.length?o[o.length-1].value:r[1];return n[1]>l&&(e?o.push({value:x(l+t,i)}):o.push({value:n[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;ir[0]&&f>>1;e[i][1]n&&(this._approxInterval=n);var o=j.length,a=Math.min(C(j,this._approxInterval,0,o),o-1);this._interval=j[a][1],this._minLevelUnit=j[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return"number"===typeof e?e:+u["l"](e)},t.prototype.contain=function(e){return g(this.parse(e),this._extent)},t.prototype.normalize=function(e){return m(this.parse(e),this._extent)},t.prototype.scale=function(e){return v(e,this._extent)},t.type="time",t}(k),j=[["second",M["d"]],["minute",M["c"]],["hour",M["b"]],["quarter-day",6*M["b"]],["half-day",12*M["b"]],["day",1.2*M["a"]],["half-week",3.5*M["a"]],["week",7*M["a"]],["month",31*M["a"]],["quarter",95*M["a"]],["half-year",M["e"]/2],["year",M["e"]]];function I(e,t,n,r){var i=u["l"](t),o=u["l"](n),a=function(e){return Object(M["n"])(i,e,r)===Object(M["n"])(o,e,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},c=function(){return l()&&a("day")},f=function(){return c()&&a("hour")},d=function(){return f()&&a("minute")},h=function(){return d()&&a("second")},p=function(){return h()&&a("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return c();case"hour":return f();case"minute":return d();case"second":return h();case"millisecond":return p()}}function D(e,t){return e/=M["a"],e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function A(e){var t=30*M["a"];return e/=t,e>6?6:e>3?3:e>2?2:1}function E(e){return e/=M["b"],e>12?12:e>6?6:e>3.5?4:e>2?2:1}function P(e,t){return e/=t?M["c"]:M["d"],e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function L(e){return u["j"](e,!0)}function N(e,t,n){var r=new Date(e);switch(Object(M["m"])(t)){case"year":case"month":r[Object(M["x"])(n)](0);case"day":r[Object(M["g"])(n)](1);case"hour":r[Object(M["p"])(n)](0);case"minute":r[Object(M["v"])(n)](0);case"second":r[Object(M["A"])(n)](0),r[Object(M["t"])(n)](0)}return r.getTime()}function R(e,t,n,i){var o=1e4,a=M["B"],s=0;function l(e,t,n,r,o,a,s){var l=new Date(t),u=t,c=l[r]();while(u1&&0===u&&o.unshift({value:o[0].value-d})}}for(u=0;u=i[0]&&b<=i[1]&&d++)}var _=(i[1]-i[0])/t;if(d>1.5*_&&h>_/1.5)break;if(c.push(v),d>_||e===a[p])break}f=[]}}}var x=Object(r["n"])(Object(r["F"])(c,function(e){return Object(r["n"])(e,function(e){return e.value>=i[0]&&e.value<=i[1]&&!e.notAdd})}),function(e){return e.length>0}),w=[],k=x.length-1;for(p=0;p0)r*=10;var o=[u["p"](Y(t[0]/r)*r),u["p"](G(t[1]/r)*r)];this._interval=r,this._niceExtent=o}},t.prototype.niceExtent=function(e){B.niceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=W(e)/W(this.base),g(e,this._extent)},t.prototype.normalize=function(e){return e=W(e)/W(this.base),m(e,this._extent)},t.prototype.scale=function(e){return e=v(e,this._extent),U(this.base,e)},t.type="log",t}(s),q=H.prototype;function Z(e,t){return V(e,u["e"](t))}q.getMinorTicks=B.getMinorTicks,q.getLabel=B.getLabel,s.registerClass(H);var K=H,X=n("7hqr"),Q=n("U4/e");function $(e,t){var n=e.type,i=Object(Q["a"])(e,t,e.getExtent()).calculate();e.setBlank(i.isBlank);var o=i.min,a=i.max,s=t.ecModel;if(s&&"time"===n){var l=Object(O["d"])("bar",s),u=!1;if(r["k"](l,function(e){u=u||e.getBaseAxis()===t.axis}),u){var c=Object(O["c"])(l),f=J(o,a,t,c);o=f.min,a=f.max}}return{extent:[o,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function J(e,t,n,i){var o=n.axis.getExtent(),a=o[1]-o[0],s=Object(O["e"])(i,n.axis);if(void 0===s)return{min:e,max:t};var l=1/0;r["k"](s,function(e){l=Math.min(e.offset,l)});var u=-1/0;r["k"](s,function(e){u=Math.max(e.offset+e.width,u)}),l=Math.abs(l),u=Math.abs(u);var c=l+u,f=t-e,d=1-(l+u)/a,h=f/d-f;return t+=h*(u/c),e-=h*(l/c),{min:e,max:t}}function ee(e,t){var n=t,r=$(e,n),i=r.extent,o=n.get("splitNumber");e instanceof K&&(e.base=n.get("logBase"));var a=e.type;e.setExtent(i[0],i[1]),e.niceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:"interval"===a||"time"===a?n.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?n.get("maxInterval"):null});var s=n.get("interval");null!=s&&e.setInterval&&e.setInterval(s)}function te(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new b({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new z({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(s.getClass(t)||k)}}function ne(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function re(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?function(t){return function(n,r){return e.scale.getFormattedLabel(n,r,t)}}(t):"string"===typeof t?function(t){return function(n){var r=e.scale.getLabel(n),i=t.replace("{value}",null!=r?r:"");return i}}(t):"function"===typeof t?function(t){return function(r,i){return null!=n&&(i=r.value-n),t(ie(e,r),i,null!=r.level?{level:r.level}:null)}}(t):function(t){return e.scale.getLabel(t)}}function ie(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function oe(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,i,o=n.getExtent();n instanceof b?i=n.count():(r=n.getTicks(),i=r.length);var a,s=e.getLabelModel(),l=re(e),u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;ce[1]&&(e[1]=r[1])})}n.d(t,"h",function(){return ee}),n.d(t,"a",function(){return te}),n.d(t,"f",function(){return ne}),n.d(t,"g",function(){return re}),n.d(t,"c",function(){return ie}),n.d(t,"b",function(){return oe}),n.d(t,"e",function(){return se}),n.d(t,"i",function(){return le}),n.d(t,"d",function(){return ue}),n.d(t,"j",function(){return ce})},adU4:function(e,t,n){var r=n("y1pI"),i=Array.prototype,o=i.splice;function a(e){var t=this.__data__,n=r(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():o.call(t,n,1),--this.size,!0}e.exports=a},b80T:function(e,t,n){var r=n("UNi/"),i=n("03A+"),o=n("Z0cm"),a=n("DSRE"),s=n("wJg7"),l=n("c6wG"),u=Object.prototype,c=u.hasOwnProperty;function f(e,t){var n=o(e),u=!n&&i(e),f=!n&&!u&&a(e),d=!n&&!u&&!f&&l(e),h=n||u||f||d,p=h?r(e.length,String):[],g=p.length;for(var m in e)!t&&!c.call(e,m)||h&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||p.push(m);return p}e.exports=f},bLfw:function(e,t,n){"use strict";var r=n("f66r"),i=n("bYtY"),o=n("Qxkt"),a=n("iRjW"),s=n("Yl7c"),l=n("4NO4"),u=n("+TT/"),c=Object(l["m"])(),f=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.uid=a["c"]("ec_cpt_model"),i}return Object(r["a"])(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=u["b"](this),r=n?u["c"](e):{},o=t.getTheme();i["G"](e,o.get(this.mainType)),i["G"](e,this.getDefaultOption()),n&&u["e"](e,r,n)},t.prototype.mergeOption=function(e,t){i["G"](this.option,e,!0);var n=u["b"](this);n&&u["e"](this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!Object(s["d"])(e))return e.defaultOption;var t=c(this);if(!t.defaultOption){var n=[],r=e;while(r){var o=r.prototype.defaultOption;o&&n.push(o),r=r.superClass}for(var a={},l=n.length-1;l>=0;l--)a=i["G"](a,n[l],!0);t.defaultOption=a}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return Object(l["t"])(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(o["a"]);function d(e){var t=[];return i["k"](f.getClassesByMainType(e),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=i["F"](t,function(e){return Object(s["f"])(e).main}),"dataset"!==e&&i["q"](t,"dataset")<=0&&t.unshift("dataset"),t}Object(s["e"])(f,o["a"]),Object(s["c"])(f),a["a"](f),a["b"](f,d),t["a"]=f},bgCn:function(e,t,n){"use strict";for(var r=n("AGgm").isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(o++,o=n)break;if(e.sCount[s]=u){e.line=n;break}for(i=0;i0&&this.handleMarkers(k);var C=this.editor.$options;l.editorOptions.forEach(function(t){C.hasOwnProperty(t)?e.editor.setOption(t,e.props[t]):e.props[t]&&console.warn("ReactAce: editor option "+t+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}),this.handleOptions(this.props),Array.isArray(x)&&x.forEach(function(t){"string"===typeof t.exec?e.editor.commands.bindKey(t.bindKey,t.exec):e.editor.commands.addCommand(t)}),b&&this.editor.setKeyboardHandler("ace/keyboard/"+b),n&&(this.refEditor.className+=" "+n),_&&_(this.editor),this.editor.resize(),a&&this.editor.focus()},t.prototype.componentDidUpdate=function(e){for(var t=e,n=this.props,r=0;r"+o(e[t].content)+""},a.code_block=function(e,t,n,r,i){var a=e[t];return""+o(e[t].content)+"\n"},a.fence=function(e,t,n,r,a){var s,l,u,c,f,d=e[t],h=d.info?i(d.info).trim():"",p="",g="";return h&&(u=h.split(/(\s+)/g),p=u[0],g=u.slice(2).join("")),s=n.highlight&&n.highlight(d.content,p,g)||o(d.content),0===s.indexOf(""+s+"\n"):"
"+s+"
\n"},a.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">",i)},s.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a=0,a=!1;if(e instanceof l["b"]){var s=f(e),u=o&&s.selectFill||s.normalFill,c=o&&s.selectStroke||s.normalStroke;if(O(u)||O(c)){r=r||{};var d=r.style||{};"inherit"===d.fill?(a=!0,r=Object(i["m"])({},r),d=Object(i["m"])({},d),d.fill=u):!O(d.fill)&&O(u)?(a=!0,r=Object(i["m"])({},r),d=Object(i["m"])({},d),d.fill=M(u)):!O(d.stroke)&&O(c)&&(a||(r=Object(i["m"])({},r),d=Object(i["m"])({},d)),d.stroke=M(c)),r.style=d}}if(r&&null==r.z2){a||(r=Object(i["m"])({},r));var h=e.z2EmphasisLift;r.z2=e.z2+(null!=h?h:v)}return r}function F(e,t,n){if(n&&null==n.z2){n=Object(i["m"])({},n);var r=e.z2SelectLift;n.z2=e.z2+(null!=r?r:y)}return n}function B(e,t,n){var r=Object(i["q"])(e.currentStates,t)>=0,o=e.style.opacity,a=r?null:R(e,["opacity"],t,{opacity:1});n=n||{};var s=n.style||{};return null==s.opacity&&(n=Object(i["m"])({},n),s=Object(i["m"])({opacity:r?o:.1*a.opacity},s),n.style=s),n}function V(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return z(this,e,t,n);if("blur"===e)return B(this,e,n);if("select"===e)return F(this,e,n)}return n}function G(e){e.stateProxy=V;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=V),n&&(n.stateProxy=V)}function Y(e,t){!Q(e,t)&&!e.__highByOuter&&L(e,T)}function U(e,t){!Q(e,t)&&!e.__highByOuter&&L(e,j)}function W(e,t){e.__highByOuter|=1<<(t||0),L(e,T)}function H(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&L(e,j)}function q(e){L(e,I)}function Z(e){L(e,D)}function K(e){L(e,A)}function X(e){L(e,E)}function Q(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function $(e){var t=e.getModel();t.eachComponent(function(t,n){var r="series"===t?e.getViewOfSeriesModel(n):e.getViewOfComponentModel(n);r.group.traverse(function(e){D(e)})})}function J(e,t,n,r){var o=r.getModel();function a(e,t){for(var n=0;n0){var o={dataIndex:i,seriesIndex:e.seriesIndex};null!=r&&(o.dataType=r),t.push(o)}})}),t}function le(e,t,n){he(e,!0),L(e,G),ue(e,t,n)}function ue(e,t,n){var r=Object(o["a"])(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var ce=["emphasis","blur","select"],fe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function de(e,t,n,r){n=n||"itemStyle";for(var i=0;i=n)return l;if(o=e.charCodeAt(t),34!==o&&39!==o&&40!==o)return l;t++,40===o&&(o=41);while(t0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et)if(!i(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;en)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,a,s,l,u,c,f,d=e;if(e>=t)return"";for(c=new Array(t-e),o=0;dn?new Array(a-n+1).join(" ")+this.src.slice(l,u):this.src.slice(l,u)}return c.join("")},o.prototype.Token=r,e.exports=o},g40J:function(e,t,n){"use strict";function r(e,t){var n,r,i,o,a,s,l,u,c={},f=t.length;for(n=0;na;r-=o.jump+1)if(o=t[r],o.marker===i.marker&&o.open&&o.end<0&&(l=!1,(o.close||i.open)&&(o.length+i.length)%3===0&&(o.length%3===0&&i.length%3===0||(l=!0)),!l)){u=r>0&&!t[r-1].open?t[r-1].jump+1:0,i.jump=n-r+u,i.open=!1,o.end=n,o.jump=u,o.close=!1,s=-1;break}-1!==s&&(c[i.marker][(i.length||0)%3]=s)}}e.exports=function(e){var t,n=e.tokens_meta,i=e.tokens_meta.length;for(r(e,e.delimiters),t=0;t30}},gNPE:function(e,t,n){"use strict";var r=n("AGgm").isSpace;function i(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,i=e.length,o=!1,a=0,s="";t=e.charCodeAt(r);while(rn)return!1;if(d=t+1,e.sCount[d]=4)return!1;if(u=e.bMarks[d]+e.tShift[d],u>=e.eMarks[d])return!1;if(s=e.src.charCodeAt(u++),124!==s&&45!==s&&58!==s)return!1;while(u=4)return!1;if(h=o(l),h.length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),p=h.length,0===p||p!==m.length)return!1;if(a)return!0;for(_=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=y=[t,0],g=e.push("thead_open","thead",1),g.map=[t,t+1],g=e.push("tr_open","tr",1),g.map=[t,t+1],c=0;c=4)break;for(h=o(l),h.length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),d===t+2&&(g=e.push("tbody_open","tbody",1),g.map=b=[t+2,0]),g=e.push("tr_open","tr",1),g.map=[d,d+1],c=0;c1){var c=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},i={},o=[],a=[];this._initIndexMap(e,n,o,"_oldKeyGetter"),this._initIndexMap(t,i,a,"_newKeyGetter");for(var s=0;s1&&1===d)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(1===f&&d>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(1===f&&1===d)this._update&&this._update(c,u),i[l]=null;else if(f>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(f>1)for(var h=0;h1)for(var s=0;s=0?f():c=setTimeout(f,-i),l=r};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(e){s=e},d}function s(e,t,n,s){var l=e[t];if(l){var u=l[r]||l,c=l[o],f=l[i];if(f!==n||c!==s){if(null==n||!s)return e[t]=u;l=e[t]=a(u,n,"debounce"===s),l[r]=u,l[o]=s,l[i]=n}return l}}},iRjW:function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"a",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"d",function(){return u});var r=n("bYtY"),i=n("Yl7c"),o=Math.round(10*Math.random());function a(e){return[e||"",o++].join("_")}function s(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=Object(i["f"])(e);t[r.main]=n},e.determineSubType=function(n,r){var o=r.type;if(!o){var a=Object(i["f"])(n).main;e.hasSubTypes(n)&&t[a]&&(o=t[a](r))}return o}}function l(e,t){function n(e){var n={},a=[];return r["k"](e,function(s){var l=i(n,s),u=l.originalDeps=t(s),c=o(u,e);l.entryCount=c.length,0===l.entryCount&&a.push(s),r["k"](c,function(e){r["q"](l.predecessor,e)<0&&l.predecessor.push(e);var t=i(n,e);r["q"](t.successor,e)<0&&t.successor.push(s)})}),{graph:n,noEntryList:a}}function i(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function o(e,t){var n=[];return r["k"](e,function(e){r["q"](t,e)>=0&&n.push(e)}),n}e.topologicalTravel=function(e,t,i,o){if(e.length){var a=n(t),s=a.graph,l=a.noEntryList,u={};r["k"](e,function(e){u[e]=!0});while(l.length){var c=l.pop(),f=s[c],d=!!u[c];d&&(i.call(o,c,f.originalDeps.slice()),delete u[c]),r["k"](f.successor,d?p:h)}r["k"](u,function(){var e="";throw new Error(e)})}function h(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){u[e]=!0,h(e)}}}function u(e,t){return r["G"](r["G"]({},e,!0),t,!0)}},"ijE+":function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},itsj:function(e,t){function n(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}e.exports=n},jXQH:function(e,t,n){var r=n("TO8r"),i=/^\s+/;function o(e){return e?e.slice(0,r(e)+1).replace(i,""):e}e.exports=o},jYNY:function(e,t,n){var r=n("rgI+"),i=n("o9ul"),o=n("8wmI"),a="[object Object]",s=Function.prototype,l=Object.prototype,u=s.toString,c=l.hasOwnProperty,f=u.call(Object);function d(e){if(!o(e)||r(e)!=a)return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==f}e.exports=d},jeLo:function(e,t,n){var r=n("juv8"),i=n("mTTR");function o(e){return r(e,i(e))}e.exports=o},jkPA:function(e,t,n){"use strict";var r=n("bYtY"),i=0,o=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++i}return e.createByAxisModel=function(t){var n=t.option,i=n.data,o=i&&Object(r["F"])(i,a);return new e({categories:o,needCollect:!o,deduplication:!1!==n.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,n=this._needCollect;if("string"!==typeof e&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var r=this._getOrCreateMap();return t=r.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,r.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(r["g"])(this.categories))},e}();function a(e){return Object(r["z"])(e)&&null!=e.value?e.value:e+""}t["a"]=o},juv8:function(e,t,n){var r=n("MrPd"),i=n("hypo");function o(e,t,n,o){var a=!n;n||(n={});var s=-1,l=t.length;while(++s=b)return!1;for(m=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok&&(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?c=d.pos:v=""),m=c;c=b||41!==e.src.charCodeAt(c))return e.pos=y,!1;c++}else{if("undefined"===typeof e.env.references)return!1;if(c=0?s=e.src.slice(m,c++):c=l+1):c=l+1,s||(s=e.src.slice(u,l)),f=e.env.references[r(s)],!f)return e.pos=y,!1;v=f.href,h=f.title}return t||(a=e.src.slice(u,l),e.md.inline.parse(a,e.md,e.env,g=[]),p=e.push("image","img",0),p.attrs=n=[["src",v],["alt",""]],p.children=g,p.content=a,h&&n.push(["title",h])),e.pos=c,e.posMax=b,!0}},lSCD:function(e,t,n){var r=n("NykK"),i=n("GoyQ"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==l}e.exports=u},lc5D:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("eF/C"),i=n("Uf63");t.diff=i.default;var o=n("N5VM");t.split=o.default,t.default=r.default},ljhN:function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},mSF0:function(e,t,n){"use strict";var r=n("AGgm").arrayReplaceAt;function i(e){return/^\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,a,s,l,u,c,f,d,h,p,g,m,v,y,b,_,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(u=s[t],"link_close"!==u.type){if("html_inline"===u.type&&(i(u.content)&&m>0&&m--,o(u.content)&&m++),!(m>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(d=u.content,_=e.md.linkify.match(d),c=[],g=u.level,p=0,f=0;f<_.length;f++)v=_[f].url,y=e.md.normalizeLink(v),e.md.validateLink(y)&&(b=_[f].text,b=_[f].schema?"mailto:"!==_[f].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),h=_[f].index,h>p&&(l=new e.Token("text","",0),l.content=d.slice(p,h),l.level=g,c.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",y]],l.level=g++,l.markup="linkify",l.info="auto",c.push(l),l=new e.Token("text","",0),l.content=b,l.level=g,c.push(l),l=new e.Token("link_close","a",-1),l.level=--g,l.markup="linkify",l.info="auto",c.push(l),p=_[f].lastIndex);p=1)&&(e=1),e}s===u&&l===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=u,this._modDataCount=c;var d=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!i&&(a||h1&&r>0?s:a}};return o;function a(){return t=e?null:o=4))break;r++,i=r}return e.line=i,o=e.push("code_block","code",0),o.content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},nVfU:function(e,t,n){"use strict";n.d(t,"d",function(){return d}),n.d(t,"c",function(){return p}),n.d(t,"e",function(){return m}),n.d(t,"b",function(){return v}),n.d(t,"a",function(){return y});var r=n("bYtY"),i=n("OELB"),o=n("7hqr"),a=n("zM3Q"),s="__ec_stack_",l=.5,u="undefined"!==typeof Float32Array?Float32Array:Array;function c(e){return e.get("stack")||s+e.seriesIndex}function f(e){return e.dim+e.index}function d(e,t){var n=[];return t.eachSeriesByType(e,function(e){b(e)&&!_(e)&&n.push(e)}),n}function h(e){var t={};r["k"](e,function(e){var n=e.coordinateSystem,r=n.getBaseAxis();if("time"===r.type||"value"===r.type)for(var i=e.getData(),o=r.dim+"_"+r.index,a=i.getDimensionIndex(i.mapDimension(r.dim)),s=i.getStore(),l=0,u=s.count();l0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}function p(e){var t=h(e),n=[];return r["k"](e,function(e){var r,o=e.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,u=t[l],d=Math.abs(s[1]-s[0]),h=a.scale.getExtent(),p=Math.abs(h[1]-h[0]);r=u?d/p*u:d}else{var g=e.getData();r=Math.abs(s[1]-s[0])/g.count()}var m=Object(i["m"])(e.get("barWidth"),r),v=Object(i["m"])(e.get("barMaxWidth"),r),y=Object(i["m"])(e.get("barMinWidth")||1,r),b=e.get("barGap"),_=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:m,barMaxWidth:v,barMinWidth:y,barGap:b,barCategoryGap:_,axisKey:f(a),stackId:c(e)})}),g(n)}function g(e){var t={};r["k"](e,function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var f=e.barGap;null!=f&&(o.gap=f);var d=e.barCategoryGap;null!=d&&(o.categoryGap=d)});var n={};return r["k"](t,function(e,t){n[t]={};var o=e.stacks,a=e.bandWidth,s=e.categoryGap;if(null==s){var l=r["D"](o).length;s=Math.max(35-4*l,15)+"%"}var u=Object(i["m"])(s,a),c=Object(i["m"])(e.gap,1),f=e.remainedWidth,d=e.autoWidthCount,h=(f-u)/(d+(d-1)*c);h=Math.max(h,0),r["k"](o,function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,f-=r+c*r,d--}else{var r=h;t&&tr&&(r=n),r!==h&&(e.width=r,f-=r+c*r,d--)}}),h=(f-u)/(d+(d-1)*c),h=Math.max(h,0);var p,g=0;r["k"](o,function(e,t){e.width||(e.width=h),p=e,g+=e.width*(1+c)}),p&&(g-=p.width*c);var m=-g/2;r["k"](o,function(e,r){n[t][r]=n[t][r]||{bandWidth:a,offset:m,width:e.width},m+=e.width*(1+c)})}),n}function m(e,t,n){if(e&&t){var r=e[f(t)];return null!=r&&null!=n?r[c(n)]:r}}function v(e,t){var n=d(e,t),i=p(n),a={};r["k"](n,function(e){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),s=c(e),l=i[f(r)][s],u=l.offset,d=l.width,h=n.getOtherAxis(r),p=e.get("barMinHeight")||0;a[s]=a[s]||[],t.setLayout({bandWidth:l.bandWidth,offset:u,size:d});for(var g=t.mapDimension(h.dim),m=t.mapDimension(r.dim),v=Object(o["c"])(t,g),y=h.isHorizontal(),b=x(r,h,v),_=t.getStore(),w=t.getDimensionIndex(g),k=t.getDimensionIndex(m),O=0,S=_.count();O=0?"p":"n",j=b;v&&(a[s][C]||(a[s][C]={p:b,n:b}),j=a[s][C][T]);var I=void 0,D=void 0,A=void 0,E=void 0;if(y){var P=n.dataToPoint([M,C]);I=j,D=P[1]+u,A=P[0]-b,E=d,Math.abs(A)l||(d=l),{progress:function(e,t){var l,h=e.count,p=new u(2*h),g=new u(2*h),m=new u(h),v=[],y=[],b=0,_=0,w=t.getStore();while(null!=(l=e.next()))y[f]=w.get(a,l),y[1-f]=w.get(s,l),v=n.dataToPoint(y,null),g[b]=c?r.x+r.width:v[0],p[b++]=v[0],g[b]=c?v[1]:r.y+r.height,p[b++]=v[1],m[_++]=l;t.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:g,barWidth:d,valueAxisStart:x(i,o,!1),backgroundStart:c?r.x:r.y,valueAxisHorizontal:c})}}}}};function b(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function _(e){return e.pipelineContext&&e.pipelineContext.large}function x(e,t,n){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}},nmnc:function(e,t,n){var r=n("Kz5y"),i=r.Symbol;e.exports=i},o9ul:function(e,t,n){var r=n("qxrA"),i=r(Object.getPrototypeOf,Object);e.exports=i},oSSR:function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;na)return!0;if(o){var s=c["c"](e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,i){},e.prototype.createPointerEl=function(e,t,n,r){var i=t.pointer;if(i){var o=p(e).pointerEl=new s[i.type](g(t.pointer));e.add(o)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var i=p(e).labelEl=new l["a"](g(t.label));e.add(i),_(i,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=p(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var i=p(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{x:t.label.x,y:t.label.y}),_(i,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,a=n.getModel("handle"),l=n.get("status");if(!a.get("show")||!l||"hide"===l)return i&&r.remove(i),void(this._handle=null);this._handle||(t=!0,i=this._handle=s["createIcon"](a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){f["f"](e.event)},onmousedown:m(this._onHandleDragMove,this,0,0),drift:m(this._onHandleDragMove,this),ondragend:m(this._onHandleDragEnd,this)}),r.add(i)),w(i,n,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o["s"](u)||(u=[u,u]),i.scaleX=u[0]/2,i.scaleY=u[1]/2,d["a"](this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){y(this._axisPointerModel,!t&&this._moveAnimation,this._handle,x(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(x(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(x(r)),p(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null)},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}},e}();function y(e,t,n,r){b(p(n).lastProp,r)||(p(n).lastProp=r,t?u["h"](n,r,e):(n.stopAnimation(),n.attr(r)))}function b(e,t){if(o["z"](e)&&o["z"](t)){var n=!0;return o["k"](t,function(t,r){n=n&&b(e[r],t)}),!!n}return e===t}function _(e,t){e[t.get(["label","show"])?"show":"hide"]()}function x(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function w(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)})}var k=v,O=n("/y7N"),S=n("AVZG"),M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=C(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(t,!0));if(s&&"none"!==s){var c=O["b"](r),f=T[s](o,u,l);f.style=c,e.graphicKey=f.type,e.pointer=f}var d=S["c"](a.model,n);O["a"](t,e,d,n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=S["c"](t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=O["c"](t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=C(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,f=[c,c];f[l]=u[l];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:f,tooltipOption:d[l]}},t}(k);function C(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var T={line:function(e,t,n){var r=O["e"]([t,n[0]],[t,n[1]],j(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:O["f"]([t-r/2,n[0]],[r,i],j(e))}}};function j(e){return"x"===e.dim?0:1}var I=M,D=n("bLfw"),A=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(i["a"])(t,e),t.type="axisPointer",t.defaultOption={show:"auto",zlevel:0,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}},t}(D["a"]),E=A,P=n("F9bG"),L=n("sS/r"),N=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(i["a"])(t,e),t.prototype.render=function(e,t,n){var r=t.getComponent("tooltip"),i=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";P["a"]("axisPointer",n,function(e,t,n){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})})},t.prototype.remove=function(e,t){P["b"]("axisPointer",t)},t.prototype.dispose=function(e,t){P["b"]("axisPointer",t)},t.type="axisPointer",t}(L["a"]),R=N,z=n("Ez2D"),F=Object(h["m"])();function B(e,t,n){var r=e.currTrigger,i=[e.x,e.y],a=e,s=e.dispatchAction||Object(o["c"])(n.dispatchAction,n),l=t.getComponent("axisPointer").coordSysAxesInfo;if(l){X(i)&&(i=Object(z["a"])({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var u=X(i),c=a.axesInfo,f=l.axesInfo,d="leave"===r||X(i),h={},p={},g={list:[],map:{}},m={showPointer:Object(o["i"])(Y,p),showTooltip:Object(o["i"])(U,g)};Object(o["k"])(l.coordSysMap,function(e,t){var n=u||e.containPoint(i);Object(o["k"])(l.coordSysAxesInfo[t],function(e,t){var r=e.axis,o=Z(c,e);if(!d&&n&&(!c||o)){var a=o&&o.value;null!=a||u||(a=r.pointToData(i)),null!=a&&V(e,a,m,!1,h)}})});var v={};return Object(o["k"])(f,function(e,t){var n=e.linkGroup;n&&!p[t]&&Object(o["k"])(n.axesInfo,function(t,r){var i=p[r];if(t!==e&&i){var o=i.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,K(t),K(e)))),v[e.key]=o}})}),Object(o["k"])(v,function(e,t){V(f[t],e,m,!0,h)}),W(p,f,h),H(g,i,e,s),q(f,s,n),h}}function V(e,t,n,r,i){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t))if(e.involveSeries){var s=G(t,e),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==i.seriesIndex&&Object(o["m"])(i,l[0]),!r&&e.snap&&a.containData(u)&&null!=u&&(t=u),n.showPointer(e,t,l),n.showTooltip(e,s,u)}else n.showPointer(e,t)}function G(e,t){var n=t.axis,r=n.dim,i=e,a=[],s=Number.MAX_VALUE,l=-1;return Object(o["k"])(t.seriesModels,function(t,u){var c,f,d=t.getData().mapDimensionsAll(r);if(t.getAxisTooltipData){var h=t.getAxisTooltipData(d,e,n);f=h.dataIndices,c=h.nestestValue}else{if(f=t.getData().indicesOfNearest(d[0],e,"category"===n.type?.5:null),!f.length)return;c=t.getData().get(d[0],f[0])}if(null!=c&&isFinite(c)){var p=e-c,g=Math.abs(p);g<=s&&((g=0&&l<0)&&(s=g,l=p,i=c,a.length=0),Object(o["k"])(f,function(e){a.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:a,snapToValue:i}}function Y(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function U(e,t,n,r){var i=n.payloadBatch,o=t.axis,a=o.model,s=t.axisPointerModel;if(t.triggerTooltip&&i.length){var l=t.coordSys.model,u=c["e"](l),f=e.map[u];f||(f=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(f)),f.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 W(e,t,n){var r=n.axesInfo=[];Object(o["k"])(t,function(t,n){var i=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})})}function H(e,t,n,r){if(!X(t)&&e.list.length){var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}else r({type:"hideTip"})}function q(e,t,n){var r=n.getZr(),i="axisPointerLastHighlights",a=F(r)[i]||{},s=F(r)[i]={};Object(o["k"])(e,function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&Object(o["k"])(n.seriesDataIndices,function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e})});var l=[],u=[];Object(o["k"])(a,function(e,t){!s[t]&&u.push(e)}),Object(o["k"])(s,function(e,t){!a[t]&&l.push(e)}),u.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function Z(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function K(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function X(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function Q(e){r["a"].registerAxisPointerClass("CartesianAxisPointer",I),e.registerComponentModel(E),e.registerComponentView(R),e.registerPreprocessor(function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!Object(o["s"])(t)&&(e.axisPointer.link=[t])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=Object(c["a"])(e,t)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},B)}n.d(t,"a",function(){return Q})},"rgI+":function(e,t,n){var r=n("e+LU"),i=n("4Vez"),o=n("3m0e"),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(e){return null==e?void 0===e?s:a:l&&l in Object(e)?i(e):o(e)}e.exports=u},rzDG:function(e,t,n){"use strict";var r=n("AGgm").isWhiteSpace,i=n("AGgm").isPunctChar,o=n("AGgm").isMdAsciiPunct,a=/['"]/,s=/['"]/g,l="\u2019";function u(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,a,c,f,d,h,p,g,m,v,y,b,_,x,w,k,O,S,M,C,T;for(M=[],n=0;n=0;O--)if(M[O].level<=p)break;if(M.length=O+1,"text"===a.type){c=a.content,d=0,h=c.length;e:while(d=0)m=c.charCodeAt(f.index-1);else for(O=n-1;O>=0;O--){if("softbreak"===e[O].type||"hardbreak"===e[O].type)break;if(e[O].content){m=e[O].content.charCodeAt(e[O].content.length-1);break}}if(v=32,d=48&&m<=57&&(k=w=!1),w&&k&&(w=y,k=b),w||k){if(k)for(O=M.length-1;O>=0;O--){if(g=M[O],M[O].level=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},sEf8:function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},sEfC:function(e,t,n){var r=n("GoyQ"),i=n("QIyF"),o=n("tLB3"),a="Expected a function",s=Math.max,l=Math.min;function u(e,t,n){var u,c,f,d,h,p,g=0,m=!1,v=!1,y=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=u,r=c;return u=c=void 0,g=t,d=e.apply(r,n),d}function _(e){return g=e,h=setTimeout(k,t),m?b(e):d}function x(e){var n=e-p,r=e-g,i=t-n;return v?l(i,f-r):i}function w(e){var n=e-p,r=e-g;return void 0===p||n>=t||n<0||v&&r>=f}function k(){var e=i();if(w(e))return O(e);h=setTimeout(k,x(e))}function O(e){return h=void 0,y&&u?b(e):(u=c=void 0,d)}function S(){void 0!==h&&clearTimeout(h),g=0,u=p=c=h=void 0}function M(){return void 0===h?d:O(i())}function C(){var e=i(),n=w(e);if(u=arguments,c=this,p=e,n){if(void 0===h)return _(p);if(v)return clearTimeout(h),h=setTimeout(k,t),b(p)}return void 0===h&&(h=setTimeout(k,t)),d}return t=o(t)||0,r(n)&&(m=!!n.leading,v="maxWait"in n,f=v?s(o(n.maxWait)||0,t):f,y="trailing"in n?!!n.trailing:y),C.cancel=S,C.flush=M,C}e.exports=u},"sK/D":function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"c",function(){return l}),n.d(t,"a",function(){return u});var r=n("x6Kt"),i=n("3qvL"),o=n("SqI9"),a=n("OELB");function s(e,t,n,o,a){var s=e.getArea(),l=s.x,u=s.y,c=s.width,f=s.height,d=n.get(["lineStyle","width"])||2;l-=d/2,u-=d/2,c+=d,f+=d,l=Math.floor(l),c=Math.round(c);var h=new r["a"]({shape:{x:l,y:u,width:c,height:f}});if(t){var p=e.getBaseAxis(),g=p.isHorizontal(),m=p.inverse;g?(m&&(h.shape.x+=c),h.shape.width=0):(m||(h.shape.y+=f),h.shape.height=0);var v="function"===typeof a?function(e){a(e,h)}:null;i["c"](h,{shape:{width:c,height:f,x:l,y:u}},n,null,o,v)}return h}function l(e,t,n){var r=e.getArea(),s=Object(a["p"])(r.r0,1),l=Object(a["p"])(r.r,1),u=new o["a"]({shape:{cx:Object(a["p"])(e.cx,1),cy:Object(a["p"])(e.cy,1),r0:s,r:l,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(t){var c="angle"===e.getBaseAxis().dim;c?u.shape.endAngle=r.startAngle:u.shape.r=s,i["c"](u,{shape:{endAngle:r.endAngle,r:l}},n)}return u}function u(e,t,n,r,i){return e?"polar"===e.type?l(e,t,n):"cartesian2d"===e.type?s(e,t,n,r,i):null:null}},"sS/r":function(e,t,n){"use strict";var r=n("LcXL"),i=n("iRjW"),o=n("Yl7c"),a=function(){function e(){this.group=new r["a"],this.uid=i["c"]("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.blurSeries=function(e,t){},e}();o["b"](a),o["c"](a),t["a"]=a},shjB:function(e,t){var n=9007199254740991;function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}e.exports=r},t2Dn:function(e,t,n){var r=n("hypo"),i=n("ljhN");function o(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}e.exports=o},t9mh:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return l});var r=n("OELB"),i=n("bYtY"),o=n("7a4p");function a(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"===n&&"number"!==typeof e&&null!=e&&"-"!==e&&(e=+Object(r["l"])(e)),null==e||""===e?NaN:+e)}Object(i["g"])({number:function(e){return parseFloat(e)},time:function(e){return+Object(r["l"])(e)},trim:function(e){return"string"===typeof e?Object(i["Q"])(e):e}});var s={lt:function(e,t){return et},gte:function(e,t){return e>=t}},l=(function(){function e(e,t){if("number"!==typeof t){var n="";0,Object(o["c"])(n)}this._opFn=s[e],this._rvalFloat=Object(r["k"])(t)}e.prototype.evaluate=function(e){return"number"===typeof e?this._opFn(e,this._rvalFloat):this._opFn(Object(r["k"])(e),this._rvalFloat)}}(),function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=typeof e,i=typeof t,o="number"===n?e:Object(r["k"])(e),a="number"===i?t:Object(r["k"])(t),s=isNaN(o),l=isNaN(a);if(s&&(o=this._incomparable),l&&(a=this._incomparable),s&&l){var u="string"===n,c="string"===i;u&&(o=c?e:0),c&&(a=u?t:0)}return oa?-this._resultLT:0},e}());(function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=Object(r["k"])(t)}e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=Object(r["k"])(e)===this._rvalFloat)}return this._isEQ?t:!t}})()},tGEx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];t.editorOptions=r;var i=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];t.editorEvents=i;var o=function(){var e;return window.ace?(e=window.ace,e.acequire=window.ace.require||window.ace.acequire):e=n("bU/s"),e};t.getAceInstance=o;var a=function(e,t){var n=null;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(r,i)},t)}};t.debounce=a},tLB3:function(e,t,n){var r=n("jXQH"),i=n("GoyQ"),o=n("/9aa"),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function f(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=f},tMB7:function(e,t,n){var r=n("y1pI");function i(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=i},u0qK:function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function s(e,t){return a[t.toLowerCase()]}function l(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||(n.content=n.content.replace(o,s)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function u(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&l(e.tokens[t].children),r.test(e.tokens[t].content)&&u(e.tokens[t].children))}},u8Dt:function(e,t,n){var r=n("YESw"),i="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function s(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return a.call(t,e)?t[e]:void 0}e.exports=s},ugOi:function(e,t,n){var r=n("kewz"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},usqY:function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){var n=e.pos;while(nA.length&&A.push(e)}function L(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return n(r,e,""===t?"."+R(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l=4)return!1;if(d+3>h)return!1;if(i=e.src.charCodeAt(d),126!==i&&96!==i)return!1;if(l=d,d=e.skipChars(d,i),o=d-l,o<3)return!1;if(c=e.src.slice(l,d),a=e.src.slice(d,h),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;;){if(s++,s>=n)break;if(d=l=e.bMarks[s]+e.tShift[s],h=e.eMarks[s],d=4)&&(d=e.skipChars(d,i),!(d-l-1&&e%1==0&&e>>0;for(t=0;t0)for(n=0;n<_.length;n++)r=_[n],i=t[r],c(i)||(e[r]=i);return e}function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,i.updateOffset(this),x=!1)}function O(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function S(e){!1===i.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var n=!0;return p(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,o,a,s=[];for(o=0;o=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function V(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Y(e){var t,n,r=e.match(R);for(t=0,n=r.length;t=0&&z.test(e))e=e.replace(z,r),z.lastIndex=0,n-=1;return e}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(R).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var Z="Invalid date";function K(){return this._invalidDate}var X="%d",Q=/\d{1,2}/;function $(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,r){var i=this._relativeTime[n];return I(i)?i(e,t,n,r):i.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return I(n)?n(t):n.replace(/%s/i,t)}var ne={};function re(e,t){var n=e.toLowerCase();ne[n]=ne[n+"s"]=ne[t]=e}function ie(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)l(e,n)&&(t=ie(n),t&&(r[t]=e[n]));return r}var ae={};function se(e,t){ae[e]=t}function le(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function ue(e){return e%4===0&&e%100!==0||e%400===0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function fe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function de(e,t){return function(n){return null!=n?(pe(this,e,n),i.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=fe(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ge(e){return e=ie(e),I(this[e])?this[e]():this}function me(e,t){if("object"===typeof e){e=oe(e);var n,r=le(e);for(n=0;n68?1900:2e3)};var vt=de("FullYear",!0);function yt(){return ue(this.year())}function bt(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function _t(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,n){var r=7+t-n,i=(7+_t(e,0,r).getUTCDay()-t)%7;return-i+r-1}function wt(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xt(e,r,i),u=1+7*(t-1)+s+l;return u<=0?(o=e-1,a=mt(o)+u):u>mt(e)?(o=e+1,a=u-mt(e)):(o=e,a=u),{year:o,dayOfYear:a}}function kt(e,t,n){var r,i,o=xt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ot(i,t,n)):a>Ot(e.year(),t,n)?(r=a-Ot(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ot(e,t,n){var r=xt(e,t,n),i=xt(e+1,t,n);return(mt(e)-r+i)/7}function St(e){return kt(e,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),se("week",5),se("isoWeek",5),Le("w",ke),Le("ww",ke,be),Le("W",ke),Le("WW",ke,be),Ve(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=fe(e)});var Mt={dow:0,doy:6};function Ct(){return this._week.dow}function Tt(){return this._week.doy}function jt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function It(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Dt(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function At(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Et(e,t){return e.slice(t,7).concat(e.slice(0,t))}V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),se("day",11),se("weekday",11),se("isoWeekday",11),Le("d",ke),Le("e",ke),Le("E",ke),Le("dd",function(e,t){return t.weekdaysMinRegex(e)}),Le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Le("dddd",function(e,t){return t.weekdaysRegex(e)}),Ve(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:v(n).invalidWeekday=e}),Ve(["d","e","E"],function(e,t,n,r){t[r]=fe(e)});var Pt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Lt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rt=Pe,zt=Pe,Ft=Pe;function Bt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Et(n,this._week.dow):e?n[e.day()]:n}function Vt(e){return!0===e?Et(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gt(e){return!0===e?Et(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=g([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Ye.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Ye.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Ye.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=Ye.call(this._weekdaysParse,a),-1!==i?i:(i=Ye.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Ye.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=Ye.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Ye.call(this._weekdaysParse,a),-1!==i?i:(i=Ye.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=Ye.call(this._minWeekdaysParse,a),-1!==i?i:(i=Ye.call(this._weekdaysParse,a),-1!==i?i:(i=Ye.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function Ut(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Yt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=g([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Dt(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=At(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Rt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=zt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=g([2e3,1]).day(t),r=ze(this.weekdaysMin(n,"")),i=ze(this.weekdaysShort(n,"")),o=ze(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $t(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,$t),V("k",["kk",2],0,Jt),V("hmm",0,0,function(){return""+$t.apply(this)+N(this.minutes(),2)}),V("hmmss",0,0,function(){return""+$t.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),en("a",!0),en("A",!1),re("hour","h"),se("hour",13),Le("a",tn),Le("A",tn),Le("H",ke),Le("h",ke),Le("k",ke),Le("HH",ke,be),Le("hh",ke,be),Le("kk",ke,be),Le("hmm",Oe),Le("hmmss",Se),Le("Hmm",Oe),Le("Hmmss",Se),Be(["H","HH"],qe),Be(["k","kk"],function(e,t,n){var r=fe(e);t[qe]=24===r?0:r}),Be(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Be(["h","hh"],function(e,t,n){t[qe]=fe(e),v(n).bigHour=!0}),Be("hmm",function(e,t,n){var r=e.length-2;t[qe]=fe(e.substr(0,r)),t[Ze]=fe(e.substr(r)),v(n).bigHour=!0}),Be("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qe]=fe(e.substr(0,r)),t[Ze]=fe(e.substr(r,2)),t[Ke]=fe(e.substr(i)),v(n).bigHour=!0}),Be("Hmm",function(e,t,n){var r=e.length-2;t[qe]=fe(e.substr(0,r)),t[Ze]=fe(e.substr(r))}),Be("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qe]=fe(e.substr(0,r)),t[Ze]=fe(e.substr(r,2)),t[Ke]=fe(e.substr(i))});var rn=/[ap]\.?m?\.?/i,on=de("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:P,longDateFormat:H,invalidDate:Z,ordinal:X,dayOfMonthOrdinalParse:Q,relativeTime:J,months:tt,monthsShort:nt,week:Mt,weekdays:Pt,weekdaysMin:Nt,weekdaysShort:Lt,meridiemParse:rn},un={},cn={};function fn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0){if(r=pn(i.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&fn(i,n)>=t-1)break;t--}o++}return sn}function pn(n){var r=null;if(void 0===un[n]&&"undefined"!==typeof e&&e&&e.exports)try{r=sn._abbr,t,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),gn(r)}catch(e){un[n]=null}return un[n]}function gn(e,t){var n;return e&&(n=c(t)?yn(e):mn(e,t),n?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function mn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=un[e])j("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(n=pn(t.parentLocale),null==n)return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new E(A(r,t)),cn[e]&&cn[e].forEach(function(e){mn(e.name,e.config)}),gn(e),un[e]}return delete un[e],null}function vn(e,t){if(null!=t){var n,r,i=ln;null!=un[e]&&null!=un[e].parentLocale?un[e].set(A(un[e]._config,t)):(r=pn(e),null!=r&&(i=r._config),t=A(i,t),null==r&&(t.abbr=e),n=new E(t),n.parentLocale=un[e],un[e]=n),gn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===gn()&&gn(e)):null!=un[e]&&delete un[e]);return un[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!a(e)){if(t=pn(e),t)return t;e=[e]}return hn(e)}function bn(){return C(un)}function _n(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[We]<0||n[We]>11?We:n[He]<1||n[He]>et(n[Ue],n[We])?He:n[qe]<0||n[qe]>24||24===n[qe]&&(0!==n[Ze]||0!==n[Ke]||0!==n[Xe])?qe:n[Ze]<0||n[Ze]>59?Ze:n[Ke]<0||n[Ke]>59?Ke:n[Xe]<0||n[Xe]>999?Xe:-1,v(e)._overflowDayOfYear&&(tHe)&&(t=He),v(e)._overflowWeeks&&-1===t&&(t=Qe),v(e)._overflowWeekday&&-1===t&&(t=$e),v(e).overflow=t),e}var xn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,On=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mn=/^\/?Date\((-?\d+)/i,Cn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jn(e){var t,n,r,i,o,a,s=e._i,l=xn.exec(s)||wn.exec(s);if(l){for(v(e).iso=!0,t=0,n=On.length;tmt(o)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=_t(o,0,e._dayOfYear),e._a[We]=n.getUTCMonth(),e._a[He]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qe]&&0===e._a[Ze]&&0===e._a[Ke]&&0===e._a[Xe]&&(e._nextDay=!0,e._a[qe]=0),e._d=(e._useUTC?_t:bt).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qe]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(v(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,i,o,a,s,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=Rn(t.GG,e._a[Ue],kt(Kn(),1,4).year),r=Rn(t.W,1),i=Rn(t.E,1),(i<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,u=kt(Kn(),o,a),n=Rn(t.gg,e._a[Ue],u.year),r=Rn(t.w,u.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>Ot(n,o,a)?v(e)._overflowWeeks=!0:null!=l?v(e)._overflowWeekday=!0:(s=wt(n,r,i,o,a),e._a[Ue]=s.year,e._dayOfYear=s.dayOfYear)}function Vn(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],v(e).empty=!0;var t,n,r,o,a,s,l=""+e._i,u=l.length,c=0;for(r=W(e._f,e._locale).match(R)||[],t=0;t0&&v(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),c+=n.length),B[o]?(n?v(e).empty=!1:v(e).unusedTokens.push(o),Ge(o,n,e)):e._strict&&!n&&v(e).unusedTokens.push(o);v(e).charsLeftOver=u-c,l.length>0&&v(e).unusedInput.push(l),e._a[qe]<=12&&!0===v(e).bigHour&&e._a[qe]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[qe]=Gn(e._locale,e._a[qe],e._meridiem),s=v(e).era,null!==s&&(e._a[Ue]=e._locale.erasConvertYear(s,e._a[Ue])),Fn(e),_n(e)}else Ln(e);else jn(e)}function Gn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Yn(e){var t,n,r,i,o,a,s=!1;if(0===e._f.length)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:b()});function $n(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function wr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),t=Hn(t),t._a?(e=t._isUTC?g(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function Or(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tr(e,t){var n,r,i,o=e,a=null;return sr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:f(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=Mr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:fe(a[He])*n,h:fe(a[qe])*n,m:fe(a[Ze])*n,s:fe(a[Ke])*n,ms:fe(lr(1e3*a[Xe]))*n}):(a=Cr.exec(e))?(n="-"===a[1]?-1:1,o={y:jr(a[2],n),M:jr(a[3],n),w:jr(a[4],n),d:jr(a[5],n),h:jr(a[6],n),m:jr(a[7],n),s:jr(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Dr(Kn(o.from),Kn(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ar(o),sr(e)&&l(e,"_locale")&&(r._locale=e._locale),sr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function jr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ir(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Dr(e,t){var n;return e.isValid()&&t.isValid()?(t=hr(t,e),e.isBefore(t)?n=Ir(e,t):(n=Ir(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ar(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(j(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=Tr(n,r),Er(this,i,e),this}}function Er(e,t,n,r){var o=t._milliseconds,a=lr(t._days),s=lr(t._months);e.isValid()&&(r=null==r||r,s&&ct(e,he(e,"Month")+s*n),a&&pe(e,"Date",he(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Tr.fn=ar.prototype,Tr.invalid=or;var Pr=Ar(1,"add"),Lr=Ar(-1,"subtract");function Nr(e){return"string"===typeof e||e instanceof String}function Rr(e){return O(e)||d(e)||Nr(e)||f(e)||Fr(e)||zr(e)||null===e||void 0===e}function zr(e){var t,n,r=s(e)&&!u(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;tn.valueOf():n.valueOf()9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ei(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function ti(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(O(e)&&e.isValid()||Kn(e).isValid())?Tr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ri(e){return this.from(Kn(),e)}function ii(e,t){return this.isValid()&&(O(e)&&e.isValid()||Kn(e).isValid())?Tr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(Kn(),e)}function ai(e){var t;return void 0===e?this._locale._abbr:(t=yn(e),null!=t&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function li(){return this._locale}var ui=1e3,ci=60*ui,fi=60*ci,di=3506328*fi;function hi(e,t){return(e%t+t)%t}function pi(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-di:new Date(e,t,n).valueOf()}function gi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-di:Date.UTC(e,t,n)}function mi(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=hi(t+(this._isUTC?0:this.utcOffset()*ci),fi);break;case"minute":t=this._d.valueOf(),t-=hi(t,ci);break;case"second":t=this._d.valueOf(),t-=hi(t,ui);break}return this._d.setTime(t),i.updateOffset(this,!0),this}function vi(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fi-hi(t+(this._isUTC?0:this.utcOffset()*ci),fi)-1;break;case"minute":t=this._d.valueOf(),t+=ci-hi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=ui-hi(t,ui)-1;break}return this._d.setTime(t),i.updateOffset(this,!0),this}function yi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function _i(){return new Date(this.valueOf())}function xi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function wi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ki(){return this.isValid()?this.toISOString():null}function Oi(){return y(this)}function Si(){return p({},v(this))}function Mi(){return v(this).overflow}function Ci(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ti(e,t){var n,r,o,a=this._eras||yn("en")._eras;for(n=0,r=a.length;n=0)return l[r]}function Ii(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function Di(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;eo&&(t=o),Qi.call(this,e,t,n,r,i))}function Qi(e,t,n,r,i){var o=wt(e,t,n,r,i),a=_t(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function $i(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),Le("N",zi),Le("NN",zi),Le("NNN",zi),Le("NNNN",Fi),Le("NNNNN",Bi),Be(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?v(n).era=i:v(n).invalidEra=e}),Le("y",je),Le("yy",je),Le("yyy",je),Le("yyyy",je),Le("yo",Vi),Be(["y","yy","yyy","yyyy"],Ue),Be(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ue]=n._locale.eraYearOrdinalParse(e,i):t[Ue]=parseInt(e,10)}),V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Yi("gggg","weekYear"),Yi("ggggg","weekYear"),Yi("GGGG","isoWeekYear"),Yi("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),se("weekYear",1),se("isoWeekYear",1),Le("G",Ie),Le("g",Ie),Le("GG",ke,be),Le("gg",ke,be),Le("GGGG",Ce,xe),Le("gggg",Ce,xe),Le("GGGGG",Te,we),Le("ggggg",Te,we),Ve(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=fe(e)}),Ve(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),re("quarter","Q"),se("quarter",7),Le("Q",ye),Be("Q",function(e,t){t[We]=3*(fe(e)-1)}),V("D",["DD",2],"Do","date"),re("date","D"),se("date",9),Le("D",ke),Le("DD",ke,be),Le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Be(["D","DD"],He),Be("Do",function(e,t){t[He]=fe(e.match(ke)[0])});var Ji=de("Date",!0);function eo(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),se("dayOfYear",4),Le("DDD",Me),Le("DDDD",_e),Be(["DDD","DDDD"],function(e,t,n){n._dayOfYear=fe(e)}),V("m",["mm",2],0,"minute"),re("minute","m"),se("minute",14),Le("m",ke),Le("mm",ke,be),Be(["m","mm"],Ze);var to=de("Minutes",!1);V("s",["ss",2],0,"second"),re("second","s"),se("second",15),Le("s",ke),Le("ss",ke,be),Be(["s","ss"],Ke);var no,ro,io=de("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),re("millisecond","ms"),se("millisecond",16),Le("S",Me,ye),Le("SS",Me,be),Le("SSS",Me,_e),no="SSSS";no.length<=9;no+="S")Le(no,je);function oo(e,t){t[Xe]=fe(1e3*("0."+e))}for(no="S";no.length<=9;no+="S")Be(no,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=de("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var lo=k.prototype;function uo(e){return Kn(1e3*e)}function co(){return Kn.apply(null,arguments).parseZone()}function fo(e){return e}lo.add=Pr,lo.calendar=Gr,lo.clone=Yr,lo.diff=Xr,lo.endOf=vi,lo.format=ti,lo.from=ni,lo.fromNow=ri,lo.to=ii,lo.toNow=oi,lo.get=ge,lo.invalidAt=Mi,lo.isAfter=Ur,lo.isBefore=Wr,lo.isBetween=Hr,lo.isSame=qr,lo.isSameOrAfter=Zr,lo.isSameOrBefore=Kr,lo.isValid=Oi,lo.lang=si,lo.locale=ai,lo.localeData=li,lo.max=Qn,lo.min=Xn,lo.parsingFlags=Si,lo.set=me,lo.startOf=mi,lo.subtract=Lr,lo.toArray=xi,lo.toObject=wi,lo.toDate=_i,lo.toISOString=Jr,lo.inspect=ei,"undefined"!==typeof Symbol&&null!=Symbol.for&&(lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lo.toJSON=ki,lo.toString=$r,lo.unix=bi,lo.valueOf=yi,lo.creationData=Ci,lo.eraName=Di,lo.eraNarrow=Ai,lo.eraAbbr=Ei,lo.eraYear=Pi,lo.year=vt,lo.isLeapYear=yt,lo.weekYear=Ui,lo.isoWeekYear=Wi,lo.quarter=lo.quarters=$i,lo.month=ft,lo.daysInMonth=dt,lo.week=lo.weeks=jt,lo.isoWeek=lo.isoWeeks=It,lo.weeksInYear=Zi,lo.weeksInWeekYear=Ki,lo.isoWeeksInYear=Hi,lo.isoWeeksInISOWeekYear=qi,lo.date=Ji,lo.day=lo.days=Wt,lo.weekday=Ht,lo.isoWeekday=qt,lo.dayOfYear=eo,lo.hour=lo.hours=on,lo.minute=lo.minutes=to,lo.second=lo.seconds=io,lo.millisecond=lo.milliseconds=ro,lo.utcOffset=gr,lo.utc=vr,lo.local=yr,lo.parseZone=br,lo.hasAlignedHourOffset=_r,lo.isDST=xr,lo.isLocal=kr,lo.isUtcOffset=Or,lo.isUtc=Sr,lo.isUTC=Sr,lo.zoneAbbr=ao,lo.zoneName=so,lo.dates=M("dates accessor is deprecated. Use date instead.",Ji),lo.months=M("months accessor is deprecated. Use month instead",ft),lo.years=M("years accessor is deprecated. Use year instead",vt),lo.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",mr),lo.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",wr);var ho=E.prototype;function po(e,t,n,r){var i=yn(),o=g().set(r,t);return i[n](o,e)}function go(e,t,n){if(f(e)&&(t=e,e=void 0),e=e||"",null!=t)return po(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=po(e,r,n,"month");return i}function mo(e,t,n,r){"boolean"===typeof e?(f(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,f(t)&&(n=t,t=void 0),t=t||"");var i,o=yn(),a=e?o._week.dow:0,s=[];if(null!=n)return po(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=po(t,(i+a)%7,r,"day");return s}function vo(e,t){return go(e,t,"months")}function yo(e,t){return go(e,t,"monthsShort")}function bo(e,t,n){return mo(e,t,n,"weekdays")}function _o(e,t,n){return mo(e,t,n,"weekdaysShort")}function xo(e,t,n){return mo(e,t,n,"weekdaysMin")}ho.calendar=L,ho.longDateFormat=q,ho.invalidDate=K,ho.ordinal=$,ho.preparse=fo,ho.postformat=fo,ho.relativeTime=ee,ho.pastFuture=te,ho.set=D,ho.eras=Ti,ho.erasParse=ji,ho.erasConvertYear=Ii,ho.erasAbbrRegex=Ni,ho.erasNameRegex=Li,ho.erasNarrowRegex=Ri,ho.months=at,ho.monthsShort=st,ho.monthsParse=ut,ho.monthsRegex=pt,ho.monthsShortRegex=ht,ho.week=St,ho.firstDayOfYear=Tt,ho.firstDayOfWeek=Ct,ho.weekdays=Bt,ho.weekdaysMin=Gt,ho.weekdaysShort=Vt,ho.weekdaysParse=Ut,ho.weekdaysRegex=Zt,ho.weekdaysShortRegex=Kt,ho.weekdaysMinRegex=Xt,ho.isPM=nn,ho.meridiem=an,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===fe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),i.lang=M("moment.lang is deprecated. Use moment.locale instead.",gn),i.langData=M("moment.langData is deprecated. Use moment.localeData instead.",yn);var wo=Math.abs;function ko(){var e=this._data;return this._milliseconds=wo(this._milliseconds),this._days=wo(this._days),this._months=wo(this._months),e.milliseconds=wo(e.milliseconds),e.seconds=wo(e.seconds),e.minutes=wo(e.minutes),e.hours=wo(e.hours),e.months=wo(e.months),e.years=wo(e.years),this}function Oo(e,t,n,r){var i=Tr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function So(e,t){return Oo(this,e,t,1)}function Mo(e,t){return Oo(this,e,t,-1)}function Co(e){return e<0?Math.floor(e):Math.ceil(e)}function To(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Co(Io(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=ce(o/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,a+=ce(n/24),i=ce(jo(a)),s+=i,a-=Co(Io(i)),r=ce(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function jo(e){return 4800*e/146097}function Io(e){return 146097*e/4800}function Do(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ie(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+jo(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Io(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ao(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*fe(this._months/12):NaN}function Eo(e){return function(){return this.as(e)}}var Po=Eo("ms"),Lo=Eo("s"),No=Eo("m"),Ro=Eo("h"),zo=Eo("d"),Fo=Eo("w"),Bo=Eo("M"),Vo=Eo("Q"),Go=Eo("y");function Yo(){return Tr(this)}function Uo(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function Wo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ho=Wo("milliseconds"),qo=Wo("seconds"),Zo=Wo("minutes"),Ko=Wo("hours"),Xo=Wo("days"),Qo=Wo("months"),$o=Wo("years");function Jo(){return ce(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var i=Tr(e).abs(),o=ea(i.as("s")),a=ea(i.as("m")),s=ea(i.as("h")),l=ea(i.as("d")),u=ea(i.as("M")),c=ea(i.as("w")),f=ea(i.as("y")),d=o<=n.ss&&["s",o]||o0,d[4]=r,na.apply(null,d)}function ia(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function oa(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(o=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=ra(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var sa=Math.abs;function la(e){return(e>0)-(e<0)||+e}function ua(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,l=sa(this._milliseconds)/1e3,u=sa(this._days),c=sa(this._months),f=this.asSeconds();return f?(e=ce(l/60),t=ce(e/60),l%=60,e%=60,n=ce(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=la(this._months)!==la(f)?"-":"",a=la(this._days)!==la(f)?"-":"",s=la(this._milliseconds)!==la(f)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ca=ar.prototype;return ca.isValid=ir,ca.abs=ko,ca.add=So,ca.subtract=Mo,ca.as=Do,ca.asMilliseconds=Po,ca.asSeconds=Lo,ca.asMinutes=No,ca.asHours=Ro,ca.asDays=zo,ca.asWeeks=Fo,ca.asMonths=Bo,ca.asQuarters=Vo,ca.asYears=Go,ca.valueOf=Ao,ca._bubble=To,ca.clone=Yo,ca.get=Uo,ca.milliseconds=Ho,ca.seconds=qo,ca.minutes=Zo,ca.hours=Ko,ca.days=Xo,ca.weeks=Jo,ca.months=Qo,ca.years=$o,ca.humanize=aa,ca.toISOString=ua,ca.toString=ua,ca.toJSON=ua,ca.locale=ai,ca.localeData=li,ca.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),ca.lang=si,V("X",0,0,"unix"),V("x",0,0,"valueOf"),Le("x",Ie),Le("X",Ee),Be("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),Be("x",function(e,t,n){n._d=new Date(fe(e))}),i.version="2.29.1",o(Kn),i.fn=lo,i.min=Jn,i.max=er,i.now=tr,i.utc=g,i.unix=uo,i.months=vo,i.isDate=d,i.locale=gn,i.invalid=b,i.duration=Tr,i.isMoment=O,i.weekdays=bo,i.parseZone=co,i.localeData=yn,i.isDuration=sr,i.monthsShort=yo,i.weekdaysMin=xo,i.defineLocale=mn,i.updateLocale=vn,i.locales=bn,i.weekdaysShort=_o,i.normalizeUnits=ie,i.relativeTimeRounding=ia,i.relativeTimeThreshold=oa,i.calendarFormat=Vr,i.prototype=lo,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i})}).call(this,n("YuTi")(e))},wtjL:function(e,t,n){"use strict";var r=n("Vwaf").HTML_TAG_RE;function i(e){var t=32|e;return t>=97&&t<=122}e.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(n=e.src.charCodeAt(l+1),!(33!==n&&63!==n&&47!==n&&!i(n))&&(o=e.src.slice(l).match(r),!!o&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},x3X8:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var r=n("KxfA"),i=n("bYtY");function o(e,t){var n=e.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var o=Object(r["e"])(e,t,n[0]);return null!=o?o+"":null}if(i){for(var a=[],s=0;s=0&&r.push(t[a])}return r.join(" ")}},xVpn:function(e,t,n){"use strict";var r=n("T4UG"),i=n("bYtY"),o=n("DlA6"),a=n("y+Vt"),s=n("3qvL"),l=n("NC18");function u(e){return Object(i["s"])(e[0])}function c(e,t){for(var n=[],r=e.length,i=0;i=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 u=Math.ceil(o/2);n[i].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var f={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r0){var h,p,g=r.getModel("universalTransition").get("delay"),m=Object.assign({setToFinal:!0},d);u(e)&&(h=e,p=t),u(t)&&(h=t,p=e);for(var v=h?h===e:e.length>t.length,y=h?c(p,h):c(v?t:e,[v?e:t]),b=0,_=0;_v))for(var r=n.getIndices(),i=b(n),o=0;o0&&i.group.traverse(function(e){e instanceof a["b"]&&!e.animators.length&&e.animateFrom({style:{opacity:0}},o)})})}function C(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function T(e){return Object(i["s"])(e)?e.sort().join(","):e}function j(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function I(e,t){var n=Object(i["g"])(),r=Object(i["g"])(),o=Object(i["g"])();return Object(i["k"])(e.oldSeries,function(t,n){var a=e.oldData[n],s=C(t),l=T(s);r.set(l,a),Object(i["s"])(s)&&Object(i["k"])(s,function(e){o.set(e,{data:a,key:l})})}),Object(i["k"])(t.updatedSeries,function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.getData(),a=C(e),s=T(a),l=r.get(s);if(l)n.set(s,{oldSeries:[{divide:j(l),data:l}],newSeries:[{divide:j(t),data:t}]});else if(Object(i["s"])(a)){0;var u=[];Object(i["k"])(a,function(e){var t=r.get(e);t&&u.push({divide:j(t),data:t})}),u.length&&n.set(s,{oldSeries:u,newSeries:[{data:t,divide:j(t)}]})}else{var c=o.get(a);if(c){var f=n.get(c.key);f||(f={oldSeries:[{data:c.data,divide:j(c.data)}],newSeries:[]},n.set(c.key,f)),f.newSeries.push({data:t,divide:j(t)})}}}}),n}function D(e,t){for(var n=0;n=0&&o.push({data:t.oldData[n],divide:j(t.oldData[n]),dim:e.dimension})}),Object(i["k"])(Object(g["p"])(e.to),function(e){var t=D(n.updatedSeries,e);if(t>=0){var r=n.updatedSeries[t].getData();a.push({data:r,divide:j(r),dim:e.dimension})}}),o.length>0&&a.length>0&&M(o,a,r)}function E(e){e.registerUpdateLifecycle("series:beforeupdate",function(e,t,n){Object(i["k"])(Object(g["p"])(n.seriesTransition),function(e){Object(i["k"])(Object(g["p"])(e.to),function(e){for(var t=n.updatedSeries,i=0;i=0;n--)r=t[n],95!==r.marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1&&t[n-1].marker===r.marker,a=String.fromCharCode(r.marker),o=e.tokens[r.token],o.type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",o=e.tokens[i.token],o.type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;nt}return!1}function X(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var Q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Q[e]=new X(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Q[t]=new X(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Q[e]=new X(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Q[e]=new X(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Q[e]=new X(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Q[e]=new X(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){Q[e]=new X(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){Q[e]=new X(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){Q[e]=new X(e,5,!1,e.toLowerCase(),null,!1)});var $=/[\-:]([a-z])/g;function J(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace($,J);Q[t]=new X(t,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace($,J);Q[t]=new X(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($,J);Q[t]=new X(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){Q[e]=new X(e,1,!1,e.toLowerCase(),null,!1)}),Q.xlinkHref=new X("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){Q[e]=new X(e,1,!1,e.toLowerCase(),null,!0)});var ee=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function te(e,t,n,r){var i=Q.hasOwnProperty(t)?Q[t]:null,o=null!==i?0===i.type:!r&&(2=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ke(n)}}function Fe(e,t){var n=ke(t.value),r=ke(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Be(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ve={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Ge(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ye(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ge(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ue,We=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==Ve.svg||"innerHTML"in e)e.innerHTML=t;else{for(Ue=Ue||document.createElement("div"),Ue.innerHTML=""+t.valueOf().toString()+"",t=Ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function He(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function qe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ze={animationend:qe("Animation","AnimationEnd"),animationiteration:qe("Animation","AnimationIteration"),animationstart:qe("Animation","AnimationStart"),transitionend:qe("Transition","TransitionEnd")},Ke={},Xe={};function Qe(e){if(Ke[e])return Ke[e];if(!Ze[e])return e;var t,n=Ze[e];for(t in n)if(n.hasOwnProperty(t)&&t in Xe)return Ke[e]=n[t];return e}T&&(Xe=document.createElement("div").style,"AnimationEvent"in window||(delete Ze.animationend.animation,delete Ze.animationiteration.animation,delete Ze.animationstart.animation),"TransitionEvent"in window||delete Ze.transitionend.transition);var $e=Qe("animationend"),Je=Qe("animationiteration"),et=Qe("animationstart"),tt=Qe("transitionend"),nt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rt=new("function"===typeof WeakMap?WeakMap:Map);function it(e){var t=rt.get(e);return void 0===t&&(t=new Map,rt.set(e,t)),t}function ot(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{t=e,0!==(1026&t.effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function at(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(e=e.alternate,null!==e&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function st(e){if(ot(e)!==e)throw Error(a(188))}function lt(e){var t=e.alternate;if(!t){if(t=ot(e),null===t)throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(r=i.return,null!==r){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return st(i),e;if(o===r)return st(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}function ut(e){if(e=lt(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ct(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ft(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var dt=null;function ht(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;rvt.length&&vt.push(e)}function bt(e,t,n,r){if(vt.length){var i=vt.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function _t(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;t=n.tag,5!==t&&6!==t||e.ancestors.push(n),n=Vn(r)}while(n);for(n=0;n=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=_n(r)}}function wn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?wn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function kn(){for(var e=window,t=bn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=bn(e.document)}return t}function On(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Sn="$",Mn="/$",Cn="$?",Tn="$!",jn=null,In=null;function Dn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function An(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var En="function"===typeof setTimeout?setTimeout:void 0,Pn="function"===typeof clearTimeout?clearTimeout:void 0;function Ln(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Nn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Sn||n===Tn||n===Cn){if(0===t)return e;t--}else n===Mn&&t++}e=e.previousSibling}return null}var Rn=Math.random().toString(36).slice(2),zn="__reactInternalInstance$"+Rn,Fn="__reactEventHandlers$"+Rn,Bn="__reactContainere$"+Rn;function Vn(e){var t=e[zn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bn]||n[zn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Nn(e);null!==e;){if(n=e[zn])return n;e=Nn(e)}return t}e=n,n=e.parentNode}return null}function Gn(e){return e=e[zn]||e[Bn],!e||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Yn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Un(e){return e[Fn]||null}function Wn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Hn(e,t){var n=e.stateNode;if(!n)return null;var r=g(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}function qn(e,t,n){(t=Hn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=ct(n._dispatchListeners,t),n._dispatchInstances=ct(n._dispatchInstances,e))}function Zn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Wn(t);for(t=n.length;0this.eventPool.length&&this.eventPool.push(e)}function sr(e){e.eventPool=[],e.getPooled=or,e.release=ar}i(ir.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nr)},persist:function(){this.isPersistent=nr},isPersistent:rr,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=rr,this._dispatchInstances=this._dispatchListeners=null}}),ir.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ir.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,sr(n),n},sr(ir);var lr=ir.extend({data:null}),ur=ir.extend({data:null}),cr=[9,13,27,32],fr=T&&"CompositionEvent"in window,dr=null;T&&"documentMode"in document&&(dr=document.documentMode);var hr=T&&"TextEvent"in window&&!dr,pr=T&&(!fr||dr&&8=dr),gr=String.fromCharCode(32),mr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},vr=!1;function yr(e,t){switch(e){case"keyup":return-1!==cr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function br(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}var _r=!1;function xr(e,t){switch(e){case"compositionend":return br(t);case"keypress":return 32!==t.which?null:(vr=!0,gr);case"textInput":return e=t.data,e===gr&&vr?null:e;default:return null}}function wr(e,t){if(_r)return"compositionend"===e||!fr&&yr(e,t)?(e=tr(),er=Jn=$n=null,_r=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=document.documentMode,ii={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},oi=null,ai=null,si=null,li=!1;function ui(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return li||null==oi||oi!==bn(n)?null:(n=oi,"selectionStart"in n&&On(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),si&&ni(si,n)?null:(si=n,e=ir.getPooled(ii.select,ai,e,t),e.type="select",e.target=oi,Qn(e),e))}var ci={eventTypes:ii,extractEvents:function(e,t,n,r,i,o){if(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument),!(o=!i)){e:{i=it(i),o=M.onSelect;for(var a=0;aSi||(e.current=Oi[Si],Oi[Si]=null,Si--)}function Ci(e,t){Si++,Oi[Si]=e.current,e.current=t}var Ti={},ji={current:Ti},Ii={current:!1},Di=Ti;function Ai(e,t){var n=e.type.contextTypes;if(!n)return Ti;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ei(e){return e=e.childContextTypes,null!==e&&void 0!==e}function Pi(){Mi(Ii),Mi(ji)}function Li(e,t,n){if(ji.current!==Ti)throw Error(a(168));Ci(ji,t),Ci(Ii,n)}function Ni(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext(),r)if(!(o in e))throw Error(a(108,xe(t)||"Unknown",o));return i({},n,{},r)}function Ri(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ti,Di=ji.current,Ci(ji,e),Ci(Ii,Ii.current),!0}function zi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ni(e,t,Di),r.__reactInternalMemoizedMergedChildContext=e,Mi(Ii),Mi(ji),Ci(ji,e)):Mi(Ii),Ci(Ii,n)}var Fi=o.unstable_runWithPriority,Bi=o.unstable_scheduleCallback,Vi=o.unstable_cancelCallback,Gi=o.unstable_requestPaint,Yi=o.unstable_now,Ui=o.unstable_getCurrentPriorityLevel,Wi=o.unstable_ImmediatePriority,Hi=o.unstable_UserBlockingPriority,qi=o.unstable_NormalPriority,Zi=o.unstable_LowPriority,Ki=o.unstable_IdlePriority,Xi={},Qi=o.unstable_shouldYield,$i=void 0!==Gi?Gi:function(){},Ji=null,eo=null,to=!1,no=Yi(),ro=1e4>no?Yi:function(){return Yi()-no};function io(){switch(Ui()){case Wi:return 99;case Hi:return 98;case qi:return 97;case Zi:return 96;case Ki:return 95;default:throw Error(a(332))}}function oo(e){switch(e){case 99:return Wi;case 98:return Hi;case 97:return qi;case 96:return Zi;case 95:return Ki;default:throw Error(a(332))}}function ao(e,t){return e=oo(e),Fi(e,t)}function so(e,t,n){return e=oo(e),Bi(e,t,n)}function lo(e){return null===Ji?(Ji=[e],eo=Bi(Wi,co)):Ji.push(e),Xi}function uo(){if(null!==eo){var e=eo;eo=null,Vi(e)}co()}function co(){if(!to&&null!==Ji){to=!0;var e=0;try{var t=Ji;ao(99,function(){for(;e=t&&(Za=!0),e.firstContext=null)}function wo(e,t){if(vo!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(vo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===mo){if(null===go)throw Error(a(308));mo=t,go.dependencies={expirationTime:0,firstContext:t,responders:null}}else mo=mo.next=t;return e._currentValue}var ko=!1;function Oo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function So(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function Mo(e,t){return e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null},e.next=e}function Co(e,t){if(e=e.updateQueue,null!==e){e=e.shared;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function To(e,t){var n=e.alternate;null!==n&&So(n,e),e=e.updateQueue,n=e.baseQueue,null===n?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function jo(e,t,n,r){var o=e.updateQueue;ko=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var l=a.next;a.next=s.next,s.next=l}a=s,o.shared.pending=null,l=e.alternate,null!==l&&(l=l.updateQueue,null!==l&&(l.baseQueue=s))}if(null!==a){l=a.next;var u=o.baseState,c=0,f=null,d=null,h=null;if(null!==l){var p=l;do{if(s=p.expirationTime,sc&&(c=s)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),Nl(s,p.suspenseConfig);e:{var m=e,v=p;switch(s=t,g=n,v.tag){case 1:if(m=v.payload,"function"===typeof m){u=m.call(g,u,s);break e}u=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(m=v.payload,s="function"===typeof m?m.call(g,u,s):m,null===s||void 0===s)break e;u=i({},u,s);break e;case 2:ko=!0}}null!==p.callback&&(e.effectTag|=32,s=o.effects,null===s?o.effects=[p]:s.push(p))}if(p=p.next,null===p||p===l){if(s=o.shared.pending,null===s)break;p=a.next=s.next,s.next=l,o.baseQueue=a=s,o.shared.pending=null}}while(1)}null===h?f=u:h.next=d,o.baseState=f,o.baseQueue=h,Rl(c),e.expirationTime=c,e.memoizedState=u}}function Io(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tg?(m=f,f=null):m=f.sibling;var v=h(i,f,s[g],l);if(null===v){null===f&&(f=m);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,g),null===c?u=v:c.sibling=v,c=v,f=m}if(g===s.length)return n(i,f),u;if(null===f){for(;gm?(v=g,g=null):v=g.sibling;var b=h(i,g,y.value,u);if(null===b){null===g&&(g=v);break}e&&g&&null===b.alternate&&t(i,g),s=o(b,s,m),null===f?c=b:f.sibling=b,f=b,g=v}if(y.done)return n(i,g),c;if(null===g){for(;!y.done;m++,y=l.next())y=d(i,y.value,u),null!==y&&(s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return c}for(g=r(i,g);!y.done;m++,y=l.next())y=p(g,i,m,y.value,u),null!==y&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return e&&g.forEach(function(e){return t(i,e)}),c}return function(e,r,o,l){var u="object"===typeof o&&null!==o&&o.type===ae&&null===o.key;u&&(o=o.props.children);var c="object"===typeof o&&null!==o;if(c)switch(o.$$typeof){case ie:e:{for(c=o.key,u=r;null!==u;){if(u.key===c){switch(u.tag){case 7:if(o.type===ae){n(e,u.sibling),r=i(u,o.props.children),r.return=e,e=r;break e}break;default:if(u.elementType===o.type){n(e,u.sibling),r=i(u,o.props),r.ref=Bo(e,u,o),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}o.type===ae?(r=su(o.props.children,e.mode,l,o.key),r.return=e,e=r):(l=au(o.type,o.key,o.props,null,e.mode,l),l.ref=Bo(e,r,o),l.return=e,e=l)}return s(e);case oe:e:{for(u=o.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),r=i(r,o.children||[]),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=uu(o,e.mode,l),r.return=e,e=r}return s(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),r=i(r,o),r.return=e,e=r):(n(e,r),r=lu(o,e.mode,l),r.return=e,e=r),s(e);if(Fo(o))return g(e,r,o,l);if(be(o))return m(e,r,o,l);if(c&&Vo(e,o),"undefined"===typeof o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Yo=Go(!0),Uo=Go(!1),Wo={},Ho={current:Wo},qo={current:Wo},Zo={current:Wo};function Ko(e){if(e===Wo)throw Error(a(174));return e}function Xo(e,t){switch(Ci(Zo,t),Ci(qo,e),Ci(Ho,Wo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ye(null,"");break;default:e=8===e?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ye(t,e)}Mi(Ho),Ci(Ho,t)}function Qo(){Mi(Ho),Mi(qo),Mi(Zo)}function $o(e){Ko(Zo.current);var t=Ko(Ho.current),n=Ye(t,e.type);t!==n&&(Ci(qo,e),Ci(Ho,n))}function Jo(e){qo.current===e&&(Mi(Ho),Mi(qo))}var ea={current:0};function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||n.data===Cn||n.data===Tn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function na(e,t){return{responder:e,props:t}}var ra=ee.ReactCurrentDispatcher,ia=ee.ReactCurrentBatchConfig,oa=0,aa=null,sa=null,la=null,ua=!1;function ca(){throw Error(a(321))}function fa(e,t){if(null===t)return!1;for(var n=0;no))throw Error(a(301));o+=1,la=sa=null,t.updateQueue=null,ra.current=Ra,e=n(r,i)}while(t.expirationTime===oa)}if(ra.current=Pa,t=null!==sa&&null!==sa.next,oa=0,la=sa=aa=null,ua=!1,t)throw Error(a(300));return e}function ha(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===la?aa.memoizedState=la=e:la=la.next=e,la}function pa(){if(null===sa){var e=aa.alternate;e=null!==e?e.memoizedState:null}else e=sa.next;var t=null===la?aa.memoizedState:la.next;if(null!==t)la=t,sa=e;else{if(null===e)throw Error(a(310));sa=e,e={memoizedState:sa.memoizedState,baseState:sa.baseState,baseQueue:sa.baseQueue,queue:sa.queue,next:null},null===la?aa.memoizedState=la=e:la=la.next=e}return la}function ga(e,t){return"function"===typeof t?t(e):t}function ma(e){var t=pa(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=sa,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=o=null,u=i;do{var c=u.expirationTime;if(caa.expirationTime&&(aa.expirationTime=c,Rl(c))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),Nl(c,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==i);null===l?o=r:l.next=s,ei(r,t.memoizedState)||(Za=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function va(e){var t=pa(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);ei(o,t.memoizedState)||(Za=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ya(e){var t=ha();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ga,lastRenderedState:e},e=e.dispatch=Ea.bind(null,aa,e),[t.memoizedState,e]}function ba(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=aa.updateQueue,null===t?(t={lastEffect:null},aa.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,null===n?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function _a(){return pa().memoizedState}function xa(e,t,n,r){var i=ha();aa.effectTag|=e,i.memoizedState=ba(1|t,n,void 0,void 0===r?null:r)}function wa(e,t,n,r){var i=pa();r=void 0===r?null:r;var o=void 0;if(null!==sa){var a=sa.memoizedState;if(o=a.destroy,null!==r&&fa(r,a.deps))return void ba(t,n,o,r)}aa.effectTag|=e,i.memoizedState=ba(1|t,n,o,r)}function ka(e,t){return xa(516,4,e,t)}function Oa(e,t){return wa(516,4,e,t)}function Sa(e,t){return wa(4,2,e,t)}function Ma(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ca(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wa(4,2,Ma.bind(null,t,e),n)}function Ta(){}function ja(e,t){return ha().memoizedState=[e,void 0===t?null:t],e}function Ia(e,t){var n=pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Da(e,t){var n=pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Aa(e,t,n){var r=io();ao(98>r?98:r,function(){e(!0)}),ao(97<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(o,{is:r.is}):(e=l.createElement(o),"select"===o&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,o),e[zn]=t,e[Fn]=r,is(e,t,!1,!1),t.stateNode=e,l=gn(o,r),o){case"iframe":case"object":case"embed":nn("load",e),u=r;break;case"video":case"audio":for(u=0;ur.tailExpiration&&1t)&&yl.set(e,t)))}}function Sl(e,t){e.expirationTimee?n:e,2>=e&&t!==e?0:e}function Cl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=lo(jl.bind(null,e));else{var t=Ml(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=wl();if(1073741823===t?r=99:1===t||2===t?r=95:(r=10*(1073741821-t)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Xi&&Vi(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?lo(jl.bind(null,e)):so(r,Tl.bind(null,e),{timeout:10*(1073741821-t)-ro()}),e.callbackNode=t}}}function Tl(e,t){if(xl=0,t)return t=wl(),pu(e,t),Cl(e),null;var n=Ml(e);if(0!==n){if(t=e.callbackNode,($s&(Us|Ws))!==Gs)throw Error(a(327));if(Hl(),e===Js&&n===tl||El(e,n),null!==el){var r=$s;$s|=Us;var i=Ll();do{try{Fl();break}catch(t){Pl(e,t)}}while(1);if(yo(),$s=r,Bs.current=i,nl===qs)throw t=rl,El(e,n),du(e,n),Cl(e),t;if(null===el)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=nl,Js=null,r){case Hs:case qs:throw Error(a(345));case Zs:pu(e,2=n){e.lastPingedTime=n,El(e,n);break}}if(o=Ml(e),0!==o&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=En(Yl.bind(null,e),i);break}Yl(e);break;case Xs:if(du(e,n),r=e.lastSuspendedTime,n===r&&(e.nextKnownPendingLevel=Gl(i)),ll&&(i=e.lastPingedTime,0===i||i>=n)){e.lastPingedTime=n,El(e,n);break}if(i=Ml(e),0!==i&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==ol?r=10*(1073741821-ol)-ro():1073741823===il?r=0:(r=10*(1073741821-il)-5e3,i=ro(),n=10*(1073741821-n)-i,r=i-r,0>r&&(r=0),r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fs(r/1960))-r,n=r?r=0:(i=0|s.busyDelayMs,o=ro()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)),r=o<=i?0:i+r-o),10 component higher in the tree to provide a loading indicator or placeholder to display."+we(a))}nl!==Qs&&(nl=Zs),s=vs(s,a),f=o;do{switch(f.tag){case 3:l=s,f.effectTag|=4096,f.expirationTime=t;var _=Ns(f,l,t);To(f,_);break e;case 1:l=s;var x=f.type,w=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof x.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===pl||!pl.has(w)))){f.effectTag|=4096,f.expirationTime=t;var k=Rs(f,l,t);To(f,k);break e}}f=f.return}while(null!==f)}el=Vl(el)}catch(e){t=e;continue}break}while(1)}function Ll(){var e=Bs.current;return Bs.current=Pa,null===e?Pa:e}function Nl(e,t){esl&&(sl=e)}function zl(){for(;null!==el;)el=Bl(el)}function Fl(){for(;null!==el&&!Qi();)el=Bl(el)}function Bl(e){var t=zs(e.alternate,e,tl);return e.memoizedProps=e.pendingProps,null===t&&(t=Vl(e)),Vs.current=null,t}function Vl(e){el=e;do{var t=el.alternate;if(e=el.return,0===(2048&el.effectTag)){if(t=gs(t,el,tl),1===tl||1!==el.childExpirationTime){for(var n=0,r=el.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}el.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=el.firstEffect),null!==el.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=el.firstEffect),e.lastEffect=el.lastEffect),1e?t:e}function Yl(e){var t=io();return ao(99,Ul.bind(null,e,t)),null}function Ul(e,t){do{Hl()}while(null!==ml);if(($s&(Us|Ws))!==Gs)throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=Gl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Js&&(el=Js=null,tl=0),1l&&(c=l,l=s,s=c),c=xn(_,s),f=xn(_,l),c&&f&&(1!==w.rangeCount||w.anchorNode!==c.node||w.anchorOffset!==c.offset||w.focusNode!==f.node||w.focusOffset!==f.offset)&&(x=x.createRange(),x.setStart(c.node,c.offset),w.removeAllRanges(),s>l?(w.addRange(x),w.extend(f.node,f.offset)):(x.setEnd(f.node,f.offset),w.addRange(x)))))),x=[];for(w=_;w=w.parentNode;)1===w.nodeType&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof _.focus&&_.focus(),_=0;_=n?us(e,t,n):(Ci(ea,1&ea.current),t=hs(e,t,n),null!==t?t.sibling:null);Ci(ea,1&ea.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return ds(e,t,n);t.effectTag|=64}if(i=t.memoizedState,null!==i&&(i.rendering=null,i.tail=null),Ci(ea,ea.current),!r)return null}return hs(e,t,n)}Za=!1}}else Za=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=Ai(t,ji.current),xo(t,n),i=da(null,t,r,e,i,n),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ei(r)){var o=!0;Ri(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Oo(t);var s=r.getDerivedStateFromProps;"function"===typeof s&&Eo(t,r,s,e),i.updater=Po,t.stateNode=i,i._reactInternalFiber=t,zo(t,r,e,n),t=ns(null,t,r,!0,o,n)}else t.tag=0,Ka(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,_e(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=iu(i),e=ho(i,e),o){case 0:t=es(null,t,i,e,n);break e;case 1:t=ts(null,t,i,e,n);break e;case 11:t=Xa(null,t,i,e,n);break e;case 14:t=Qa(null,t,i,ho(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ho(r,i),es(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ho(r,i),ts(e,t,r,i,n);case 3:if(rs(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=t.memoizedState,i=null!==i?i.element:null,So(e,t),jo(t,r,null,n),r=t.memoizedState.element,r===i)Ha(),t=hs(e,t,n);else{if((i=t.stateNode.hydrate)&&(Fa=Ln(t.stateNode.containerInfo.firstChild),za=t,i=Ba=!0),i)for(n=Uo(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ka(e,t,r,n),Ha();t=t.child}return t;case 5:return $o(t),null===e&&Ya(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,An(r,i)?s=null:null!==o&&An(r,o)&&(t.effectTag|=16),Ja(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ka(e,t,s,n),t=t.child),t;case 6:return null===e&&Ya(t),null;case 13:return us(e,t,n);case 4:return Xo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yo(t,null,r,n):Ka(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ho(r,i),Xa(e,t,r,i,n);case 7:return Ka(e,t,t.pendingProps,n),t.child;case 8:return Ka(e,t,t.pendingProps.children,n),t.child;case 12:return Ka(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(Ci(po,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,o=ei(l,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823),0===o){if(s.children===i.children&&!Ii.current){t=hs(e,t,n);break e}}else for(l=t.child,null!==l&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&o)){1===l.tag&&(c=Mo(n,null),c.tag=2,Co(l,c)),l.expirationTime=t&&e<=t}function du(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;nt||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function hu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function pu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function gu(e,t,n,r){var i=t.current,o=wl(),s=Do.suspense;o=kl(o,i,s);e:if(n){n=n._reactInternalFiber;t:{if(ot(n)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Ei(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var u=n.type;if(Ei(u)){n=Ni(n,u,l);break e}}n=l}else n=Ti;return null===t.context?t.context=n:t.pendingContext=n,t=Mo(o,s),t.payload={element:e},r=void 0===r?null:r,null!==r&&(t.callback=r),Co(i,t),Ol(i,o),o}function mu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function vu(e,t){e=e.memoizedState,null!==e&&null!==e.dehydrated&&e.retryTime=m)return!1;if(v=u,c=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),c.ok){for(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?u=c.pos:h="",v=u;u=m||41!==e.src.charCodeAt(u))&&(y=!0),u++}if(y){if("undefined"===typeof e.env.references)return!1;if(u=0?a=e.src.slice(v,u++):u=s+1):u=s+1,a||(a=e.src.slice(l,s)),f=e.env.references[r(a)],!f)return e.pos=g,!1;h=f.href,p=f.title}return t||(e.pos=l,e.posMax=s,d=e.push("link_open","a",1),d.attrs=n=[["href",h]],p&&n.push(["title",p]),e.md.inline.tokenize(e),d=e.push("link_close","a",-1)),e.pos=u,e.posMax=m,!0}},zTMp:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return h}),n.d(t,"e",function(){return g});var r=n("Qxkt"),i=n("bYtY");function o(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return a(n,e,t),n.seriesInvolved&&l(n,e),n}function a(e,t,n){var r=t.getComponent("tooltip"),o=t.getComponent("axisPointer"),a=o.get("link",!0)||[],l=[];Object(i["k"])(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var c=g(n.model),f=e.coordSysAxesInfo[c]={};e.coordSysMap[c]=n;var d=n.model,h=d.getModel("tooltip",r);if(Object(i["k"])(n.getAxes(),Object(i["i"])(b,!1,null)),n.getTooltipAxes&&r&&h.get("show")){var m="axis"===h.get("trigger"),v="cross"===h.get(["axisPointer","type"]),y=n.getTooltipAxes(h.get(["axisPointer","axis"]));(m||v)&&Object(i["k"])(y.baseAxes,Object(i["i"])(b,!v||"cross",m)),v&&Object(i["k"])(y.otherAxes,Object(i["i"])(b,"cross",!1))}}function b(r,i,c){var d=c.model.getModel("axisPointer",o),m=d.get("show");if(m&&("auto"!==m||r||p(d))){null==i&&(i=d.get("triggerTooltip")),d=r?s(c,h,o,t,r,i):d;var v=d.get("snap"),y=g(c.model),b=i||v||"category"===c.type,_=e.axesInfo[y]={key:y,axis:c,coordSys:n,axisPointerModel:d,triggerTooltip:i,involveSeries:b,snap:v,useHandle:p(d),seriesModels:[],linkGroup:null};f[y]=_,e.seriesInvolved=e.seriesInvolved||b;var x=u(a,c);if(null!=x){var w=l[x]||(l[x]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=a[x].mapper,_.linkGroup=w}}}})}function s(e,t,n,o,a,s){var l=t.getModel("axisPointer"),u=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],c={};Object(i["k"])(u,function(e){c[e]=Object(i["d"])(l.get(e))}),c.snap="category"!==e.type&&!!s,"cross"===l.get("type")&&(c.type="line");var f=c.label||(c.label={});if(null==f.show&&(f.show=!1),"cross"===a){var d=l.get(["label","show"]);if(f.show=null==d||d,!s){var h=c.lineStyle=l.get("crossStyle");h&&Object(i["j"])(f,h.textStyle)}}return e.model.getModel("axisPointer",new r["a"](c,n,o))}function l(e,t){t.eachSeries(function(t){var n=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),o=t.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==o&&!1!==t.get(["axisPointer","show"],!0)&&Object(i["k"])(e.coordSysAxesInfo[g(n.model)],function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())})})}function u(e,t){for(var n=t.model,r=t.dim,i=0;i=0||e===t}function f(e){var t=d(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=p(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]),a